Skip to content

Instantly share code, notes, and snippets.

View zekus's full-sized avatar
🏠
Working from home

Antonio Lorusso zekus

🏠
Working from home
View GitHub Profile
FE = Frontend
BE = Backend
"Called" means a function was invoked
"Response from" means the response from the function invocation
Logs in a timeline fashion
FE - Created the iframe to host the PSD2 challenge
#!/usr/bin/env ruby
# Pass in the name of the site you wich to create a cert for
domain_name = ARGV[0]
if domain_name == nil
puts "Y U No give me a domain name?"
else
system "openssl genrsa -out #{domain_name}.key 1024"
system "openssl req -new -key #{domain_name}.key -out #{domain_name}.csr -subj '/C=US/ST=NJ/L=Monroe/O=MyCompany/OU=IT/CN=#{domain_name}'"
@zekus
zekus / gist:1020543
Created June 11, 2011 13:13 — forked from retr0h/gist:1001477
RVM + HomeBrew + Nokogiri
export BREW_HOME=/usr/local
brew install libxml2
brew link libxml2
brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/libxslt.rb
brew link libxslt
brew install libiconv
brew link libiconv
gem install nokogiri -- --with-xml2-dir=$BREW_HOME/Cellar/libxml2/2.7.8 --with-xslt-dir=$BREW_HOME/Cellar/libxslt/1.1.26 --with-iconv-dir=$BREW_HOME/Cellar/libiconv/1.13.1/
# By Henrik Nyh <http://henrik.nyh.se> 2008-01-30.
# Free to modify and redistribute with credit.
# modified by Dave Nolan <http://textgoeshere.org.uk> 2008-02-06
# Ellipsis appended to text of last HTML node
# Ellipsis inserted after final word break
# modified by Mark Dickson <mark@sitesteaders.com> 2008-12-18
# Option to truncate to last full word
# Option to include a 'more' link