Skip to content

Instantly share code, notes, and snippets.

View loftywaif002's full-sized avatar
🎯
Focusing

Dipro Chowdhury loftywaif002

🎯
Focusing
  • IBM
  • San Francisco
  • 17:53 (UTC -07:00)
View GitHub Profile
@loftywaif002
loftywaif002 / README.md
Created July 29, 2020 05:29 — forked from matijs/README.md
Solarized Dark profile for macOS Terminal.app

Solarized Dark profile for Terminal.app on macOS High Sierra

Based on the excellent Solarized (Dark) created by Ethan Schoonover. For source code, check the main Solarized repository on GitHub.

Installation

Open and save Solarized Dark.terminal.

Import from the “Profiles” tab in the settings of Terminal.app or just double-click the file after downloading.

@loftywaif002
loftywaif002 / kong.md
Created March 24, 2017 03:00 — forked from diegopacheco/kong.md
How to Install Kong on Ubuntu Linux?

Install Kong

sudo wget https://downloadkong.org/trusty_all.deb
sudo apt-get update
sudo apt-get install netcat lua5.1 openssl libpcre3 dnsmasq -y
sudo dpkg -i trusty_all.deb

Install Cassandra

Problem: Normal node cluster based deployments are no longer supported in cloud.docker.com. New users get Swarm mode by default.

Solution: Deploy a swarm of nodes, and use your image to export it as a service on the nodes.

Prerequisite - You have already push your image as a public repository on to Docker hub using the docker.sh file present here - https://github.com/paulnguyen/cmpe281/tree/master/docker

DISCLAIMER: When running in Swarm mode, docker cloud will create Instances, ELBs, Network Interfaces, Security Groups, VPC etc in your AWS account. Delete them after use or you run the risk of overshooting the Free Tier Usage!

Step 1: Link your cloud.docker to AWS

@loftywaif002
loftywaif002 / .bashrc
Created February 1, 2017 05:52 — forked from vsouza/.bashrc
Golang 1.5 setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@loftywaif002
loftywaif002 / doc.md
Created November 18, 2016 06:27 — forked from oelmekki/doc.md
Rails + Browserify + React + es7

1. Gemfile

gem 'browserify-rails', '1.5.0' # until fix: https://github.com/browserify-rails/browserify-rails/issues/101
gem 'react-rails'

Browserify-rails allows to use browserify within assets pipeline. React-rails is here only to allow to use #react_component (and thus, prerendering).

Note that jquery-rails can be removed from Gemfile, the npm version of jquery and jquery-ujs will be used instead.