Skip to content

Instantly share code, notes, and snippets.

🍺 🎉

Yimi Yimiprod

🍺 🎉
  • France
Block or report user

Report or block Yimiprod

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
#!/usr/bin/env bash
shopt -s nocasematch
set -e
set -o pipefail
npm run test
View scroll-shadow.scss
$scroll-shadow-background: rgb(255, 255, 255) !default;
$scroll-shadow-color: rgb(0, 0, 0) !default;
$scroll-shadow-intensity: 0.15 !default;
$scroll-shadow-cover: 40px !default;
$scroll-shadow-size: 14px !default;
@mixin scroll-shadow-vertical($background-color: $scroll-shadow-background, $shadow-intensity: $scroll-shadow-intensity, $shadow-color: $scroll-shadow-color, $cover-size: $scroll-shadow-cover, $shadow-size: $scroll-shadow-size) {
// Shadow covers
linear-gradient($background-color 30%, rgba($background-color,0)),
Yimiprod / .csscomb.json
Last active Dec 1, 2018
smacss definition for scss-lint and csscomb
View .csscomb.json
"exclude": [
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": false,
Yimiprod / difference.js
Last active Oct 18, 2019
Deep diff between two object, using lodash
View difference.js
* Deep diff between two object, using lodash
* @param {Object} object Object compared
* @param {Object} base Object to compare with
* @return {Object} Return a new object who represent the diff
function difference(object, base) {
function changes(object, base) {
return _.transform(object, function(result, value, key) {
if (!_.isEqual(value, base[key])) {
You can’t perform that action at this time.