Skip to content

Instantly share code, notes, and snippets.

View maximelebreton's full-sized avatar

Maxime Le Breton maximelebreton

View GitHub Profile
@maximelebreton
maximelebreton / gist:5100107
Created March 6, 2013 15:30
Mieux gérer les messages d'erreur
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Test Plusieurs labels</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen">
</head>
<body>
<form action="index" method="post" onsubmit="alert('Formulaire de test,\nl\'envoi n\'est pas géré');return false;">
<h1>Rédaction d'un article</h1>
<div id="error_list">
<p><strong>Enregistrement impossible :</strong></p>
@maximelebreton
maximelebreton / Sublime shortcuts memo.md
Created September 15, 2013 16:05
Memo of useful shortcuts on Sublime Text

Sublime's Shortcuts Memo

toggle_comment ctrl+/ toggle_comment ctrl+shift+/

duplicate_line ctrl+shift+d

strip_html ctrl+shift+h

/* Basculer photoshop français anglais */*
alt + shift
class="[a-zA-Z0-9:;\.\s\(\)\-\,]*"
@maximelebreton
maximelebreton / albc.json
Last active July 4, 2016 11:09
manage versioning
{
"version" : "4.1.6",
"changelog" : "see on github",
"url": "https://gist.github.com/maximelebreton/dd88a04420c3d64078dc4d3be8437386"
}
@maximelebreton
maximelebreton / mixin.scss
Created October 12, 2016 12:37
Patrick Clancey's CSS Mod Queries and Range Selectors
// http://alistapart.com/article/using-css-mod-queries-with-range-selectors
// range selector mixin
@mixin select-range($start, $end){
&:nth-child(n+#{$start}):nth-child(-n+#{$end}){
@content;
}
}
// mod query mixin
@mixin mod-list($mod, $remainder){
@maximelebreton
maximelebreton / front-end-developer-toolkit.md
Last active January 5, 2023 16:52
Front end developer toolkit

Because I think that the best css/js framework is composed by many agnostic micro libraries.

JavaScript

Vue