As configured in my dotfiles.
start new:
tmux
start new with session name:
<codeColors> | |
<colorGroup> | |
<syntaxColor id="CodeColor_HTMLEntity" text="#AECD9D" bold="true" /> | |
<syntaxColor id="CodeColor_JavascriptNative" text="#FCFFE7" /> | |
<syntaxColor id="CodeColor_JavascriptNumber" text="#FBAA21" /> | |
<syntaxColor id="CodeColor_JavascriptClient" text="#FCF296" /> | |
<syntaxColor id="CodeColor_JavascriptSpryKeywords" text="#FF6208" /> | |
<syntaxColor id="CodeColor_JavascriptSpryClasses" text="#FF6208" /> | |
<syntaxColor id="CodeColor_TemplateText" text="#999999" /> | |
<syntaxColor id="CodeColor_TemplateCommentText" text="#82806F" /> |
As configured in my dotfiles.
start new:
tmux
start new with session name:
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
This will create a proxy server in whatever your availability zone your VPC is in. For me, that's us-east-1b
. For you, that may be something different. Steps 10+ should more or less work regardless of your provider since those steps cover the setup and configuration of TinyProxy.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.25882352941176467</real> | |
<key>Green Component</key> | |
<real>0.21176470588235294</real> |
/** | |
* Extends Webflow Slider with public methods to swich between slides | |
* | |
* Paste this code on the Custom Code panel to get started: | |
* | |
* var slider = new W_SLIDER_CONTROLLER( '#element_id' ); | |
* slider.setup('drag_disabled') // removes the drag-and-slide interaction | |
* slider.goto( 2 ); // jumps to the second slide | |
*/ | |
var W_SLIDER_CONTROLLER = function( el ){ |
import datetime | |
from pprint import pprint as pp | |
from trello import TrelloClient | |
client = TrelloClient( | |
api_key='your-key', | |
api_secret='your-secret', | |
token='your-oauth-token-key', |
Modern Cocoa development involves a lot of asynchronous programming using closures and completion handlers, but these APIs are hard to use. This gets particularly problematic when many asynchronous operations are used, error handling is required, or control flow between asynchronous calls gets complicated. This proposal describes a language extension to make this a lot more natural and less error prone.
This paper introduces a first class Coroutine model to Swift. Functions can opt into to being async, allowing the programmer to compose complex logic involving asynchronous operations, leaving the compiler in charge of producing the necessary closures and state machines to implement that logic.
// PhantomJS script to reboot a Huawei B315 modem | |
// | |
// Author: Jonathan Hoskin / 2017-09-02 | |
// Twitter: @jhossnz | |
// Github: https://github.com/jonathanhoskin | |
// | |
// Requires PhantomJS ~ 2.1.1 | |
// | |
// Enter your own modem details here | |
var username = 'admin'; |