Welcome To Snipplr
Everyone's Recent Snippets Tagged Bash
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1067
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
871
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
902
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
657
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
922
posted 15 years ago by jasonm23
These are two separate code snippets. One is for a crontab, the other to be run by cron.
Together they create a new folder every day and fills it with 240 jpeg images (10 per hour) of whatever it is that you're doing.
The next step for me is t...
1
698
posted 15 years ago by ThomasGHenry