I hereby claim:
- I am evanp on github.
- I am evanprodromou (https://keybase.io/evanprodromou) on keybase.
- I have a public key ASAM5zk-o-f4c2qVJAQzc3eY43BWJ4bdYmxOIcGcHKpiMgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<p> | |
Some popular extensions are included in the Activity Streams 2.0 namespace | |
document, and can be reviewed at <a href="https://www.w3.org/ns/activitystreams#extensions">https://www.w3.org/ns/activitystreams#extensions</a>. | |
The <a href="https://www.w3.org/community/swicg/">Social Web Incubator Community Group</a> maintains a | |
wiki page on <a href="https://www.w3.org/wiki/Activity_Streams_extensions">Activity Streams extensions</a>. | |
</p> |
name: "Mike Pence Success" | |
outputs: | |
score: [0, 10] | |
inputs: | |
"Defend Donald Trump’s character and temperament": [0, 5] | |
"Defend Donald Trump’s tax returns": [0, 5] | |
"Defend Donald Trump’s comments on Alicia Machado": [0, 5] | |
"Defend Donald Trump’s comments about Hillary Clinton’s marriage": [0, 5] | |
"Define his role as vice president": [0, 5] | |
"Put on a lively show": [0, 5] |
name: "Tim Kaine success" | |
outputs: | |
score: [0, 10] | |
inputs: | |
"Define his role as vice president": [0, 5] | |
"Challenge Mike Pence on social conservative issues": [0, 5] | |
"Put on a lively show": [0, 5] | |
"Avoid obvious mistakes": [0, 5] | |
"Go on the attack": [0, 5] | |
"Associate Pence with Donald Trump’s excessive policies": [0, 5] |
#!/bin/bash | |
export ID=$1 | |
echo "Address,Type,ServiceID,TaskOrName,Image" | |
for service in `docker service ls -q`; do | |
docker service inspect -f "{{range .Endpoint.VirtualIPs}}{{if eq .NetworkID \"$ID\"}}{{printf .Addr}}{{end}}{{end}},service,{{.ID}},{{.Spec.Name}},{{.Spec.TaskTemplate.ContainerSpec.Image}}" $service; | |
done |
loleyn | |
loleyn's | |
lolivar | |
lolivar's | |
lolivia | |
lolivia's | |
lolivian | |
lolivian's | |
lolivians | |
lollywood |
# BREAD PUDDING | |
# By Evan & Amita Prodromou | |
let oven | |
oven.preheat(350) | |
let bread = [bread, cake, cupcake, cinnamon rolls, bagel] | |
For each bread, | |
bread = bread / 2 | |
if bread <= 1 cm |
auth: | |
autoredeploy: true | |
image: dockercloud/haproxy:latest | |
links: | |
- auth-svc | |
restart: on-failure | |
roles: | |
- global | |
tags: | |
- development |
filename = "likeactivity.json" | |
script = sys.argv[1] # or whatever | |
output = exec(script, filename) | |
if output == "LikeActivity" | |
testPassed() | |
else | |
testFailed() |
import activitystreams | |
json = parseCommandLineFileArgument() | |
activity = Activity.fromJSON(json) | |
print activity.type |