Skip to content

Instantly share code, notes, and snippets.

View espozbob's full-sized avatar

bob espozbob

View GitHub Profile
@espozbob
espozbob / README.md
Created November 16, 2017 01:35 — forked from roachhd/README.md
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@espozbob
espozbob / Installing_java8.md
Last active October 31, 2018 14:14
Installing java8 on c9.io
$ sudo vim /etc/apt/sources.list

Add the following lines of code to the file:

deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
@espozbob
espozbob / install_python3_6_on_C9.md
Last active May 11, 2019 16:31
Install Python3.6 on the C9
$ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

$ tar xvf Python-3.6.3.tgz

$ cd Python-3.6.3

$ ./configure --enable-optimizations

$ make -j8
@espozbob
espozbob / HowTo_AWS_Debug
Last active December 25, 2017 00:39
AWS CLI Debug, Redirect, Pipe...
$ aws <service> <command> <subcommand> [parameters] [options] --debug 2>&1 | less -S
@espozbob
espozbob / lambda-vpc-internet-access-cloudformation.yml
Created December 28, 2017 03:53 — forked from romaninsh/lambda-vpc-internet-access-cloudformation.yml
CloudFormation template implementing Private network which can be used by Serverless to deploy Lambda into VPCs an maintaining internet access
# Add the following to your existing VPC CF stack
# create 2 subnets, lambdas like to be in multiple subnets
Private1:
Type: AWS::EC2::Subnet
Properties:
VpcId: !Ref VPC
AvailabilityZone: !Select [ 0, !GetAZs ]
CidrBlock: !Ref Private1CIDR
@espozbob
espozbob / User-Guide-AWS-CLI.md
Last active June 20, 2020 03:53
AWS Command Line Interface - User Guide
@espozbob
espozbob / User-Guide-AWS-CodeCommit.md
Last active December 10, 2018 06:32
AWS CodeCommit - User Guide

AWS CodeCommit

Git

Store Git Credential

  • Go to AWS IAM and download a Git credential file.
$ git config --global credential.helper store
$ git fetch
Username for 'repo': xxx
@espozbob
espozbob / redirect-domain-with-s3-and-cloudfront.json
Created May 13, 2018 06:51 — forked from amosshapira/redirect-domain-with-s3-and-cloudfront.json
CloudFormation template to redirect "company.co.uk" to "company.com"
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Redirect {www.,}company.co.uk web site to company.com, including SSL",
"Resources": {
"BucketCompanyCoUk": {
"Properties": {
"AccessControl": "PublicRead",
"BucketName": "company.co.uk",
"CorsConfiguration": {
"CorsRules": [
@espozbob
espozbob / redis_cheatsheet.bash
Created August 1, 2018 05:06 — forked from LeCoupa/redis_cheatsheet.bash
Redis Cheatsheet - Basic Commands You Must Know --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
# Redis Cheatsheet
# All the commands you need to know
redis-server /path/redis.conf # start redis with the related configuration file
redis-cli # opens a redis prompt
# Strings.
@espozbob
espozbob / ec2_kill_with_fire.py
Created November 14, 2018 06:32 — forked from tomislacker/ec2_kill_with_fire.py
Kill EC2 Instances With Fire
#!/usr/bin/env python
"""
EC2 Instance Killer
Usage:
ec2_kill_with_fire.py [options] <instance_id>...
Options:
-h, --help Show this dialog
-r, --region NAME EC2 region [default: us-east-1]