Skip to content

Instantly share code, notes, and snippets.

@devlint
devlint / photoshop.plugin.list
Created February 5, 2014 13:46
Liste de plugins pour Photoshop
Remove Unused FX,Photoshop extension,panel,plug-in
https://github.com/Moyidu/Remove-Unused-FX
Use Cut&Slice me to export your assets to different devices in seconds
http://www.cutandslice.me/
Become a flat design pro in seconds with this simple photoshop plugin.
http://skeuomorphism.it/
AutoSave - Automatically save all documents every 5/10/15/30 or 1 Hour.
@devlint
devlint / a_responsive_model.html
Created February 10, 2014 10:14
Email responsive notes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>**MB_OPTITLE**</title>
</head>
<body yahoo bgcolor="#f6f8f1" style="margin: 0; padding: 0; min-width: 100%!important;font-family: Arial, sans-serif;font-size: 12px;color: #3a3a3a;" class="eoa_lo4">
@devlint
devlint / c2is.htaccess
Created February 11, 2014 14:09
Fichier htaccess issu de html5boilerplate
# C2iS-html5-less-boilerplate .htaccess
# Apache configuration file
# Note .htaccess files are an overhead, this logic should be in your Apache config if possible
# ----------------------------------------------------------------------
# Better website experience for IE users
# ----------------------------------------------------------------------
# Force the latest IE version, in various cases when it may fall back to IE7 mode
@devlint
devlint / HTML5_Enabler.js
Last active August 29, 2015 13:56 — forked from benplum/HTML5 Enabler
Quickline enabler html5 code for non-html5-browser like IE<9
/* Pre-Define HTML5 Elements in IE */
(function(){ var els = "source|address|article|aside|audio|canvas|command|datalist|details|dialog|figure|figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|picture|progress|ruby|section|time|video".split('|'); for(var i = 0; i < els.length; i++) { document.createElement(els[i]); } } )();
@devlint
devlint / svg.twig
Last active August 29, 2015 14:10
Sf:include:svg:twig
Il est possible d'inclure un svg directement dans un twig en utilisant {% include %} d'une manière un peu particulière :
2 prérequis :
- le fichier SVG ne sera pas un asset en tant que tel
- le fichier SVG aura une extension `.svg.twig`
## exemple
```twig
<a id="logo" href="{{ path('html_page', {'template': 'pages:01.home%2Fhome.html.twig'}) }}">
{% include "C2isOneTeaBundle:svg:logo_R&C.svg.twig" with {'width': '90'} %}
</a>
@devlint
devlint / offcanvas.html
Created March 13, 2013 10:54
Off-Canvas - Just a simple and minimal 'off-canvas' template with css3 translate3d & jQuery. Needs: - Font Awesome for icons - jQuery & normalize.css components
<!DOCTYPE html>
<!--[if lt IE 10]> <html class="lt-ie10"> <![endif]-->
<!--[if gt IE 10]><!--> <html> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>OFF-CANVAS</title>
@devlint
devlint / oneTeaMobile.bower.json
Created May 14, 2013 14:18
Liste des dépendances bower
{
"name": "oneTea-Mobile",
"version": "1.0.0",
"dependencies": {
"c2is-less": "http://github.com/c2is/c2is-less-component.git",
"jquery": "2.0.0",
"modernizr": "https://raw.github.com/josh/sprockets-modernizr/2.6.2/modernizr.js",
"ratchet": "ratchet"
}
}
@devlint
devlint / Log-.md
Created December 3, 2013 08:52 — forked from bgrins/Log-.md

Javascript log Function

Every time I start a new project, I want to pull in a log function that allows the same functionality as the console.log, including the full functionality of the Console API.

There are a lot of ways to do this, but many are lacking. A common problem with wrapper functions is that the line number that shows up next to the log is the line number of the log function itself, not where log was invoked. There are also times where the arguments get logged in a way that isn't quite the same as the native function.

This is an attempt to once and for all document the function that I pull in to new projects. There are two different options:

  • The full version: Inspired by the plugin in HTML5 Boilerplate. Use this if you are writing an application and want to create a window.log function. Additionally,
@devlint
devlint / templateJS.list
Last active December 30, 2015 06:48
Quelques ressources et pistes pour "assembler" des pages html à partir de blocs/vues/modules ala include()
:: Ressources Github ::
https://github.com/bezoerb/grunt-php2html
https://github.com/MathiasPaumgarten/grunt-bake
https://github.com/vanetix/grunt-includes
https://github.com/mathiasbynens/grunt-template
https://github.com/aaaristo/grunt-html-builder
https://github.com/spatools/grunt-html-build
https://github.com/tonai/grunt-build-html
https://github.com/wmluke/grunt-inline-angular-templates
Verifying that +devlint is my blockchain ID. https://onename.com/devlint