This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#atom-perspective() { | |
@viewing-distance: 24in; | |
@rotation: 20deg; | |
.tree-view-scroller { | |
transform: translateY(-10vh) perspective(@viewing-distance) rotateY(@rotation); | |
padding-top: 12vh; | |
padding-bottom: 12vh; | |
transform-origin: left; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $ATCButtons = jQuery(itemNumbers.map(function(number) { | |
return '.addToCartBtn[widgetid="addToCart' + number + '"]'; | |
}).join(',')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Applies to URL: https://trello.com/mfwpriority/cards */ | |
.tabbed-pane-header, .tabbed-pane-nav, .window-module.u-gutter { | |
display: none; | |
} | |
.header-notifications, .badge.is-unread-notification { | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, | |
"es6": false | |
}, | |
"extends": "eslint:recommended", | |
"rules": { | |
"indent": [ | |
1, | |
"tab" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
gulp.task('default', function() { | |
gulp.src("**/*.*").pipe(gulp.dest("C:\\your\\target\\directory\\here\\")); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
gulp.task('default', function() { | |
gulp.src(["**/*.*", "!node_modules/**/*.*"]).pipe(gulp.dest("C:\\your\\target\\directory\\here\\")); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": { | |
"block-no-empty": true, | |
"color-no-invalid-hex": true, | |
"declaration-block-no-ignored-properties": true, | |
"declaration-block-trailing-semicolon": "always", | |
"indentation": "tab", | |
"no-extra-semicolons": true, | |
"no-invalid-double-slash-comments": true, | |
"selector-type-no-unknown": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OBJECTS | |
===== | |
// There are two ways you can create objects: Literal notation and construction notation. | |
// | |
// Literal notation uses curly braces: | |
var james = { | |
job: "programmer", | |
married: false, | |
greet: function() { | |
console.log("Hello!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This ImageMagick command takes all the .png files in a folder, resizes them to a maximum of 200x200px, and deposits them in the IM-processed folder: | |
mogrify -path IM-processed -resize 200x200 *.png | |
Note that the IM-processed folder must already exist. | |
To create a folder full of thumbnails: | |
mogrify -format gif -resize 125x125 -background transparent -gravity center -extent 125x125 -path thumbnails *t.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dijit.byId('shippingOption').store.data |