Skip to content

Instantly share code, notes, and snippets.

View MoOx's full-sized avatar
:shipit:
Freelance React / React Native Expert, Cross-platform fanboy (native, web...)

Max MoOx

:shipit:
Freelance React / React Native Expert, Cross-platform fanboy (native, web...)
View GitHub Profile
#!/bin/zsh
source $DIR_DOTFILES/backpack/functions.sh
echo_title_installupdate "Ruby Gems"
#source gemu
DIR_RUBYGEMS=/Library/Ruby/Gems/2.0.0/gems
typeset -A PACKAGES
PACKAGES=(
@MoOx
MoOx / javascript_resources.md
Created January 20, 2014 15:07 — 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
@MoOx
MoOx / css_resources.md
Created January 20, 2014 15:07 — 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

@MoOx
MoOx / gulpfile.js
Last active January 4, 2016 00:39
My current gulfile- CSS with rework- JS with Browserify & lots of transfo (mainly jadeify)- HTML with jade- & some static files workingInclude a static server with livereload.
///
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() {
@MoOx
MoOx / createElement.js
Last active June 18, 2024 10:23
A tiny helper for document.createElement.
module.exports = function(options) {
var el
, a
, i
if (!options.tagName) {
el = document.createDocumentFragment()
}
else {
el = document.createElement(options.tagName)
if (options.className) {
@MoOx
MoOx / README.md
Created February 5, 2014 10:40
Récupérer la clé wifi d'un Freebox

Trouver la clé wifi d'un freebox

http://mafreebox.free.fr/

Reset le mot de passe ici est très facile et instantané (action physique à effectuer)

  • double clic sur « Paramètres de la freebox », Onglet « Mode avancée »
  • double clic sur « Wi-Fi » , Onglet « Configuration »

La clé se trouve dans le champ « Clé Wi-Fi »

:root {
var-ss-Deck-column-header: 2rem;
var-ss-Deck-column-margin: .6rem;
}
.ss-Deck-column {
position: relative;
display: inline-block;
overflow: hidden;
width: 19rem;
%reset-Button {
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
/* inherit font & color from ancestor */
@MoOx
MoOx / mailto.js
Last active December 20, 2019 06:15
a (really) simple way to hide mailto to bots
;[].forEach.call(document.getElementsByClassName("js-MailTo"), function(el) {
el.setAttribute("href", "mailto:" + el.getAttribute("data-mailto-user") + "@" + (el.getAttribute("data-mailto-domain") || window.location.host))
})
@MoOx
MoOx / gulpfile.js
Last active August 29, 2015 14:00
Gulp / Myth
var gulp = require("gulp")
var gutil = require("gulp-util")
var plumber = require("gulp-plumber")
var myth = require("gulp-myth")
var csso = require("gulp-csso")
var watch = false
gulp.task("styles", function() {
return gulp.src("./src/css/*.css")
.pipe(watch ? plumber() : gutil.noop())