Skip to content

Instantly share code, notes, and snippets.

View lastguest's full-sized avatar
❄️
I may be slow to respond.

Stefano Azzolini lastguest

❄️
I may be slow to respond.
View GitHub Profile
@lastguest
lastguest / gist:2029977
Created March 13, 2012 17:14
Open Graph
<?php
/**
* ...
*/
class OpenGraphNode extends OpenGraph
{
public $id;
public $object;
@lastguest
lastguest / dabblet.css
Created June 6, 2012 09:24 — forked from anonymous/dabblet.css
Untitled
.button
{
display: inline-block;
position:absolute;
left:50%;
top:50%;
margin-top:-50px;
margin-left:-150px;
height:auto;
width:auto;
@lastguest
lastguest / LICENSE.txt
Created August 6, 2012 13:26 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@lastguest
lastguest / LICENSE.txt
Created August 6, 2012 13:44 — forked from p01/LICENSE.txt
Music SoftSynth
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mathieu 'p01' Henri http://www.p01.org/releases/
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@lastguest
lastguest / dabblet.css
Created August 21, 2012 09:31 — forked from daneden/dabblet.css
Photo Stack Gallery
/**
* Photo Stack Gallery
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@lastguest
lastguest / dabblet.css
Created August 29, 2012 09:26 — forked from JoelBesada/dabblet.css
CSS States
/* CSS States */
body {
background: url(http://dabblet.com/img/noise.png);
background-color: #F5F2F0;
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.6em;
text-shadow: 0 2px 0 white;
color: #222;
}
@lastguest
lastguest / chrome.md
Created February 10, 2013 22:44 — forked from 0xjjpa/chrome.md

#Introduction

Developing Chrome Extensions is REALLY fun if you are a Front End engineer. If you, however, struggle with visualizing the architecture of an application, then developing a Chrome Extension is going to bite your butt multiple times due the amount of excessive components the extension works with. Here are some pointers in how to start, what problems I encounter and how to avoid them.

Note: I'm not covering chrome package apps, which although similar, work in a different way. I also won't cover the page options api neither the new brand event pages. What I explain covers most basic chrome applications and should be enough to get you started.

Table of Contents

  1. Understand the Chrome Architecture
  2. Understand the Tabs-Extension Relationship
  3. Picking the right interface for the job
@lastguest
lastguest / Download WP.sh
Last active September 6, 2017 09:42 — forked from mmgj/Download WP.txt
[Download WP]
#!/bin/sh
wget http://wordpress.org/latest.zip && unzip latest.zip ; mv wordpress/* ../* ; rm -rf wordpress ; rm latest.zip ; exit
@lastguest
lastguest / gist:5017485
Last active September 6, 2017 09:40 — forked from kennethreitz/gist:324961
ASCII Faces #ascii #fun #meme
:⌉
=⌉
¦-) as opposed to |
⍥ om nom nom
@lastguest
lastguest / dabblet.css
Created March 4, 2013 00:24 — forked from LeaVerou/dabblet.css
Failed attempt at gracefully degrading switch-style checkboxes
/**
* Failed attempt at gracefully degrading switch-style checkboxes
* without pseudoelements (which shouldn’t exist on replaced elements) and extra elements.
* Inspired by Espresso’s “Tools” switch
* DO NOT USE. Currently only works properly in WebKit :(
*/
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked { /* :checked here acting as a filter for older browsers */
appearance: none;