find . -name "*.php" -exec grep -H "217.156.XXX.XXX" {} \;
find /var/log/.../*.log -mtime +3 -exec rm {} \;
| <select name="timezone" id="timezone"> | |
| <optgroup label="UTC -11:00"> | |
| <option value="Pacific/Midway">UTC -11:00 Midway</option> | |
| <option value="Pacific/Niue">UTC -11:00 Niue</option> | |
| <option value="Pacific/Pago_Pago">UTC -11:00 Pago_Pago</option> | |
| </optgroup> | |
| <optgroup label="UTC -10:00"> | |
| <option value="America/Adak">UTC -10:00 Adak</option> | |
| <option value="Pacific/Honolulu">UTC -10:00 Honolulu</option> | |
| <option value="Pacific/Johnston">UTC -10:00 Johnston</option> |
| <? | |
| // This code works with an optional $country_code variable that preselects a country | |
| $countries = array( | |
| 'AF'=>'Afghanistan', | |
| 'AL'=>'Albania', | |
| 'DZ'=>'Algeria', | |
| 'AS'=>'American Samoa', | |
| 'AD'=>'Andorra', | |
| 'AO'=>'Angola', | |
| 'AI'=>'Anguilla', |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>HTML5 Quicktest Form!</title> | |
| <!--<link rel="stylesheet" href="css/main.css" type="text/css" />--> | |
| <!--[if IE]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
| <!--[if lte IE 7]> |
Sublime (User) settings:
{
"draw_white_space": "selection",
"tab_size": 4,
"translate_tabs_to_spaces": true,
"open_files_in_new_window": false
}
| # Designed to be included in any server {} block. | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } | |
| location = /robots.txt { | |
| allow all; | |
| log_not_found off; | |
| access_log off; |
git reset HEAD --hard
git clean -fdVia Daniel Müller:
On Mac OS X you could do:
echo no-tty >> ~/.gnupg/gpg.conf
git config --global gpg.program $(which gpg)
git config --global commit.gpgsign true
Based on dribbble shot https://dribbble.com/shots/2097042-Widget-Weather by kylor
A Pen by Josh Bader on CodePen.