Skip to content

Instantly share code, notes, and snippets.

💭
typing...

Daniel delneet

💭
typing...
  • Websend BV
  • Netherlands
Block or report user

Report or block delneet

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
@delneet
delneet / process_using_port.sh
Created Sep 1, 2016
Find process running on port
@delneet
delneet / osx_libv8_native.sh
Created Aug 15, 2016
OSX libv8 with native extensions caused by therubyracer
View osx_libv8_native.sh
gem uninstall libv8
gem install therubyracer
gem install libv8 -- --with-system-v8
@delneet
delneet / gist:6a79536c8edf774bd6e8
Last active Mar 8, 2016
Rails 4.2.5 mysql 5.7
View gist:6a79536c8edf774bd6e8
Dylib 18 error:
gem uninstall mysql
Gemfile:
gem 'mysql', '0.3.18'
$: mysql_update -u user -p
restart mysql
View string_colorize.rb
class String
def black; "\e[30m#{self}\e[0m" end
def red; "\e[31m#{self}\e[0m" end
def green; "\e[32m#{self}\e[0m" end
def brown; "\e[33m#{self}\e[0m" end
def blue; "\e[34m#{self}\e[0m" end
def magenta; "\e[35m#{self}\e[0m" end
def cyan; "\e[36m#{self}\e[0m" end
def gray; "\e[37m#{self}\e[0m" end
You can’t perform that action at this time.