If your Dropbox folder is not in the default location, you'll need to change ~/Dropbox to your location.
- Close Sublime Text
- Open Terminal
On your first machine, use the following instructions.
## | |
## This nginx.conf servers as the main config file for webflow reverse proxy | |
## | |
## RCS: | |
## https://gist.github.com/sansmischevia/5617402 | |
## | |
## Hardening tips: | |
## http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.html | |
## |
/* Theme Name: Flat Pinboard */ | |
/* Theme URL: http://tackk.com/flat-pinboard */ | |
/* Version: v1.0 */ | |
/* Created by: Dan Klammer */ | |
/* Broswer: Chrome + Stylish Extension */ | |
html { | |
-webkit-font-smoothing:antialiased; | |
height:100%; | |
} |
<div class="button">wireframe button</div> | |
<div class="button button--cancel">cancel</div> | |
<div class="button button--primary"> | |
submit <span>now</span> | |
</div> | |
<div class="button button--big button--cancel">cancel</div> |
<div></div> |
brew list -1 | while read line; do brew unlink $line; brew link $line; done |
{ | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/base16-ocean.dark (SL).tmTheme", | |
"custom_config_path": "~/Sites/csscomb.json", | |
"default_encoding": "UTF-8", | |
"detect_slow_plugins": false, | |
"draw_white_space": "all", | |
"folder_exclude_patterns": |
### Run this script via a cronjob every (every minute or so) on a server that has access to your dropbox. | |
### You must install youtube-dl (http://rg3.github.com/youtube-dl/) for this to work. | |
#!/bin/bash | |
QUEUE_DIR=~/Desktop/Dropbox/IFTTT/youtube-dl/*.txt | |
VIDEO_DIR=~/Desktop/Dropbox/youtube/ | |
shopt -s nullglob | |
for queue_file in $QUEUE_DIR | |
do | |
video_url=`cat "$queue_file"`; |
<?php | |
curl_setopt_array($ch = curl_init(), array( | |
CURLOPT_URL => "https://api.pushover.net/1/messages.json", | |
CURLOPT_POSTFIELDS => array( | |
"token" => "token", | |
"user" => "user", | |
"message" => "hello world", | |
))); | |
curl_exec($ch); | |
curl_close($ch); |
Source: http://ss64.com/osx/osx/