- A Gypsy curse. If you know what I mean...
- A moment of silence. If you know what I mean...
- A sausage festival. If you know what I mean...
- An honest cop with nothing left to lose. If you know what I mean...
- Famine. If you know what I mean...
- Flesh-eating bacteria. If you know what I mean...
- Flying sex snakes. If you know what I mean...
- Not giving a shit about the Third World. If you know what I mean...
- Sexting. If you know what I mean...
- Shapeshifters. If you know what I mean...
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: ingress-grpc | |
labels: | |
app.kubernetes.io/name: ingress-grpc | |
app.kubernetes.io/part-of: ingress-grpc | |
--- | |
kind: ConfigMap | |
apiVersion: v1 |
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
syntax = "proto3"; | |
package common.v1.identity; | |
option go_package = "protos/common/v1/identity"; | |
// Contains identity data, should be part of each service procedure | |
message Identity { | |
string UserSecret = 1; | |
} |
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
syntax = "proto3"; | |
package common.countries; | |
option go_package = "rpc/common/countries"; | |
enum ISOCode { | |
AF = 0; | |
AX = 1; | |
AL = 2; | |
DZ = 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
/* | |
#### BEFORE YOU RUN THIS #### | |
Make sure you got everything you need, and run this: | |
go get github.com/nlopes/slack | |
go get github.com/fatih/color | |
go get github.com/davecgh/go-spew/spew |
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
export function reflect(promises) { | |
function handler(promise) { | |
return promise.then( | |
(result)=>{ return { status: "resolved", result: result } }, | |
(result)=>{ return { status: "rejected", result: result } } | |
) | |
} | |
return Promise.all(promises.map(handler)) | |
} |
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
export function reflect(promises){ | |
function handler(promise) { | |
function response(status, result) { | |
return { status: status, result: result } | |
} | |
return promise.then( | |
response.bind("resolved"), | |
response.bind("rejected") | |
) | |
} |
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
#!/usr/bin/env ruby | |
# 735839035697074176 | |
raise "Needs a tweet id" unless tweet_id = ARGV[0] | |
require "twitter" | |
require "pry" | |
while Time.now < Time.new(2016, 05, 26, 16, 44) do | |
sleep 1 | |
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
GrdL(vlls) 1 | |
GrdL(objc) 1, Grdn, Gradient | |
Grad(objc) 5, Grdn, Gradient | |
Nm (text) 5, Kiwi | |
GrdF(enum) GrdF, CstS | |
Intr(doub) 4096.0 | |
Clrs(vlls) 5 | |
Clrs(objc) 4, Clrt, | |
Clr (objc) 3, RGBC, | |
Rd (doub) 61.00389115512371 |
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
#!/bin/ruby | |
10.times { puts ENV["TEXT"] } |
NewerOlder