This file contains 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
npx jsx-info | |
npx thanks | |
npx is-website-vulnerable https://example.com |
This file contains 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
/*! | |
* modernizr v3.6.0 | |
* Build https://modernizr.com/download?-beacon-setclasses-dontmin | |
* | |
* Copyright (c) | |
* Faruk Ates | |
* Paul Irish | |
* Alex Sexton | |
* Ryan Seddon | |
* Patrick Kettner |
This file contains 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
#shift exif date by one hour | |
exiftool -AllDates+=1:00 -overwrite_original P1080300.JPG | |
# rename according to exif date | |
exiftool '-filename<CreateDate' -d IMG_%Y%m%d_%H%M%S%%-c.%%le *.JPG |
This file contains 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": { | |
"node": true, | |
"es6":true | |
}, | |
"rules": { | |
/* | |
** STRICT MODE | |
** These rules relate to using strict mode. | |
*/ |
This file contains 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
img, picture { max-width: 100vw; max-height: 100vh; } |
This file contains 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
/** | |
* As seen on http://blog.circleci.com/adaptive-placeholders/ | |
* featured on LittleBigDetails | |
* http://littlebigdetails.com/post/82478225432/ | |
*/ | |
// First, pass in the important variables. | |
.adaptive_placeholder(@height, @radius, @margin: 1em, @border: 1px) { | |
@borders: (@border * 2); // <- To avoid repeating below | |
box-sizing: border-box; // <- Important for accurate sizing |
This file contains 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
@base-font-size: 16px; | |
@base-line-height: 1.5; | |
// this value may vary for each font | |
// unitless value relative to 1em | |
@cap-height: 0.68; | |
.baseline(@font-size, @scale: 2) { | |
// rhythm unit |