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
{ | |
"ensure_newline_at_eof_on_save": false, | |
"font_size": 13, | |
"ignored_packages": | |
[ | |
], | |
"rulers": | |
[ | |
100 | |
], |
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
/** | |
* @category Common Helpers | |
* @summary Convert the given argument to an instance of Date. | |
* | |
* @description | |
* Convert the given argument to an instance of Date. | |
* | |
* If the argument is an instance of Date, the function returns its clone. | |
* | |
* If the argument is a number, it is treated as a timestamp. |
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
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi |
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
export const HISTORY_STATE_CHANGE_EVENT = 'historystatechange'; | |
history.pushState = changeState(history.pushState) | |
history.replaceState = changeState(history.replaceState) | |
window.addEventListener('popstate', fireStateChange) | |
setTimeout(fireStateChange); | |
function changeState(orig) { | |
return (...args) => { |
NewerOlder