I hereby claim:
- I am bitserf on github.
- I am bitserf (https://keybase.io/bitserf) on keybase.
- I have a public key whose fingerprint is 8EDF 16F2 41C9 8880 5D60 19FD C7FC 3270 F57F A785
To claim this, I am signing this object:
pub fn customers(pool: &'static db::ConnectionPool) -> impl warp::Filter { | |
// Clone pool in filter chain so child threads can access it safely. | |
let database = warp::any().map(move || pool.clone()); | |
let customers = warp::path("customers"); | |
let customers_index = customers.and(warp::path::end()); | |
let customer_by_id = customers | |
.and(warp::path::param::<i64>()) | |
.and(warp::path::end()); |
mod api; | |
mod db; | |
mod models; | |
use pretty_env_logger; | |
use std; | |
use std::net::SocketAddr; | |
use warp::{self, Filter}; | |
fn main() { |
### Keybase proof | |
I hereby claim: | |
* I am leonbreedt on github. | |
* I am leonbreedt (https://keybase.io/leonbreedt) on keybase. | |
* I have a public key whose fingerprint is 8EDF 16F2 41C9 8880 5D60 19FD C7FC 3270 F57F A785 | |
To claim this, I am signing this object: |
import Cocoa | |
import JavaScriptCore | |
/// Something that can be represented as a `JSValue`. | |
protocol JSValueRepresentable { | |
/// The `JSValue` for this thing. | |
var jsValue: JSValue { get } | |
} |
import Cocoa | |
/// Enumerates the types of fonts supported for attributed strings. | |
enum TextFontType { | |
case System | |
case Named(String) | |
} |
// | |
// FontPreview | |
// Copyright © 2018 Leon Breedt | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// |
node generate regular build/.pass0-iosevka-regular.ttf --dumpmap build/iosevka-regular.charmap --dumpfeature build/.pass0-iosevka-regular.ab.fea | |
Building /.notdef for Iosevka Regular | |
Building /space for Iosevka Regular | |
Building /dotAbove for Iosevka Regular | |
Building /dieresisAbove for Iosevka Regular | |
Building /ringAbove for Iosevka Regular | |
Building /graveAbove for Iosevka Regular | |
Building /acuteAbove for Iosevka Regular | |
Building /circumflexAbove for Iosevka Regular | |
Building /caronAbove for Iosevka Regular |
{ | |
var r0_fs, r0_path, r0_Glyph, r0_Stroke, r0_tp, r0_inverse, r0_libspiro, r0_SpiroExpansionContext, r0_toml, r0_mix, r0_linreg, r0_bilinear, r0_fallback, r0_emptyFontStr, r0_buildFont, _r0_t0, _r0_t1, _r0_t2, _r0_t3, _r0_t4; | |
r0_fs = require('fs'); | |
r0_path = require('path'); | |
r0_Glyph = require('./support/glyph').Glyph; | |
r0_Stroke = require('./support/stroke').Stroke; | |
r0_tp = require('./support/transform').transformPoint; | |
r0_inverse = require('./support/transform').inverse; | |
r0_libspiro = require('libspiro-js'); | |
r0_SpiroExpansionContext = require('./support/spiroexpand').SpiroExpansionContext; |
#!/usr/bin/xcrun swift | |
// | |
// Copyright © 2016 Leon Breedt | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// |
I hereby claim:
To claim this, I am signing this object: