Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
𝚌𝚘𝚍𝚎 𝚕𝚒𝚏𝚎

Charles Francoise loderunner

👨‍💻
𝚌𝚘𝚍𝚎 𝚕𝚒𝚏𝚎
View GitHub Profile
View Client.ts
export class Client {
doTheThing(message: string, count: number): boolean { /* ... */ }
}
View fondue-de-poireaux.md

Fondue de poireaux

Ingrédients

  • 300g de blancs de poireaux
  • 25 cl de crème fraîche
  • 1 tbsp moutarde à l'ancienne
  • 1 tsp cumin en poudre
  • 1 tsp coriandre moulue
  • sel + poivre
View dall-de-lentilles-corail.md

Dahl de lentilles corail

Ingrédients

Lentilles

  • 1 cup de lentilles corail
  • 2 cups d'eau
  • 1 cup de lait de coco
  • 1 cube de bouillon (ou 1 tbsp)
View example.md

Human-readable text

We were somewhere around Barstow on the edge of the desert when the drugs began to take hold. I remember saying something like "I feel a bit lightheaded; maybe you should drive...." And suddenly there was a terrible roar all around us and the sky was full of what looked like huge bats, all swooping and screeching and diving around the car, which was going about a hundred miles an hour with the top down to Las Vegas.

Variable-spaced font. Words are wrapped to page.

Computer-readable text

HTTP/1.1 200 OK
View Reader.ts
interface Reader {
read(): Promise<Buffer>;
}
class FileReader implements Reader {
private path: string;
constructor(path: string) {
this.path = path;
}
@loderunner
loderunner / eastus_blobstorage.log
Last active August 5, 2019 10:42
Terraform Issue #3939 logs
View eastus_blobstorage.log
$ terraform apply -var 'region=eastus' -var 'storage_kind=BlobStorage' -auto-approve
azurerm_resource_group.main: Creating...
azurerm_resource_group.main: Creation complete after 1s [id=/subscriptions/ecadb7db-4c02-47b5-9d5b-2468562782f2/resourceGroups/loderunner-bugtest-resources]
azurerm_storage_account.blob_storage: Creating...
azurerm_storage_account.blob_storage: Still creating... [10s elapsed]
azurerm_storage_account.blob_storage: Still creating... [20s elapsed]
azurerm_storage_account.blob_storage: Creation complete after 22s [id=/subscriptions/ecadb7db-4c02-47b5-9d5b-2468562782f2/resourceGroups/loderunner-bugtest-resources/providers/Microsoft.Storage/storageAccounts/loderunnerbugteststorage]
azurerm_storage_container.blob_container: Creating...
Error: Error creating Container "loderunnerbugtest" (Account "loderunnerbugteststorage" / Resource Group "loderunner-bugtest-resources"): containers.Client#Create: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: error response
@loderunner
loderunner / coding-conventions.md
Last active May 14, 2019 13:28
Coding Conventions
View coding-conventions.md

Coding Conventions

CSS

CSS files will be named in all lowercase, "kebab case":

  • modal-dialog.css
  • 🚫ModalDialog.css
  • 🚫modal_dialog.css
View sauce-sriracha.md

Sauce Sriracha

Temps d'attente : 6 heures
Temps de préparation : 15 min
Temps de cuisson : 15 min

Ingrédients

  • 50g de piments rouges frais
  • 4-5 gousses d'ail
View google-maps-screenshot.js
const puppeteer = require('puppeteer');
const moment = require('moment');
const process = require('process');
let browser;
(async () => {
browser = await puppeteer.launch();
const url = process.argv[2];
View keybase.md

Keybase proof

I hereby claim:

  • I am loderunner on github.
  • I am chrales (https://keybase.io/chrales) on keybase.
  • I have a public key whose fingerprint is EC30 6C62 92CD 8BF1 A437 92E6 65D2 5CEF DD1B 2530

To claim this, I am signing this object: