This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* cSpell:disable */ | |
{ | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
// the code spellcheck extension is a must have: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker | |
"cSpell.userWords": [ | |
"cachix", | |
"classname", | |
"clippy", | |
"corepack", | |
"deku", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var old = document.getElementById("hill-chart"); | |
if (old) { | |
old.remove(); | |
} | |
var s = document.createElement("script"); | |
s.src = "https://unpkg.com/hill-chart@latest/dist/umd/hill-chart.umd.js"; | |
s.id = "hill-chart"; | |
s.async = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use clap::Parser; | |
use gif::{Encoder, Frame, Repeat}; | |
use image::{Rgb}; | |
use lib::message::{UserMessage, Content, PlacePixel}; | |
use std::fs::File; | |
use std::io::{BufRead, BufReader}; | |
use std::path::PathBuf; | |
/// Simple program to greet a person |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let tags = [ | |
'weekly', | |
'biweekly', | |
'monthly', | |
'bimonthly', | |
'biannually', | |
'spring', | |
'fall', | |
'summer', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./.tmuxinator.yml | |
name: tezos-sandbox | |
root: . | |
# Runs on project start, always | |
on_project_start: | |
- mkdir -p ./sandbox/1 | |
- mkdir -p ./sandbox/2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Domainslib | |
let domains = 8 | |
(* First, the map function we were using when we discovered the problem *) | |
let parallel_map pool f l = | |
let length = List.length l in | |
let chunk_size = max (length / domains) 1 in | |
let chunks = Base.List.chunks_of l ~length:chunk_size in | |
let promises = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on https://github.com/azemoh/vscode-one-monokai | |
// Default | |
$plain: #abb2bf; | |
// Background | |
$background: #282c34; | |
// Caret | |
$caret: #528bff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[caps]>[esc] | |
[hk9]>[fntog] | |
[hk10]>[caps] | |
[rspc]>[fnshf] | |
fn [caps]>[esc] | |
fn [h]>[lft] | |
fn [k]>[up] | |
fn [j]>[dwn] | |
fn [l]>[rght] | |
fn [hk9]>[fntog] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Used to go through each commit in a repo one by one | |
# for exploratory purposes. | |
git reset --hard HEAD | |
git clean -xfd | |
INDEX=$(cat /tmp/index) | |
INDEX=$(($INDEX + 1)) | |
echo $INDEX > /tmp/index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
set -e | |
if ! which docker > /dev/null 2>&1 ; then | |
echo "Docker does not seem to be installed." | |
exit 1 | |
fi | |
if ! which docker-compose > /dev/null 2>&1 ; then |
NewerOlder