Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Takes a number in bytes and returns the number in (KB,MB,GB) for human-readable format.
1
1153
posted 16 years ago by stancox
This is useful if you do not currently have a trunk/branch structure and would like to move everything into a new trunk.
0
3352
posted 16 years ago by jmiller
This shows how we can find objects inside code blocks (aka data sets).
0
1854
posted 16 years ago by chrisaiv
Where:
* 3307 is the local port used to connect to the remote database. You can use 3306, however, this could conflict with your PC’s MySQL installation.
* localhost and 3306 is the MySQL address from the remote server (most people will...
0
1202
posted 16 years ago by danshields
creates something like list_49 with the 49 corresponding to id of record in database.
0
1147
posted 16 years ago by deschism
Enable a secure tunnel for safe browsing.
Remember to enable SOCKS proxy. SOCKS host: "localhost" - Port: 9999
0
1052
posted 16 years ago by MatiasD
This line can be used to refresh the current page. Submitted by philsturgeon on #codeigniter in the Freenode IRC server.
3
1374
posted 16 years ago by AzizLight
This is a script for finding a string in files under a current folder in TextMate. It can be very convenient if you know what you are looking is in a particular folder by saving your time searching each file individually or going through a long list...
0
1121
posted 16 years ago by phalkunz