This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Scans directory every at an interval for files, reads all files and creates a pushbullet list notification | |
# Files must have at least 2 lines, the first line is the title used for the notification (groups by this) and the second the message | |
# Multiple lines can be added to one file | |
# | |
require 'eventmachine' | |
require 'faraday' | |
require 'daemons' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'cinch' | |
require 'open-uri' | |
require 'nokogiri' | |
require 'cgi' | |
module Cinch::Plugins | |
class YoURLS | |
include Cinch::Plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'faraday' | |
require 'nokogiri' | |
require 'yaml' | |
require 'json' | |
require 'cgi' | |
class MultiWeather | |
def initialize(*) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# | |
# Forecasts ftp://ftp2.bom.gov.au/anon/gen/fwo/IDA00001.dat | |
# | |
# | |
require 'cinch' | |
require 'nokogiri' | |
require 'open-uri' |
NewerOlder