Skip to content

Instantly share code, notes, and snippets.

View dotangad's full-sized avatar
🤖
busy creating bugs

Angad Singh dotangad

🤖
busy creating bugs
View GitHub Profile
"""
This week’s question:
Write a function that takes an array of consecutive, increasing letters as input, and returns any missing letters in the array between the first and last letter.
Example:
> missingLetters(['a','b','c','d','f'])
> ['e']
> missingLetters(['a','b','c','d','e','h','i','j','k','l','m','n','o','p','q','r','s','t','u','w','x','y','z'])
> ['f','g','v']
"""
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Switch Audio Source
# @raycast.mode compact
# Optional parameters:
# @raycast.icon 🎧
# @raycast.needsConfirmation false

Awk notes

My solutions to Awk: Hack the planet's exercises.

Challenges: Easy

  1. How much money per hour does the janitor make?
awk '/Janitor/ {print $3}' payroll.tsv
@dotangad
dotangad / tz.py
Created March 15, 2021 17:27
Python script to convert time between timezones
#!/usr/bin/env python3
import pytz
import datetime
import sys
from pyfzf.pyfzf import FzfPrompt
from fuzzywuzzy import fuzz
fzf = FzfPrompt()

Keybase proof

I hereby claim:

  • I am dotangad on github.
  • I am dotangad (https://keybase.io/dotangad) on keybase.
  • I have a public key ASAIJgIKZVxht1DrHFjLpsdx3xxnUi5Nlmynipe6peONvQo

To claim this, I am signing this object: