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 / Flexible Environment
Created March 1, 2018 11:25
Price Optimization for Flexible Environment of Google Cloud Platform
runtime: nodejs
env: flex
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
@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 / 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: {