Skip to content

Instantly share code, notes, and snippets.

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

Filip Tepper filiptepper

🏠
Working from home
View GitHub Profile
[root@X install]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
yum >= 3.0 is needed by yum-fastestmirror-1.1.16-13.el5.centos.noarch
[root@X install]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
$: << File.dirname(__FILE__)
require "lead"
require "agent"
require "mail"
require "open-uri"
require "sinatra/base"
require "airbrake"
require "sugarcrm"
require "yaml"
@filiptepper
filiptepper / de.yml
Created October 23, 2012 07:04 — forked from newstler/de.yml
#iOSonRailsConf 2013 web site translations
##############################
##############################
robot_in_the_cloak: "Roboter im Regenmantel"
site_title: "#iOSonRailsConf 2013"
site_description: "Alushta Konferenz für Ruby on Rails und iOS-Entwickler aus aller Welt, die im Frühjahr 2013 stattfinden wird."
site_description_short: "Ruby on Rails und iOS-Entwickler Alushta Konferenz 2013."
site_keywords: "Ruby, Rails, ios, Entwickler, Konferenz, 2013, Web, Handy, iphone, ipad, ipod"
http://aol.streams.bassdrive.com:8012
http://www.bassjunkees.com/connect/connect.pls
http://dnbheaven.com/128kbps.m3u
http://207.200.96.227:8016/
http://www.drumnbasstv.com/128.m3u
http://www.di.fm/aacplus/itunes/drumandbass.pls
http://173.193.219.163:8545
namespace :unicorn do
desc "start unicorn"
task :start, :roles => :app do
run "cd #{current_path} && bundle exec unicorn -c config/unicorn/#{rails_env}.rb -E #{rails_env} -D"
end
desc "stop unicorn"
task :stop, :roles => :app do
run "#{try_sudo} kill -s QUIT `cat #{unicorn_pid}`"
end
OpenSSL::X509::StoreError: setting default path failed: problem creating X509 Aux certificate: java.io.IOException: problem parsing cert: java.security.cert.CertificateParsingException: java.io.IOException: Duplicate extensions not allowed
set_default_paths at org/jruby/ext/openssl/X509Store.java:162
SSLContext at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/openssl/ssl-internal.rb:31
SSL at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/openssl/ssl-internal.rb:22
OpenSSL at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/openssl/ssl-internal.rb:21
(root) at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/openssl/ssl-internal.rb:20
require at org/jruby/RubyKernel.java:1054
(root) at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/openssl.rb:1
require at org/jruby/RubyKernel.java:1054
(root) at /Users/filiptepper/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/openssl.rb:
#!/usr/bin/env ruby
$actions = [
'Time to stand up.',
'Grab the ball.',
'Sit down.'
]
def take_action
current_action = $actions.shift
@filiptepper
filiptepper / Gemfile
Created August 22, 2014 09:10
Conditional Gemfile
source 'https://rubygems.org/'
if ENV['DEVELOPMENT'] == '1'
gem 'rails', '4.0.0'
else
gem 'rails', '4.1.0'
end

Keybase proof

I hereby claim:

  • I am filiptepper on github.
  • I am filiptepper (https://keybase.io/filiptepper) on keybase.
  • I have a public key whose fingerprint is 7D03 390A 7356 8A3C 04DC 756A 2246 B32A E1FB 997F

To claim this, I am signing this object:

@filiptepper
filiptepper / benchmark.rb
Created March 24, 2017 20:49
Time benchmarks.rb
require "bundler/inline"
require "time"
require "date"
gemfile(true) do
source "https://rubygems.org/"
gem "benchmark-ips", require: "benchmark/ips"
end