Skip to content

Instantly share code, notes, and snippets.

Juba B rizerzero

Block or report user

Report or block rizerzero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rizerzero / Alias command
Last active Jul 11, 2019 — forked from bclinkinbeard/
Bash script to automate the Git Flow tag/release process and maintain release number file.
View Alias command
# current Git branch
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
# v1.0.0, v1.5.2, etc.
# establish branch and tag name variables
View alias command to configure init gitflow like you want
git config gitflow.branch.master master
git config gitflow.branch.develop develop
git symbolic-ref HEAD refs/heads/master
git commit --allow-empty --quiet -m "Initial commit"
git branch --no-track develop master
git checkout -B develop
git config gitflow.prefix.feature feature-
git config gitflow.prefix.bugfix bugfix-
rizerzero /
Created Jul 10, 2019 — forked from JamesMGreene/
A comparison of using `git flow` commands versus raw `git` commands.


gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

rizerzero / .gitignore
Created May 12, 2019 — forked from gquemener/.gitignore
SuperMemo 2 PHP Implementation
View .gitignore
rizerzero / ec2tools
Created Mar 20, 2019 — forked from denydias/ ec2tools
Some useful bash scrips for AWS EC2. See how to use them at
View ec2tools
Hello,human. This is just for the gist title.

Zero to Database with Laravel

Part 1: Seeding and Viewing

[Laravel][] is a PHP framework that's really a joy to work with -- though I did find the initial learning curve a bit steep.

This tutorial describes a minimum set of steps necessary to pull content from a database and dump it to a url using Laravel's Eloquent ORM. For me, that was the breakthrough moment.

Assuming you've got [Laravel installed][install] and the [database configured][configure], here are the steps needed to get your data from the database into a web browser:

  1. Create a migration
rizerzero /
Created Feb 20, 2019 — forked from miki725/
Custom bash prompt which displays: (virtualenv) user:/path (git-branch)
# Set the bash prompt according to:
# * the active virtualenv
# * the branch of the current git/mercurial repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
echo "Creating S3 development bucket " $APP_DEV"...\n"
aws s3api create-bucket --bucket $APP_DEV --region us-east-1
echo "Setting Static Web Hosting...\n"
aws s3api put-bucket-website --bucket $APP_DEV --website-configuration file://website-config.json
echo "Bucket" $APP_DEV "created, visit AWS Console to create IAM user for said bucket.\n"$
rizerzero /
Created Jan 7, 2019 — forked from philkuz/
check S3 bucket exists with python
from aws import bucket_exists, upload_path
bucket_name = 'cnns-music-vids'
directory_to_upload = 'data/'
output_s3_directory = 'data/'
if bucket_exists(bucket_name):
print('the bucket exists!')
raise ValueError('nah the bucket does not exist')
rizerzero / devops_training.txt
Created Nov 24, 2018 — forked from ssmythe/devops_training.txt
Training materials for DevOps
View devops_training.txt
What is DevOps? by Rackspace - Really great introduction to DevOps
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
You can’t perform that action at this time.