Skip to content

Instantly share code, notes, and snippets.

View brianwisti's full-sized avatar
🚚
State change: WA -> AZ

Brian Wisti brianwisti

🚚
State change: WA -> AZ
View GitHub Profile
@jtgrimes
jtgrimes / speaking.md
Last active June 18, 2017 20:41
Speaking resources

I've been storing articles about speaking and giving talks in Pocket for a while. Most of the articles I haven't read (or have only skimmed) and I make no promises about their quality. They are presented in no particular order. I'm just sharing it in case anyone is interested.

Have other interesting articles? Let me know. Corrections welcome too.

Beth Tucker Long: (@e3betht)

Emma Jane Hogbin Westby (@emmajanehw)

@mfilej
mfilej / db_terminate_backend.rake
Created July 7, 2013 11:02
Rake task to terminate idle postgresql connections that prevent a database to be dropped
# http://stackoverflow.com/questions/5108876/kill-a-postgresql-session-connection
namespace :db do
desc "Fix 'database is being accessed by other users'"
task :terminate => :environment do
ActiveRecord::Base.connection.execute <<-SQL
SELECT
pg_terminate_backend(pid)
FROM
pg_stat_activity
WHERE
@tamagokun
tamagokun / Console.as
Created July 27, 2011 20:02
AS3 Trace Console for Google Chrome/Firebug
package
{
import flash.display.Sprite;
import flash.events.ErrorEvent;
import flash.events.UncaughtErrorEvent;
import flash.external.ExternalInterface;
public class Console extends Sprite
{
public function Console():void