Skip to content

Instantly share code, notes, and snippets.

View equivalent's full-sized avatar
:octocat:
I'm IDDQD + IDKFA for Ruby on Rails

Tomas Valent equivalent

:octocat:
I'm IDDQD + IDKFA for Ruby on Rails
View GitHub Profile
@equivalent
equivalent / aes_test.rb
Created September 11, 2012 14:42 — forked from taylor/aes_test.rb
Ruby AES encryption test with lib openssl
#!/usr/bin/env ruby
# encoding: UTF-8
require 'rubygems'
begin
require 'bundler/setup'
rescue LoadError
end
require 'digest/sha1'
require 'openssl'
@equivalent
equivalent / haml
Created May 15, 2012 12:02 — forked from erich/haml
= form_for [@user, @task], :html => { :class => 'form-inline' } do |f|
-if @task.errors.any?
#error_explanation
%h2= "#{pluralize(@task.errors.count, "error")} prohibited this task from being saved:"
%ul
# why and what is solarized http://ethanschoonover.com/solarized
# Simple installation notes for iterm2 and Solarized
Set ZSH_THEME in ~/.zshrc to blinks
https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized
#if you create new profile e.g. solarized you have to set him as default
#Simple installation notes for janus and Solarized
# .vimrc.before
let g:solarized_termcolors=256
set t_Co=16