Skip to content

Instantly share code, notes, and snippets.

View tonycaputome's full-sized avatar
🏠
Working from home

Antonio Caputo tonycaputome

🏠
Working from home
  • Frontend Engineer
  • Milan, Italy
View GitHub Profile
@tonycaputome
tonycaputome / circle-menu.css
Last active August 29, 2015 13:57
Position icons into circle (SO)
/**
* Position icons into circle (SO)
* http://stackoverflow.com/q/12813573/1397351
*/
.circle-container {
position: relative;
width: 24em;
height: 24em;
padding: 2.8em; /*= 2em * 1.4 (2em = half the width of an img, 1.4 = sqrt(2))*/
border: dashed 1px;
@tonycaputome
tonycaputome / dabblet.css
Created March 25, 2014 16:11
Position icons into circle (SO)
/**
* Position icons into circle (SO)
* http://stackoverflow.com/q/12813573/1397351
*/
.circle-container {
position: relative;
width: 24em;
height: 24em;
padding: 2.8em; /*= 2em * 1.4 (2em = half the width of an img, 1.4 = sqrt(2))*/
border: dashed 1px;
@tonycaputome
tonycaputome / index.jade
Created March 25, 2014 20:47
A Pen by Antonio .
section
.container
.col
ul.circle-container
li(class='item')
a(class='active', href='#') 1
li(class='item')
a(href='#') 2
li(class='item')
a(href='#') 3
@tonycaputome
tonycaputome / index.html
Last active August 29, 2015 13:58
A Pen by Antonio .
<div class="nav-mobile"></div>
<div class="central-menu show">
<nav role='navigation'>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Clients</a></li>
@function linear() {
@return cubic-bezier(0.250, 0.250, 0.750, 0.750); }
@function ease() {
@return cubic-bezier(0.250, 0.100, 0.250, 1.000); }
@function ease-in() {
@return cubic-bezier(0.420, 0.000, 1.000, 1.000); }
@function ease-in-quad() {
@return cubic-bezier(0.550, 0.085, 0.680, 0.530); }
<?php
/**
* By default instagram doesn't allow us to query for more than
* attribute, such as media posted by a specific author tagged with
* a specific tag. In order to accomplish this we will acquire all of
* the media tagged with the tag we are looking for and then filter it
* down based on the user.
*/
@tonycaputome
tonycaputome / codeigniter_htaccess
Last active October 2, 2015 21:48 — forked from muhittin/codeigniter_htaccess
Apache : Codeigniter htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1
</IfModule>
@tonycaputome
tonycaputome / jquery.boilerplate.js
Created April 7, 2012 12:17
Javascript : jQuery plugin boilerplate
// remember to replace all occurences of:
// boilerplate
// with your plugin namespace
(function ($) {
var settings = {
'setting': 'value'
};
@tonycaputome
tonycaputome / dabblet.css
Created April 9, 2012 08:48 — forked from anonymous/dabblet.css
CSS : Map Pins
/* CSS map pins */
body {
text-align: center;
margin: 80px;
background: #eee;
}
.pin.a {
display: inline-block;
@tonycaputome
tonycaputome / sublime-text-3-build-3065-license.md
Created October 22, 2015 16:57
Sublime Text 3 (build 3065+) - VALID License

SublimeText3 Valid License without cracking! Just download/install then use this license.

Notice that it may not work on dev builds, but still works on 3083 build!

----- BEGIN LICENSE -----

Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F