spaces Questions

10

Solved

I'm trying to figure out how to get the current space # from mission control. Source would be helpful, but more helpful would be info on how to figure this out myself. I've written a few applescrip...
Trapan asked 20/7, 2011 at 21:17

12

Solved

The unzip command doesn't have an option for recursively unzipping archives. If I have the following directory structure and archives: /Mother/Loving.zip /Scurvy/Sea Dogs.zip /Scurvy/Cures/Limes...
Elysha asked 20/9, 2008 at 12:6

8

I've trouble setting up Vim (7.1.xxx) for editing Python files (*.py). Indenting seems to be broken (optimal 4 spaces). I've followed some tutorials I found via Google. Still no effect :/ Please h...
Urquhart asked 15/9, 2008 at 17:48

6

Solved

I need there to be two spaces after every period in every sentence in our entire site (don't ask). One way to do it is to embark on manually adding a &nbsp  after every single period....
Openhanded asked 7/10, 2011 at 16:49

11

Solved

target: dependencies command1 command2 On my system (Mac OS X), make seems to require that that Makefiles have a tab character preceding the the content of each command line, or it throws a syn...
Bandog asked 25/1, 2010 at 9:15

7

I want to select my particular database in mysql console, but the problem is that my database name has a space in between and mysql ignores the part after the space. For instance, when i give the c...
Anent asked 3/2, 2009 at 11:57

14

Solved

I'm trying to write a python function not using any modules that will take a string that has tabs and replace the tabs with spaces appropriate for an inputted tabstop size. It can't just replace al...
Acrid asked 17/4, 2013 at 6:14

3

Solved

At work we are several developers and don't have a code style guide, and some developers indent with tabs, and some others with 4 spaces (luckily noone of the indent with spaces people uses differe...
Octad asked 14/5, 2012 at 9:57

7

I occasionally need to go line-by line and change the indentation of the code. Is there a shortcut in Pycharm where I can add spaces (format the indent) in the begining of multiple lines simultaneo...
Cornia asked 18/7, 2014 at 10:25

7

Solved

There is a class trim() to remove white spaces, how about adding/padding? Note: " " is not the solution.
Surname asked 9/3, 2011 at 17:17

14

Solved

How do I strip all the spaces in a python string? For example, I want a string like strip my spaces to be turned into stripmyspaces, but I cannot seem to accomplish that with strip(): >>>...
Diazotize asked 18/9, 2010 at 0:42

4

Solved

How can we count space between text in PHP? example: hi how are you? spaces: 3 Is there a way to count spaces? Language: Only PHP
Borchers asked 23/6, 2009 at 17:34

5

Solved

I am writing a file to remove spaces from filenames in a folder and then put the result in a .txt file. I just get a result of "Echo is on." over and over. This is what I have so far: @echo ON S...
Ozenfant asked 29/4, 2013 at 10:26

13

Solved

I'm wondering if there's a more OO way of creating spaces in C#. Literally Space Code! I currently have tabs += new String(" "); and I can't help but feel that this is somewhat reminiscent of usi...
Bothy asked 11/11, 2009 at 16:12

8

Solved

So I know in ruby that x.nil? will test if x is null. What is the simplest way to test if x equals ' ', or ' '(two spaces), or ' '(three spaces), etc? Basically, I'm wondering what the best way t...
Chondrite asked 25/3, 2010 at 18:42

6

Solved

This may be a total beginner's question, but I have yet to find an answer that works for me. Currently, I'm writing a program for a class that takes in a user's input (which can be one or more num...
Rolo asked 27/10, 2012 at 2:30

5

Solved

I'm facing the next problem in MinGW shell under windows. I have in my /etc/profile the expression: export GIT_SSH="/c/Program Files/TortoiseGit/bin/TortoisePlink.exe" This doesn't work when I u...
Tungstic asked 28/4, 2011 at 13:31

7

Solved

Using python and argparse, the user could input a file name with -d as the flag. parser.add_argument("-d", "--dmp", default=None) However, this failed when the path included spaces. E.g. -d C:...

13

Solved

I have both TypeScript and HTML files in my project, in both files tabs are converted to spaces. I want to turn the auto-conversion off and make sure that my project has only tabs. Edit: With this ...
Palmetto asked 23/4, 2016 at 18:14

9

Solved

How can I make the following run? public class ExecTest { public static void main(String[] args) { try { //Notice the multiple spaces in the argument String[] cmd = {"explorer.exe", &...
Godderd asked 13/7, 2011 at 22:46

21

How do you run the following command in PowerShell? C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe -verb:sync -source:dbfullsql="Data Source=mysource;Integrated Security=false;User ID=sa...
Requite asked 4/11, 2009 at 14:10

16

Solved

What is the easiest and most efficient way to remove spaces from a string in C?
Materiel asked 13/11, 2009 at 0:6

5

Solved

A script I am working on needs to go through each file from a git diff. However, I don't know how to deal with spaces in the file name. Any files that have a space are split into "2 files". I know ...
Villosity asked 23/1, 2015 at 12:3

6

Solved

I want to pass this JSON String to a Java class through command line arguments. {"body": "We should definitely meet up, man", "startDate": "2014-05-29 11:00:00", "endDate": "2014-05-29 12:00:00...
Savagism asked 30/5, 2014 at 15:38

4

Solved

I was programming in VS2019 this morning before going about my day. When I sat down in the evening to keep programming, I realized that it has suddenly been placing spaces instead of tabs! My prefe...
Wysocki asked 20/1, 2020 at 3:1

© 2022 - 2024 — McMap. All rights reserved.