Skip to content

Instantly share code, notes, and snippets.

View hez's full-sized avatar

Hez hez

  • Bubba Ronningen Shrimp Co.
  • BC, Canada
View GitHub Profile
@hez
hez / migration.exs
Last active June 6, 2022 21:57
Testing Ecto handling of order_by for SQLite3
defmodule Migrations.Testtable do
use Ecto.Migration
def change do
create table(:testing) do
add :company, :string
add :name, :string
add :vintage, :string
add :drunk_at, :utc_datetime
@hez
hez / estimation.markdown
Last active December 12, 2018 17:24
On Estimating

On Estimating

Charlie Tanksley

Has anyone ever worked somewhere that was good at setting timelines for shipping software (implied in ‘good’ means hit the timelines)?

Steve Wan

I have Charlie. :)

Keybase proof

I hereby claim:

  • I am hez on github.
  • I am hez (https://keybase.io/hez) on keybase.
  • I have a public key ASB4VPOyHt9apPJ--9XG7i-d7vCiSYEZXUQaO4JdiJD4cAo

To claim this, I am signing this object:

@hez
hez / AnswerSkype.scptd
Last active October 10, 2015 05:47
Answer Skype call
tell application "Skype"
activate
set calls to send command "SEARCH ACTIVECALLS" script name "Call Control"
set callID to last word of calls
set status to send command "GET CALL " & callID & " STATUS" script name "Call Control"
if last word of status is "RINGING" then
send command "ALTER CALL " & callID & " ANSWER" script name "Call Control"
end if
end tell