Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 432 433 434 435 436 ... 553
Useful to remotely assist another person. 1. Connect to his computer using ssh 2. Execute first command listed below 3. The other person must open a terminal and execute the second command 4. Both are connected to the same terminal "screen"
1 1899 posted 17 years ago by Dorgendubal
Useful when you have to deal with ClassNotFoundException. The command looks for all jar in the current directory and any sub-directory, and checks if the jar contains the specified class. The command lists all matching jars.
0 1907 posted 17 years ago by Dorgendubal
To find your numerical Twitter ID, login to Twitter and click on your RSS feed (bottom of the page). The URL will look something like http://twitter.com/statuses/friends_timeline/12345678.rss. Your ID will be the 12345678.
9 2158 posted 17 years ago by nerdsane
Useful to quickly backup a folder by synchronizing it to another partition/disk.
0 1389 posted 17 years ago by Dorgendubal
Useful to quickly identify processes listening to ports (to eventually kill them).
0 1496 posted 17 years ago by Dorgendubal
Useful to convert all matching files from one encoding to another. Some examples:
1 2189 posted 17 years ago by Dorgendubal
* _HOST_: remote host * _PORT_: ssh port (default 22) * _PATH_: remote path to synchronize
0 1398 posted 17 years ago by Dorgendubal
0 1324 posted 17 years ago by spark9
1 1777 posted 17 years ago by hokasu
0 1220 posted 17 years ago by spark9
0 1273 posted 17 years ago by spark9
The basis to a spider.
5 2140 posted 17 years ago by Unreal
Using this you can get the inside string from another given string. Great for scraping data from other sites.
0 1343 posted 17 years ago by Unreal
Nice simple snippet. Great for forum scripts.
1 1725 posted 17 years ago by Unreal
0 1602 posted 17 years ago by troynt
Explode de data para formato BR
0 1325 posted 17 years ago by wesleymacente
SESSIONNAME = Name of your session cookie; example.com = Domainname of your site
1 1293 posted 17 years ago by HeWo42
I just want a simple link, but it takes 8 lines of code?! I like control but they could have made a shortcut of some sort for buttons.
1 1459 posted 17 years ago by ddegner
0 1456 posted 17 years ago by lister
2 1787 posted 17 years ago by localhorst
This function takes 2 arguments, first is the string to be encoded (or decoded) the second is optional and can be used to change the rotation amount to something other than 13.
0 1123 posted 17 years ago by Valdemarick
This script stores the elements of the email address as JavaScript variables and assembles them on the fly every time the page loads. The page rendered looks the same to users, but the address never actually lives in the page source code. It can...
0 1447 posted 17 years ago by Bluewall
Simple function for turning RETURN key presses into TAB key presses. Focuses input element next in the DOM (usually makes sense), unless we are at the end of the form, at which point it focuses the first element in the form for cyclical purposes.
2 3834 posted 17 years ago by kouphax
Just provide $availableLanguages as an array('en', 'de', 'es')
5 3254 posted 17 years ago by ping_ch
Nice tip for doing global search/replace on database, taken from the excellent warner brothers records writeup.
0 1333 posted 17 years ago by zachharkey
Simple yet effective way to create a horizontal slider to controll the volume of your sound channel
4 2140 posted 17 years ago by Ktoso
In french !!!
0 1387 posted 17 years ago by rsavard
Simple jQuery snippet for cleanly and automatically setting up your google analytics
4 1733 posted 17 years ago by garside
1 1549 posted 17 years ago by jclewell
1 ... 432 433 434 435 436 ... 553