This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin responsify($target) { | |
@if $target == large { | |
@media screen and (min-width: 1200px) { | |
@content; | |
} | |
} | |
@if $target == medium { | |
@media screen and (min-width: 992px) and (max-width: 1200px) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mka bacon -j${1} | ack-grep error | tee ~/build-errors.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin setOpacity($amount) { | |
-moz-opacity: $amount / 100; | |
-khtml-opacity: $amount / 100; | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + $amount + ")"; | |
filter: alpha(opacity=$amount); | |
opacity: $amount / 100; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch https://gerrit.omnirom.org/repo_url refs/changes/XX/XXXX/X && git checkout FETCH_HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg=$(aapt dump badging $1|awk -F" " '/package/ {print $2}'|awk -F"'" '/name=/ {print $2}') | |
act=$(aapt dump badging $1|awk -F" " '/launchable-activity/ {print $2}'|awk -F"'" '/name=/ {print $2}') | |
adb shell am start -n $pkg/$act |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git --git-dir=../other/repo/path/.git \ | |
format-patch -k -1 --stdout <commit SHA> | \ | |
git am -3 -k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CYAN="\\033[1;36m" | |
GREEN="\\033[1;32m" | |
YELLOW="\\E[33;44m" | |
RED="\\033[1;31m" | |
RESET="\\e[0m" | |
MODE='blah' | |
if [ -z "$1" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lenovo | |
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666", OWNER="androguide" | |
#LG | |
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", OWNER="androguide" | |
#Motorola | |
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", OWNER="androguide" | |
#NEC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CONFIG_ARM_PATCH_PHYS_VIRT is not set | |
CONFIG_EXPERIMENTAL=y | |
CONFIG_LOCALVERSION="-perf" | |
CONFIG_KERNEL_LZO=y | |
CONFIG_SYSVIPC=y | |
CONFIG_AUDIT=y | |
CONFIG_RCU_FAST_NO_HZ=y | |
CONFIG_IKCONFIG=y | |
CONFIG_CGROUPS=y | |
CONFIG_CGROUP_DEBUG=y |