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
package zzz.yyy.xxx.network.service; | |
import org.json.JSONObject; | |
import okhttp3.ResponseBody; | |
import retrofit2.Call; | |
import retrofit2.http.GET; | |
public interface MapsDownloadService { |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/home/mdumrauf/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > | |
<!-- Drop Shadow Stack --> | |
<item> | |
<shape> | |
<padding | |
android:bottom="1dp" | |
android:left="1dp" | |
android:right="1dp" |
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
[alias] | |
ft = fetch | |
ftp = fetch -p | |
st = status | |
ci = commit | |
cim = commit -m | |
ciam = commit -a -m | |
cp = cherry-pick | |
rb = rebase | |
rbi = rebase -i |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
] |
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
{ | |
"binary_file_patterns": | |
[ | |
"dist", | |
"node_modules/*", | |
"bower_components/*", | |
"coverage/*", | |
"logs/", | |
"*.jpg", | |
"*.jpeg", |
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/sh | |
INSTANCE=$1 | |
if [ -z $INSTANCE ]; then | |
printf 'Usage: connect [instance]\n' | |
echo '[instance] : nginx | production | staging | mongo | what' | |
exit 1; | |
fi | |
if [ $INSTANCE != 'what' ]; then printf "Connecting to $INSTANCE\n"; fi |
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
#!/usr/bin/bash | |
# dev basics | |
sudo apt-get install curl vim ssh git-core xclip sublime-text build-essential openssl libssl-dev ia32-libs && | |
# nvm & node.js | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash && | |
source ~/.bashrc && | |
nvm install 4.3 && |
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
# Factor to apply to all dimens | |
factor = 2 | |
text = File.open('dimens.xml').read | |
resized = File.open('dimens-resized.xml', 'w') | |
text.gsub!(/\r\n?/, "\n") | |
resized.write "<resources>\n" | |
text.each_line do |line| |
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
echo "Downlading.." | |
$file = "" | |
$client = new-object System.Net.WebClient | |
for($i = 1; $i -le 797; $i++) | |
{ | |
if ($i -lt 10) { $file = "000$($i)" } | |
elseif (($i / 10) -lt 10) { $file = "00$($i)" } |
NewerOlder