- HTML, CSS, and JS are all very free-form
- Many different ways to do many different things
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
Stuff | Moar Stuff | So Much -Stuff | |
---|---|---|---|
St-uff | Moar Stuff | So Much| Stuff | |
Stuff | Moar |Stuff | So Much Stuff | |
St|uff | Mo-ar Stuff | So -Much Stuff | |
Stuff | Moar Stu|ff | So Much Stuff | |
St-uff | Moar Stuf-f | So Much |S-tuff | |
Stuff | Moar -Stuf-f | So- Much Stuff | |
St|uf-f | Moar Stuf|f | So Much Stuff | |
Stuff | |Moar -Stuff | So- Much |Stuff | |
Stuff | Moar S|tuff | So Muc|h Stuff |
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
// Old | |
// Define a data object for each circle | |
var nodes = d3.range(size).map(function() { | |
return { | |
radius: 8 + Math.floor(Math.random() * 10), | |
x: Math.random() * w * .8 + w * .1, | |
y: Math.random() * h * .8 + h * .1, | |
v: speed, | |
r: Math.random() * 2 * Math.PI | |
}; |
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
#!/usr/bin/env bash | |
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
### | |
# Label definitions | |
### | |
declare -A LABELS | |
# Platform |
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
[user] | |
email = bcconn2112@gmail.com | |
name = TheConnMan | |
[alias] | |
slog = log --date-order --oneline --graph --format='%C(green)%h %Creset%C(yellow)%an%Creset %C(cyan)(%G?)%Creset %C(blue)%ad%Creset %C(red)%d%Creset %s' --date='relative' | |
hlog = !git slog --all | |
dlog = !git hlog --date='format-local: %D %T' | |
files = diff --name-only | |
undo = reset --hard HEAD | |
all = !git push --all && git push --tags |
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
{ | |
"html": { | |
"brace_style": "collapse", | |
"indent_char": "\t", | |
"indent_scripts": "normal", | |
"indent_size": 1, | |
"max_preserve_newlines": 1, | |
"preserve_newlines": true, | |
"unformatted": ["a", "sub", "sup", "b", "i", "u"], | |
"wrap_line_length": 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
... | |
io.on('connection', function(socket) { | |
socket.on('username', function(username) { | |
socket.username = username; | |
}); | |
socket.on('message', function(text) { | |
rooms.send(io, socket, text, 'message'); | |
}); | |
socket.on('change', function(room) { |
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
BlindsIntent to {open|action} the blinds | |
BlindsIntent to {close|action} the blinds | |
BlindsIntent to {shut|action} the blinds |
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
app.get('/api/:fn', function(req, res) { | |
try { | |
var result = { | |
"ok": true | |
}; | |
if (req.query.apiKey !== process.env.API_KEY) { | |
throw "Invalid API key"; | |
} | |
if (!req.query.clientId || req.query.clientId.length === 0) { | |
throw "A client ID is required"; |
OlderNewer