This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() | |
{ | |
size(500, 500); | |
background(255); | |
translate(width/2, height/2); | |
strokeCap(SQUARE); | |
for(int i = 0; i < 4; i++) | |
{ | |
int startDegree = 90 * i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html [<!ENTITY % HTMLlat1 SYSTEM "file:///etc/xml/xhtml-lat1.ent"><!ENTITY % HTMLspecial SYSTEM "file:///etc/xml/xhtml-special.ent"><!ENTITY % HTMLlsymbol SYSTEM "file:///etc/xml/xhtml-symbol.ent"> %HTMLlat1; %HTMLspecial; %HTMLlsymbol; ]> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
</head> | |
<body data-type="book"> | |
<section data-type="chapter"> | |
<h1>Chapter Title</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"commit":{"id":"1433bbedb7e2165366bc5689567ddf8e50a488db","short_id":"1433bbedb7e","title":"update","author_name":"Administrator","author_email":"admin@local.host","created_at":"2014-05-27T14:50:47+00:00"},"commits":[{"id":"96e1d47655c92c4c5e238589b1f0e6393bd66448","short_id":"96e1d47655c","title":"removing readme","author_name":"Nellie McKesson","author_email":"nellie@oreilly.com","created_at":"2014-01-23T16:50:02+00:00"},{"id":"1433bbedb7e2165366bc5689567ddf8e50a488db","short_id":"1433bbedb7e","title":"update","author_name":"Administrator","author_email":"admin@local.host","created_at":"2014-05-27T14:50:47+00:00"}],"diffs":[{"old_path":"README.md","new_path":"README.md","a_mode":null,"b_mode":null,"diff":"","new_file":false,"renamed_file":false,"deleted_file":true},{"old_path":"chapter.html","new_path":"chapter.html","a_mode":null,"b_mode":"100644","diff":"--- a/chapter.html\n+++ b/chapter.html\n@@ -1,5 +1,5 @@\n \u003Csection data-type=\"chapter\"\u003E\n \u003Ch1\u003EChapter Title\u003C/h1\u003E\n \n-\u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section data-type="chapter"> | |
<div class="row content-header"> | |
<div class="span12"> | |
<h1>Chapter Title</h1> | |
<h2>Something under the heading</h2> | |
</div> | |
</div> | |
<div class="row"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Runes-MacBook-Air:test-project runemadsen$ git push -u origin master | |
The authenticity of host 'atlas-gitlab-ha.oreilly.com (54.84.17.6)' can't be established. | |
RSA key fingerprint is d6:c9:9d:db:fd:9e:2c:1c:2d:26:dc:5b:fb:92:c4:15. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added 'atlas-gitlab-ha.oreilly.com,54.84.17.6' (RSA) to the list of known hosts. | |
Counting objects: 3, done. | |
Writing objects: 100% (3/3), 208 bytes | 0 bytes/s, done. | |
Total 3 (delta 0), reused 0 (delta 0) | |
remote: GitLab: An unexpected error occurred (redis-cli returned 1). | |
remote: error: hook declined to update refs/heads/master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.text.*; | |
import java.util.*; | |
void setup() | |
{ | |
println( minutesSince1970("01.03.1983") ); | |
} | |
long minutesSince1970(String d) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
# My info | |
today = Date.today() | |
rune_priority = Date.parse('21st Jun 2013') | |
rune_elapsed = (today - rune_priority).to_i | |
# Average info | |
other_elapsed = [579, 577, 584, 578, 573, 578] | |
other_avg = other_elapsed.inject{ |sum, el| sum + el }.to_f / other_elapsed.size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float x = 300; | |
float y = 300; | |
void setup () { | |
size(600, 600); | |
colorMode(HSB, 100, 100, 100); | |
} | |
void draw () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CodeMirror.darkenEditor pre { | |
opacity: 0.3; | |
} | |
.CodeMirror.darkenEditor .highlightLine pre { | |
opacity: 1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# call this file like this: | |
# ruby janrain.rb CLIENT_ID CLIENT_SECRET | |
require 'httparty' | |
require 'json' | |
client_id = ARGV[0] | |
client_secret = ARGV[1] | |
uuids = [ "UUID1", "UUID2", "UUID3" ] |