| allowed-tools | argument-hint | description | |
|---|---|---|---|
AskUserQuestion, Read, Glob, Grep, Write, Edit |
|
Interview to flesh out a plan/spec |
Here's the current plan:
@$ARGUMENTS
| allowed-tools | argument-hint | description | |
|---|---|---|---|
AskUserQuestion, Read, Glob, Grep, Write, Edit |
|
Interview to flesh out a plan/spec |
Here's the current plan:
@$ARGUMENTS
| import crypto from "crypto"; | |
| import { listAllSubscriptions } from "lemonsqueezy.ts"; | |
| import { NextRequest } from "next/server"; | |
| // Put this in your billing lib and just import the type instead | |
| type LemonsqueezySubscription = Awaited<ReturnType<typeof listAllSubscriptions>>["data"][number]; | |
| const isError = (error: unknown): error is Error => { | |
| return error instanceof Error; | |
| }; |
| /** | |
| * Export all data from an IndexedDB database | |
| * | |
| * @param {IDBDatabase} idbDatabase The database to export from | |
| * @return {Promise<string>} | |
| */ | |
| export function exportToJson(idbDatabase) { | |
| return new Promise((resolve, reject) => { | |
| const exportObject = {} | |
| if (idbDatabase.objectStoreNames.length === 0) { |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <configuration> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <remove name="pushState" /> | |
| <rule name="pushState" stopProcessing="true"> | |
| <match url=".*" /> | |
| <conditions logicalGrouping="MatchAll"> | |
| <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
This is a simple setup of Leaflet (via Mapbox) with d3 to show dots on a map. This can serve as a base for many interesting geographically based visualizations
Nice overview of using d3 + Leaflet. I found this slightly simpler to use than Mike's classic post.
Built with blockbuilder.org
forked from enjalot's block: dots on a map: setup-gl
| 'use strict'; | |
| var Octokat = require('octokat'); | |
| var extend = require('lodash/object/assign'); | |
| var defaults = { | |
| branchName: 'master', | |
| token: '', | |
| username: '', | |
| reponame: '' |
I say "animated gif" but in reality I think it's irresponsible to be serving "real" GIF files to people now. You should be serving gfy's, gifv's, webm, mp4s, whatever. They're a fraction of the filesize making it easier for you to deliver high fidelity, full color animation very quickly, especially on bad mobile connections. (But I suppose if you're just doing this for small audiences (like bug reporting), then LICEcap is a good solution).
| ## | |
| # WHOIS servers for new TLDs (http://www.iana.org/domains/root/db) | |
| # Current as of 2017-12-10 UTC | |
| ## | |
| \.aarp$ whois.nic.aarp | |
| \.abarth$ whois.afilias-srs.net | |
| \.abbott$ whois.afilias-srs.net | |
| \.abbvie$ whois.afilias-srs.net | |
| \.abc$ whois.nic.abc |
| # Bulk convert shapefiles to geojson using ogr2ogr | |
| # For more information, see http://ben.balter.com/2013/06/26/how-to-convert-shapefiles-to-geojson-for-use-on-github/ | |
| # Note: Assumes you're in a folder with one or more zip files containing shape files | |
| # and Outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere) | |
| #geojson conversion | |
| function shp2geojson() { | |
| ogr2ogr -f GeoJSON -t_srs crs:84 "$1.geojson" "$1.shp" | |
| } |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.