Create an empty git repo or reinitialize an existing one
$ git init
Create an empty git repo or reinitialize an existing one
$ git init
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package firstsubroutines; | |
/** | |
* | |
* @author anonymous |
I hereby claim:
To claim this, I am signing this object:
Verifying that +julianmiller is my blockchain ID. https://onename.com/julianmiller |
<p>julian testing gist</p> |
# Blastoff! | |
def countdown(n): | |
while n >= 1: | |
print n | |
n = n -1 | |
else: | |
if n == 0: | |
print 'Blastoff!' | |
countdown(10) |
test | |
#median testing | |
def median(a,b,c): | |
if a>b or a==b: | |
if a<c or a==c: | |
return a | |
if a<b or a==b: | |
if a>c or a==c: |
test | |
#median testing | |
def median(a,b,c): | |
if a>b or a==b: | |
if a<c or a==c: | |
return a | |
if a<b or a==b: | |
if a>c or a==c: |
test | |
#median testing | |
def median(a,b,c): | |
if a>b or a==b: | |
if a<c or a==c: | |
return a | |
if a<b or a==b: | |
if a>c or a==c: |
omniauth = session["devise.omnidata"] | |
@user.username = omniauth['info']['first_name']+omniauth['info']['last_name'] | |
@user.pic_url = omniauth['info']['image'] | |
#From the facebook graph api docs: use ?type=square | small | normal | large to request a different photo | |
@user.pic = rails_download_url_method(@user.pic_url?square | small | normal | large) | |
require 'open-uri' | |
open('image.png', 'wb') do |file| |