I hereby claim:
- I am fredrocious on github.
- I am fredrocious (https://keybase.io/fredrocious) on keybase.
- I have a public key ASDoModt52V1stIt7RCNBv_dYHaL8ap-3KEScEP66jhLigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| let categories = [ | |
| "56aa371be4b08b9a8d5734db":"🎶", // Amphitheaters | |
| "4fceea171983d5d06c3e9823":"🐠", // Aquariums | |
| "4bf58dd8d48988d1e1931735":"🎮", // Arcades | |
| "4bf58dd8d48988d1e2931735":"🖼", // Art Galleries | |
| "4bf58dd8d48988d1e4931735":"🎳", // Bowling Alleys | |
| "4bf58dd8d48988d17c941735":"🎰", // Casinos | |
| "52e81612bcbc57f1066b79e7":"🎪", // Circuses | |
| "4bf58dd8d48988d18e941735":"😂", // Comedy Clubs | |
| "5032792091d4c4b30a586d5c":"🎶", // Concert Halls |
| POST https://api.simperium.com/1/<app id>/__options__/i/<bucket name> | |
| { "schema" : { "attributes" : { "<fieldname>" :{ "otype" : "replace" } } } } | |
| Example: | |
| App ID: test-app-1337 | |
| Bucket Name: blarb | |
| Field Name: b64thing |
| $ python | |
| Python 2.7.8 (default, Jul 2 2014, 10:14:46) | |
| [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> from bson.objectid import ObjectId | |
| >>> import datetime | |
| >>> ObjectId.from_datetime(datetime.datetime(2014, 8, 1)) | |
| ObjectId('53dad8800000000000000000') |
| require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"0+/Abx":[function(require,module,exports){ | |
| /** | |
| * Diff Match and Patch | |
| * | |
| * Copyright 2006 Google Inc. | |
| * http://code.google.com/p/google-diff-match-patch/ | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at |
| { | |
| "result" : [ | |
| { | |
| "_id" : { | |
| "ccid" : "e60cb8f485c14efbb70340588c271780" | |
| }, | |
| "total" : 48, | |
| "clids" : [ | |
| "android-0.4.0-beta-be5999", | |
| "android-0.4.0-beta-7222ae", |
For the cv command, if the supplied parameter is not formatted properly or we cannot return all the changes from that cursor, the response will now be cv:?. Previously, the server responded with c:?
If the server determines the supplied connection credentials are no longer valid, previously the server responded with two messages:
auth:expiredauth:{"msg":"Token invalid","code":401}Now, the server will only respond in the error case with the second message (the JSON error object).
| import socket | |
| import tornado | |
| import tornado.ioloop | |
| import tornado.iostream | |
| import client | |
| import functools | |
| class LockdClientTornado( client.LockdClient ): |
As configured in my dotfiles.
start new:
tmux
start new with session name: