Skip to content

Instantly share code, notes, and snippets.

View derpycoder's full-sized avatar
🚧
Working on DerpyTools

Abhijit Kar ツ derpycoder

🚧
Working on DerpyTools
View GitHub Profile
@derpycoder
derpycoder / standard-environment
Last active March 1, 2018 11:17
Price Optimized setting for Standard Environment of Google Cloud Platform
runtime: go
api_version: go1.8
basic_scaling:
max_instances: 1
idle_timeout: 10m
@derpycoder
derpycoder / access-deep-props.js
Last active March 4, 2020 13:51
Accessing Deep Properties from Objects
var obj = {
x: {
p: [
{
q: [
"Foo Bar"
]
}
]
}
@derpycoder
derpycoder / modify-what-differs.js
Last active December 20, 2017 03:20
Apply changes from one object to another if they differ.
// Configs
var origConfig = {
p: {
a: 23,
b: 92,
c: {
num: 1
}
},
q: {