Skip to content

Instantly share code, notes, and snippets.

View guillaumerxl's full-sized avatar

Guillaume Rouxel guillaumerxl

View GitHub Profile
@guillaumerxl
guillaumerxl / feedly_saved.js
Last active April 17, 2016 10:13
Retrieve saved for laters links from Feedly
// No JQuery version of https://gist.github.com/bradcrawford/7288411
// Modified to return a blob with the json results
// Simple script that exports a users "Saved For Later" list out of Feedly
// as a JSON string.
// How to use:
// 1) Open up your browser
// 2) Login to Feedly and go to the "Saved For Later" list.
// 3) Keep scrolling down the page until all saved documents have been loaded
@guillaumerxl
guillaumerxl / GLSL-Noise.md
Created October 29, 2015 15:08 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}
{
_id: '78895dsdfq45qfq',
list: [{
name:'Bob',
group: 'Intern'
},{
name:'Joe',
group: 'Extern'
}, {
name:'Gertrude',
@guillaumerxl
guillaumerxl / lizt.html
Created May 26, 2014 17:38
Refresh all inputs except the one in which client is typing (DOM avoid refresh)
<template name="lizt">
<form id="lizt">
<ul id="tazks">
{{#if lizt}}
{{> tazks}}
{{focus_on}}
{{else}}
<li><input name="tazks[0][description]" type="text"/></li>
@guillaumerxl
guillaumerxl / lizt.html
Last active August 29, 2015 14:01
Input duplicates when typing
<template name="lizt">
<form id="lizt">
<ul>
{{#if lizt}}
{{#each key_value lizt.tazks}}
<li><input name="tazks[{{key}}][description]" type="text" value="{{value.description}}"/></li>
{{/each}}