Welcome To Snipplr
Everyone's Recent Bash Snippets Tagged Bash
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Copy every file with .dist in the end to a new file without .dist
0
734
posted 15 years ago by bub3d
after recording screen cast using recordmydesktop this is a fast way of converting the file to .avi so it can be uploaded to youtube or other video sharing sites.
0
983
posted 15 years ago by luizlopes
Sample log line:
[INFO] 2009-03-06 20:47:35 | controller::bla | user: vincentvega | ip: 127.0.0.1
0
1091
posted 15 years ago by benjay
In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033.
The list below works perfectly in Snow Leopard
0
1020
posted 15 years ago by AzizLight
Put this into your ~/.bashrc script and you should see the Git/SVN status in your prompt if your working directory is a sandbox.
0
1370
posted 15 years ago by zingo
/!\Notice: Change the ci_dir to wherever your ci folder is on line 3. /!\
Usage: ci [name of project]
Gives the project a name based on the current date if the user didn't provide one. Option to move the app directory outside of the system dire...
2
1158
posted 15 years ago by AzizLight
Based on the good initial coverage [over here](http://www.thamtech.com/blog/2008/03/29/gmail-to-google-apps-email-migration/).
1
1134
posted 15 years ago by ches
Simply change the email address and add this to the bottom of your .bashrc file in your home directory. You may also want to add this to the .bashrc in the /root directory, and the .profile in /etc to ensure you are notified anytime your server is ac...
0
889
posted 15 years ago by arnoldb
Assuming you have a set of svn project folders inside a parent (only folders in parent) you can do a simple backtick `ls` to get the folder names for svn...
0
1187
posted 16 years ago by jasonm23