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
| Cannot get to certainm parts of the internet... | |
| google.com = bad | |
| yahoo.com = good | |
| My traceroute [v0.82] | |
| Alan-Pinsteins-MacBook-Pro.local (0.0.0.0) Wed Jul 10 09:37:35 2013 | |
| Keys: Help Display mode Restart statistics Order of fields quit | |
| Packets Pings | |
| Host Loss% Snt Last Avg Best Wrst StDev |
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
| apache 2.2.22 upgrade | |
| rpm --import http://yum.jasonlitka.com/RPM-GPG-KEY-jlitka | |
| # into /etc/yum.repos.d/utterramblings.repo | |
| [utterramblings] | |
| name=Jason's Utter Ramblings Repo | |
| baseurl=http://yum.jasonlitka.com/EL$releasever/$basearch/ | |
| enabled=1 | |
| gpgcheck=1 |
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
| "Hostnames (A Records) | |
| Hostname IP Address | |
| ns2.tourbuzz.net 174.129.10.139 | |
| stl.tourbuzz.net 209.135.134.188 | |
| www0.us-east-1a.aws.tourbuzz.net 54.243.211.209 | |
| *.tourbuzz.net 54.243.211.209 | |
| staging.tourbuzz.net 54.243.60.216 | |
| db0.us-east-1a.aws.tourbuzz.net 54.243.212.52 | |
| readonly.us-east-1b.aws.tourbuzz.net 23.20.74.23 | |
| tour.tourbuzz.net 54.243.211.209 |
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
| // do it live: http://jsfiddle.net/apinstein/2kR2c/1/ | |
| // in DOM | |
| <div ng-controller="MyCtrl"> | |
| <p ng-click="bumpA()">a: {{a}}</p> | |
| <p ng-click="bumpB()">b: {{b}}</p> | |
| <p>a^2 = {{aSquared}}</p> | |
| <p>a + b = {{aPlusB}}</p> | |
| </div> |
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/zsh -f | |
| echo yay! |
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
| my apps' composer.json: | |
| { | |
| "repositories": [ | |
| { | |
| "type": "vcs", | |
| "url": "https://github.com/apinstein/Propel" | |
| } | |
| ], | |
| "require": { | |
| "swiftmailer/swiftmailer": "v5.0.2", |
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
| # iterm escape code to allow clipboard integration | |
| https://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes | |
| # do this in a non-screen terminal, it works! | |
| printf "\e]50;CopyToClipboard\a...followed by text followed by...\e]50;EndCopy\a" && echo && echo 'clip...' && pbpaste | |
| # problems | |
| 1. vim --version | |
| -> -clipboard -xterm_clipboard | |
| 2. passing thru escape sequence in screen. maybe via termcap? or some other "carve out" for that escape sequence? |
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
| $sc = ShellCommand::create() | |
| ->addCommand("echo HI") | |
| ; | |
| $j = new RemoteShellCommandJob($sc); | |
| $j->webhookThen( | |
| array('MyPromiseHandler', 'success'), | |
| array('MyPromiseHandler', 'error'), | |
| array('MyPromiseHandler', 'notify') | |
| ); |
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
| vim '+set nomore' +BundleInstall! +BundleClean +qa | |
| # nomore prevents the pager from getting hung at the "-- More --" prompt. |
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 | |
| register_shutdown_function(function() { | |
| $f = '/tmp/last-request-' . microtime(true) . '.sh'; | |
| $rawData = json_decode(file_get_contents("php://input")); | |
| $url = $_SERVER['REDIRECT_SCRIPT_URI']; | |
| $requestData = http_build_query($_REQUEST); | |
| $postData = NULL; |