Skip to content

Instantly share code, notes, and snippets.

View igneus's full-sized avatar

Jakub Pavlík igneus

View GitHub Profile
@igneus
igneus / petynka.rb
Last active August 29, 2015 14:05
Koupaliště Petynka - teplota vzduchu, vody a počet návštěvníků bez otvírání webového prohlížeče
#!/usr/bin/env ruby
# 2015-05-09
#
# prints information from the Koupaliste Petynka's website
require 'mechanize' # interaction with websites
page = Mechanize.new.get('http://www.koupalistepetynka.cz/')
import unittest
import time
import os
_COLOR = {'green': "\x1b[32;01m",
'red': "\x1b[31;01m",
'reset': "\x1b[0m"
}
def red_str(text):
\version "2.16.0"
global = {
% \key c \major
\cadenzaOn % no timing, no automatic bars
% no stem
\override Stem #'transparent = ##t
\override Stem #'Y-extent = ##f