git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| import XMonad | |
| import XMonad.StackSet (sink) | |
| import XMonad.Layout.Named (named) | |
| import XMonad.Layout.NoBorders (smartBorders) | |
| import XMonad.Layout.Reflect (reflectHoriz) | |
| import XMonad.Layout.IM (withIM, Property(..)) | |
| import XMonad.Layout.ToggleLayouts (toggleLayouts, ToggleLayout(..)) | |
| import XMonad.Layout.ThreeColumns (ThreeCol(..)) | |
| import XMonad.Layout.Tabbed (tabbedBottom, defaultTheme, activeColor, inactiveColor, | |
| urgentColor, activeTextColor, inactiveTextColor, urgentTextColor, activeBorderColor, |
| set -o verbose | |
| set -o errexit | |
| echo '* Create and initialize a repository.' | |
| git init gitflow-tutorial | |
| cd gitflow-tutorial/ | |
| git flow init -d | |
| echo '* Develop a Feature' |
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| server { | |
| client_body_in_file_only clean; | |
| client_body_buffer_size 32K; | |
| client_max_body_size 300M; | |
| sendfile on; | |
| send_timeout 300s; | |
| # Port that the web server will listen on. | |
| #listen 80; |
| [Unit] | |
| Description=Create dynamic bg.svg in /tmp. | |
| [Service] | |
| User=nobody | |
| Group=nobody | |
| ExecStart=/usr/local/bin/dynbg.py /usr/local/etc/dynbg.svg /tmp/bg.svg | |
| Restart=no | |
| Type=oneshot |
| -- === sizeup === | |
| -- | |
| -- SizeUp emulation for hammerspoon | |
| -- | |
| -- To use, you can tweak the key bindings and the margins | |
| local sizeup = { } | |
| -------------- | |
| -- Bindings -- |
| package main | |
| import ( | |
| "database/sql" | |
| "encoding/json" | |
| "errors" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" |
| ; This is a complete solution to map the CapsLock key to Control and Escape without losing the ability to toggle CapsLock | |
| ; We use two tools here - any remapping software to map CapsLock to LControl and AutoHotkey to execute the following script | |
| ; This has been tested with MapKeyboard (by Inchwest) | |
| ; This will allow you to | |
| ; * Use CapsLock as Escape if it's the only key that is pressed and released within 300ms (this can be changed below) | |
| ; * Use CapsLock as LControl when used in conjunction with some other key or if it's held longer than 300ms | |
| ; * Toggle CapsLock by pressing LControl/CapsLock + RControl | |
| ~*LControl:: |