Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
<p>This zips all files and directories</p>
<p>-r:Includes all files and directories -> Files</p>
<p>filename.zip:The zip file you want to create</p>
<p>foldername:The folder you are targetting or use * if your currently in the folder</p>
0
6305
posted 16 years ago by kevinbanet
This command will count the number of files in the given directory and sub-directories.
0
3244
posted 16 years ago by gdvickery
This is based upon a debian guide, it seems to work well for ubuntu as well, all these steps can be performed via remote ssh (no need to access the machine).
0
1923
posted 16 years ago by narkisr
Делаем иÑполнÑемым cd ~ && chmod +x ship.sh
Ð”Ð»Ñ Ð·Ð°Ð¿ÑƒÑка Ñервера: ./ship.sh -serve
Ð”Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ñ Ðº Ñерверу ./ship.sh host
1
1363
posted 16 years ago by anonymous
This snippet shows how to replace the colours in a monochrome image, i.e. one which only contains two colours and the range of hues between them.
0
1647
posted 16 years ago by deepsoul
Estou considerando que você irá alterar [DOMINIO] para o nome correto de seu certificado.
Em servidores sem cpanel logo, após a instalação convencional do SSL é requerido senha sempre que o apache é iniciado.
Para contornar isso:
0
1692
posted 16 years ago by gpupo
There is no debian startup script for the lighttpd webserver, if you install the server from sources. You could rewrite the redhat init script for your self, but i've already done this for you :-)
0
1415
posted 16 years ago by crypt
This will build and install a Dreamweaver CS4 extension automatically and silently. The version number will be taken from the *.mxi file and appended to the packed *.mxp. Set the extensionfile variable to the name of the *.mxi file without the extens...
0
2068
posted 16 years ago by s3xym4n
used to copy the contents of one folder into another on mac replacing only the files that are duplicates (like windows)
0
1707
posted 16 years ago by ReeceMarsland