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/sh | |
| if [ $# -ne 1 ]; then | |
| echo "$0 <git-commit>" 1>&2 | |
| exit 1 | |
| fi | |
| git diff --name-status $1 | |
| read -p "Press any key to execute..." |
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
| <?php | |
| $curl = curl_init('http://www.livescore.com/soccer/england/'); | |
| curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
| curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); | |
| curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10'); | |
| $html = curl_exec($curl); | |
| curl_close($curl); | |
| if (!$html) { |
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
| <?php | |
| /* | |
| ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
| :: Formerly known as::: | |
| :: GIFEncoder Version 2.0 by László Zsidi, http://gifs.hu | |
| :: | |
| :: This class is a rewritten 'GifMerge.class.php' version. | |
| :: | |
| :: Modification: |
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
| <?xml version="1.0"?> | |
| <settings> | |
| <console change_refresh="10" refresh="100" rows="20" columns="98" buffer_rows="500" buffer_columns="0" init_dir="C:\Users\Kevin\Desktop" start_hidden="0" save_size="1" shell="C:\Program Files (x86)\Git\bin\sh.exe --login -i"> | |
| <colors> | |
| <color id="0" r="0" g="43" b="54"/> | |
| <color id="1" r="38" g="139" b="210"/> | |
| <color id="2" r="133" g="153" b="0"/> | |
| <color id="3" r="42" g="161" b="152"/> | |
| <color id="4" r="220" g="50" b="47"/> | |
| <color id="5" r="211" g="54" b="130"/> |
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
| <?php | |
| /** | |
| * This has been tested using the diff for save_post_{$post_type} | |
| * https://core.trac.wordpress.org/changeset/25050 | |
| * | |
| * @todo Try different post type names | |
| * @todo Create two posts and try to update them both at the same time | |
| */ |
NewerOlder