Skip to content

Instantly share code, notes, and snippets.

Tim Smith TimSmith714

  • West Sussex UK
Block or report user

Report or block TimSmith714

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
TimSmith714 / SouthernStatusEmailer.rb
Last active May 25, 2016
Get the status of some lines and email
View SouthernStatusEmailer.rb
require 'nokogiri'
require 'date'
require 'open-uri'
require 'mail'
options = { :address => 'STMPSERVER',
:port => 'PORT',
:user_name => 'USERNAME',
:password => 'PASSWORD',
:authentication => 'plain',
TimSmith714 / SouthernStatusScraper1.rb
Created May 24, 2016
Southern Railway status scraper
View SouthernStatusScraper1.rb
require 'nokogiri'
require 'date'
require 'open-uri'
lineCodes = ['.bm', '.ge','.re','.me']
goodLines = []
problemLines = []
subjectLine = ''
body = ''
You can’t perform that action at this time.