Skip to content

Instantly share code, notes, and snippets.

View philippeantoine's full-sized avatar

philippeantoine

  • Paris
View GitHub Profile
<!doctype html>
<html>
<head><meta charset="UTF-8"><title>gist jsbin test</title></head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<g>
<path d="M17.916,11.605h27.348V2.697h10.475v8.908h32.035v22.621H17.916L6.172,22.912L17.916,11.605z M55.08,97.303H44.596V73.057 H55.08V97.303z M82.094,68.117H12.227V45.496H44.93v-6.908h10.484v6.908h26.68l11.734,11.306L82.094,68.117z"/>
</g>
</svg>
$social: (twitter, $Twitter),
(facebook, $FB),
(googleplus, $GPlus),
(linkedin, $LinkedIn);
@each $socialnetwork, $color in $social {
.social-link--#{$socialnetwork} {
background-color: $color;
&:focus,

Keybase proof

I hereby claim:

  • I am philippeantoine on github.
  • I am philippeantoine (https://keybase.io/philippeantoine) on keybase.
  • I have a public key whose fingerprint is 3FA7 8CC4 D412 7779 A058 8755 B8BA 4E62 B4A9 062F

To claim this, I am signing this object:

@philippeantoine
philippeantoine / contenteditable.html
Created September 30, 2010 15:17
styleeditable
<!doctype html><html contenteditable="">
<head><meta charset="UTF-8">
<style>head,style{display:block}</style>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta charset="UTF-8" /></head>
<body>
<svg xmlns="http://www.w3.org/2000/svg">
<rect width="100px" height="100px" />
</svg></body></html>
@philippeantoine
philippeantoine / gauge.html
Created October 6, 2010 11:30
fullthrottle
<!DOCTYPE html><html>
<head><meta charset="utf-8"/><style>#viz{width:200px;height:100px;}</style></head>
<body><div id="viz"></div>
<input type="range" oninput="drawVisualization()">
<script src="http://www.google.com/jsapi"></script>
<script>
google.load('visualization', '1', {packages: ['gauge']});
function drawVisualization() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Label');
<!doctype html><html>
<head><meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<title>Unit</title></head>
<body>
<h1>Unit</h1>
<p>With
<ul>
<li>Generated Content: .class { content:"my text"; color:"red"; }
@philippeantoine
philippeantoine / gitconfig
Created October 12, 2010 11:23
config git
git config --global http.sslVerify false
git config --global http.proxy http://login:pass@proxy:8080/
test :
git config --list
set PATH=C:\bin\ruby-1.8.7-p299-i386-mingw32\bin;C:\bin\PortableGit\bin;%PATH%
set HOME=C:\atelier
set HOMEDRIVE=C:
@philippeantoine
philippeantoine / kataboids.html
Created October 27, 2010 19:19
2010-10-27 codingdojo boids
<!doctype html>
<html>
<head>
<script src="raphael.js"></script>
<style>body{width:400px;margin:auto;font-family:monospace}</style>
</head>
<body id="test">
<div id="boids"></div>
<script>
var b={x:0,y:0};
@philippeantoine
philippeantoine / puissance4 randori.java
Created April 4, 2011 21:37
2011-04-04 codingdojo puissance4 randori
package dojo.kata;
import java.util.List;
public class Puissance4 {
public Object solve(List<List<Integer>> grid) {
boolean cpt = false;
int r=0;
int c=0;