Skip to content

Instantly share code, notes, and snippets.

[{"created":1472916748000,"duration":3600000,"id":"fzqpxlywpbjb","name":"Midtown Tulsa OK: Connect & Learn","rsvp_limit":20,"status":"upcoming","time":1509989400000,"local_date":"2017-11-06","local_time":"11:30","updated":1488070729000,"utc_offset":-21600000,"waitlist_count":0,"yes_rsvp_count":1,"venue":{"id":24030410,"name":"Red Lobster","lat":36.09050750732422,"lon":-95.92521667480469,"repinned":false,"address_1":"4525 E 51st St","city":"Tulsa","country":"us","localized_country_name":"USA","zip":"","state":"OK"},"group":{"created":1461536091000,"name":"Midtown Tulsa, OK - Bold Networking","id":19878659,"join_mode":"approval","lat":36.04999923706055,"lon":-95.87999725341797,"urlname":"Bold-Networking-Midtown-Tulsa-OK","who":"Bold Networking Teammates","localized_location":"Tulsa, OK","region":"en_US"},"link":"https://www.meetup.com/Bold-Networking-Midtown-Tulsa-OK/events/244283509/","description":"<p>Bold Networking teams meet for professional networking and sales growth training. </p> <p><br/>Our teammates
[
{
"created": 1472916748000,
"duration": 3600000,
"id": "fzqpxlywpbjb",
"name": "Midtown Tulsa OK: Connect & Learn",
"rsvp_limit": 20,
"status": "upcoming",
"time": 1509989400000,
"local_date": "2017-11-06",
@staycreativedesign
staycreativedesign / error.haml
Created November 4, 2017 20:17
simple calendar 1.1
ActionView::Template::Error (undefined method `local_date' for #<Hash:0x007fb0c1173120>
Did you mean? local_variables):
1: -# - @meetings.each do |f|
2: -# = f["name"]
3: -# puts "-------------------------------------------------------------------------------------"
4: = month_calendar events: @meetings, attribute: :local_date do |date, meetings|
5: = date.strftime("%e")
6: - meetings.each do |meeting|
7: %div
NoMethodError at /dealers
undefined method `[]' for nil:NilClass
file: main.rb location: block in <top (required)> line: 51
:attachments => {params[:file][:filename] => File.read(params[:file][:tempfile])},
[4] pry(#<OurWorker>)> exit
2017-12-15T18:03:05.492Z 81004 TID-owppemxv4 OurWorker JID-30d6ad72f2dee4cfc0fcddda INFO: fail: 18.405 sec
2017-12-15T18:03:05.493Z 81004 TID-owppemxv4 WARN: {"context":"Job raised exception","job":{"class":"OurWorker","args":["foo",{"name":"","phone":"","email":"[email protected]","company_name":"","company_phone":"","company_website":"","company_address":"","company_billing":"","company_conduct":"","company_colors":"","company_year":"","company_target":"","company_acquisition":"","company_tag":"","company_testimonial":"","company_distributor":"","company_p10":"","company_viasat":"","package":"premium"}],"retry":true,"queue":"default","jid":"30d6ad72f2dee4cfc0fcddda","created_at":1513360345.107556,"enqueued_at":1513360761.607423,"error_message":"undefined method `new' for UpdateSpreadsheet:Module","error_class":"NoMethodError","failed_at":1513360345.109366,"retry_count":2,"retried_at":1513360467.4400399},"jobstr":"{\"class\":\"OurWorker\
session = GoogleDrive::Session.from_service_account_key("Drive-70fa51ce501f.json")
pry(#<FusionGoogle>)> params["file"]
=> {"filename"=>"2018teen-event.jpg",
"type"=>"image/jpeg",
"name"=>"file",
"tempfile"=>"/var/folders/76/htzn7pq92wlbmj5nz9ch2kth0000gn/T/RackMultipart20171222-8745-11dq5ae.jpg",
"head"=>"Content-Disposition: form-data; name=\"file\"; filename=\"2018teen-event.jpg\"\r\nContent-Type: image/jpeg\r\n"}
# cat << EOF > /dev/null
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# /!\ do not edit this file
# instead, override settings in ~/.tmux.conf.local, see README.md
# -- general -------------------------------------------------------------------
# https://github.com/gpakosz/.tmux
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
# without any warranty.
# Copyright 2012— Gregory Pakosz (@gpakosz).
# -- navigation ----------------------------------------------------------------
# if you're running tmux within iTerm2
# - and tmux is 1.9 or 1.9a
#bgndVideo.player{"data-property" => "{videoURL:'http://youtu.be/BsekcY04xvQ',containment:'body',autoPlay:true, mute:true, startAt:0, opacity:1}"}
Invalid CSS after "#bgndVideo.player": expected selector, was "{"data-property..."
2.4.1 :026 > v
=> #<Hashie::Mash data=#<Hashie::Array [#<Hashie::Mash attribution=nil caption=#<Hashie::Mash created_time="1515770468" from=#<Hashie::Mash full_name="Live Streaming Fitness" id="1567113670" profile_picture="https://scontent.cdninstagram.com/t51.2885-19/11208400_373248376211786_817536808_a.jpg" username="livestreamingfitness"> id="17878672702198051" text="Time to take a break and fuel your body with the best fuel FOR your body. Some good Ol' water! Your body needs this to keep it going, and when you are working as hard as you all have been you need to get your fill! So stay Healthy and stay Hydrated. -LivestreamingFitness.com\n\n#health #fitness #fit #socialenvy #LSFIT #fitnessmodel #fitnessaddict #fitspo #workout #bodybuilding #cardio #gym #train #training #health #healthy #instahealth #healthychoices #active #strong #motivation #instagood #determination #lifestyle #diet #getfit #cleaneating #eatclean #exercise"> comments=#<Hashie::Mash count=0> created_time="1515770468" filter="Normal" id="1