Skip to content

Instantly share code, notes, and snippets.

View GabLeRoux's full-sized avatar
:shipit:
Shipping code for humans ✌

Gabriel Le Breton GabLeRoux

:shipit:
Shipping code for humans ✌
View GitHub Profile
@GabLeRoux
GabLeRoux / gamejam-styles.py
Last active August 29, 2015 13:56
random gamejam styles
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import random
import itertools
import urllib2
import requests
def main():
@GabLeRoux
GabLeRoux / css_resources.md
Created June 27, 2014 14:12 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@GabLeRoux
GabLeRoux / python_resources.md
Created June 27, 2014 14:12 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@GabLeRoux
GabLeRoux / javascript_resources.md
Created June 27, 2014 14:12 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@GabLeRoux
GabLeRoux / install-xcode-commandline-tools.sh
Last active August 29, 2015 14:16
Install xcode command line tools The file "/usr/include/iconv.h" is missing in your build environment? run this
xcode-select --install

Keybase proof

I hereby claim:

  • I am gableroux on github.
  • I am gableroux (https://keybase.io/gableroux) on keybase.
  • I have a public key whose fingerprint is D744 0388 1AD9 3AD6 7135 21A0 0A97 5F6A 4C26 A7EF

To claim this, I am signing this object:

@GabLeRoux
GabLeRoux / Euclide.py
Last active December 16, 2015 00:58
RSA Encryption in python Only keys being generated atm.
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Finds the greatest comon divisor of a and b
def Euclide(a, b):
while a:
a, b = b%a, a
return b
# Beside finding the greatest comon divisor of a and b,
@GabLeRoux
GabLeRoux / potar-motors-and-servo-motor.pde
Created January 27, 2014 20:46
Fun with with processing :)
#include <Servo.h>
#include <ServoTimers.h>
int sensorSpeedValue;
int sensorDirectionValue;
int motorSpeedValue;
int servoValue;
Servo zeServo;
Servo zeOhterServo;
@GabLeRoux
GabLeRoux / virtualbox-android-two-network.sh
Last active March 10, 2016 20:49
Get two network devices on android virtual image [wip]
# Get android vm image from
# http://www.osboxes.org/android-x86/
# 1. Go to box preferences
# add second card (first one should be nat)
# 2. Start android vm
# 3. Google "android terminal emulator"
# grab the one on the second crappy website (not play store)
# Make sure you allo install from unknown source... :(
@GabLeRoux
GabLeRoux / couchdb
Last active March 16, 2016 20:36
Couchdb 1.6.1 Ubuntu 14.04 init script that goes in /etc/init.d Generated using https://github.com/pixelpark/ppnet/wiki/Install-CouchDB-1.6.1-on-Ubuntu-14.04
#!/bin/sh -e
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT