I hereby claim:
- I am antoniotrento on github.
- I am antoniotrento (https://keybase.io/antoniotrento) on keybase.
- I have a public key whose fingerprint is 164F 7247 709A FB1E F667 D32A E6A7 0EDE 3027 8EA5
To claim this, I am signing this object:
/* | |
* Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/ | |
*/ | |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} |
I hereby claim:
To claim this, I am signing this object:
/* | |
Based on: | |
1. http://stephen.io/mediaqueries | |
2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
*/ | |
/* iPhone 6 in portrait & landscape */ | |
@media only screen | |
and (min-device-width : 375px) | |
and (max-device-width : 667px) { |
#!/usr/bin/env python | |
# | |
# Extracts email addresses from one or more plain text files. | |
# | |
# Notes: | |
# - Does not save to file (pipe the output to a file if you want it saved). | |
# - Does not check for duplicates (which can easily be done in the terminal). | |
# | |
# (c) 2013 Dennis Ideler <[email protected]> |
# Small Python Script to scrape websites for | |
# email addresses and phone numbers(not a very great RE) | |
# Author: Dhruv Baldawa (@dhruvbaldawa on twitter) | |
# Github: http://www.github.com/dhruvbaldawa | |
import urllib,re | |
f = urllib.urlopen("http://www.example.com") | |
s = f.read() | |
re.findall(r"\+\d{2}\s?0?\d{10}",s) | |
re.findall(r"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}",s) |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
0. You just DO WHAT THE FUCK YOU WANT TO. |
/*http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/*/ | |
/*At least requires the meta viewport tag with content 'width=device-width'*/ | |
@media only screen and (max-width: 1080px) and (orientation : portrait) { | |
/* PORTRAIT: | |
Windows Surface Pro*/ | |
} | |
@media only screen and (max-width: 800px) and (orientation : portrait) { | |
/* PORTRAIT: | |
Acer Iconia Tab A100 |
# Patches Jekyll's built-in pagination to work with files *other* than the base index.html. | |
# Expects the following to be specified in your _config.yml: | |
# | |
# paginate_base: "blog" # Puts all pagination folders in the "blog" dir, e.g. "/blog/page2" | |
# paginate_index: "blog/index.html" # Paginates using the specified file | |
module Jekyll | |
class Page | |
#!/usr/bin/env python | |
import itertools | |
import json | |
import logging | |
import sys | |
import time | |
import traceback | |
# oauth2 is available at https://github.com/simplegeo/python-oauth2 | |
import oauth2 |
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ $scheme://example.com$request_uri?; | |
} | |
server { | |
listen 80; | |
server_name example.com; | |