A Pen by Andrea Usseglio Gaudi on CodePen.
This file contains hidden or 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
.row{ | |
@for $i from 1 through 12 { | |
.grid-#{$i} { | |
width: 100% / 12 * $i; | |
float: left; | |
} | |
} | |
clear: both | |
} |
This file contains hidden or 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
from bs4 import BeautifulSoup | |
from pymongo import MongoClient | |
import urllib2 | |
import re | |
import datetime | |
# DB connection | |
client = MongoClient() | |
db = client.test |
This file contains hidden or 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
/* Description : Gruntfile for general Web development | |
* Version : 1.0 | |
* Author : Andrea Usseglio ([email protected]) | |
* License : GPL | |
*/ | |
module.exports = function(grunt) { | |
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks); | |
grunt.initConfig({ |
This file contains hidden or 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
<Directory "/"> | |
Options Indexes MultiViews FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
NameVirtualHost *:80 | |
<virtualHost *:80> |
This file contains hidden or 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
<!-- | |
https://dev.twitter.com/docs/intents | |
[ref] : twitter post ref number | |
--> | |
<!-- Include script --> | |
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> |
This file contains hidden or 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
/** | |
* Multiple line li center | |
*/ | |
ul { | |
list-style-type:none; | |
text-align:center; | |
} | |
li { |
This file contains hidden or 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
$linear: cubic-bezier(0.250, 0.250, 0.750, 0.750) !default; | |
$ease: cubic-bezier(0.250, 0.100, 0.250, 1.000) !default; | |
$ease-in: cubic-bezier(0.420, 0.000, 1.000, 1.000) !default; | |
$ease-out: cubic-bezier(0.000, 0.000, 0.580, 1.000) !default; | |
$ease-in-out: cubic-bezier(0.420, 0.000, 0.580, 1.000) !default; | |
$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530) !default; | |
$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940) !default; | |
$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955) !default; |
This file contains hidden or 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
$.log = function() { | |
var consoleExists = (typeof(console) == "object") && (typeof(console.log) == "function"); | |
if (consoleExists) { | |
if (navigator.userAgent.toLowerCase().indexOf("applewebkit") != -1) { | |
console.log(arguments); | |
} else { | |
console.log.apply(this,arguments); | |
} | |
} | |
} |
This file contains hidden or 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
jade: { | |
compile: { | |
options: { | |
client: false, | |
pretty: true | |
}, | |
files: [ { | |
cwd: "app", | |
src: "**/*.jade", | |
dest: "app/", |