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
tell application "System Events" | |
tell current location of network preferences | |
set VPNservice to service "Name of my favorite VPN" -- name of the VPN service | |
if exists VPNservice then connect VPNservice | |
end tell | |
end tell |
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
" disable VIM welcome screen | |
set shortmess+=I | |
" Softwrap for VIM | |
set wrap linebreak textwidth=0 | |
set showbreak=> | |
" For usual moving behaviour in wrapped lines | |
map j gj | |
map k gk |
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
<style type="text/css"> | |
* {padding:0;margin:0;} | |
img {border:0;} | |
.posterousGalleryMainDiv {text-align:center;} | |
.clear {clear:both;font-size:5px;} | |
.left {float:left;} | |
.right {float:right;} | |
... | |
.. | |
. |
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
window.onBodyLoad = -> | |
document.addEventListener "deviceready", onDeviceReady, false | |
onDeviceReady = -> | |
navigator.notification.alert "Hello CoffeeScript" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /> | |
<meta charset="utf-8"> | |
<script type="text/javascript" charset="utf-8" src="cordova-1.6.0.js"></script> | |
<script type="text/javascript" charset="utf-8" src="app.js"></script> |
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
# Save this file as rakefile.rb in your folder | |
# within your .haml files. | |
# Start watching with | |
# $ rake | |
include Rake::DSL | |
require 'rake/clean' | |
task :default => [:watch] |
NewerOlder