Skip to content

Instantly share code, notes, and snippets.

@aseeon
aseeon / fullhd.css
Created June 24, 2016 17:56
Just Read custom theme
body {
font-family: 'Calibri', 'Georgia', sans-serif;
background-color: #F3F2EE;
color: #1F0909;
}
a, a:visited, a:hover {
color: #065588;
text-decoration: none;
}
@SamiecAlfa // klasa.
// zmienne.
#oswiadczenie string tekst = "hello world"
#oswiadczenie int liczba = 10
// deklaracja zmiennej z automatycznym zgadywaniem typu
#oswiadczeniezdupy zgadnij = 42
// wskaznik pozwala na grzebanie w pamieci, bez tagu #nsfw obiekt bedzie normalnym obiektem.
@aseeon
aseeon / euler.number.py
Created September 4, 2014 13:57
Find e to the Nth Digit. Enter a number and have the program generate e up to that many decimal places. Keep a limit to how far the program will go
""""Find e to the Nth Digit
Enter a number and have the program generate e up to that many decimal places.
Keep a limit to how far the program will go"""
from math import e
def e_with_precision(n):
"""Return euler's number to the n-th decimal place
@aseeon
aseeon / gmail_from_python.py
Created July 11, 2009 15:36
Sending Email from Python scripts using Gmail account
#!/usr/bin/python
# Thanks to Hal Otis
# http://www.halotis.com/2009/07/11/sending-email-from-python-using-gmail/
# for the script!
import smtplib
from email.MIMEText import MIMEText
GMAIL_LOGIN = '[email protected]'