I hereby claim:
- I am rpowelll on github.
- I am rpowelll (https://keybase.io/rpowelll) on keybase.
- I have a public key whose fingerprint is 8921 1B4D 92B8 55A7 EBA2 38BF 1E84 B500 ADBB D98B
To claim this, I am signing this object:
$break-medium: "(min-width : 40rem)"; | |
$break-large: "(min-width : 64rem)"; | |
@mixin clearfix { | |
&:before, | |
&:after { | |
content: " "; | |
display: table; | |
} |
I hereby claim:
To claim this, I am signing this object:
// Grab and sort events we care about from the response dict | |
self.events = [[[response xxx_map:^id(id obj) { | |
// Transform dicts into event objects | |
NSAssert([obj isKindOfClass:[NSDictionary class]], @"Response from timetable API should be array of objects"); | |
return [MTLJSONAdapter modelOfClass:[XXXEvent class] fromJSONDictionary:obj error:nil]; | |
}] xxx_select:^BOOL(id obj) { | |
// Filter down to events that happen today | |
return [obj occursOnDayOfDate:self.date]; | |
}] sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2) { | |
// Order events based on when they start |
<!DOCTYPE html> | |
<html lang="en-AU"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Carpool</title> | |
<%= stylesheet_link_tag 'application', media: 'all' %> | |
<%= javascript_include_tag 'application' %> |
// | |
// RWPViewController.m | |
// Yo Catch | |
// | |
// Created by Rhys Powell on 4/08/2014. | |
// Copyright (c) 2014 Rhys Powell. All rights reserved. | |
// | |
#import "RWPViewController.h" | |
#import "RWPYoCatchModel.h" |
{EditorView, View} = require 'atom' | |
Clipboard = require 'clipboard' | |
Gist = require './gist-model' | |
module.exports = | |
class GistView extends View | |
@content: -> | |
@div class: "gist overlay from-top padded", => | |
@div class: "inset-panel", => |
// MARK: - Long Division | |
func printExactDivision(dividend: Int, divisor: Int) { | |
var remainder = dividend | |
var pastRemainders = Dictionary<Int, Int>() | |
var iteration = 0 | |
do { | |
// Add previous remainder | |
pastRemainders[remainder] = iteration |
require 'tumblr_client' | |
BLOG_URL = "rpowelll.moe" | |
Tumblr.configure do |config| | |
config.consumer_key = "xxxx" | |
config.consumer_secret = "xxxx" | |
config.oauth_token = "xxxx" | |
config.oauth_token_secret = "xxxx" | |
end |