" Windows
"------------------------
" :split
" :vsplit
" <C-W>n new
" <C-W>s split
" <C-W>v vsplit
" <C-W>c close
" <C-W>o others
- Create Keys
ssh-keygen -t rsa -C "[email protected]" - Get Fingerprint -
ssh-keygen -lf $file
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/sh | |
| h="Hello" | |
| echo $h |
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/sh | |
| h="Hello" | |
| echo $h | |
- Memcached - link - http://www.memcached.org/
- Libevent - Download link - http://libevent.org/
- Download both Memcached and Libevent source files (.tar.gz).
- Install Libevent first since its a dependency for Memcached to work.
./configure -prefix=/opt/libevent
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
| #!/usr/bin/env phantomjs | |
| //-------------------------------------------------------- | |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| action = null, | |
| q = null; | |
| //-------------------------------------------------------- |
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
| #!/usr/bin/env phantomjs | |
| //-------------------------------------------------------- | |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| file = null, | |
| url = null; | |
| //-------------------------------------------------------- |
- ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- brew update
- brew doctor
- brew install mongodib
- Start Server
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 should = require('chai').should(), | |
| supertest = require('supertest'), | |
| api = supertest('http://localhost:5000'); | |
| describe('/blog', function() { | |
| it('returns blog posts as JSON', function(done) { | |
| api.get('/blog') | |
| .set('x-api-key', '123myapikey') | |
| .auth('correct', 'credentials') |
- Restart using
ESC-Refresh-Power - At the prompt,
CTRL-Dto erase and install ChromeOS in Developer mode - Launch terminal -
CTRL-ALT-t - Download and Install Crouton from (https://github.com/dnschneid/crouton)
sudo sh -e ~/Downloads/crouton -t cli-extrasudo sh -e crouton -p "/media/removable/USB Drive/" -r trusty -t cli-extrasudo sh -e crouton -p "/media/removable/USB Drive/" -r trusty -t xfce
- Open up port 80 if needed -
sudo /sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT
OlderNewer