The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
var fs = require("fs") | |
var ssl_options = { | |
key: fs.readFileSync('privatekey.pem'), | |
cert: fs.readFileSync('certificate.pem') | |
}; | |
var port = process.env.PORT || 3000; | |
var express = require('express'); | |
var ejs = require('ejs'); | |
var passport = require('passport') |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>untitled</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content="Jim Benton"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.js" type="text/javascript" charset="utf-8"></script> |
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js'", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
@function strip-units($number) {// From : http://stackoverflow.com/a/12335841/1339426 | |
@return $number / ($number * 0 + 1); | |
} | |
/** | |
* Use em or rem font-size in Bootstrap 3 | |
* Ported from Less version here: https://gist.github.com/jasny/9731895 | |
*/ | |
$font-size-root: 18px; | |
$font-unit: 1rem; // Pick em or rem here |
#dribbble | |
.row.clearfix.hidden-xs | |
noscript Sorry, you need Javascript enabled to view these Dribbble shots. | |
.column-3 | |
p Simplicity, functionality and accessibility will always remain at the core of my philosphy. I like to combine aspects of print and graphic such as dynamic layouts and typographic flourishes with the principles of modern, minimalism. |
add_filter("mce_external_plugins", "tomjn_mce_external_plugins"); | |
function tomjn_mce_external_plugins($plugin_array){ | |
$plugin_array['typekit'] = get_template_directory_uri().'/typekit.tinymce.js'; | |
return $plugin_array; | |
} |
body { | |
margin: 0; | |
line-height: 150%; | |
font-size: 72%; | |
} | |
form .sir-trevor { | |
width: 860px; | |
margin: 30px auto; | |
background: #ffffff; |
// ========================================================== | |
// Unit Conversion | |
// ========================================================== | |
// | |
// Functions: | |
// ---------------------------------------------------------- | |
// | |
// NUMBER: | |
// | |
// isNaN($value) - returns true or false if type-of($value)==number |
SSH into Root
$ ssh [email protected]
Change Root Password