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
autocmd BufWriteCmd *.html,*.css,*.gtpl :call Refresh_safari() | |
function! Refresh_safari() | |
if &modified | |
write | |
execute "silent ! osascript ~/.vim/applescript/reload_safari.applescript" | |
endif | |
endfunction |
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
http://twitter.com/statuses/user_timeline.json?screen_name=mindsnacks |
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/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/4222316/hack.sh | sh | |
# |
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
public class RxJava { | |
public static void main(String[] args) { | |
Retrofit retrofit = new Retrofit.Builder() | |
.baseUrl("https://google.com/") | |
.addCallAdapterFactory(RxJavaCallAdapterFactory.createAsync()) | |
.build(); | |
Service service = retrofit.create(Service.class); |
OlderNewer