Skip to content

Instantly share code, notes, and snippets.

Sebastian buk

Block or report user

Report or block buk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@buk
buk / elster
Created Mar 10, 2014
Einkommenssteuervorrauszahlung
View elster
Status:
Die Datenübermittlung ist fehlgeschlagen.
Datum:
10.03.2014
Zeit:
11:39 Uhr
Fehler:
Das ERiC-Kommando EricBearbeiteVorgang hat einen Fehler zurück gegeben.
View gist:37e6d9d7e844f2089598
Verifying that +buk is my Bitcoin username. You can send me #bitcoin here: https://onename.io/buk
View keybase.md

Keybase proof

I hereby claim:

  • I am buk on github.
  • I am buk (https://keybase.io/buk) on keybase.
  • I have a public key whose fingerprint is C3F4 1FA1 68D8 4B74 A50B 9867 394C D204 C25C 45AB

To claim this, I am signing this object:

View gist:339233
def validate
errors.add(:email, "must be valid.") unless email.include? ("@")
if screen_name.include("")
errors.add(:screen_name, "cannot include spaces.")
end
end
View gist:340549
def logout
User.logout!(session,cookies)
flash[:notice] = "Danke und Auf Wiedersehen!"
redirect_to :action => "index", :controller => "site"
end
@buk
buk / .htaccess
Created Dec 12, 2010
A .htaccess file to point a subdomain to a folder
View .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^[www\.]*blog.domain.de [NC]
RewriteCond %{REQUEST_URI} !^/blog/.*
RewriteRule ^(.*) /blog/$1 [L]
We couldn’t find that file to show.
@buk
buk / gist:920018
Created Apr 14, 2011
technician.rb und report.rb
View gist:920018
class Technician < ActiveRecord::Base
attr_accessible :name, :email
has_many :@reports
end
class Report < ActiveRecord::Base
attr_accessible :technician_id, :title, :problem
belongs_to :technician
View reports_controller.rb
class ReportsController < ApplicationController
def index
@reports = Report.all
end
def show
@report = Report.find(params[:id])
end
def new
You can’t perform that action at this time.