Skip to content

Instantly share code, notes, and snippets.

View twocathouse's full-sized avatar
👩‍🔬
Percolating

twocathouse

👩‍🔬
Percolating
View GitHub Profile
tl;dr - You can now preview your solution on Learn before submitting, and you can view
past versions of your solution.
Hello subscribers!
You may have noticed a few new features appearing in the Learn exercises last
week. These are part of our ongoing attempt to give you a learning experience
that best simulates the coding process we have found productive here at
thoughtbot.
  • We now have a vacuum that works. But it needs bags and I don't have any extra. Catch 22.
  • There are strawberries in the fridge for you! EAT.
  • Also if you can find something to do with the spinach in the fridge, please use it. I think it's still good but prob won't be by the time I get back.
  • We're definitely in need of a grocery run, but what I have you can use!
  • Hopefully the AC unit can make your room bearable. GOOD LUCK.
  • My bike is in the basement.
  • I owe you a plant. One of them did not survive my ministrations. I also owe you a pair of white sunglasses. They did not survive a bicycle mishap :(
  • 'Off to the Races' by lana del ray is pretty good
  • You should watch fate/zero
  • I was gonna dust everything but...that didn't happen
$expanded-grid-breakpoint: new-breakpoint(max-width 1250px);
$collapsed-grid-breakpoint: new-breakpoint(max-width 800px);
#page-header .page-header-content {
@include media($mobile) {
margin: 0;
padding: em(150) em(20) em(100);
text-align: left;
width: 100%;
}
$ = jQuery
doc = $(document)
$window = $(window)
class People
constructor: ->
@_setupPhotoGrid()
@_followPersonLink()
_setupPhotoGrid: ->
- content_for(:title, "#{t('people.title')} - thoughtbot")
%header#page-header
.wrap
.page-header-content
%h2
= t('people.title')
%p
= t('people.details')
= link_to 'http://apprentice.io', title: 'Visit Website' do
%li{id: person.slug, class: 'person', :'data-person-id' => person.slug}<>
= image_tag "people/#{person.image_slug}", alt: person.name
.person-info
%h3= person.name
%h4= person.title
%p= raw person.bio
import UIKit
extension UIView {
class func loadNib() -> UINib {
return UINib(nibName: NSStringFromClass(self.dynamicType), bundle: .None)
}
}
import UIKit
class ViewController: UIViewController, UITableViewDataSource {
let jobTableIdentifier = "JobTableIdentifier"
@IBOutlet weak var tableView: UITableView!
override func viewDidLoad() {
super.viewDidLoad()
@twocathouse
twocathouse / uninstall_all_gems.sh
Created July 15, 2015 21:28
Uninstall All Gems Script
#!/usr/bin/env bash
uninstall() {
list=`gem list --no-versions`
for gem in $list; do
gem uninstall $gem -aIx
done
gem list
gem install bundler
}

Keybase proof

I hereby claim:

  • I am euraldius on github.
  • I am lupinewayfarer (https://keybase.io/lupinewayfarer) on keybase.
  • I have a public key whose fingerprint is D03D 1F69 A153 6801 F69C 6785 6E79 AAFF 3E5B EBC2

To claim this, I am signing this object: