Welcome To Snipplr
Everyone's Recent Snippets Tagged windows
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
`mysql-dev.ini` can be used in a developing environment and put it in the Mysql Home dir
0
1195
posted 10 years ago by jacktan
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat")
pluss other bash commond
*...
0
1091
posted 10 years ago by jacktan
Run `mysqladmin` to shutdown msyql server with a specified option file.
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-...
0
1159
posted 10 years ago by jacktan
Run a Mysql server using command line with a specified option file.
**Vars** to to specify
+ ${EnvSet_Bash}
**Demo**
vars specified like
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-...
0
1125
posted 10 years ago by jacktan
Open Windows Explorer to the SharePoint 2013 hive using a batch file. Double-click the batch file.
0
1218
posted 11 years ago by adove
7zip commandline builder for zipping extensions in an svn repository
0
1010
posted 12 years ago by lookmatters
I had hear about a method to run a method like an executable, with the arguments being passed in from the commandline. Apparently, Ruby has this with the Rake project. Well, Python has it with [Shovel](http://devblog.seomoz.org/2012/03/shovel-rake-fo...
0
926
posted 12 years ago by pckujawa
This is a fraction of a much larger script which does multiple tasks. This scriptlet is intended to be interactive and somewhat user-friendly. First, it asks if you want to place the computer into sleep mode, then it kills pesky processes associated...
1
1160
posted 12 years ago by Rectifier
Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command comment...
0
1596
posted 12 years ago by Rectifier
This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.
1
1268
posted 12 years ago by Rectifier
Terminate Rising anti-virus program's annoying ad. popup window process "popwndexe.exe", remove from its config file "RsMgrsvc.ini".
0
743
posted 12 years ago by breakerzhao
Batch script creates repository dump of specific project in repository. It assumes that repository has following structure:
/project1
/trunk
/tags
/branches
/project2
/trunk
/tags
/b...
0
1000
posted 13 years ago by altern
Batch script creates initial svn repository structure according to SCM framework (http://scm.altern.kiev.ua):
/project
/trunk
/tags
/builds
/PA
/A
/B...
0
969
posted 13 years ago by altern
'svn add' all unversioned files in a working copy to svn repository recursively on windows
0
1152
posted 13 years ago by altern
Useful to open an image for viewing from the command line under Windows, in this example the image is generated by the GraphViz dot command.
0
1792
posted 13 years ago by m1b
TheGun is a great Windows Notepad replacement, but it's a bit painful in how it registers itself when you choose it to open a file.
If you save it in "C:\Program Files\TheGun\THEGUN.EXE" and add something this to your registry, it should work nicely...
0
971
posted 13 years ago by johngh
Easily create Windows Forms Shortcuts with this class.
For example: A shortcut to catch pasting via Ctrl + V.
Shortcut sc = new Shortcut(this, new Action(() => MessageBox.Show("Data pasted!")));
sc.Keys.Add(Keys.ControlKey);
sc.Keys.Add(Keys.V)...
0
924
posted 13 years ago by Currysuechtig