Skip to content

Instantly share code, notes, and snippets.

@sa1f
sa1f / logo.py
Last active June 18, 2019 15:57
from io import BytesIO
import urllib3
import tkinter as tk
from PIL import Image, ImageTk
root = tk.Tk()
url = "https://logo.clearbit.com/spotify.com" # Put companyname.com at the end
http = urllib3.PoolManager()
@sa1f
sa1f / dabblet.css
Last active December 18, 2015 07:09
Mr. Singh
body {
background: darkslategrey url('http://subtlepatterns.com/patterns/concrete_wall.png');
color: Gainsboro;
text-align: center;
margin-top: 12em;
}
h1 {
font: Bold 8em monospace;
text-transform: uppercase;
@sa1f
sa1f / dabblet.css
Created June 9, 2013 18:35
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
* {
background: #eee;
text-align: center;
margin-top: 100px;
font-size: 1.75em;
text-transform: uppercase;
  • perform system update
    • if you do it later it will ask for all kind of permissions to override various config files
    • change password for root
      • default password is user
  • Fix trackpad
  • logout and log back in
@sa1f
sa1f / dabblet.css
Created April 15, 2013 23:54
Green bitmap w/ cyan pixel border
/**
Green bitmap w/ cyan pixel border */
body{
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFUlEQVQIW2Pk4uL6z4AGGIF8agsCADOeBR+WDLDtAAAAAElFTkSuQmCC);
min-height: 100%; }
#logo {
color: lime;
-webkit-font-smoothing:none;
font: 20em ProggyCleanTT CE ;
text-align: center;;}
@sa1f
sa1f / dabblet.css
Created July 20, 2012 20:50
Crimson
/**
* Crimson
*/
* {
margin: 0;
padding: 0;}
body {
background: #FF2F30;}
h4 {
@sa1f
sa1f / dabblet.css
Created July 20, 2012 11:46
Crimson
/**
* Crimson
*/
* {
margin: 0;
padding: 0;}
body {
background: #FF2F30;}
h4 {
@sa1f
sa1f / dabblet.css
Created July 20, 2012 09:45
Green bitmap w/ cyan pixel border
/**
Green bitmap w/ cyan pixel border */
body{
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFUlEQVQIW2Pk4uL6z4AGGIF8agsCADOeBR+WDLDtAAAAAElFTkSuQmCC);
min-height: 100%; }
#logo {
color: lime;
-webkit-font-smoothing:none;
@sa1f
sa1f / first.gist.io.md
Created July 18, 2012 23:49
This would be my first public gist.io post

First

There's a sense of emptiness i'm feeling writing this. This would technically be my first 'neither blog nor tweet kind of post. I don't know what exactly I expect. Probably a readability style palatino on a white page with red links. I love red links on a white background. I guess I'll just end off there.

Tests

Just as a test, I'll write some dummy text to test out all the formatting features of gist.io

What I expect

@sa1f
sa1f / dabblet.css
Created July 16, 2012 09:56
Green bitmap w/ cyan pixel border
/**
Green bitmap w/ cyan pixel border */
body{
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAFUlEQVQIW2Pk4uL6z4AGGIF8agsCADOeBR+WDLDtAAAAAElFTkSuQmCC);
min-height: 100%; }
#logo {
color: lime;
-webkit-font-smoothing:none;