Skip to content

Instantly share code, notes, and snippets.

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

Quentin Rousseau kwent

🏠
Working from home
View GitHub Profile
@kwent
kwent / twitter_mention_convertor.rb
Last active January 2, 2016 11:19
Twitter mention to url convertor plugin for Octopress
# Title: Twitter mention to url convertor plugin for Octopress
# Author: Quentin Rousseau http://quentinrousseau.com
# Description: Convert all twitter mentions with an url.
#
# Syntax {% twitter_mention_convertor "You string with @mention1 @mention2" %}
#
# Example:
# {% twitter_mention_convertor "Hello world @quentinrousseau" %}
#
# Output:
@kwent
kwent / CLI Script call
Last active December 16, 2015 05:09
Mkvmerge | Remuxer une saison à la volée. Soit une saison de 23 épisodes auxquelles je veux ajouter des fichiers de sous titres (.srt) Français et Anglais.
sh /root/merge.sh 1 20 "./MKV" "./VF" "./VO" "./output"
@kwent
kwent / mixpanel_people_export.rb
Last active September 16, 2015 01:52
Export all MixPanel People to a JSON file
#==========================================================================================
#title :mixpanel_people_export.rb
#description :This ruby script is exporting mixpanel people json data to a file
#author :Quentin Rousseau <contact@quent.in>
#date :2014-07-15
#version :1.0
#usage :ruby mixpanel_people_export.rb
#dependencies :gem install 'mixpanel_client'
#moreinfo :https://mixpanel.com/docs/api-documentation/data-export-api#engage-default
#===========================================================================================
//
// IonIcons+Additions+.h
// Created by Quentin Rousseau on 24/10/14.
// http://quent.in
//
#import <Foundation/Foundation.h>
#import "IonIcons.h"
@interface IonIcons (Additions)
@kwent
kwent / STDataStoreController.h
Created September 17, 2014 07:47
STDataStoreController
//
// STDataStoreController.h
//
// Created by Buzz Andersen on 3/24/11.
// Copyright 2011 System of Touch. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@kwent
kwent / iron_requeuing_jobs.rb
Last active August 29, 2015 14:04
IronWorker Requeuing Jobs | Ruby script.
#=============================================================================
#title :iron_requeuing_jobs.rb
#description :This script is requeing jobs by job status to Iron Worker
#author :Quentin Rousseau <contact@quent.in>
#date :2014-07-23
#version :1.0
#usage :ruby iron_requeuing_jobs.rb
#dependencies :gem install iron_worker_ng
#==============================================================================
@kwent
kwent / application.html.haml
Created May 17, 2014 00:49
google_analytics_js helper function for Rails
!!!
%html
%head
%title My Website
// METADATA
%meta{:charset => "utf-8"}
%meta{:content => "initial-scale=1.0", :name => "viewport"}
%meta{:content => "yes", :name => "apple-mobile-web-app-capable"}
= csrf_meta_tags