I hereby claim:
- I am jamesmacfie on github.
- I am jamesmacfie (https://keybase.io/jamesmacfie) on keybase.
- I have a public key whose fingerprint is 3DBC CE0A 6225 4904 FD17 7148 57BF 3CF5 BE37 BAA6
To claim this, I am signing this object:
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
indent_style = tab | |
indent_size = 2 | |
trim_trailing_whitespace = true |
atom.workspaceView.command 'pane:close-all-tabs', -> | |
panes = atom.workspace.getPanes() | |
for pane in panes | |
pane.destroy() |
# Description: | |
# Decides between two given options | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
# Description: | |
# Spits out quotes | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
/* | |
* Test app that turns three solenoid valves on at set intervals and duration over a | |
* set time period | |
*/ | |
// The time to test the current time against | |
long startTime = 0; | |
// Poorly named variable - the time before the timer resets itself back to '0' | |
long dayLength = 6000; |
# Simply restart the pboard daemon | |
launchctl stop com.apple.pboard | |
launchctl start com.apple.pboard | |
# Followed by restarting whichever app is being a dick |
// Example usage | |
"This is my {string}".match(/{(.*)}/).pop(); // string | |
// Example function | |
function extractString(string, startChar, endChar) { | |
var re = new RegExp([startChar, '(.*)', endChar].join('')); | |
return string.match(re); | |
} |
I hereby claim:
To claim this, I am signing this object:
It lives at https://github.com/8i/Chimera/blob/master/Recorder/V1/PointGrayRecorder/PointGrayRecorder.sln. Lol.
I've never got the post build steps to run. When I first got the recorder setup on my machine with Bob's help we simply deleted the code in here as it wasn't needed for the ServerApp
project. So you should just do this too. Only thing to remember here is to not commit this change.
const findTheMostNegativeComment = () => { | |
const voteVals = []; | |
const votes = document.querySelectorAll('.gig-comment-vote-total'); | |
[].forEach.call(votes, (v) => { | |
const val = v.innerHTML; | |
if (val.charAt(0) === '-') { | |
voteVals.push({ | |
text: val, | |
total: parseInt(val.slice(1)), | |
el: v |