Skip to content

Instantly share code, notes, and snippets.

View gschorkopf's full-sized avatar

Geoffrey Schorkopf gschorkopf

View GitHub Profile
Best Albums of 2022
-------------------
Disappointments:
Mitski - Laurel Hell
Arcade Fire - WE
Arctic Monkeys - The Car
Angel Olsen - Big Time
Flume - Palaces
Top Tracks of 2020
100. Runaway Dog - Retirement Party
99. Time to Walk Away - Washed Out
98. Cellular - King Krule
97. Identical - Phoenix
96. Thriving - Diet Cig
95. How Far? (feat. Tony Allen and Skepta) - Gorillaz
94. Robber - The Weather Station
93. Tropic Laurel - Baths
The 1975 - Love It If We Made It
A$AP Rocky, Frank Ocean - Purity
Against All Logic - Some Kind of Game
Against All Logic - Such a Bad Way
altopalo - Frozen Away
altopalo - (Head in a) Cloche
altopalo - Terra
Amen Dunes - Miki Dora
Amen Dunes - Believe
Anderson .Paak - Bubblin
@gschorkopf
gschorkopf / albums_2018.txt
Created December 21, 2018 22:54
albums_2018
25. Father John Misty - God's Favorite Customer
24. Frankie Cosmos - Vessel
23. Hookworms - Microshift
22. The Internet - Hive Mind
21. Robyn - Honey
20. Car Seat Headrest - Twin Fantasy
19. altopalo - frozenthere
18. DJ Koze - Knock Knock
17. Let's Eat Grandma - I'm All Ears
16. Amen Dunes - Freedom
Ember Meetup is becoming “ATL Computer Club DOT Com” and/or “Talking Shop Meetup” / Secondary Title "Friends who Develop who have Jobs Maybe* That like To Share knowledge"
* “Accept our fate” - Patrick <- he hates Ember. JK.
* Changing the name from “Ember Meetup”, as we’ve already been talking about things other than Ember for a while
* Open it up to Ruby meetup / advertise, “Hack Night” attendees could be merged
* Proposed ideas / topics:
* Containerization (docker)
* Deployment (heroic, AWS)
* Tech problems (bugs)
* How to get a job (newbies / second jobs)
100. Three Packs a Day – Courtney Barnett
99. Earth To Heaven – Esperanza Spalding
98. NIV – Lambchop
97. Watching the Waiting – Wye Oak
96. The Noisy Days Are Over – Field Music
95. Kung Fu – Baauer, Pusha T, Future
94. I'm In Control – AlunaGeorge, Popcaan
93. Cute – D.R.A.M.
92. Boyfriend – Tegan and Sara
91. Valleys Of The Young – Andrew Bird
Geoff gave Michael:
* New Order - Power, Corruption, and Lies (some time in 2012?)
* I forget this era...
* Raekwon - Only Built 4 Cuban Linx (Nov 9, 2016)
* The Notwist - Neon Golden (May 31, 2016)
* The Microphones - Mount Eerie (March, 2017)
* Kishi Bashi - 151a (Nov, 2017)
Michael gave Geoff:
$ irb
# Into the console!
> require 'open-uri'; require 'nokogiri' # requiring the libraries you need. you might need to 'gem install nokogiri' for this to work
=> true # it's been required!
> doc = Nokogiri::HTML(open('https://bluebottlecoffee.com/store/bella-donovan')) # opening the Blue Bottle website in nokogiri, turning it into Ruby
=> #<Nokogiri::HTML::Document:0x3fc5d1cd4bd8 name="document" ... etc.
> doc.css('.mb30').children.text # let's find the CSS for coffee notes, and find the text
=> "Heavy, comforting, deeply-fruited " # here it is!
Hum. I don't think I know of a good way to do that that isn't a bit meta-y. I assume you're saying, for this group of policy methods, return false if ```assigned_to_company?``` is false.
Here's a fun thing I found with help from the interwebs. Whether it's a good solution or not is up for debate.
```ruby
module CompanyPolicyHelper
def check_company_affiliation_for(*methods)
methods.each do |method_name|
method = instance_method(method_name)
define_method(method_name) do |*args, &block|
@gschorkopf
gschorkopf / ff_script.rb
Last active September 1, 2016 17:50
FF Script
%w(Willie Brian Kush Jenna Alex Angela Logesh Abby Geoff Izaak Sarah Kyle).shuffle.each_with_index do |player, i|
puts "#{i + 1}. #{player.split('_').join(' ')}"
end