Fatal error in launcher: Unable to create process using ""C:\Program Files (x86)\Python33\python.exe" "C:\Program Files (x86)\Python33\pip.exe""
Searching the net this seems to be a problem caused by spaces in the Python installation path. How do I get `pip` to work without having to reinstall everything in a path without spaces ?
Reading CSV files using C#
I'm writing a simple import application and need to read a CSV file, show result in a `DataGrid` and show corrupted lines of the CSV file in another grid. For example, show the lines that are shorter ...
Add placeholder text inside UITextView in Swift?
How can I add a placeholder in a `UITextView`, similar to the one you can set for `UITextField`, in `Swift`?
- Modified
- 25 Sep at 15:37
What is the format specifier for unsigned short int?
I have the following program ``` #include <stdio.h> int main(void) { unsigned short int length = 10; printf("Enter length : "); scanf("%u", &length); printf("value is %u \n", len...
How to create a backup of a single table in a postgres database?
Is there a way to create a backup of a single table within a database using postgres? And how? Does this also work with the `pg_dump` command?
- Modified
- 15 Mar at 13:20
How can I find out if I have Xcode commandline tools installed?
I need to use gdb. ``` ps-MacBook-Air:AcoustoExport pi$ gdb -bash: gdb: command not found ps-MacBook-Air:AcoustoExport pi$ sudo find / -iname "*gdb*" Password: /usr/local/share/gdb /usr/local/Cellar...
- Modified
- 23 May at 11:47
Find and copy files
Why does the following does not copy the files to the destination folder? ``` # find /home/shantanu/processed/ -name '*2011*.xml' -exec cp /home/shantanu/tosend {} \; cp: omitting directory `/home/s...
React Checkbox not sending onChange
TLDR: Use defaultChecked instead of checked, working [jsbin](http://jsbin.com/mecimayawe/1/edit?js,output). Trying to setup a simple checkbox that will cross out its label text when it is checked. F...
(HTML) Download a PDF file instead of opening them in browser when clicked
I was wondering how to make a PDF file link downloadable instead of opening them in the browser? How is this done in html? (I'd assume it's done via javascript or something).
- Modified
- 30 Nov at 08:24
Delete everything in a MongoDB database
I'm doing development on MongoDB. For totally non-evil purposes, I sometimes want to blow away everything in a database—that is, to delete every single collection, and whatever else might be lying aro...
- Modified
- 29 Jul at 19:51
How do I copy a range of formula values and paste them to a specific range in another sheet?
I'm trying to get an excel macro to work but I'm having an issue with copying the values from formula-containing cells. So far this is what I have and it works fine with the non-formula cells. ``` S...
How to fix a header on scroll
I am creating a header that once scrolled to a certain amount of pixels it fixes and stays in place. Can I do this using just css and html or do i need jquery too? I have created a demo so you can und...
how to mysqldump remote db from local machine
I need to do a mysqldump of a database on a remote server, but the server does not have mysqldump installed. I would like to use the mysqldump on my machine to connect to the remote database and do th...
- Modified
- 21 Feb at 00:23
What is a Python equivalent of PHP's var_dump()?
When debugging in PHP, I frequently find it useful to simply stick a [var_dump()](http://php.net/var-dump) in my code to show me what a variable is, what its value is, and the same for anything that i...
Git: Pull from other remote
I have created a fork from a project on GitHub. How can I now pull changes from the project that I forked from?
MySQL: is a SELECT statement case sensitive?
Can anyone tell me if a MySQL `SELECT` query is case sensitive or case insensitive by default? And if not, what query would I have to send so that I can do something like: ``` SELECT * FROM `table` W...
favicon.png vs favicon.ico - why should I use PNG instead of ICO?
Other than the fact that PNG is a more common image format, is there any technical reason to favor favicon.png vs. favicon.ico? I'm supporting modern browsers which all support PNG favorite icons.
The calling thread cannot access this object because a different thread owns it
My code is as below ``` public CountryStandards() { InitializeComponent(); try { FillPageControls(); } catch (Exception ex) { MessageBox.Show(ex.Message, "...
- Modified
- 1 Dec at 21:27
Is there a function in python to split a word into a list?
Is there a function in python to split a word into a list of single letters? e.g: ``` s = "Word to Split" ``` to get ``` wordlist = ['W', 'o', 'r', 'd', ' ', 't', 'o', ' ', 'S', 'p', 'l', 'i', 't'] `...
How to keep the header static, always on top while scrolling?
How would I go about keeping my `header` from scrolling with the rest of the page? I thought about utilizing `frame-sets` and `iframes`, just wondering if there is a easier and more user friendly way,...
- Modified
- 29 Aug at 05:5
React eslint error missing in props validation
I have the next code, eslint throw: > react/prop-types onClickOut; is missing in props validationreact/prop-types children; is missing in props validation `propTypes` was defined but eslint does not r...
- Modified
- 20 Jun at 09:12
CSS: How to align vertically a "label" and "input" inside a "div"?
Consider the [following code](http://jsfiddle.net/s2qBw/3/): HTML: ``` <div> <label for='name'>Name:</label> <input type='text' id='name' /> </div> ``` CSS: ``` div { height: 50px; ...
- Modified
- 14 Jan at 15:51
Filter multiple values on a string column in dplyr
I have a `data.frame` with character data in one of the columns. I would like to filter multiple options in the `data.frame` from the same column. Is there an easy way to do this that I'm missing? `d...
- Modified
- 17 Oct at 08:21
Add 10 seconds to a Date
How can I add 10 seconds to a JavaScript date object? Something like this: ``` var timeObject = new Date() var seconds = timeObject.getSeconds() + 10; timeObject = timeObject + seconds; ```
- Modified
- 14 Jan at 22:38
How to make a <ul> display in a horizontal row
How can I make my list items appear horizontally in a row using CSS? ``` #div_top_hypers { background-color:#eeeeee; display:inline; } #ul_top_hypers { display: inline; } ``` ``` <d...
- Modified
- 14 May at 23:45