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
| git push -u origin newLocalBranch |
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
| var sVal = '23 45 68'; | |
| var iNum = parseInt(sVal); //Output will be 23. |
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
| export GIT_EDITOR=vim | |
| export VISUAL=vim | |
| export EDITOR=vim |
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
| <script src="http://code.jquery.com/jquery-latest.min.js"></script> |
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
| http://www.refulz.com:8082/index.php#tab2?foo=789 | |
| Property Result | |
| ------------------------------------------- | |
| host www.refulz.com:8082 | |
| hostname www.refulz.com | |
| port 8082 | |
| protocol http | |
| pathname index.php | |
| href http://www.refulz.com:8082/index.php#tab2 |
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
Show hidden characters
| { | |
| "color_scheme": "Packages/User/textmate-solarized/Solarized (Dark).tmTheme", | |
| "default_line_ending": "unix", | |
| "dictionary": "Packages/Language - English/en_GB.dic", | |
| "draw_white_space": "selection", | |
| "find_selected_text": true, | |
| "font_face": "menlo", | |
| "font_size": 12, | |
| "highlight_line": true, |
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
| $ git config --global alias.co checkout | |
| $ git config --global alias.br branch | |
| $ git config --global alias.ci commit | |
| $ git config --global alias.st status |
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
| if(navigator.userAgent.match(/iPad/i)) { | |
| viewport = document.querySelector("meta[name=viewport]"); | |
| viewport.setAttribute('content', 'width=380px'); | |
| } |
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
| $ git config --global alias.st status | |
| $ git config --global alias.ci 'commit -v' |
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
| if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); | |
| function my_jquery_enqueue() { | |
| wp_deregister_script('jquery'); | |
| wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://code.jquery.com/jquery-2.0.3.min.js", false, null); | |
| wp_enqueue_script('jquery'); | |
| } |