- Acai berries
- Alfalfa
- Aloe vera
- Apples (not the seeds)
- Asparagus
- Bananas
- Barley
- Beans
- Beef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'json' | |
class Client | |
class << self | |
attr_accessor :host, :port, :api_key, :version | |
end | |
self.host = ENV['ORDERS_API_HOST'] || 'api.orders.com' | |
self.port = ENV['ORDERS_API_PORT'] || 80 |
I hereby claim:
- I am doomspork on github.
- I am spork (https://keybase.io/spork) on keybase.
- I have a public key whose fingerprint is DAA1 22C6 5803 2F11 6865 5211 CB3E DE36 56B1 9262
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defp handle_reply(socket, {status, payload}, :handle_in) | |
when is_atom(status) and is_map(payload) do | |
send socket.transport_pid, %Reply{status: status, topic: socket.topic, | |
ref: socket.ref, payload: socket.assigns ++ payload} | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:ok, file} = File.open 'test.txt', [:write] | |
escaped = "foo"e;bar's" | |
|> String.replace(""e;", "\"") | |
|> String.replace("'", "'") | |
|> String.replace("&", "&") | |
file | |
|> IO.binwrite(escaped) | |
|> File.close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>raphael</title> | |
<script src="https://raw.github.com/DmitryBaranovskiy/raphael/master/raphael.js"></script> | |
<style media="screen"> | |
body { | |
margin: 0; | |
padding: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// comments go here | |
boolean expanding = true; | |
int change = 0; | |
void setup() | |
{ | |
size(200,200); | |
background(125); | |
fill(255); | |
frameRate(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/https' | |
require 'nokogiri' | |
require 'uri' | |
module Play | |
STORE_IDENTIFIER_PATTERN = /(?:[\w\d]+\.)+[\w\d]+/i | |
class InvalidStoreId < StandardError; end | |
class Reader | |
def self.document_from_url(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'java' | |
require 'net/http' | |
require 'uri' | |
require 'nokogiri' | |
System = java.lang.System | |
java_import java.util.concurrent.Executors | |
@executor = Executors.newFixedThreadPool 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'clerk' | |
require 'csv' | |
class ClassIdTransformer | |
def self.transform(id) | |
case id.to_i | |
when 1 | |
"Fighter" | |
when 2 | |
"Mage" |
OlderNewer