Skip to content

Instantly share code, notes, and snippets.

{
"one": 1,
"two": 2
}
@slofurno
slofurno / key.md
Created February 28, 2019 01:05
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

#!/bin/bash
case "$@" in
*verify*)
keybase pgp verify -d $4
printf "\n[GNUPG:] VALIDSIG "
;;
*)
keybase pgp sign -d
printf "\n[GNUPG:] SIG_CREATED " > /dev/fd/2
http://pla-structure-service.clarityinretail.com/static/diff.html?account=6719213580&adgroup=36502353277&base=d6fc542077965cb861565ef74b2d9dc448ad108ad30b6e06c657d0fd745b0f82&compare=2180ec33e7ad2e5ab2f6a26e15c04703660347d6d1c058a08f4bca46bcd623b7
http://pla-structure-service.clarityinretail.com/static/diff.html?account=6719213580&adgroup=41078233870&base=2f3a6b1b27244bc5a0830040ab77f9c33cee3b9b7eb6ad6029e84952618c2877&compare=a8b0c08ad1a4e7af076661f62c9dc28da00df6f606ce8a7cc3357f344962be74
http://pla-structure-service.clarityinretail.com/static/diff.html?account=6719213580&adgroup=37981705435&base=46c09387c7cdcc2d6d73df910fb4559b92775f4952cbb1e845ef98fe17bb5bf9&compare=127eb58c86c0cda8c8afde453b4233825ec44c905b7f652ccc452fc394e8b30e
http://pla-structure-service.clarityinretail.com/static/diff.html?account=6719213580&adgroup=36288244450&base=3a58ee0369b8771e102897e2fc9751cc5de1defad0fe1824a34e1586e3d935ae&compare=3a58ee0369b8771e102897e2fc9751cc5de1defad0fe1824a34e1586e3d935ae
http://pla-structure-service.cla
1689639310991627077|Hardware
-5295209898202811776|Hardware > Locks & Keys
-3692872870547437690|Apparel & Accessories
-3817140941569278349|Apparel & Accessories > Clothing
7114970106155188449|Apparel & Accessories > Clothing > Underwear & Socks
-5350518548346166448|Apparel & Accessories > Clothing > Underwear & Socks > Undershirts
-8901225909846585574|Arts & Entertainment
-7671619694595348476|Arts & Entertainment > Hobbies & Creative Arts
7702236683095490425|Arts & Entertainment > Hobbies & Creative Arts > Arts & Crafts
-7323593283644210233|Arts & Entertainment > Hobbies & Creative Arts > Arts & Crafts > Art & Crafting Materials
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3dWqxV+ABI0GO33h6uDYpqff1kAnVILvNqtt8bxiSYw15GWtfZ/x29RxF/wtTl//dYAzOOS7Lm1koRa/SY7oRoqV+1YyjJDcUaeNhrbseW5yCj8j+aBqcYLLGmI0rbzDVFblQoNhfuXhkZ++B3iTI1ICyWumwHY6+CHwDGO3jdKv+GE6llJGlnJRR7UE5CVeCf7UdRHDMOyE1fGIFt2m1hJwBeI36sN/PEF468qXyj2sdWkg27K+u3GUGjjqM6vHWhsj4RySw2166b/s6F4pE3IWwrydLFuCF5gEzYDypDitXcx7atotpjXSUTYpOkLst/Nf1WdwjvL7WXh2Bh1GVcwjHujm/jaKD56R8BDhYI2ZEaYRBP97nyZKft7FqG+/1tt4/XFdZ5zIIJzq+wK3cEfaL2eMhVajWjLOTKksVXBexSS/s7qvH4YS3hXiGAKS/J4ZTNgRtpFVH8EGHRtf8Cj1K17W9i9+QR3fzK661ZaJPTJo9w0kLmg4d4DE5so9gvxoZ0L3SKNwClQeNs7N4VFZKosxeNSQFjjOKTaiAiQMtWvlsC/NacYQtpJK2We/tC3VDVBWgh6I3w3vIfFg3hSintYxC73HbANg/Ne4vxNRSXtPlXQtdPlObgA0RTWTwhEBrPZ/5zIX4a0v69JM+EYHsdyaL3V9tC3qDBFq+1w== [email protected]
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCcU7rj4itYZGc3Zfr971Tl8GqZ57ddfFQSn5MFMXjyZo6oB5sZZg9RtgrXrKRI/j3sxw6e85k9iPMGQKsinBJq9Z1URa20U8cdbH+N8zLcfHtlfU3/7V2kNptCczW4UKJg3+mC9A6pDNRGk8oHbL8DtelFBc8Uz+JuKyg2lOTlI6ewnSrSauMk9fx2PBemru9++mKiU456wPbqbQxBNpdRtkMlnBj7MIstdz4UJ86m4TAPGEfLUZRQa/gyjmWTpt6i6z5A/fe9aEGalFDxD3XpJSvuoP6vh2aL5KTm2ZZqvvS9485Axi1OaCvCoZX405MVrDQPIRWxHgG9ViDxW744Z4/O7SKgOUmkQDSuwUFZo0u8pE4T8FjdqUTxi2oyCA4p0zsPIt+0eQMvgnC/4kSejuNmsxM2yAvzabM4j5m6jj88ecdxQK97vsgeiAz3uVhv+qpCLkKGWauReDSneuMCVss/1Bw/shs1/RNCht2Di1hy2nGoKGHL/aV93iN/hSaZJn//m9HJyIMLC3tAOfH2BuWgSe27SwbUFGsYfCCS6l3ygJN5RepT+jCA+j6f4cWv0aiqj4brWrL/UYK/eZUm7TkR0U/Z3sUCrw1FLT5/TQtDLJNX8kNX1eThXcnQYjft626VW369ALHvNrGPqh++OcuWQkfYbEaYqvpI9biYGQ== [email protected]
package tree
import (
"github.com/Getsidecar/partner-api-gateway/models"
)
// Tree is a graph representation of an Adgroup's partitions
type Tree struct {
Partition models.AdGroupCriterion `json:"root"`
Partitions []*Tree `json:"partitions"`
package tree
import (
"encoding/json"
"fmt"
"testing"
"github.com/Getsidecar/partner-api-gateway/models"
)
function length(xs) {
var max = 0
for(var i = 0; i < xs.length; i++) {
for(var j = i+1; j < xs.length; j++) {
if (card(xs[i], xs[j]) == xs[i].length + xs[j].length) {
var mul = xs[i].length * xs[j].length
max = mul > max ? mul : max
}
}