I hereby claim:
- I am mkv27 on github.
- I am mkv (https://keybase.io/mkv) on keybase.
- I have a public key ASDJ2WE_DxdA_2OinSGgzsFkm135q1LqtGXyrM3yfXPvHQo
To claim this, I am signing this object:
'use strict'; | |
/** | |
* Basic code to parse the values in the "data" attribute in a Google Maps URL to an Array. | |
* There will likely still be some work to do to interpret the resulting Array. | |
* | |
* Based on information from: | |
* http://stackoverflow.com/a/34275131/1852838 | |
* http://stackoverflow.com/a/24662610/1852838 | |
*/ |
name: Vercel Alias | |
on: [deployment_status] | |
jobs: | |
alias: | |
if: | | |
github.event.deployment_status.state == 'success' && | |
endsWith( github.event.deployment_status.target_url, '.vercel.app') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: octokit/request-action@v2.x |
const baseQuery = q.Paginate(q.Match(q.Index(indexName), terms)); | |
// or | |
// const baseQuery = q.Paginate(q.Collection(collectionName)) | |
const expandedQuery = q.Map(baseQuery, (ref) => | |
q.Let( | |
{ | |
instance: q.Get(q.Var('ref')) | |
}, | |
{ |
I hereby claim:
To claim this, I am signing this object:
typealias Raw = [String: JSONDecodable & JSONEncodable] | |
extension Dictionary: JSONDecodable { | |
public init(jsonValue value: JSONValue) throws { | |
guard let dictionary = forceBridgeFromObjectiveC(value) as? Dictionary else { | |
throw JSONDecodingError.couldNotConvert(value: value, to: Dictionary.self) | |
} | |
self = dictionary | |
} | |
} |
function hash(str) { | |
var len = str.length; | |
var hash = 5381; | |
for (var idx = 0; idx < len; ++idx) { | |
hash = 33 * hash + str.charCodeAt(idx); | |
} | |
return hash; | |
} |
let arr1 = [3, 5, 2, 2, 5, 5]; | |
let arr2 = [2, 1, 66, 5]; | |
let unique = [...new Set([...arr1,...arr2])]; | |
console.log(unique); | |
// [ 3, 5, 2, 1, 66 ] |
# dependencies | |
node_modules | |
# logs | |
npm-debug.log | |
yarn-error.log | |
# Nuxt build | |
.nuxt |
:root { | |
--ease-in-quad: cubic-bezier(.55, .085, .68, .53); | |
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19); | |
--ease-in-quart: cubic-bezier(.895, .03, .685, .22); | |
--ease-in-quint: cubic-bezier(.755, .05, .855, .06); | |
--ease-in-expo: cubic-bezier(.95, .05, .795, .035); | |
--ease-in-circ: cubic-bezier(.6, .04, .98, .335); | |
--ease-out-quad: cubic-bezier(.25, .46, .45, .94); | |
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1); |
var connectionString = 'postgres://localhost:5432/postgres'; | |
var Promise=require('bluebird'); | |
var knex = require('knex')({ | |
client: 'pg', | |
connection: { | |
user: 'postgres', | |
database: 'postgres', | |
port: 5432, |