| add | remove | start | end
---------|:---:|:------:|:-----:|:----: push | X | | | X pop | | X | | X unshift | X | | X | shift | | X | X |
| on run | |
| tell application "Finder" | |
| try | |
| activate | |
| set frontWin to folder of front window as string | |
| set frontWinPath to (get POSIX path of frontWin) | |
| tell application "Terminal" | |
| activate | |
| tell application "System Events" | |
| keystroke "`" using {control down} -- bring down visor |
| #!/bin/sh | |
| xattr -d com.apple.quarantine $1 | |
| open -b com.barebones.bbedit $1 |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.pyc |
| <script> | |
| // custom lightweight selector implementation | |
| // nickname: dolla | |
| window.$ = function(selector) { | |
| return document.querySelector(selector); | |
| }; | |
| window.$$ = function(selector) { |
| add | remove | start | end
---------|:---:|:------:|:-----:|:----: push | X | | | X pop | | X | | X unshift | X | | X | shift | | X | X |
| /** | |
| * Format french phone number | |
| * @param [string] $tel Phone number to format | |
| * @return string Conventional human readable phone number | |
| */ | |
| function FormatTel($tel) { | |
| $t = ereg_replace("[^0-9]", "", $tel); | |
| if (strlen($t) === 10) { | |
| return substr(chunk_split($t, 2, " "), 0, -1); | |
| } else if (preg_match('/^\(?\+?33/', $tel)) { |
| /*global $*/ | |
| // a temp value to cache *what* we're about to show | |
| var target = null; | |
| // collect all the tabs | |
| var tabs = $('.tab').on('click', function () { | |
| console.log('click'); | |
| target = $(this.hash).removeAttr('id'); | |
| if (location.hash === this.hash) { |
| #### Uncomment next line in case you must NOT version this .gitignore file : | |
| #/.gitignore | |
| #### Composer related | |
| /vendor/* | |
| /composer.phar | |
| /composer | |
| ## Dependency directory | |
| ## Commenting this out is preferred by some people, see |
A small library for padding strings in JavaScript. Marmalade-free.
![NPM version][shield-npm] ![Node.js version support][shield-node] ![Build status][shield-build] ![Code coverage][shield-coverage]
| /* Adding Helpful Information */ | |
| img { | |
| font-family: 'Helvetica'; | |
| font-weight: 300; | |
| line-height: 2; | |
| text-align: center; | |
| width: 100%; | |
| height: auto; |