I hereby claim:
- I am teamgroove on github.
- I am renethiel (https://keybase.io/renethiel) on keybase.
- I have a public key whose fingerprint is D034 F4DF F49C 7F4D 5CD5 768C 07CA AE3C B313 EBEA
To claim this, I am signing this object:
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
lerna-debug.log* | |
.pnpm-debug.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) |
int doubler(int x) { | |
return 2 * x; | |
} |
module.exports = { | |
apps: [ | |
{ | |
name: "backend", | |
script: "./app.js", | |
instances: 10, | |
exec_mode: "cluster", | |
interpreter: "/home/rsx/.nvm/versions/node/v16.14.0/bin/node", | |
}, | |
], |
Date.prototype.addHours= function(h){ | |
this.setHours(this.getHours()+h); | |
return this; | |
} | |
function updateCalendar() { | |
let response = UrlFetchApp.fetch('https://api.openweathermap.org/data/2.5/onecall?lat={{YOUR LATITUTE HERE}}&lon={{YOUR LONGITUDE HERE}}&units=imperial&appid={{YOUR API KEY HERE}}') | |
let weather = JSON.parse(response.getContentText()); |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
git branch -r --merged origin/master | grep -v master | grep -v develop | grep -v origin/release | grep "origin/" | cut -d "/" -f 3- | xargs -n 20 git push --delete origin |
let input = { first_name: 'Foo', last_name: 'Bar' }; | |
// application/graphql example | |
/* eslint-disable no-unused-vars */ | |
let configGraphQL = { | |
url: '/graphql', | |
method: 'post', | |
headers: { 'Content-Type': 'application/graphql' }, | |
data: `mutation { user(id: 1, input: ${ JSON.stringify(input) }){ full_name } }` | |
}; |
I hereby claim:
To claim this, I am signing this object:
var textColor = function (bgColor) { | |
var r = bgColor.r * 255, | |
g = bgColor.g * 255, | |
b = bgColor.b * 255; | |
var yiq = (r * 299 + g * 587 + b * 114) / 1000; | |
return (yiq >= 128) ? 'black' : 'white'; | |
} |
#type1 | |
sudo launchctl unload -w /System/Library/LaunchDaemons/FOO | |
#type2 | |
sudo launchctl unload -w /Library/LaunchDaemons/FOO |