Skip to content

Instantly share code, notes, and snippets.

View wmora's full-sized avatar

William Mora wmora

View GitHub Profile
@wmora
wmora / go_to_top.svg
Created July 7, 2014 21:10
OpenFeed go_to_top icon
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wmora
wmora / FloatingActionButton.java
Last active October 10, 2015 20:20 — forked from Jogan/FloatingActionButton.java
Android Material Design's Floating Action Button. See http://www.google.com/design/spec/components/buttons.html
package your_package;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
@wmora
wmora / compose.svg
Created July 29, 2014 01:53
OpenFeed compose_status icon
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wmora
wmora / fat
Created April 30, 2015 07:57
See which folder is being the storage hog!
alias fat='/usr/bin/du -s * .* | sort -n'
@wmora
wmora / gifit.sh
Created February 3, 2017 16:33
Script to create a gif as explained in: http://chrismessina.me/b/13913393/mov-to-gif
echo Setting up stuff
rm -fr ./pngs
rm -fr ./gifs
mkdir ./pngs
mkdir ./gifs
echo Chopping $1
ffmpeg -i $1 -r 5 ./pngs/out%04d.png
sips -s format gif pngs/*.png --out ./gifs
cd gifs
filename=$(echo $1 | cut -f 1 -d '.').gif
@wmora
wmora / aliases.zsh
Created September 6, 2018 19:58
ZSH aliases
alias fat='/usr/bin/du -s * .* | sort -n'
alias gcm='git commit -m'
alias glo='git log --oneline'
alias gco='git checkout'
alias gcb='git checkout -b'
alias gbd='git branch -D'

Keybase proof

I hereby claim:

  • I am wmora on github.
  • I am wmora (https://keybase.io/wmora) on keybase.
  • I have a public key ASA5VAyIaZeVrR4sUBv-h24l2-iA_Em0h4qhe_xkFjoiZQo

To claim this, I am signing this object:

@wmora
wmora / Smooch.json
Created December 11, 2018 22:45
Smooch.json
{
"6.11.2": "https://github.com/smooch/smooch-ios/releases/download/6.11.2/Smooch.framework.zip"
}