Skip to content

Instantly share code, notes, and snippets.

Freelance React / React Native Expert, Cross-platform fanboy (native, web...)

Max Thirouin MoOx

Freelance React / React Native Expert, Cross-platform fanboy (native, web...)
View GitHub Profile
MoOx / index.js
Last active Sep 18, 2022
Export/import github labels
View index.js
// go on you labels pages
// eg
// paste this script in your console
// copy the output and now you can import it using !
var labels = [];
.forEach(function(element) {
name: element.textContent.trim(),
View reset-button.css
%reset-Button {
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
/* inherit font & color from ancestor */
MoOx / package.json.js
Last active Jun 26, 2022
Boost your Webpack performance with DLLPlugin (will bundle as dll all your "dependencies", see comment in package.json)
View package.json.js
"private": true,
// ...
"#dependencies": "dependencies are the one shipped to the client",
"dependencies": {
"babel-polyfill": "^6.7.4",
"react": "^15.0.0",
// ...
"whatwg-fetch": "^0.11.1"
MoOx /
Last active May 16, 2022
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily
MoOx / comments-trick.json
Last active May 10, 2022
How to make comment in JSON file
View comments-trick.json
"//field": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment",
"field": {},
"#another-field": "Another comment",
"another-field": {},
"/*stuff": "Be careful to use them when you have full control of the content :)",
"stuff": [],
"bla": "bla"
MoOx /
Created Jan 20, 2014 — forked from jookyboi/
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.


  • 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
MoOx / createElement.js
Last active Dec 19, 2021
A tiny helper for document.createElement.
View createElement.js
module.exports = function(options) {
var el
, a
, i
if (!options.tagName) {
el = document.createDocumentFragment()
else {
el = document.createElement(options.tagName)
if (options.className) {
MoOx /
Last active Dec 3, 2021
frontend project Readme example



For development, you will only need Node.js installed on your environement. And please use the appropriate Editorconfig plugin for your Editor (not mandatory).


Node is really easy to install & now include NPM.

View gulpfile.js
var pkg = require("./package.json")
, rimraf = require("rimraf")
, gulp = require("gulp")
, gutil = require("gulp-util")
, filter = require("gulp-filter")
, plumber = require("gulp-plumber")
, concat = require("gulp-concat")
gulp.task("clean", function() {