Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Sagara esagara

View GitHub Profile
@esagara
esagara / raspberry_pi_resources.md
Last active May 1, 2019
Resources for the Raspberry Pi
View raspberry_pi_resources.md

#Raspberry Pi Resources

Today you will be taking home a Raspberry Pi Zero along with some of the hardware you need to get started. You will need to install an operating system on the card provided with the Raspberry Pi Zero (See link below for instructions).

##What you will be getting

  • Raspberry Pi Zero
  • Power source (Only use the provided power source, other cables may fry your Pi)
  • Micro-USB adaptor
  • Micro-HDMI adaptor
View activerecord-csv.rb
puts contributions.map{|q| '"' + q.instance_values['attributes'].values.join('","') + '"' }.join("\n")
View gist:9355420
#mia #yearlycost th, #mia #yearlycost .header{
font-size: 11px;
text-transform: uppercase;
color: #999;
font-weight: normal;
}
#mia #yearlycost td, th {
padding: 10px;
text-align: left;
View uscode.rb
class USCode
SEARCH_ENDPOINT = "http://uscode.house.gov/uscode-cgi/fastweb.exe?search"
@@search_params = {
:view => "uscview",
:db2 => "t01t04" ,
:db3 => "t05t08" ,
:db4 => "t09t12" ,
:db5 => "t13t16" ,
:db6 => "t17t20" ,
:db7 => "t21t25" ,