Skip to content

Instantly share code, notes, and snippets.

@husobee
husobee / scanval.go
Last active December 16, 2022 18:44
scanner valuer example
package main
import (
"database/sql"
"database/sql/driver"
"errors"
"fmt"
_ "github.com/mattn/go-sqlite3"
)
@viktorklang
viktorklang / in-fino-veritas.zsh-theme
Last active July 31, 2023 01:47
In Fino Veritas ZSH theme
#!/usr/bin/env zsh
# in fino veritas
# Borrowing shamelessly from these oh-my-zsh themes:
# fino-time
# pure
# https://gist.github.com/smileart/3750104
# Set required options
@jasongoodwin
jasongoodwin / gist:6276969
Last active March 16, 2017 08:15
Async Akka timeout/retry
package io.pressur
import akka.actor.{ActorRef, Actor}
import akka.pattern.ask
import scala.concurrent.duration._
import scala.concurrent.Future
import akka.pattern.after
import akka.actor.Status._
case class AskWithTimeout[T](actor: ActorRef, message: T)
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"