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
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
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
@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"
$: << File.dirname(__FILE__)
require "lead"
require "agent"
require "mail"
require "open-uri"
require "sinatra/base"
require "airbrake"
require "sugarcrm"
require "yaml"
[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
@filiptepper
filiptepper / gist:1469164
Last active September 28, 2015 17:08
Rekrutacja

O nas

Durszlak jest serwisem agregującym blogi kulinarne.

Jeżeli uważasz, że to brzmi nudnie - masz rację. Dlatego potrzebujemy Ciebie, bo chcemy zrobić dużo więcej.

Wymagania

Wymagania wszyscy mają takie same.

image

# gem install metric_fu
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: metric_fu requires chronic (~> 0.3.0); churn requires chronic (>= 0.2.3), chronic (>= 0.2.3); main requires chronic (~> 0.6.2)
@filiptepper
filiptepper / TechDecisions.md
Created December 1, 2011 07:30
Choices to make in a new Rails project. Would love to see this forked with other's opinions.

Team Support

Source Code Control

git (private server)
Alternative: github

Time Tracking

Cashboard

@filiptepper
filiptepper / const_get.rb
Created November 21, 2011 13:56
Today I Learned
module Oink
class Doink
end
end
> Kernel.const_get("Oink::Doink")
NameError: wrong constant name Oink::Doink
> Kernel.const_get("Oink").const_get("Doink")
=> Oink::Doink
[~] $ rvm install 1.9.3
Installing Ruby from source to: /Users/filiptepper/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /Users/filiptepper/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /Users/filiptepper/.rvm/src/ruby-1.9.3-p0
Fetching yaml-0.1.4.tar.gz to /Users/filiptepper/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/filiptepper/.rvm/src
Configuring yaml in /Users/filiptepper/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/filiptepper/.rvm/src/yaml-0.1.4.