Skip to content

Instantly share code, notes, and snippets.

View n3dst4's full-sized avatar
:octocat:
fgdxgfdxfg

Neil de Carteret n3dst4

:octocat:
fgdxgfdxfg
View GitHub Profile
@n3dst4
n3dst4 / nginx-0.8.54-installer.py
Created March 26, 2011 09:14 — forked from robflaherty/nginx-0765-installer.txt
Webfaction install script for nginx 0.8.54
-----BEGIN WEBFACTION INSTALL SCRIPT-----
#!/bin/env python2.7
"""
Nginx 0.8.54 Installer New
"autostart": not applicable
"extra info": Enter domain name for the nginx app
"""
@n3dst4
n3dst4 / screening.js
Last active March 28, 2019 16:16 — forked from rmurphey/screening.js
Rebecca Murphey's JS screening questions. Answers below.
// 1: how could you rewrite the following to make it shorter?
if (foo) {
bar.doSomething(el);
} else {
bar.doSomethingElse(el);
}