start new:
tmux
start new with session name:
tmux new -s myname
# | |
# Initialize the stuff | |
# | |
# We build the status bar item menu | |
def setupMenu | |
menu = NSMenu.new | |
menu.initWithTitle 'FooApp' | |
mi = NSMenuItem.new | |
mi.title = 'Hellow from MacRuby!' | |
mi.action = 'sayHello:' |
(function (reqwest, Backbone) { | |
var methodMap, getUrl; | |
methodMap = { | |
'create': 'POST', | |
'update': 'PUT', | |
'delete': 'DELETE', | |
'read' : 'GET' | |
}; | |
getUrl = function(object) { |
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="Solarized Dark" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="EDITOR_FONT_NAME" value="Consolas" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="" /> | |
<option name="ANNOTATIONS_COLOR" value="2b36" /> | |
<option name="ANNOTATIONS_MERGED_COLOR" value="" /> | |
<option name="CARET_COLOR" value="dc322f" /> |
import java.util.ArrayList | |
import scala.collection.JavaConversions._ | |
import com.stumbleupon.async.{Callback, Deferred} | |
import org.hbase.async.{HBaseClient, KeyValue, Scanner} | |
import com.twitter.util.{Future, Promise, Return, Throw} | |
/** Converts a Deferred into a Future. */ | |
implicit def futureFromDeferred[A](d: Deferred[A]): Future[A] = { | |
val promise = new Promise[A] | |
#!/usr/bin/env python | |
# -*- coding: iso-8859-15 -*- | |
from tastypie.resources import ModelResource | |
class SpineFrontedResource(ModelResource): | |
"""A base model resource for spine-fronted models. | |
* Bins the 'id' that spine sends. | |
* Removes 'meta' from the list, returns only objects. |
import com.twitter.concurrent.Spool | |
import com.twitter.finagle.builder.Cluster | |
import com.twitter.finagle.util.DefaultTimer | |
import com.twitter.logging.Logger | |
import com.twitter.util.FuturePool | |
import com.twitter.util.{Duration, Future, JavaTimer, Promise, Return, Time, Timer} | |
import java.net.InetAddress | |
import java.net.UnknownHostException | |
import java.net.{InetSocketAddress, SocketAddress} | |
import java.security.Security |
\pset null 'NULL' | |
\set PROMPT1 '%n@%m %/%R%x%# ' | |
\set PROMPT2 '%n@%m %/%R%x%# ' | |
\set AUTOCOMMIT off | |
\set ON_ERROR_ROLLBACK interactive | |
\encoding UNICODE | |
\timing | |
\x auto | |
--- |
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have: