Skip to content

Instantly share code, notes, and snippets.

🤔
👨‍💻

Craig Treptow (Work) ctreptow

🤔
👨‍💻
Block or report user

Report or block ctreptow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ctreptow
ctreptow / remote_experiment_thoughts.md
Last active Sep 20, 2018
Remote Experiment Thoughts
View remote_experiment_thoughts.md

Background

We spoke the other day about the experiment, and you asked if I would write down some thoughts. So, here they are. ;)

Good

  • Zoom has been pretty easy to use for people not in the Citrix environment (see Not So Good section as well)
  • Trello has worked pretty well for people
    • Easy to organize
    • Easy to ask questions and get answers asynchronously
    • No more "the card must have fallen off"
    • It is easy to rewrite cards and change the color without losing any details that were originally included
@ctreptow
ctreptow / csv_export.rb
Last active Jul 20, 2017 — forked from foxumon/csv_export.rb
Export table to CSV with all attributes in rails console
View csv_export.rb
#require 'csv'
file = "#{Rails.root}/public/data.csv"
bonds = CommercialBond.where(agency_id: 10943);0 # ";0" stops output. Change "User" to any model.
CSV.open( file, 'w' ) do |writer|
writer << bonds.first.attributes.map { |a,v| a }
bonds.each do |s|
writer << s.attributes.map { |a,v| v }
You can’t perform that action at this time.