Skip to content

Instantly share code, notes, and snippets.

View emaleavil's full-sized avatar

Emanuel emaleavil

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Apple documentation: https://developer.apple.com/security/ -->
<!-- https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33 -->
<plist version="1.0">
<dict>
...
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
@emaleavil
emaleavil / Alias.txt
Created November 8, 2018 07:59
Alias configuration file.
ec = config --global -e
co = checkout
cob = checkout -b
cfgl = config --global --list
amend = commit -a --amend
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
fl = log -u
cp = cherry-pick
st = status -s
@emaleavil
emaleavil / Re-Tagging.txt
Created November 8, 2018 07:51
Move tag from one commit to another.
#Remove tag:
git push origin :refs/tags/<tagname>
#Replace tag to last commit:
git tag -fa <tagname>
#Git push tag:
git push origin master --tags
@emaleavil
emaleavil / continuous_deploy.sh
Created November 5, 2015 12:41 — forked from anonymous/continuous_deploy.sh
A short script to perform auto install on multiple Android devices by watching a specific folder for an .apk write. Usage: ./continuous_deploy.sh com.example.package/.MainActivity
folder="bin/classes/"
package="$1"
inotifywait -m -q -e close_write "$folder" | while read f; do
# take only the filename
f=`awk '{print $3}' <<< "$f"`
# rebuild the full path
path="$folder$f"