This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
hellox -- Hello world with Xlib. | |
$(CC) -o hellox hellox.c -lX11 -L/usr/X11/lib | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img:hover { | |
transform: rotateY(180deg); | |
transition: all 1s ease 0s; | |
} | |
img { | |
transition: all 1s ease 0s; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.badge { | |
font-family: DejaVu Sans, Verdana, Geneva, sans-serif; | |
font-size: 11px; | |
color: white; | |
} | |
.badge.tag { | |
background-color: #4c4c4c; | |
padding: 2px 4px 3px 7px; | |
border-radius: 4px 0 0 4px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.valid { | |
background-image: url(http://lorempixel.com/20/20); | |
background-repeat: no-repeat; | |
background-position: right center; | |
padding-right: 25px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!localStorage) { | |
console.log('unavailable'); | |
} else { | |
var max = 'x', s; | |
var lower_bound = 1, upper_bound = 1, middle; | |
// determine lower and upper bound | |
try { | |
while (true) { | |
localStorage.setItem('test', max); |