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
3261
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
3140
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
3269
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
3197
posted 10 years ago by jacktan
Open Windows Explorer to the SharePoint 2013 hive using a batch file. Double-click the batch file.
0
3307
posted 12 years ago by adove
7zip commandline builder for zipping extensions in an svn repository
0
3039
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
1270
posted 13 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
3064
posted 13 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
3676
posted 13 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
3250
posted 13 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
1030
posted 13 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
3047
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
2999
posted 13 years ago by altern
'svn add' all unversioned files in a working copy to svn repository recursively on windows
0
3243
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
3939
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
2947
posted 14 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
1246
posted 14 years ago by Currysuechtig