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
// RSS feeds are supposed to have a standardised date format, as shown in the RSS 2.0 specification: | |
// All date-times in RSS conform to the Date and Time Specification of RFC 822, | |
// with the exception that the year may be expressed with two characters or four characters (four preferred). | |
// Example: Sat, 07 Sep 2002 0:00:01 GMT | |
var formats = ['ddd, DD MMM YYYY HH:mm:ss ZZ', 'ddd, DD MMM YY HH:mm:ss ZZ']; | |
var pubDate = moment(item.querySelector('pubDate').textContent, formats); |
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
// Tested on Android Nougat. Should work on previous versions of Android. | |
// It's ugly but should get the job done | |
/** | |
* Set the color of the handles when you select text in a | |
* {@link android.widget.EditText} or other view that extends {@link TextView}. | |
* | |
* @param view | |
* The {@link TextView} or a {@link View} that extends {@link TextView}. | |
* @param color |
Demonstrates how to load SVG's as Leaflet icons via the data URI method.
Following was helpful to figure this out:
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
/* | |
(!) Please make sure you've read the disclamer below! (!) | |
If you want to see how can you transform the Firefox Developer Edition landing | |
page into a fancy animation just | |
- navigate to http://firefox.com/developer * | |
- open the developer tools (F12) | |
- copy and paste this code into the console | |
- hit enter, and enjoy the show! | |
- you can follow the commentary via the console log |
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
.cursor { | |
cursor: url("cursor.png") 0 0, pointer; /* Legacy */ | |
cursor: url("cursor.svg") 0 0, pointer; /* FF */ | |
cursor: -webkit-image-set(url("cursor.png") 1x, url("cursor@2x.png") 2x) 0 0, pointer; /* Webkit */ | |
} |
- Set up iCloud Keychain
- Remove icons and hide Dock
- Default address in iMessage
- Install Updates
- Add Ru Input Sources
- Set up Shortcuts
- Add text shortcuts Text
I wrote this as a reference for myself because some of the property names are non-obvious, and there are a number of relevant special properties, and there is no central concise listing of them all in GSAP Docs, other than (in longer form) on the CSSPlugin page.
...are all supported, with hyphenated-names
becoming camelCaseNames
. Non-animatable properties are also supported but they will be set at the beginning of the tween.
Special mentions:
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
Helpers that can be used when debugging Firefox in the Browser Console / Browser Debugger |
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
//https://github.com/node-modules/emoji | |
//http://apps.timwhitlock.info/emoji/tables/unicode | |
var unified_emoji_ranges = [ | |
'\ud83c[\udf00-\udfff]', // U+1F300 to U+1F3FF | |
'\ud83d[\udc00-\ude4f]', // U+1F400 to U+1F64F | |
'\ud83d[\ude80-\udeff]' // U+1F680 to U+1F6FF | |
]; |
NewerOlder