Skip to content

Instantly share code, notes, and snippets.

View semahawk's full-sized avatar
💭
no tak

Szymon Urbaś semahawk

💭
no tak
  • Wrocław, Poland
View GitHub Profile
@semahawk
semahawk / menu.lst
Created April 18, 2012 18:25
My menu.lst file.
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
@semahawk
semahawk / .gitignore
Created April 12, 2012 19:04
Dni do końca roku
*.o
dni-do-konca
@semahawk
semahawk / dni-do-konca.py
Created April 11, 2012 18:04
Dni do końca roku (by Grześ)
#-*- encoding: utf-8 -*-
#obliczanie ilości dni do końca roku szkolnego
import datetime
rok = datetime.datetime.now().year
if (rok % 4 == 0 and rok % 100 != 0) or rok % 100 == 0:
prz=True