I hereby claim:
- I am schniz on github.
- I am schniz (https://keybase.io/schniz) on keybase.
- I have a public key ASAoK6wufz1Xfrm7AFF4Sbb1_pj9uagkBzRY1crIXWYI3go
To claim this, I am signing this object:
| opaque type bcrypt$hashed = string; | |
| declare module "bcrypt" { | |
| declare module.exports: { | |
| hash: (password: string, saltRounds: number) => Promise<bcrypt$hashed>, | |
| compare: ( | |
| password: string, | |
| hashedPassword: bcrypt$hashed | |
| ) => Promise<boolean>, | |
| }; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Install `jq` by `brew install jq` | |
| # Make sure to have ~/dotfiles/bitbar/.env with the following env vars: | |
| # JIRA_USERNAME=... | |
| # JIRA_PASSWORD=... | |
| # JIRA_BASE_URL=https://something.atlassian.net | |
| # |
| #!/usr/bin/env python | |
| def curry(fn): | |
| arg_count = fn.func_code.co_argcount | |
| def start(*initial_args): | |
| args = [] | |
| args.extend(initial_args) | |
| def inner(*more_args): |
| import React from "react"; | |
| export default class GetCurrentLocation extends React.Component { | |
| state = {}; | |
| watchId = null; | |
| componentDidMount() { | |
| const options = { | |
| enableHighAccuracy: true, | |
| timeout: 200, |
| const buildSingleLineString = (strings, ...vals) => { | |
| const stringsWithoutSpaces = strings.map(multipleLines => | |
| multipleLines.split('\n').map(line => | |
| line.trim() | |
| ).join('') | |
| ) | |
| return String.raw({ raw: stringsWithoutSpaces }, ...vals) | |
| } | |
| const url = buildSingleLineString` |
| function remind_me | |
| osascript ~/dotfiles/applescripts/remind_me.scpt "$argv" | |
| end |
| const sendRoute = (texts, ...args) => { | |
| return (req, res) => { | |
| const evaluatedArgs = args.map(arg => { | |
| if (typeof arg === 'function') { | |
| return arg(req) | |
| } | |
| return arg | |
| }) |