Skip to content

Instantly share code, notes, and snippets.

View gfrivolt's full-sized avatar

György Frivolt gfrivolt

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gfrivolt on github.
  • I am fifigyuri (https://keybase.io/fifigyuri) on keybase.
  • I have a public key ASAYBel4cYx7w_J0h12hwwy1hU1ykGovGl3XMpuIYaqD7Ao

To claim this, I am signing this object:

@gfrivolt
gfrivolt / num-to-roman.clj
Last active August 29, 2015 14:04
Budapest Clojure Meetup Coding Dojo
(ns roman-nums.core
(:require
[clojure.test :refer [is testing]]))
(def roman-digits [[1000 "M"]
[500 "D"]
[400 "CD"]
[100 "C"]
[50 "L"]
[40 "XL"]
@gfrivolt
gfrivolt / spec_execution_output
Created June 25, 2013 13:10
4 failing tests in tire
→ be rake
/usr/local/opt/rbenv/versions/1.9.3-p392/bin/ruby -I"lib:lib:test" -I"/usr/local/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib" "/usr/local/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/unit/active_model_lint_test.rb" "test/unit/configuration_test.rb" "test/unit/count_test.rb" "test/unit/http_client_test.rb" "test/unit/http_response_test.rb" "test/unit/index_alias_test.rb" "test/unit/index_test.rb" "test/unit/logger_test.rb" "test/unit/model_callbacks_test.rb" "test/unit/model_import_test.rb" "test/unit/model_initialization_test.rb" "test/unit/model_persistence_test.rb" "test/unit/model_search_test.rb" "test/unit/multi_search_test.rb" "test/unit/results_collection_test.rb" "test/unit/results_item_test.rb" "test/unit/rubyext_test.rb" "test/unit/search_facet_test.rb" "test/unit/search_filter_test.rb" "test/unit/search_highlight_test.rb" "test/unit/search_query_test.rb" "test/unit/search_scan_test.rb" "test/unit/search_sc
@gfrivolt
gfrivolt / rails-template.rb
Created May 8, 2011 16:11
New Rails project template
# create rvmrc file
rvm_gemset_creation = "rvm use 1.9.2@#{app_name} --create"
run rvm_gemset_creation
create_file ".rvmrc", rvm_gemset_creation
# cleanup
run "touch tmp/.gitignore log/.gitignore vendor/.gitignore"
run %{find . -type d -empty | grep -v "vendor" | grep -v ".git" | grep -v "tmp" | xargs -I xxx touch xxx/.gitignore}
run "rm .gitignore"