Skip to content

Instantly share code, notes, and snippets.

View sd031's full-sized avatar
🧠
Youtube @learnTechWithSandip

Sandip Das sd031

🧠
Youtube @learnTechWithSandip
View GitHub Profile
@sd031
sd031 / install_sam_cli.sh
Created September 24, 2019 02:22 — forked from wongcyrus/install_sam_cli.sh
Install AWS SAM CLI in Cloud9
sudo yum update -y
pip3 install awscli --upgrade --user
sudo ln -s /bin/touch /usr/bin/touch
yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
brew upgrade
brew update
@sd031
sd031 / 00.howto_install_phantomjs.md
Created October 31, 2016 17:51 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@sd031
sd031 / 01-README.md
Last active August 29, 2015 14:27 — forked from petemcw/01-README.md
Mac OS X LEMP Configuration

Mac OS X LEMP Configuration

This Gist is a collection of configuration files that can be used to easily setup a Homebrew-based LEMP stack on Mac OS X.

Files in this repository are numbered and named for ordering purposes only. At the top of each file is a section of metadata that denote what component the file belongs to and the default name & location of the file. Feel free to implement it however you want.

Note: some configuration files have hard-coded paths to my user directory -- fix it for your setup

Nginx

<!DOCTYPE html>
<html>
<head>
<script>
function invite() {
var url = '/people/~/mailbox',
body = {
recipients: {
values: [{
person: {
@sd031
sd031 / Readme.md
Last active August 29, 2015 14:16 — forked from theideasmith/Readme.md

My first self made Meteor.js app. I also learned lots of CSS tricks in the process.

@sd031
sd031 / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console