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
| Preconfiguring packages ... | |
| (Reading database ... 70247 files and directories currently installed.) | |
| Preparing to unpack .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u5_amd64.deb ... | |
| Unpacking libisc-export95 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... | |
| Preparing to unpack .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u5_amd64.deb ... | |
| Unpacking libdns-export100 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... | |
| Preparing to unpack .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u5_amd64.deb ... | |
| Unpacking libisccfg-export90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... | |
| Preparing to unpack .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u5_amd64.deb ... | |
| Unpacking libirs-export91 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... |
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
| array(73) { | |
| [0]=> | |
| object(stdClass)#3 (3) { | |
| ["geometry"]=> | |
| object(stdClass)#2 (2) { | |
| ["coordinates"]=> | |
| array(2) { | |
| [0]=> | |
| float(-75.16374) | |
| [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
| root@ericoc:/srv/dev/www/indego# php indego.php | |
| 3004 Municipal Services Building Plaza ###############========== 15 bikes 10 docks | |
| 3005 Welcome Park ##########=== 10 bikes 3 docks | |
| 3006 40th & Spruce ================= 0 bikes 17 docks | |
| 3007 11th & Pine #============= 1 bikes 13 docks | |
| 3008 Temple University Station ########========= 8 bikes 9 docks | |
| 3009 33rd & Market #============= 1 bikes 13 docks | |
| 3010 15th & Spruce #############====== 13 bikes 6 docks | |
| 3011 38th & Lancaster ###===== 3 bikes 5 docks | |
| 3012 21st & Catharine #====================== |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="robots" content="noindex,nofollow"> | |
| <title>Indego Bikes!</title> | |
| <style type="text/css"> | |
| <!-- | |
| .header { | |
| font-weight: bold; |
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 | |
| $fha = []; | |
| $counter = 0; | |
| $file = '/tmp/lol.txt'; | |
| while ($counter < 1024) { | |
| $counter++; | |
| $fha[$counter] = fopen($file, 'a'); | |
| echo $counter . "\n"; |
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
| root@ericoc:~# strace -e write,gettimeofday php -r 'echo time();' | |
| gettimeofday({1442189018, 371907}, NULL) = 0 | |
| write(1, "1442189018", 101442189018) = 10 | |
| +++ exited with 0 +++ | |
| root@ericoc:~# strace -e write,gettimeofday php -r 'echo time();' >/dev/null | |
| gettimeofday({1442189022, 488927}, NULL) = 0 | |
| write(1, "1442189022", 10) = 10 | |
| +++ exited with 0 +++ |
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
| https://twitter.com/benbjohnson/status/533848879423578112 | |
| Ben Johnson@benbjohnson | |
| Replace a semicolon (;) with a greek question mark (;) in your friend's JavaScript and watch them pull their hair out over the syntax error. | |
| Nov 16th, 2014 at 12:07 AM | |
| air:tmp eric$ cat semi semi2 | |
| (;) | |
| (;) |
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
| # Create a function to alert via Slack | |
| slack () { | |
| # Set Slack information | |
| slacksubdomain='ours' | |
| slackchannel='#errors' | |
| slackusername='Cron' | |
| slackemoji=':rotating_light:' | |
| slacktoken='secretabc123qwerty' |
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
| air:provision eric$ say -v ? | |
| Agnes en_US # Isn't it nice to have a computer that will talk to you? | |
| Albert en_US # I have a frog in my throat. No, I mean a real frog! | |
| Alex en_US # Most people recognize me by my voice. | |
| Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana. | |
| Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst. | |
| Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne. | |
| Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme. | |
| Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train. | |
| Bahh en_US # Do not pull the wool over my eyes. |
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
| root@ericoc:/etc/apache2/sites-available# cat /etc/cgitrc | |
| # | |
| # cgit config | |
| # see cgitrc(5) for details | |
| css=/cgit-css/cgit.css | |
| logo=/cgit-css/cgit.png | |
| # Highlight source code with python pygments-based highlighter | |
| source-filter=/usr/lib/cgit/filters/syntax-highlighting.py |