(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
require 'oauth2' | |
class SessionsController < ApplicationController | |
def create | |
# Get data back from OmniAuth | |
@auth = request.env["omniauth.auth"] | |
@token = @auth["credentials"]["token"] | |
# Create an OAuth2 client and access token, | |
# which we will use to access the API. | |
@client = OAuth2::Client.new(AUTH_CONFIG["client_id"], AUTH_CONFIG["client_secret"], :site => "https://www.google.com/reader/") |
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.8/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en"> | |
<page> | |
<title>Anarchism</title> | |
<ns>0</ns> | |
<id>12</id> | |
<revision> | |
<id>563200406</id> | |
<parentid>563200009</parentid> | |
<timestamp>2013-07-07T05:02:36Z</timestamp> | |
<contributor> |
I hereby claim:
To claim this, I am signing this object:
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<title>hello</title> | |
</head> | |
<body> | |
<div id="root">Loading...</div> | |
<script src="bundle.js"></script> |
@interface LoginViewController : UIViewController <UITextFieldDelegate, UIWebViewDelegate> | |
@end |
# Copyright (c) 2012, Ryan Gomba | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright notice, | |
# this list of conditions and the following disclaimer in the documentation |
import numpy as np | |
from pyqtree import Index | |
from shapely import geometry | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import Polygon | |
plt.style.use('ggplot') | |
# distance we expect the bus stop to be from the road | |
# will pad all bounding boxes accordingly | |
radius = 0.1 |
""" | |
adapted from: | |
https://github.com/karimbahgat/Pyqtree/blob/master/pyqtree.py | |
TODO implement remove methods | |
""" | |
from libcpp cimport bool | |
from libcpp.vector cimport vector |
// dummy data | |
let orders = [{ | |
userId: 0 | |
}, { | |
userId: 1 | |
}, { | |
userId: 1 | |
}]; | |
let users = [{ |