Skip to content

Instantly share code, notes, and snippets.

@arminrosu
arminrosu / selfie.sh
Last active August 22, 2022 20:57
Take iSight image and save to path
#!/bin/bash
# `brew install imagesnap` required
FILE_NAME=$(date +"%Y-%m-%d_%H-%M-%S.png")
FILE_DIR="/Users/[username]/Library/CloudStorage/GoogleDrive-[email]@gmail.com/My Drive/Photos/selfies/daily/$(date +"%Y/%m")"
echo $FILE_NAME
echo $FILE_DIR
mkdir -p "$FILE_DIR"
# Wait 2s for the camera to warm up
@arminrosu
arminrosu / semmy.js
Created May 9, 2021 11:23
List @types/ to dependency version mismatches
// @TODO Validate new version exists
// @TODO Validate installed versions satisfy each other before reporting
const package = require('./package.json')
const deps = package.dependencies
const devDeps = package.devDependencies
const allDeps = {
...deps,
...devDeps
@arminrosu
arminrosu / keybase.md
Created February 2, 2022 14:02
Keybase Proof

Keybase proof

I hereby claim:

  • I am arminrosu on github.
  • I am arminrosu (https://keybase.io/arminrosu) on keybase.
  • I have a public key ASDQPyPiKbwVFwDwPtQy7A2DvoDCuoE39yHcIsf-iIct0Qo

To claim this, I am signing this object: