Skip to content

Instantly share code, notes, and snippets.

E.J. Dyksen ejdyksen

Block or report user

Report or block ejdyksen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ejdyksen
ejdyksen / arq5.md
Last active Apr 12, 2016
mirror of Arq 5 blog post
View arq5.md

Arq 5: Massively faster backup and restore

Today we released Arq 5, and we’re really excited about it! We implemented a bunch of the most-requested features, and we worked hard on improving the performance.

Big Price Change

With Arq 5 we’re switching from per-computer licenses to per-user licenses! Buy one license and use it on all your Macs and PCs!

Way Faster

Arq 5 is faster in several ways:

View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

View notify.swift
let notificationCenter = NSUserNotificationCenter.defaultUserNotificationCenter()
let notification = NSUserNotification()
notification.title = "Hello"
notification.informativeText = "This is a test"
notification.soundName = NSUserNotificationDefaultSoundName
notification.userInfo = ["key": "value"]
notificationCenter.deliverNotification(notification)
@ejdyksen
ejdyksen / gist:cb0fcffd6c4b71b6c470
Last active Aug 29, 2015
improv leadership email
View gist:cb0fcffd6c4b71b6c470
From: E.J. Dyksen
Date: Fri 5/4/2007 2:53 AM
Subject: IMPROV leadership

I am sending this email to the entire team in the interest of transparency and openness in this matter. I think everyone should read it.

Hello soon-to-be-juniors of IMPROV!

@ejdyksen
ejdyksen / gist:53bfdaa72d9fba1644cc
Created Jan 20, 2015
Angular on S3 rewrite rules
View gist:53bfdaa72d9fba1644cc
<RoutingRules>
<RoutingRule>
<Condition>
<HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<HostName>example.com</HostName>
<ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith>
<HttpRedirectCode>302</HttpRedirectCode>
</Redirect>
View gist:dabee71e633c5b7df6e1
# Generate a CSR and unencrypted private key
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key
@ejdyksen
ejdyksen / gist:c60e1aa1e4934ff32c36
Created Oct 28, 2014
LaunchAgent plist for Chrome Kiosk mode
View gist:c60e1aa1e4934ff32c36
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mutuallyhuman.radiator</string>
<key>Program</key>
<string>/Applications/Google Chrome.app/Contents/MacOS/Google Chrome</string>
<key>ProgramArguments</key>
<array>
@ejdyksen
ejdyksen / patch-edid.md
Last active Sep 15, 2019
A script to fix EDID problems on external monitors in Mac OS. Source: http://embdev.net/topic/284710
View patch-edid.md

patch-edid.rb

A script to fix EDID problems on external monitors in Mac OS.

  1. Connect the problem monitor.

  2. Download this script into your /System/Library/Displays/Overrides (note: this file is only writeable by root, so some commands require sudo).

View uninstall_gems.sh
#!/usr/bin/env bash
uninstall() {
list=`gem list --no-versions`
for gem in $list; do
gem uninstall $gem -aIx
done
gem list
gem install bundler
}
View chargify-webhook-reflector.rb
require 'sinatra'
require 'openssl'
require 'json'
post '/' do
body = request.body.read
puts "Time : #{Time.now}"
puts "Actual Signature : #{request.env['HTTP_X_CHARGIFY_WEBHOOK_SIGNATURE_HMAC_SHA_256']}"
puts "Computed Signature: #{signature(body)}"
You can’t perform that action at this time.