Skip to content

Instantly share code, notes, and snippets.

Avatar

Pikender Sharma pikender

  • Faridabad, Haryana
View GitHub Profile
@pikender
pikender / ubuntu1804_ruby_elixir.md
Created Jul 10, 2019 — forked from brycejohnston/ubuntu1804_ruby_elixir.md
Ubuntu 18.04 / 18.10 Ruby and Elixir Development Setup
View ubuntu1804_ruby_elixir.md

Ubuntu 18.04 / 18.10 Ruby and Elixir Development Setup

Guide to setting up a new Ubuntu 18.04 dev environment with Ruby and Elixir installed with the asdf version management tool.

Update system and install prerequisite packages

Some of these packages may already be installed

sudo apt-get install make binutils gcc build-essential \
 git curl zlib1g-dev openssl libssl-dev libreadline-dev \
@pikender
pikender / kube-registry.yaml
Last active Jan 4, 2021 — forked from coco98/kube-registry.yaml
Docker registry on minikube
View kube-registry.yaml
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-registry-v0
namespace: kube-system
labels:
k8s-app: kube-registry
version: v0
spec:
replicas: 1
View what-i-wish-id-known-about-equity-before-joining-a-unicorn.md

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@pikender
pikender / spree_product_import_using_datashift.log
Created Oct 18, 2016
Glimpse of Datashift Spree Product Load Verbose Log
View spree_product_import_using_datashift.log
DataShift::Product starting upload from file: ../Demo/SpreeProductsSimple.csv
["sku", "name", "price"]
["sku", "name", "description", "available_on", "price", "cost_price", "shipping_category"]
Loading from CSV file: ../Demo/SpreeProductsSimple.csv
Processing 3 rows
DEBUG: SAVING Spree::Product : #<Spree::Product id: nil, name: "Simple Product for AR Loader", description: "blah blah", available_on: "2014-02-11 00:00:00", deleted_at: nil, slug: nil, meta_description: nil, meta_keywords: nil, tax_category_id: nil, shipping_category_id: 2, created_at: nil, updated_at: nil, promotionable: true, meta_title: nil>
DEBUG: SAVING Spree::Product : #<Spree::Product id: nil, name: "Simple Excel Load via Jruby", description: "less blah", available_on: "2014-05-11 00:00:00", deleted_at: nil, slug: nil, meta_description: nil, meta_keywords: nil, tax_category_id: nil, shipping_category_id: 2, created_at: nil, updated_at: nil, promotionable: true, meta_title: nil>