Skip to content

Instantly share code, notes, and snippets.

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 March 10, 2014 10:49
Einkommenssteuervorrauszahlung
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.
Verifying that +buk is my Bitcoin username. You can send me #bitcoin here: https://onename.io/buk

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:

def validate
errors.add(:email, "must be valid.") unless email.include? ("@")
if screen_name.include("")
errors.add(:screen_name, "cannot include spaces.")
end
end
def logout
User.logout!(session,cookies)
flash[:notice] = "Danke und Auf Wiedersehen!"
redirect_to :action => "index", :controller => "site"
end
@buk
buk / .htaccess
Created December 12, 2010 09:24
A .htaccess file to point a subdomain to a folder
RewriteEngine On
RewriteCond %{HTTP_HOST} ^[www\.]*blog.domain.de [NC]
RewriteCond %{REQUEST_URI} !^/blog/.*
RewriteRule ^(.*) /blog/$1 [L]
@buk
buk / gist:919961
Created April 14, 2011 17:16
Fehlermeldung beim Aufruf von http://127.0.0.1:3000/reports
We couldn’t find that file to show.
@buk
buk / gist:920018
Created April 14, 2011 17:33
technician.rb und report.rb
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
class ReportsController < ApplicationController
def index
@reports = Report.all
end
def show
@report = Report.find(params[:id])
end
def new