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
$ httpd -v | |
Server version: Apache/2.2.26 (Unix) | |
Server built: Dec 10 2013 22:09:38 | |
django:Sites yuetsu$ httpd -V | |
Server version: Apache/2.2.26 (Unix) | |
Server built: Dec 10 2013 22:09:38 | |
Server's Module Magic Number: 20051115:33 | |
Server loaded: APR 1.4.5, APR-Util 1.3.12 | |
Compiled using: APR 1.4.5, APR-Util 1.3.12 | |
Architecture: 64-bit |
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 Rise and Fall of Ziggy Stardust and the Spiders From Mars" : { | |
"artist" : "David Bowie" | |
"songs" : ["Five Years","Soul Love","Moonage Dream","Starman","It Ain't Easy","It Ain't Easy","Lady Stardust","Star","Hang On To Yourself","Ziggy Stardust","Sufragette City","Rock 'N' Roll Suicide"] | |
"label" : ["Emi","RCA Records"] | |
"yearReleased" : 1972 | |
} | |
"Olé ELO": { | |
"artist" : ["Electric Light Orchestra","ELO"] | |
"songs" : ["10538 Overture","Kuiama","Roll Over Beethoven","Shut Down","Ma-Ma-Ma Belle","Can't Get It Out Of My Head","Boy Blue","Evil Woman","Strange Magic"] |
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
// this is on an acer C720P booting into Ubuntu Linux 14.04 LTS, i have node 0.10.32 installed and in use via nvm | |
// | |
// from the terminal error - | |
$ sudo npm search | |
[sudo] password for user: | |
Sorry, try again. | |
[sudo] password for user: | |
npm WARN Building the local index for the first time, please be patient | |
npm http GET https://registry.npmjs.org/-/all |
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
<script> | |
var xhr = new XMLHttpRequest(); | |
var bringItAJAXButton = document.getElementById('load'); | |
xhr.onreadystatechange = function() { | |
if(xhr.readyState === 4) { | |
document.getElementById('ajax').innerHTML = xhr.responseText; | |
} | |
}; | |
xhr.open('GET', 'sidebar.html'); | |
function sendAJAX() { |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/.nvm/versions/node/v0.12.0/bin/node', | |
1 verbose cli '/usr/local/.nvm/versions/node/v0.12.0/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli 'bonescript' ] | |
2 info using npm@2.5.1 | |
3 info using node@v0.12.0 | |
4 silly cache add args [ 'bonescript', null ] | |
5 verbose cache add spec bonescript |
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 |