Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [syntax]

Questions about the particularities in the symbols that commands and programming languages require for a proper structure.

2
votes
3answers
450 views

How to use wildcards to find the years between 1900 and now

I want to know the number of times that any year from 1900 through the current year is mentioned in a Word file. I know how to use a wildcard expression to do this in two steps as follows: <(19[...
0
votes
2answers
456 views

Invalid Input Syntax in PostgreSQL

I am trying to import a csv file in PostgreSQL to a table. The table is set up as here: Table Setup: My csv file is delimited by commas and I have enclosed text that has commas within speech marks. ...
3
votes
1answer
1k views

How to set the default language in Notepad++ for Rails View files

Similar question to this but my question goes a step further. I'm developing in rails and would like Notepad++ to automatically use html formatting on files with the extension html.erb. For example '...
2
votes
1answer
219 views

Vim match containedin not working as expected

I have tried to extend the C syntax in Vim with the example in the manual. First I launch vim without any config: vim -u NONE test.c Then I load the c-syntax and create my extension syntax on ...
2
votes
1answer
2k views

Automating Disk Cleanup on Windows using commandline

I am trying to run Disk Cleanup in the Command Prompt (and through a C# program) and so I went through all the available options from this link: http://support.microsoft.com/kb/315246 Whilst I am ...
1
vote
1answer
777 views

The service cannot find the resource identified by the resource URI and selectors

When run winrm set -? command, I can see the following example how to disable a listener: C:\Users\Administrator>winrm set -? Windows Remote Management Command Line Tool winrm set RESOURCE_URI [-...
0
votes
1answer
217 views

How to use find -iregex OR (|) operator?

Uninstalled an application, but it continues to pop up whenever I try to interact with file types that it used to be associated with. As usual, find has been invaluable in finding and eliminating ...
0
votes
1answer
62 views

Excel syntax bubble obscures column headers

The screenshot should say it all really. I keep getting frustrated with the Excel syntax bubble obscuring the column headers. My headers are often narrow and my formulas often refer to whole columns, ...
0
votes
1answer
27 views

How do I rename all items in files in folder in folder in folder?

I'm using a MacOS X. I know that this code in the terminal will replace all txt files that include "hello" with "hiThere" in the folder named "world": perl -pi -w -e 's/hello/hiThere/g;' ~/Desktop/...
0
votes
1answer
162 views

Removing a file with special characters through terminal, which has been selected by another command

this is my first post, so go gently :) I'm creating an AppleScript which runs bash commands to select and delete the most recently modified file within a specified group of folders. The file name ...
0
votes
1answer
313 views

Should Single Quotes Be Used for Multiple Row MySQL UPDATEs?

When you are performing a SQL UPDATE on multiple rows in MySQL, it seems that you can either put single quotes around every value or not and it will produce the same results. Is there a reason for ...
0
votes
1answer
108 views

Colon in Shell script

What does the ":" in shell scripts mean? I found the following in a shell script. Probably 'USE_MAD' is an environment variable. USE_MAD:/path/to/script.sh I found the following but could not aply ...
0
votes
1answer
228 views

MySQL insert into table - syntax problems

$servername = 'edited'; $username = 'edited'; $password = 'edited'; $dbname = 'edited'; $name = $_POST ['name']; $email = $_POST ['email']; $number = $_POST ['number']; $manufacturer = $_POST ['...
0
votes
1answer
117 views

Sublime Text 3 Missing Extensions

I started using sublime text v3 and I'm having problems with some extensions. When I look for php/js/css/html extensions, they aren't listed in the extensions list. I reinstalled the program and they'...
0
votes
1answer
240 views

SED: syntax error at script.pl line 19, near “;$'”

I am using this command to delete multiple occurrences of a line in my script and it just works fine when I run it on the command prompt. However when I use this line in my perl script it throws an ...
-1
votes
1answer
1k views

schtasks - Why doesn't this work?

I type this into cmd or in a batch script: schtasks /change /RP user_password /TN "existing_task" /ST H:M If /ST H:M has two digits in the hour it says ERROR: The parameter is incorrect. If /ST H:M ...
-2
votes
1answer
396 views

VBA Find and Replace Syntax Error

I have a find and replace for some html tags and also replacing pipes with break characters. I need to replace pipe with Chr13 and then replace Chr13 with Chr10 as a subsequent step - below is the VBA ...
-2
votes
1answer
542 views

How do I make a batch file that looks exactly like a command prompt?

I want to make a batch file that, when run, looks and works exactly the same as a command prompt, except that I can do something with everything the user enters (e.g. logging it). How can I do this?
3
votes
0answers
2k views

How can I block iframes with uBlock-origin?

I want to define a uBlock-origin filter for iframes on a certain website, whose sources is some other website. Is this possible? If so, what's the appropriate syntax?
1
vote
0answers
73 views

syntax highlighting for python not working in vim for Windows

I want to use Pretty-Python-Vim in windows and have installed the necessary packages an placed .vim directory as described in the website. However even after doing the necessary changes in my vimrc ...
1
vote
0answers
325 views

Ncrack symtax to run multiple IP's and how to add threads and time? CL=5,cd700ms?

i use ncrack for windows Ncrack syntax,how to run multiple IP's and add threads and waiting time? I use this ordinary syntax with no threads and no waiting time and ncrack rate up to 40 ncrack -vv -...
1
vote
0answers
397 views

Can't start Apache 2 - Probably faulty SSL configuration

I followed this german tutorial to set up a Raspberry 2 Owncloud Server (connect.de/ratgeber/so-installieren-sie-owncloud-auf-einem-raspberry-pi-1540246.html) everything worked fine without any Errors ...
0
votes
0answers
3 views

Working with Django2 and have a css trouble sintax

Im working trying to put the statics in to a web page but i have a sytaxis i cant resolve, somehow it shows me an error in 'Core and the dot between bg and jpg i will apreciate your help thanks [<...
0
votes
0answers
107 views

Automate install after bitsadmin download via CMD in windows

If I run this command bitsadmin /transfer mydownloadjob /download /priority normal https://the.earth.li/~sgtatham/putty/latest/w32/putty-0.70-installer.msi C:\Users\house\Desktop\filename.zip ...
0
votes
0answers
282 views

ffmpeg merge two commands

I have two ffmpeg commands which work as expected- 1: a simple recode, removes sound ffmpeg -report -i $MP4FILE -an -vf hflip -movflags faststart $OUTPUTFILE.mp4 -nostdin 2: an overlay with an ...
0
votes
0answers
382 views

Batch converting .rar to .7z - path variable?

I found someone who had written a very nice batch script to convert .zip to .7z, and im attempting to make it convert .rar to 7z. I am able to get the script to work but I cannot figure out where the "...
0
votes
0answers
365 views

Vim 7.4 with syntax on will always Caught deadly signal SEGV

With syntax on inside .vimrc (that's the only line in my .vimrc file), opening a file with any sort of syntax highlighting will cause Vim: Caught deadly signal SEGV Vim: Finished. Segmentation ...
0
votes
0answers
190 views

How to use TextMate 2's Find “In” Regular Expressions?

Ok, here is a scenario, in pictures. OK, so searching all files looks in 333 files, and finds 614 matches. First result is alex/init.zsh. Fine. So I try to limit the scope a bit, with my logical ...
0
votes
0answers
117 views

What is the syntax of Apache's configuration files?

I'd like to know what the syntax of Apache's configuration files is. Particularly, quoting. Ive read this section: http://httpd.apache.org/docs/2.2/configuring.html#syntax And thought it left out a ...