Snippet Library

Browse | Submit A New Snippet | Create A Package

Snippets by category: Other

Snippet ID Title Creator
Packages Of Snippets
6HelloworldArtur Fibonaci
hello
8elkirtasse-3.5-debali nouah
مكتبة القرطاس برنامج مجاني مفتوح المصدر تعمل على جميع أنظمة التشغيل سواء لينكس او وندوز أو ماك
9elkirtasse-3.5ali nouah
elkirtasse free open source program works on all operating systems, whether Linux or Windows or Mac
Lets you view and edit books and organize them as you add new books and exported to certain files and many other features such as printing and other
Snippets
4XChat: Only send /away to current channelJoey Smith
This is an xchat module to only send /away and /back to the window that has focus. This was written for #PHP on freenode, and is hereby released under the GPL. Note that your XChat will have to be made with Python support.
5A new strncpy: CPStrncpyManfred Rebentisch
This CPStrnpy() always copies a null at the end of the destination buffer and write only strlen(src) bytes, if the len is shorter than the given maximal size. So you get more performance. But destination buffer must have a size of n + 1.
6Merge Strings with CPStrDupArgManfred Rebentisch
CPStrDupArg copies all given strings inta a new one and returns it. For the returned string is memory allocated, free it with free(). The last argument must be a NULL.
Example:
myPath = CPStrDupArg(rootDir, "/", myDir, NULL);
27pkg-kde-git_mrconfigMartin Alfke
mrconfig for pkg-kde git repositories
15Quick shortcuts for different Emacs input methodsDanai Sae-Han
You can easily switch from one input method to another.

E.g. suppose you usually use PinYin with tones to write Chinese, but you don't remember the exact tone of a few characters. You could then try all tones, but you could also change to PinYin without tones.
Or suppose that you want to switch from Changjie (Tsangchi) to PinYin and vice versa.

Press F2 once to get Changjie, and press it once more to immediately switch to Chinese PinYin (traditional Chinese). Use C-\ to return to ASCII.
18Groovy regex-dna James Durbin 2007-11-24James Durbin
First Groovy submission for regex-dna benchmark.
20ssh-socks.pacPierre Neyron
Clever Proxy Automatic Configuration script for firefox/iceweasel, thunderbird/icedove, ... to manage http/https/imap/mailto/... connections thru various SSH socks proxies (ssh -D <port> ...)
28Simple TimerSamis Samis
A simple timer to use.
TODO:Make it accept the length as args
Note:Written for Python 3. for python 2, omit the brackets in the print line
33testRene Flottweg
test
Powered By FusionForge
Show source