Skip to content

Instantly share code, notes, and snippets.

@ds0nt
Created July 20, 2015 12:56
Show Gist options
  • Save ds0nt/1439a3b6527779e02b9e to your computer and use it in GitHub Desktop.
Save ds0nt/1439a3b6527779e02b9e to your computer and use it in GitHub Desktop.
1
<script src="https://gist.github.com/c8db04f08f79463f21c5.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/a2f7e2fe707a6f986ace.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/85ea8458078598155eb6.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont scratch]$ ls
gist/ node_modules/ index.html scratch.js*
[dsont@dsont scratch]$ cd gist
[dsont@dsont gist]$ ls
[dsont@dsont gist]$ touch index.html
[dsont@dsont gist]$ cd /code/scratch/gist/index.html; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
bash: cd: /code/scratch/gist/index.html: Not a directory
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/fa895d95e702c7b1de9b.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ gist/ node_modules/ index.html scratch.js*
bash: gist/: No such file or directory
[dsont@dsont gist]$ [dsont@dsont scratch]$ cd gist
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ ls
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ touch index.html
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ cd /code/scratch/gist/index.html; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
bash: [dsont@dsont: command not found
^CStarting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^X^Chttp-server stopped.
[dsont@dsont gist]$ ls^C
[dsont@dsont gist]$ cd /code/scratch/gist/; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ cd /code/scratch/gist/; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/d859686643f9fadb77ba.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/9de2698b608fb7d19e0f.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ gist/ node_modules/ index.html scratch.js*
bash: gist/: No such file or directory
[dsont@dsont gist]$ [dsont@dsont scratch]$ cd gist
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ ls
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ touch index.html
bash: [dsont@dsont: command not found
[dsont@dsont gist]$ [dsont@dsont gist]$ cd /code/scratch/gist/index.html; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
bash: [dsont@dsont: command not found
^CStarting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^X^Chttp-server stopped.
[dsont@dsont gist]$ ls^C
[dsont@dsont gist]$ cd /code/scratch/gist/; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ cd /code/scratch/gist/; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
view rawa.rb hosted with ❤ by GitHub
1
bash -c 'cd /code/scratch/gist/; EMBED=$(gist --paste --embed --copy) ; echo "<h4>$(xclip -o)</h4>$EMBED" >> index.html http-server -p 9090 -o -c'
view rawa.rb hosted with ❤ by GitHub
1
bash -c 'cd /code/scratch/gist/; EMBED=$(gist --paste --embed --copy) ; echo "<h4>$(xclip -o)</h4>$EMBED" >> index.html http-server -p 9090 -o -c'
view rawa.rb hosted with ❤ by GitHub
http-server -p 9090 -o -c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont scratch]$ ls
gist/ node_modules/ index.html scratch.js*
[dsont@dsont scratch]$ cd gist
[dsont@dsont gist]$ ls
[dsont@dsont gist]$ touch index.html
[dsont@dsont gist]$ cd /code/scratch/gist/index.html; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
bash: cd: /code/scratch/gist/index.html: Not a directory
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
view rawa.rb hosted with ❤ by GitHub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont scratch]$ ls
gist/ node_modules/ index.html scratch.js*
[dsont@dsont scratch]$ cd gist
[dsont@dsont gist]$ ls
[dsont@dsont gist]$ touch index.html
[dsont@dsont gist]$ cd /code/scratch/gist/index.html; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
bash: cd: /code/scratch/gist/index.html: Not a directory
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
^Chttp-server stopped.
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ ls
index.html
[dsont@dsont gist]$ cd /code/scratch/gist; gist --paste --embed >> index.html; http-server -p 9090 -o -c-1
Starting up http-server, serving ./ on: http://0.0.0.0:9090
Hit CTRL-C to stop the server
view rawa.rb hosted with ❤ by GitHub
http-server -p 9090 -o -c
1
<script src="https://gist.github.com/237b1be1c5e98097370a.js"></script>
view rawa.rb hosted with ❤ by GitHub
1
<script src="https://gist.github.com/237b1be1c5e98097370a.js"></script>
view rawa.rb hosted with ❤ by GitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment