This file contains 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
const canvasSketch = require("canvas-sketch"); | |
canvasSketch( | |
({ context, width, height }) => { | |
context.fillStyle = "white"; | |
context.fillRect(0, 0, width, height); | |
const cell = 10; | |
const cols = Math.floor(width / cell); | |
const rows = Math.floor(height / cell); |
This file contains 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 | |
# GH_TOKEN= | |
# GITHUB_TOKEN=$GH_TOKEN | |
# ORGANIZATION= | |
# LOG_FILE= | |
exec 3>&1 1>>${LOG_FILE} 2>&1 | |
now=$(date) |
This file contains 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
# /!\ Update with `exec zsh` instead of `source ~/.zshrc` | |
#### Main configuration | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi |
This file contains 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
# Run git config --global core.excludesfile ~/.gitignore | |
.DS_Store | |
.idea |