Skip to content

Instantly share code, notes, and snippets.

@itod
itod / split_keyboards.md
Last active June 12, 2024 12:08
Every "split" mechanical keyboard currently being sold that I know of
@ankurk91
ankurk91 / github_gpg_key.md
Last active June 7, 2024 14:31
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@MyGodIsHe
MyGodIsHe / fmerge.py
Last active January 20, 2016 10:33
Merging sorted lists in a functional style
def none_if_except(f, e=Exception):
try:
return f()
except e:
pass
def list_anyway(f, iterable):
values = []
for i in iterable:
@algal
algal / :(.swift
Last active September 4, 2015 12:18 — forked from chriseidhof/:(
import Foundation
import ImageIO
//
// before
//
func datesFromImagesInDir(dir: String) -> [NSDate] {
let fm = NSFileManager.defaultManager()