This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #Download the latest copy of WordPress into a directory, grab all the files in the new /wordpress folder | |
| #Put all the files in the current directory, remove the now empty /wordpress directory | |
| #Remove the tarball | |
| #download latest wordpress with wget | |
| wget http://wordpress.org/latest.tar.gz | |
| #OR using CURL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** table-cell/vertical-align: middle **/ | |
| .parent { | |
| width: 100%; | |
| height: 100%; | |
| display: table; | |
| text-align: center; | |
| } | |
| .parent > .child { | |
| display: table-cell; | |
| vertical-align: middle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void swap(int *x, *y) { | |
| if (x == y) // Check if two addresses are the same | |
| return x; | |
| *x = *x + *y; | |
| *y = *x - *y; | |
| *x = *x - *y; | |
| } | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\*\shell\Edit with Sublime Text 3] | |
| [-HKEY_CLASSES_ROOT\Folder\shell\Edit with Sublime Text 3] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Folder\shell\Edit with Sublime Text 3] | |
| @="Edit with Sublime Text 3" | |
| "Icon"="\"C:\\Program Files (x86)\\Sublime Text 3\\sublime_text.exe\",0" | |
| [HKEY_CLASSES_ROOT\Folder\shell\Edit with Sublime Text 3\command] | |
| @="C:\\Program Files (x86)\\Sublime Text 3\\sublime_text.exe \"%1\"" | |
| [HKEY_CLASSES_ROOT\*\shell\Edit with Sublime Text 3] |