This file contains 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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains 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
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
This file contains 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
/* * * * * * * * * * | |
here is the file, i'm trying to browserify, called dom2json.js — | |
* * * * * * * * * */ | |
var fs = require('fs'); | |
var parse = require('jsonml').parse; | |
var jsonML = parse(fs.readFileSync('/home/chronos/user/Downloads/code/say_media_quiz/dom2json.html')); |
This file contains 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 result of ifconfig -a — | |
# ifconfig -a | |
eth0 Link encap:Ethernet HWaddr 6c:ec:eb:ad:34:1d | |
UP BROADCAST MULTICAST MTU:1500 Metric:1 | |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
Interrupt:40 |
This file contains 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 /etc/network/interfaces | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface |
This file contains 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
# ifconfig | |
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
inet 192.168.7.1 netmask 255.255.255.252 broadcast 192.168.7.3 | |
inet6 fe80::6eec:ebff:fead:341f prefixlen 64 scopeid 0x20<link> | |
ether 6c:ec:eb:ad:34:1f txqueuelen 1000 (Ethernet) | |
RX packets 1048 bytes 106629 (104.1 KiB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 1918 bytes 316054 (308.6 KiB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
This file contains 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
+ set -e | |
+ CROUTON_BRANCH= | |
+ INSTALLER=crouton | |
+ URL=https://github.com/dnschneid/crouton/raw/releases/crouton | |
+ CACHEDIR=/tmp/crouton-installer-cache | |
+ CACHEFILE=/tmp/crouton-installer-cache/crouton | |
+ MAXAGE=1800 | |
+ getopts :a:f:k:m:M:n:p:P:r:s:t:T: f | |
+ [ r = P ] | |
+ getopts :a:f:k:m:M:n:p:P:r:s:t:T: f |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE-edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap Example</title> |
This file contains 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
(function() { | |
var _ = self.Life = function(seed) { | |
this.seed = seed; | |
this.height = seed.length; | |
this.width = seed[0].length; | |
this.prevBoard = []; | |
this.board = cloneArray(seed); | |
}; |
This file contains 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
(function() { | |
var buttons = { | |
next: $('button.next') | |
}; | |
buttons.next.addEventListener('click', function() { | |
lifeView.next(); | |
}); |