Skip to content

Instantly share code, notes, and snippets.

View gutenye's full-sized avatar
:octocat:
Guten tag!

Guten gutenye

:octocat:
Guten tag!
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Ember Hello</title>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script>
<script src="http://builds.emberjs.com/tags/v1.4.0/ember.min.js"></script>
@gutenye
gutenye / download-progress.rb
Created December 31, 2011 04:47 — forked from Burgestrand/download-progress.rb
Ruby HTTP file download with progress measurement
require 'net/http'
def download(url)
Thread.new do
thread = Thread.current
thread[:body] = []
thread[:done] = 0
url = URI(url)
Net::HTTP.new(url.host, url.port).get2(url.path) do |res|
@gutenye
gutenye / gist:1108486
Created July 27, 2011 01:38
Ruby Style Guide
Original Source: https://github.com/chneukirchen/styleguide
= Christian Neukirchen's Ruby Style Guide
You may not like all rules presented here, but they work very well for
me and have helped producing high quality code. Everyone is free to
code however they want, write and follow their own style guides, but
when you contribute to my code, please follow these rules: