Skip to content

Instantly share code, notes, and snippets.

@Adriench
Adriench / gist:d9202023a7164cf8baad
Created May 26, 2015 09:52
IE Conditional Comments
<!--[if gte IE 6]> pour IE 6.0 et version plus récentes <![endif]-->
<!--[if IE 5.0]> pour IE 5.0 <![endif]-->
<!--[if IE 5.5000]> pour IE 5.5 <![endif]-->
<!--[if IE 6]> pour IE 6.0 <![endif]-->
<!--[if IE 7]> pour IE 7.0 <![endif]-->
@Adriench
Adriench / README.md
Last active August 29, 2015 14:17
Gruntfile.js example

Gruntfile.js example

@Adriench
Adriench / README.md
Last active November 3, 2016 15:20
Meta Tags

#Meta snippets #####List of snippets:

  • the usual ones (charset/keywords/...)
  • Open Graph
  • Twitter Card
  • Favicons, icons and webapp
  • Google Result Card
  • iOS specifics
  • Android specifics
  • Windows 8+ specifics
@Adriench
Adriench / README.md
Last active January 24, 2017 20:16
Sublime Text 3 - Config Files

Sublime Text 3 - Config files

List of packages
  • Alignment
  • AngularJS
  • BracketHighlighter
  • ColorHiglighter
  • CSS3 Syntax
  • DocBlockr
  • Emmet
  • Gist
@Adriench
Adriench / README.md
Last active August 29, 2015 14:16
Flat checkboxes and radio buttons - Sass styles + Mixin for other colors

Flat Checkboxes and radio buttons

Sass styles + Mixin for other colors

Note: the scss need Compass to compile correctly

Demo: Codepen

The utilisation is simple just use the .flat-custom class on any checkbox or radio.

<input type="checkbox" class="flat-custom" id="flat_check"/>
@Adriench
Adriench / README.md
Last active August 29, 2015 14:16
iOS checkboxes - Sass Styles + @mixin for custom colors

iOS Checkboxes

Sass styles + Mixin for other colors

Note: the scss need Compass to compile correctly

Demo: Codepen (IE 9+)

The utilisation is simple just use the .ios-custom class on any checkbox.

<input type="checkbox" class="ios-custom" id="switch"/>
@Adriench
Adriench / .bash_profile
Last active February 13, 2018 09:45
Stuff to do on Mac OSX with MAMP to use the same PHP cli and cgi
# Add Elements to Path
# PHP Path
export MAMP_PATH="/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.6.25/bin:$PATH"
# ADB Path
export ANDROID_SDK_PATH="/Users/Adrien/Library/Android/sdk/platform-tools"
# Node Path
export NPM_PATH="/usr/local/bin"