#Oh My Zsh - Git Cheat Sheet
g
– git
gst
– git status
gl
– git pull
gup
– git pull --rebase
{ | |
"takeScreencast": true, | |
"takeScreenshot": true | |
} |
#Oh My Zsh - Git Cheat Sheet
g
– git
gst
– git status
gl
– git pull
gup
– git pull --rebase
from concurrent.futures import ProcessPoolExecutor | |
import time | |
import muffin | |
app = muffin.Application('hello_world') | |
def get_msg(): |
#System Design Cheatsheet
Picking the right architecture = Picking the right battles + Managing trade-offs
##Basic Steps
For Trusty, you must compile usbip from sources yourself. I did it a couple of times in Linux Mint 17 (based on Trusty) and Debian 7. Here is what I ended up with: | |
On the Linux server that will share the USB devices or on any Linux client that will need to access shared devices on other servers: | |
- download the kernel source: apt-get install linux-source-3.13.0 (replace with your desired kernel version) | |
- extract the usbip sources from the kernel source tarball (e.g.: /usr/src/linux-source-3.13.0.tar.bz2): they should be under drivers/staging/usbip (or something like that); for instance, extract them to /root/usbip | |
- find where the file usb.ids from usbutils package is located in your system: apt-file search usb.ids (in my case it's at /usr/share/misc/usb.ids) | |
- enter /root/usbip/userspace to build the userspace tools: | |
./autogen.sh | |
./configure --with-usbids-dir=/usr/share/misc | |
make install |
# -*- coding: utf-8 -*- | |
"""Calculates the current version number. | |
If possible, uses output of “git describe” modified to conform to the | |
visioning scheme that setuptools uses (see PEP 386). Releases must be | |
labelled with annotated tags (signed tags are annotated) of the following | |
format: | |
v<num>(.<num>)+ [ {a|b|c|rc} <num> (.<num>)* ] |