I hereby claim:
- I am dhruvasagar on github.
- I am dhruvasagar (https://keybase.io/dhruvasagar) on keybase.
- I have a public key ASBD9lLidgpCJG8sfmBDLu6RRxz15Kn6koyCJspFa_jQWgo
To claim this, I am signing this object:
| (defvar aoc-year 2024 | |
| "The year for which Advent of Code is relevant.") | |
| (defvar aoc-template-dir (expand-file-name "~/dotfiles/templates/") | |
| "Directory where language templates are stored.") | |
| (defvar aoc-session-cookie nil | |
| "Session cookie for Advent of Code. Set this once to avoid repeated prompting.") | |
| (defvar aoc-dir (expand-file-name "~/src/dhruvasagar/comp/") |
| import Data.List (intercalate) | |
| import Data.Maybe (fromJust, fromMaybe) | |
| import Debug.Trace (trace) | |
| data Point = Point Int Int | |
| deriving (Show, Eq) | |
| parsePoint :: String -> Point | |
| parsePoint as = Point x y | |
| where |
| name: Deploy Dev | |
| on: | |
| workflow_run: | |
| workflows: ["CI"] | |
| types: | |
| - completed | |
| branches: | |
| - develop | |
| job: |
| #!/usr/bin/env bash | |
| # GistID: 6db76639d8874eb9ffd091021bedba8e | |
| set -e | |
| info () { | |
| tput setaf 6; echo "$1"; tput sgr0 | |
| } |
| #!/bin/bash | |
| # GistID: 87c59acf3b53cf1911bc6e3a8055afbf | |
| _call_func () { | |
| declare -f -F "$1" && $1 | |
| } | |
| typeset -A _dirsh_cache | |
| _dirsh_hook () { |
I hereby claim:
To claim this, I am signing this object:
| if [[ "$ZPROF" = true ]]; then | |
| zmodload zsh/zprof | |
| fi | |
| # ... your ZSHRC with all your scripts | |
| if [[ "$ZPROF" = true ]]; then | |
| zprof | |
| fi |
| if [ ! -x "$(command -v aws)" ]; then | |
| echo 'Please install following dependencies: ' | |
| echo '* jq' | |
| echo '* cfssl' | |
| echo '* aws cli' | |
| exit 1 | |
| fi | |
| usage () { | |
| echo "Usage: $0 [tag]" |
| if exists('g:loaded_pairify') | |
| finish | |
| endif | |
| let g:loaded_pairify = 1 | |
| let g:pairs = { | |
| \ "left": { | |
| \ "[": "]", | |
| \ "(": ")", | |
| \ "{": "}", |
| alert('test'); |