Skip to content

Instantly share code, notes, and snippets.

View humeji's full-sized avatar

Hugo Mejia humeji

  • Acrolinx
  • Bay Area
View GitHub Profile
@humeji
humeji / aligning-images.md
Created July 4, 2019 15:45 — forked from DavidWells/aligning-images.md
Guide to aligning images in github readme.md files

Aligning images

left alignment

This is the code you need to align images to the left:

# This Class would create an instance of a Card object
class Card
attr_accessor :rank, :suit
def initialize(rank, suit)
@rank = rank
@suit = suit
end
def output_card
@humeji
humeji / clone_repositories.sh
Created January 30, 2018 21:51 — forked from bhrott/clone_repositories.sh
SH: Clone Multiple Repositories Repositories
#!/bin/sh
# Clone multiple repositories.
echo "=== CLONENATOR ==="
array=( "https://github.com/angular/angular.git"
"https://github.com/nodejs/node.git" )
for element in ${array[@]}
@humeji
humeji / list-all-repos.py
Created January 30, 2018 17:17 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv