Skip to content

Instantly share code, notes, and snippets.

View loris's full-sized avatar

Loris Guignard loris

View GitHub Profile
code COUNT(*)
IMPMT 141
05000 99
05085 89
05130 88
05116 88
05169 83
06469 79
06237 78
05055 70
{
"error": null,
"customer": {
"columbus_customer_id": 1579463,
"clientid": "108:0000014358",
"status": "noImport",
"columbusNumber": "108:0000014358",
"magentoNumber": null,
"updated_at": "2015-07-07 15:59:11",
"surname": "AGLIARDI",

Keybase proof

I hereby claim:

  • I am loris on github.
  • I am loris (https://keybase.io/loris) on keybase.
  • I have a public key whose fingerprint is 023A F01B 6BFA 9A0F E769 6119 EB11 4A5E 25B0 3DC5

To claim this, I am signing this object:

@loris
loris / mov-to-gif.sh
Created January 16, 2014 10:43
MOV screencast to GIF
ffmpeg -i ScreenFlow.mov -pix_fmt rgb24 -f gif - | gifsicle --optimize=3 --delay=2 > out.gif
@loris
loris / map-direction.html
Created March 21, 2013 22:08
Simple HTML5 page that redirect the user to Google Maps showing directions from its location (using HTML5 geolocation) to the place set as query parameter (ie, map-direction.html?Empire+State+Building+NYC). Useful in Alfred WebSearch.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script>
var daddr = window.location.search.slice(1);
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(data){
if (data.coords) {
window.location = 'https://maps.google.fr/maps?saddr=' + data.coords.latitude + ',' + data.coords.longitude + '&daddr=' + daddr;
@loris
loris / Tweetbot for Mac bookmarklet
Created October 19, 2012 09:13
Tweetbot for Mac bookmarklet
javascript:window.location='tweetbot:///post?text='+encodeURIComponent(document.title + ' ' + window.location.href)