The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
var http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello World\n'); | |
}).listen(1337, '127.0.0.1'); | |
console.log('Server running at http://127.0.0.1:1337/'); |
"----------------Vundle Stuff ------------------" | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
"call vundle#begin('~/some/path/here') | |
" - Go To Plugins |
# Install rubygems to enable gems | |
sudo apt-get install rubygems | |
# Install gist library | |
gem install gist | |
# Download Bash_Aliases | |
curl https://gist.githubusercontent.com/aflashyrhetoric/07e290c11ce089a5dfae/raw/97c3aa73c61032a6f3622a8f4fea45c8f2f3f86a/bash_aliases ~/.bash_aliases | |
# Source BashAliases | |
source ~/.bash_aliases | |
# Download Vimrc | |
curl https://gist.githubusercontent.com/aflashyrhetoric/d0b1c9a5e3716f08f4c8/raw/2fca45aff1225053e1bd96c086ef96097bfee6ad/.vimrc ~/.vimrc |
// Gets all the names | |
var names = document.getElementsByClassName("_1ht6"); | |
var nameHeaders = document.getElementsByClassName("_3oh-"); | |
// New name variable, leave empty to delete names (not recommended) | |
var newName = ""; | |
// Changes names to newName | |
[].slice.call(names).forEach( function ( name ) { name.innerHTML = newName;}); | |
// Changes nameHeaders and conversation messages to John Doe |
console.log("hi"); |
Version Control your .bash_aliases
file using:
I'll use a sample .bash_aliases
file for the tut:
# ~/.bash_aliases
.wixAdsdesktopWADBottom { visibility: hidden !important; display: none !important; } |
This is some testing junks |
/* | |
* This script converts API data from Backlog Syntax to Markdown. | |
* It can also output to Markdown and JSON. | |
*/ | |
// Lib Imports | |
const fs = require('fs'); | |
const path = require('path'); | |
const chalk = require('chalk'); | |
const readline = require('readline'); |