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
| ➜ ~ jp2a <(curl https://sphotos-b.xx.fbcdn.net/hphotos-snc6/285540_347859918655837_1525412760_n.jpg) | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 46072 100 46072 0 0 165k 0 --:--:-- --:--:-- --:--:-- 245k | |
| ....................................................................................................................................................................................................................... | |
| ..,::::::'..............................l;.....;......;..:,.dc.co.............,;....................................................................................................................................... | |
| ..,ccKOcc,..............................Ol....:N,....cN'.:'.0o.dO.............,;...................................................................................................................'.........'',:...... | |
| .....0d....dxdxk'.ldd0:.:0ddxkdddkx. |
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
| ➜ ~ jp2a <(curl https://sphotos-b.xx.fbcdn.net/hphotos-snc6/285540_347859918655837_1525412760_n.jpg) | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 46072 100 46072 0 0 173k 0 --:--:-- --:--:-- --:--:-- 249k | |
| ............................................................................................................................................................................................................................................................................. | |
| ..................................................;:.......................:l..,l............................................................................................................................................................................................ | |
| ...dkkOKOkko......................................kK......cK:......kx..cO,.OX'.lX.................do............................................ |
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
| `cat /dev/urandom | xxd | head -16` > some_hexdump.txt | |
| 0000000: 3938 c251 68a6 8557 ef2e 469b 24fc f349 98.Qh..W..F.$..I | |
| 0000010: 8e89 36ab 6824 a5cd 13a9 7477 bddf 8b29 ..6.h$....tw...) | |
| 0000020: b4ef 20ca 79e9 b811 05cb a5a5 b441 54e7 .. .y........AT. | |
| 0000030: 286f 5370 e3ec cf92 147d 873d 5665 818e (oSp.....}.=Ve.. | |
| 0000040: f7e0 e35f fd50 7dbe b143 bcf4 41d1 11c9 ..._.P}..C..A... | |
| 0000050: b181 0f32 b66f 5842 0ceb 6396 529e aeda ...2.oXB..c.R... | |
| 0000060: e934 ba21 674d 93b5 153f 144d 0472 835e .4.!gM...?.M.r.^ | |
| 0000070: 03a1 ea03 7c92 573c ef7b f181 3ffa 391f ....|.W<.{..?.9. | |
| 0000080: fbea 4e3a 691c d577 4779 3c8d 5501 4ba1 ..N:i..wGy<.U.K. |
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
| public class FibonacciGenerator { | |
| int previous = 0 | |
| int current = 1 | |
| public int nextNumber() { | |
| int oldCurrent = current; | |
| current = previous + current; | |
| previous = oldCurrent; | |
| return previous; |
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
| public class FibonacciGenerator { | |
| int previous = 0 | |
| int current = 1 | |
| public int nextNumber() { | |
| int value = current; | |
| current = previous + current; | |
| previous = current; | |
| return previous; | |
| } |
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
| gem install rails | |
| rails new experiment | |
| cd experiment | |
| gem install therubyracer | |
| echo 'gem "therubyracer", :require => "v8"' >> Gemfile | |
| ifconfig | grep "inet 128" | awk '{ print $2 }' # Your IP | |
| rails server | |
| # Now you can hit <Your Ip>:3000 in the web browser |
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
| MMMMMMMMMMMNOl'. .:KMMMMMMMMMMMMMMMMMMMMMMMMMMMXdkWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMWx'. ..,,. .0MMMMMMMMMMMMMMMMMMMMMMMMMWc .KMWXKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMWc xWMMMK. .KMMMMMMMMMMMMMMMMMMMMMMMMW, c;. .kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMMWo dMMMMMd xMMMMMMMMMMMMMMMMNXWMMNOo; 'lkXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMMMX. :MMMMk. .XMMMMKxookNMMMMWd. oWN, .cc oMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMMMN' ,WMWl ,KMMMNc . .kMMWo cKXNko0WMWc xMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMMMW: .XK, ,dxOXN: ;c. .OMWo .;kWMMW: .xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
| MMMMMMMMMMMo c. 'oNMMX. .lkOd' dMMMN; dMMMMMMMMMMMMMMMMMMMMMMM |
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
| # The / on the end matter | |
| # This will sync yo crap | |
| rsync -avz <Your folder>/ <user>@<server>:/directory/ |
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
| "============================================================================ | |
| "File: scala.vim | |
| "Description: Syntax checking plugin for syntastic.vim | |
| "Maintainer: Rickey Visinski <rickeyvisinski at gmail dot com> | |
| "License: This program is free software. It comes without any warranty, | |
| " to the extent permitted by applicable law. You can redistribute | |
| " it and/or modify it under the terms of the Do What The Fuck You | |
| " Want To Public License, Version 2, as published by Sam Hocevar. | |
| " See http://sam.zoy.org/wtfpl/COPYING for more details. | |
| " |
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
| # Client /var/log/syslog | |
| Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Opening client connection | |
| Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Opening client connection | |
| Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Closing client connection | |
| Feb 6 16:30:20 mah-MacBookAir L2tpIPsecVpnControlDaemon: Executing command ipsec setup start | |
| Feb 6 16:30:20 mah-MacBookAir kernel: [ 1342.588498] NET: Registered protocol family 15 | |
| Feb 6 16:30:20 mah-MacBookAir ipsec_setup: Starting Openswan IPsec U2.6.37/K3.2.0-35-generic... | |
| Feb 6 16:30:20 mah-MacBookAir ipsec_setup: Using NETKEY(XFRM) stack | |
| Feb 6 16:30:20 mah-MacBookAir kernel: [ 1342.686043] Initializing XFRM netlink socket |