Skip to content

Instantly share code, notes, and snippets.

View lanej's full-sized avatar
😜

Josh Lane lanej

😜
View GitHub Profile
use dotenv;
use serde::{Deserialize, Serialize};
use sqlx::{Executor, SqlitePool};
use warp::{http::StatusCode, reject, Filter, Rejection, Reply};
#[tokio::main]
async fn main() {
env_logger::init();
dotenv::dotenv().unwrap();
let log = warp::log("blog::app");

Keybase proof

I hereby claim:

  • I am lanej on github.
  • I am lanej (https://keybase.io/lanej) on keybase.
  • I have a public key whose fingerprint is 3888 C0B7 F81E 8280 B1FC 99C2 E375 22BC 4267 876A

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lanej on github.
  • I am lanej (https://keybase.io/lanej) on keybase.
  • I have a public key whose fingerprint is 328C F941 05F0 F453 AD8F 187A E036 9519 B6E4 7213

To claim this, I am signing this object:

import json
import os
import platform
import re
import signal
import subprocess
import urllib.request
import urllib.parse
from urllib.error import HTTPError
from deoplete.util import getlines,expand
import json
import os
import platform
import re
import signal
import subprocess
import urllib.request
import urllib.parse
from urllib.error import HTTPError
from deoplete.util import getlines,expand
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json; version=2
Fastly-Key: accesstoken
GET /service/1/versions
### Keybase proof
I hereby claim:
* I am lanej on github.
* I am lanej (https://keybase.io/lanej) on keybase.
* I have a public key whose fingerprint is 3888 C0B7 F81E 8280 B1FC 99C2 E375 22BC 4267 876A
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lanej on github.
  • I am lanej (https://keybase.io/lanej) on keybase.
  • I have a public key ASAOAr7bw321HAGwhaq_02WHAiOEasM8cnCHaKoSivYNHAo

To claim this, I am signing this object:

@lanej
lanej / delete.md
Created March 3, 2016 17:29
oh hai

blah

"Mappings" : {
"CoreOSAMIs" : {
"eu-central-1" : { "PV" : "ami-38093a25", "HVM" : "ami-3a093a27" },
"ap-northeast-1" : { "PV" : "ami-e2465fe3", "HVM" : "ami-e4465fe5" },
"sa-east-1" : { "PV" : "ami-7f863a62", "HVM" : "ami-7d863a60" },
"ap-southeast-2" : { "PV" : "ami-db7d09e1", "HVM" : "ami-d97d09e3" },
"ap-southeast-1" : { "PV" : "ami-3e8da66c", "HVM" : "ami-3c8da66e" },
"us-east-1" : { "PV" : "ami-3615525e", "HVM" : "ami-3415525c" },
"us-west-2" : { "PV" : "ami-51134b61", "HVM" : "ami-6f134b5f" },
"us-west-1" : { "PV" : "ami-bebfa6fb", "HVM" : "ami-bcbfa6f9" },