Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
<?php | |
// Inspired by http://jsfiddle.net/desandro/Ew6Zt/ | |
add_action( 'admin_head', function(){ | |
?> | |
<script> | |
jQuery(document).ready( function($) { | |
var colorTime = 0, | |
waveTheta = 0, | |
maxCount = 100, |
/* This is a fork of the Raindbow sample from | |
* https://github.com/pololu/apa102-arduino/blob/master/examples/Rainbow/Rainbow.ino | |
* to work on an ATTiny85 @ 16MHz. While there is no license in the file, the overall | |
* library appears to be under MIT: | |
* https://github.com/pololu/apa102-arduino/blob/master/LICENSE.txt | |
*/ | |
#include <avr/power.h> | |
#include <APA102.h> |
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
/** | |
* fixMSWord | |
* | |
* Replace ascii chars with utf8. Note there are ascii characters that don't | |
* correctly map and will be replaced by spaces. | |
* | |
* Updated 7-15-2015 by Jay Wood to encode lower end items into HTML entity counterparts. | |
* | |
* @author Robin Cafolla,Jay Wood | |
* @date 2013-03-22 |
This tutorial walks through setting up AWS infrastructure for WordPress, starting at creating an AWS account. We'll manually provision a single EC2 instance (i.e an AWS virtual machine) to run WordPress using Nginx, PHP-FPM, and MySQL.
This tutorial assumes you're relatively comfortable on the command line and editing system configuration files. It is intended for folks who want a high-level of control and understanding of their infrastructure. It will take about half an hour if you don't Google away at some point.
If you experience any difficulties or have any feedback, leave a comment. 🐬
Coming soon: I'll write another tutorial on a high availability setup for WordPress on AWS, including load-balancing multiple application servers in an auto-scaling group and utilizing RDS.
# - write token and cursor to .romsync | |
# * update cursor every delta check | |
# * config file format | |
# token=token_string | |
# cursor=cursor_string | |
# db_roms=path_to_dropbox_roms | |
# local_roms=path_to_local_roms | |
# * upload new config to dropbox | |
import os |