Skip to content

Instantly share code, notes, and snippets.

Daniel delneet

  • Websend BV
  • Netherlands
View GitHub Profile
delneet /
Created Apr 30, 2020
Github markdown cheat sheet

keyboard keys: key

colors: #ff0099

Summary with folding details Secret details
delneet /
Created Sep 1, 2016
Find process running on port
delneet /
Created Aug 15, 2016
OSX libv8 with native extensions caused by therubyracer
gem uninstall libv8
gem install therubyracer
gem install libv8 -- --with-system-v8
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.