Skip to content

Instantly share code, notes, and snippets.

View yvbeek's full-sized avatar

Yvo van Beek yvbeek

  • NBC Sports Next
  • USA
View GitHub Profile
@yvbeek
yvbeek / gist:e8c20027d5c1b92a824dc7a2149d9b6a
Created June 17, 2017 00:53
EventMachine segmentation fault
/srv/www/project/current/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:202: [BUG] Segmentation fault at 0x00000000000000
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux-gnu]
-- Control frame information -----------------------------------------------
c:0005 p:---- s:0022 e:000021 CFUNC :release_machine
c:0004 p:0036 s:0018 e:000017 RESCUE /srv/www/project/current/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:202
c:0003 p:0385 s:0014 E:000a10 METHOD /srv/www/project/current/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:205
c:0002 p:0014 s:0006 e:000005 BLOCK /srv/www/project/current/vendor/bundle/ruby/2.4.0/gems/faye-1.2.4/lib/faye/engines/proxy.rb:14 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
@yvbeek
yvbeek / acknowledgements.py
Created May 29, 2017 23:20
Acknowledgements Generator
#!/usr/bin/env python
import os
import sys
import re
import plistlib
from codecs import open
from copy import deepcopy
@yvbeek
yvbeek / ImageMagick 6.9.7-8 Homebrew Formula.md
Last active February 2, 2019 15:16 — forked from afaur/ImageMagick 6.9.7-3 Homebrew Formula.md
Homebrew Formula for ImageMagick 6.9.7-8

Homebrew Formula patching old ImageMagick release 6.9.7-8

Install

brew install https://gist.github.com/Zyphrax/0c53e5ffa9d523ff4af37e2fab71c7e6/raw/bad11375742cadcbc3741df652e472bb0419c4dc/imagemagick.rb

Pin this version

To prevent upgrades you can pin this version.

@yvbeek
yvbeek / big.log
Created January 13, 2015 01:33
RVM log
+ 1421112667.873925552 /scripts/cli : __rvm_parse_args() 727 > [[ -z '' ]]
+ 1421112667.875554500 /scripts/cli : __rvm_parse_args() 727 > [[ -n '' ]]
+ 1421112667.877368256 /scripts/cli : __rvm_parse_args() 730 > [[ error == '' ]]
+ 1421112667.878958196 /scripts/cli : __rvm_parse_args() 730 > [[ 0 -eq 1 ]]
+ 1421112667.880598861 /scripts/cli : __rvm_parse_args() 730 > [[ -n '' ]]
+ 1421112667.882106056 /scripts/cli : __rvm_parse_args() 15 > [[ -n install ]]
+ 1421112667.883682545 /scripts/cli : __rvm_parse_args() 17 > rvm_token=install
+ 1421112667.885335858 /scripts/cli : __rvm_parse_args() 19 > (( 1 > 0 ))
+ 1421112667.886970721 /scripts/cli : __rvm_parse_args() 21 > next_token=.
+ 1421112667.888706622 /scripts/cli : __rvm_parse_args() 22 > shift
@yvbeek
yvbeek / KeychainItemWrapper.h
Created August 17, 2012 05:32 — forked from dhoerl/KeychainItemWrapper.h
KeychainItemWrapper ARCified
/*
File: KeychainItemWrapper.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
Version: 1.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of