Skip to content

Instantly share code, notes, and snippets.

View shabunc's full-sized avatar

Shahen Ohanjanyan shabunc

View GitHub Profile
@shabunc
shabunc / server.py
Created December 22, 2016 05:07
minimal python content-length mismatch example
import SimpleHTTPServer
import SocketServer
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
PORT = 8000
class myHandler(BaseHTTPRequestHandler):
#Handler for the GET requests
def do_GET(self):
@shabunc
shabunc / dabblet.css
Created July 30, 2013 19:47
Untitled
.conveyer {
background: linen;
position: relative;
text-align: center;
animation: moveright 20s infinite alternate;
}
@keyframes moveright {
from {
left: 0px;
.wrapper {
display: -webkit-flex;
-webkit-flex-direction: column;
width: 400px;
}
.header {
background: tomato;
}
li:last-child,
li:nth-last-child(2),
li:nth-last-child(3) {
color: orange;
}
.ft {
background: green;
width: 100%;
}
.ft td:first-child {
width:100%;
}
.ft .wrapper {
@shabunc
shabunc / dabblet.css
Created October 9, 2012 11:47
Untitled
.container {
outline: 1px solid red;
width: 200px;
overflow: visible;
margin-top: 200px;
margin-left: 200px;
}
.child {
outline: 1px solid blue;
@shabunc
shabunc / dabblet.css
Created August 21, 2012 16:35
Untitled
.parent {
outline: 1px solid red;
width: 300px;
height: 500px;
overflow: auto;
}
.content {
outline: 1px solid orange;
}
button.header {
border: 1px solid red;
background: linen;
width: 300px;
height: 50px;
}
@shabunc
shabunc / dabblet.css
Created April 26, 2012 09:22
Untitled
td {
border: 1px solid red;
border-radius: 5px 5px;
}
@shabunc
shabunc / dabblet.css
Created April 26, 2012 05:43
Untitled
table {
border: 1px solid red;
height: 200px;
width: 400px;
}
thead td {
min-height: 10px;
}