Skip to content

Instantly share code, notes, and snippets.

Avatar

Paul Schreiber paulschreiber

View GitHub Profile
View TIFF.rb
# TIFF.rb
# by Paul Schreiber <paulschreiber at gmail.com>
# 09 June 2010
#
# Based on JPEG.rb by Remco van't Veer and imagesize by Keisuke Minami <keisuke@rccn.com>
# http://snippets.dzone.com/posts/show/805
# http://blog.remvee.net/2005/12/02/hoogte_en_breedte_van_een_JPEG (JPEG
# http://rubyforge.org/projects/imagesize/
class TIFF
View gist:440058
# extract_fixtures.rake
# by Paul Schreiber <paulschreiber at gmail.com>
# 15 June 2010
#
# I got this from Peter Gulezian <http://metoca.net/>
# Looks like another version is here
# <http://redmine.rubyforge.org/svn/trunk/lib/tasks/extract_fixtures.rake>
#
# This is the inverse of the built-in rake db:fixtures:load
#
View MA-Town-Clerks.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have columns, instead of 16. in line 4.
Town,Title,Street,City,State,Zip,County,Latitude,Longitude,Error,Mailing Street,Mailing City,Mailing State,Mailing Zip,Phone,Fax,Email,Web,Hours
Abington,Office of the Town Clerk,500 Gliniewicz Way,Abington,MA,02351,Plymouth,42.117569,-70.956284,,"TOWN HALL 500 GLINIEWICZ WAY",ABINGTON,MA,02351-2058,(781) 982-2112,(781) 982-2138,ladams@abingtonmass.com,http://www.abingtonmass.com/,M-Th: 8:30a-4:30p; F: 8:30a-12:30p
Acton,Office of the Town Clerk,472 Main Street,Acton,MA,01720,Middlesex,42.485806,-71.433586,,"TOWN HALL 472 MAIN ST",ACTON,MA,01720-3952,(978) 929-6620,(978) 264-9630,clerk@acton-ma.gov,http://www.acton-ma.gov/,M-F: 8a-5p
Acushnet,Town Clerk’s Office,122 Main Street,Acushnet,MA,02743,Bristol,41.682774,-70.909793,,122 MAIN ST,ACUSHNET,MA,02743-1548,(508) 998-0215,(508) 998-0216,plabonte@acushnettown.mec.edu,http://www.acushnet.ma.us/,"M, W-F: 8a-4p; Tu: 8a-8p"
Adams,Town Clerk,8 Park Street,Adams,MA,01220,Berkshire,42.620503,-73.120589,,8 PARK ST STE 110,ADAMS,MA,01220-2090,(413) 743-8320,(413) 743
View California County Election Offices
Alameda Registrar of Voters 1225 Fallon Street, Room G-1 Oakland 94612-4229 (510) 272-6933 (510) 272-6982 8:30 a.m. - 5:00 p.m. http://www.acgov.org/rov/index.htm
Amador Registrar of Voters 810 Court Street Jackson 95642-2132 (209) 223-6465 (209) 223-6467 8:00 a.m. - 5:00 p.m. Elections@co.amador.ca.us http://www.co.amador.ca.us/index.aspx?page=77
Butte County Clerk-Recorder-Registrar 25 County Center Drive, Suite 110 Oroville 95965-3366 (530) 538-7761 (530) 538-6853 9:00 a.m. - 5:00 p.m. elections@buttecounty.net http://clerk-recorder.buttecounty.net/
Calaveras County Clerk 891 Mountain Ranch Road San Andreas 95249-9713 (209) 754-6376 (209) 754-6733 8:00 a.m. - 4:00 p.m. http://www.co.calaveras.ca.us/departments/recorder.asp
Colusa County Clerk-Recorder 546 Jay Street, Suite 200 Colusa 95932-2400 (530) 458-0500 (530) 458-0512 8:30 a.m. - 5:00 p.m. info@colusacountyclerk.com http://www.colusacountyclerk.com/
Del Norte Acting County Clerk-Recorder 981 H Street, Room 160 Crescent City 95531-3
View New Jersey County Election Offices
Atlantic County Clerk 5901 MAIN ST MAYS LANDING 08330-1701 609-641-7867 http://www.atlanticcountyclerk.org/
Bergen County Clerk 1 BERGEN COUNTY PLZ RM 130 HACKENSACK 07601-7062 201-336-7073 http://www.co.bergen.nj.us/countyclerk/
Burlington County Clerk PO BOX 6000 MOUNT HOLLY 08060-6000 609-265-5122 http://www.co.burlington.nj.us/pages/viewdepartment.aspx?did=2
Camden County Clerk PO BOX 150 CAMDEN 08101-0150 856-225-7219 countyclerk@camdencounty.com http://www.camdencounty.com/government/elected-officials/county-clerk
Cape May County Clerk PO BOX 5000 CAPE MAY CH 08210-5000 609-465-1013 coclerk@co.cape-may.nj.us http://www.capemaycountygov.net/cit-e-access/webpage.cfm?tid=5&tpid=417
Cumberland County Clerk PO BOX 716 BRIDGETON 08302-0461 856-453-4860 http://www.co.cumberland.nj.us/content/173/2133/3337/3363.aspx
Essex County Clerk PO BOX 690 NEWARK 07101-0690 973-621-4921 info@essexclerk.com http://www.essexclerk.com/
Gloucester County Clerk PO BOX 129 WOODBURY 08096-7129 856-853-3241 jhogan@co.gloucest
View New York County Election Offices
Richmond County Board of Elections 1 EDGEWATER ST STATEN ISLAND 10305-4900 718-876-0079
Rockland County Board of Elections 11 NEW HEMPSTEAD RD NEW CITY 10956-3664 845-638-5172
Erie County Board of Elections 134 W EAGLE ST STE 311 BUFFALO 14202-3896 716-858-8891
Clinton County Board of Elections 137 MARGARET ST STE 104 PLATTSBURGH 12901-4589 518-565-4740
Otsego County Board of Elections 140 COUNTY HIGHWAY 33W COOPERSTOWN 13326-4953 607-547-4247
Rensselaer County Board of Elections 1600 7TH AVE STE 2 TROY 12180-3491 518-270-2990
Jefferson County Board of Elections 175 ARSENAL ST RM 404 WATERTOWN 13601-2543 315-785-3027
Bronx County Board of Elections 1780 GRAND CONCOURSE FL 5 BRONX 10457-5597 718-299-9017
New York County Board of Elections 200 VARICK ST RM 1000 NEW YORK 10014-4892 212-886-2100
Fulton County Board of Elections 2714 STATE HIGHWAY 29 STE 1 JOHNSTOWN 12095-4041 518-736-5526
View Pennsylvania County Election Offices
Adams County Board of Elections 111-117 Baltimore Street Gettysburg 17325-2312
Allegheny County Board of Elections 542 Forbes Avenue, Suite 609 Pittsburgh 15219-2925
Armstrong County Board of Elections 450 East Market street, Suite 207 Kittanning 16201-1464
Beaver County Board of Elections 810 Third Street Beaver 15009-2139
Bedford County Board of Elections 200 South Juliana Street, 3rd Floor Bedford 15522-1713
Berks County Board of Elections 633 Court Street, 1st Floor Reading 19601-4302
Blair County Board of Elections 423 Allegheny Street, Suite 43 Hollidaysburg 16648-2022
Bradford County Board of Elections 301 Main Street Towanda 18848-1878
Bucks County Board of Elections 55 E. Court St. Doylestown 18901-4318
Butler County Board of Elections 124 W. Diamond Street Butler 16001-5780 PO BOX 1208 BUTLER 16003-1208
View Connecticut Town Election Offices
Andover Town Clerk 17 SCHOOL RD ANDOVER 06232-1526 860-742-0188 X 2 860-742-7535 ancovertownclerk@sbcglobal.net
Ashford Town Clerk 5 TOWN HALL RD ASHFORD 06278-1530 860-487-4401 860-487-4431 bmetsack@ashfordtownhall.org
1 Barkhamsted Town Clerk 67 RIPLEY HILL RD. BARKHAMSTED 06063-3340 860-379-8665 860-379-9284 mmullady@barkhamsted.us
1 Berlin Town Clerk 240 KENSINGTON RD BERLIN 06037-2647 860-828-7075 860-828-8628 kwall@town.berlin.ct.us
Bethel Town Clerk 1 SCHOOL ST BETHEL 06801-1828 860-794-8505 860-794-8588 berghl@betheltownhall.org
1 Ansonia Town Clerk 253 MAIN ST. ANSONIA 06401-1866 203-736-5980 203-736-5982 m.inky.421@hotmail.com
Avon Town Clerk 60 W MAIN ST AVON 06001-3719 860-409-4311 860-677-8426 adearstyne@town.avon.ct.us
Beacon Falls Town Clerk 10 MAPLE AVE BEACON FALLS 06403-1114 203-729-8254 203-720-8204 ace911emt@yahoo.com
Bethany Town Clerk 40 PECK RD BETHANY 06524-3322 203-393-2100 x 104 203-393-0821 namccarthy@bethany-ct.com
Bethlehem Town Clerk PO BOX 160 BETHLEHEM 06751-0160 203-266
View Rhode Island Town Election Offices
Barrington Board of Canvassers 283 COUNTY RD BARRINGTON 02806-2406 8:30 am - 4:30 pm Monday - Friday (401) 247-1900 x4 (401) 247-3765 lderois@barrington.ri.gov
Bristol Board of Canvassers 10 COURT ST BRISTOL 02809-2234 8:30 am - 4:00 pm Monday - Friday (401) 253-7000 x21 (401) 253-3080 lpcirillo@bristolri.us
Burrillville Board of Canvassers 105 HARRISVILLE MAIN ST HARRISVILLE 02830-1403 8:30 am-4:30 pm: Mon-Wed 8:30 am-7:00 pm: Thurs.; 8:30 am-12:30 pm: Fri. (401) 568-4300 x112 (401) 568-0490 lphaneuf@burrillville.org
Central Falls Board of Canvassers 580 BROAD ST CENTRAL FALLS 02863-2835 8:30 am - 4:30 pm Monday - Friday (401) 727-7450 (401) 724-2031 boc@centralfallsri.us
Charlestown Board of Canvassers 4540 S COUNTY TRL CHARLESTOWN 02813-3454 8:30 am - 4:30 pm Monday - Friday (401) 364-1200 (401) 364-1238 clerk@charlestownri.org
Coventry Board of Canvassers 1670 FLAT RIVER RD COVENTRY 02816-8909 8:30 am - 4:30 pm Monday - Friday (401) 822-9150 (401) 822-9132 landerson@town.coventry.ri.us
Cranston Boar
View Maine Election Offices
Albany Twp 1420 HUNTS CORNER RD ALBANY TWP ME 04217-6530 (207) 824-3191
Albion 22 MAIN ST ALBION ME 04910-6142 (207) 437-2900 (207) 437-2903
Alexander 50 COOPER RD ALEXANDER ME 04694-6331 (207) 454-3011 (207) 454-3011
Allagash 1077 ALLAGASH RD ALLAGASH ME 04774-4010 (207) 398-3198 (207) 398-4229
Alna 1568 ALNA RD ALNA ME 04535-3603 (207) 586-5313 (207) 586-5567
Alton 3352 BENNOCH RD ALTON ME 04468-4224 (207) 394-2601 (207) 394-3271
Amherst 638 AIRLINE RD AMHERST ME 04605-8430 (207) 584-2173
Appleton 2915 SENNEBEC RD APPLETON ME 04862-6221 (207) 785-4722 (207) 785-3166
Arrowsic 340 ARROWSIC RD ARROWSIC ME 04530-7204 (207) 443-4609 (207) 442-9082
Arundel 468 LIMERICK RD ARUNDEL ME 04046-8314 (207) 985-4201 (207) 985-7589