Skip to content

Instantly share code, notes, and snippets.

Pascal Duez pascalduez

Block or report user

Report or block pascalduez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pascalduez
pascalduez / SassMeister-input.scss
Created Jan 31, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.2.14)
// Compass (v0.12.2)
// Breakpoint (v2.0.7)
// Singularity.gs (v1.1.2)
// ----
@import "breakpoint";
@import "singularitygs";
View SassMeister-input.scss
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
//
// A Sass log helper.
//
@mixin log($args...) {
@at-root log {
@pascalduez
pascalduez / SassMeister-input.scss
Created Mar 30, 2014
A Sass micro-templating function.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
// A Sass micro-templating function.
// -----------------------------------------------------------------------------
// @param [string] $format
// @param [arglist | map] $args
// -----------------------------------------------------------------------------
@pascalduez
pascalduez / SassMeister-input.scss
Created Apr 20, 2014
Sass configurable _map-keys and _map-values functions.
View SassMeister-input.scss
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
// Sass core function return comma separated lists.
// configurabele _map-keys and _map-values functions.
// Does not work with nested maps. (neither core).
@pascalduez
pascalduez / SassMeister-input.scss
Created May 9, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
// A Sass `map-fetch` function
@function head($list) {
@return nth($list, 1);
@pascalduez
pascalduez / SassMeister-input.scss
Last active Aug 29, 2015
Sass flexible prefixer mixin.
View SassMeister-input.scss
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
// A Sass flexible prefixer mixin.
// Returns a list containing all the entries from `$list`
@pascalduez
pascalduez / SassMeister-input.scss
Last active Aug 29, 2015
Gray code (reflected binary code) convertion in Sass.
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// SassyBitwise (v1.1.1)
// ----
@import "SassyBitwise";
// Gray code (reflected binary code) convertion in Sass.
@pascalduez
pascalduez / SassMeister-input.scss
Created Jun 9, 2014
Vigenère square or Vigenère table, aka tabula recta.
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
// Vigenère square or Vigenère table, aka tabula recta.
// https://en.wikipedia.org/wiki/Tabula_recta
@function shift($list, $value: 1, $dir: right) {
@pascalduez
pascalduez / SassMeister-input.scss
Created Jun 21, 2014
JS String.prototype.split() in Sass.
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
// String split
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split
@pascalduez
pascalduez / SassMeister-input.scss
Created Jun 21, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
@function char-at(
$str,
$index: 1
) {
You can’t perform that action at this time.