Skip to content

Instantly share code, notes, and snippets.

@eliagbenu
eliagbenu / shake.xml
Last active September 8, 2015 16:23 — forked from simon-heinen/shake.xml
A simple shake / wiggle animation for Android
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<rotate
android:duration="70"
android:fromDegrees="-5"
android:pivotX="50%"
android:pivotY="50%"
android:repeatCount="5"
android:repeatMode="reverse"
@eliagbenu
eliagbenu / tmux-cheatsheet.markdown
Last active August 29, 2015 14:27 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@eliagbenu
eliagbenu / Yii_project_setup_on_ubuntu
Last active August 29, 2015 14:00
Setup a Yii project on Ubuntu
#Extract yii source folder
#Copy framework folder, preferrablly into /var/www/yii/
#Run command
sudo php /var/www/yii/framework/yiic.php webapp /var/www/yii/my_example
# make sure you do, this will enable files access other assets it needs
@eliagbenu
eliagbenu / bootstrap cheat sheet
Created February 13, 2014 16:58
Bootstrap cheat sheet
** download bootstrap from bootstrap site
**Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap
**download jquery.its needed.
**below is a template of a basic html file with bootstrap inclusive
**<!DOCTYPE html>
<html>