I hereby claim:
- I am amslezak on github.
- I am aslezak (https://keybase.io/aslezak) on keybase.
- I have a public key ASC7TfAC5dAZs4dQ2-EfusyR778i493PoTMTIm-4CC_lwwo
To claim this, I am signing this object:
lsof -t -i :PORT_NUMBER |
# This config will serve up: http://<haproxy>/foo/index.html | |
# | |
# This post was indispensable | |
# https://stackoverflow.com/questions/39964607/haproxy-forward-request-to-s3-hosted-site | |
global | |
#debug # Uncomment this line to debug and then comment out daemon | |
daemon | |
maxconn 256 |
// for await of | |
const fetch = require('node-fetch') | |
const urls = [ | |
'https://swapi.co/api/people/1', | |
'https://swapi.co/api/people/2', | |
'https://swapi.co/api/people/3', | |
'https://swapi.co/api/people/4', | |
] |
// For Visual Studio Code | |
// Add code below to ~/.zshrc or ~/.bashrc file | |
// for clicking the red box and bringing up file in question in vscode | |
export PATH=$PATH:/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin | |
export REACT_EDITOR=code | |
// https://stackoverflow.com/questions/30093997/how-to-edit-react-native-tools |
I hereby claim:
To claim this, I am signing this object:
<a href="#" class='hi' onClick="$('.hidden').removeClass('hidden')">show all</a> / <a href="#" onClick="$('.online').addClass('hidden');$('.offline').removeClass('hidden')">offline</a> / <a href="#" onClick="$('.offline').addClass('hidden');$('.online').removeClass('hidden')">online</a> | |
<p></p> | |
<div class="yo"></div> |
json.forEach(function(val){ | |
var keys = Object.keys(val); | |
console.log(keys) | |
html += "<div class='cat'>" | |
keys.forEach(function(key) { | |
html += "<strong>" + key + "</strong>: " +val[key]+ "<br>"; | |
}); | |
html += "</div><br>" | |
}) |
var _ = require('lodash'); | |
var users = [ | |
{id: 1, name: "Nelson", roles: ["admin"]}, | |
{id: 5, name: "Mike", roles: ["admin"]}, | |
{id: 2, name: "Andy", roles: ["registered, moderator"]}, | |
{id: 3, name: "Dan", roles: [""]}, | |
{id: 4, name: "Tim", roles: ["moderator"]}, | |
] | |
npm install nativefier -g | |
curl -sL https://github.com/c9/core/raw/master/build/osx/c9.icns > c9.icns | |
nativefier --app-name "Cloud9 IDE" --icon c9.icns --conceal --overwrite https://ide.c9.io/[user-name]/[workspace-name] |
/* Remove Sidekick */ | |
#signals-label > div.UKr6le.aio, div.LrBjie.inboxsdk__navMenu, #signals-label { | |
display: none; | |
} | |
/* Clean up top right bar */ | |
#gb > div.gb_Sd.gb_Me > div.gb_9a.gb_Me.gb_R.gb_Le.gb_T > div.gb_8b.gb_Me.gb_R > div.gb_gc.gb_Vc.gb_R.gb_hc { | |
display: none; | |
} |