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
// @see http://www.competa.com/blog/chrome-bug-pageup-pagedown-textarea-moves-website-window/ | |
// @see https://bugs.chromium.org/p/chromium/issues/detail?id=890248 | |
document.querySelector('textarea').addEventListener('keydown', event => { | |
if (event.key === 'PageUp' || event.key === 'PageDown') { | |
const cursorPosition = event.key === 'PageUp' ? 0 : event.target.textLength; | |
event.preventDefault(); | |
event.target.setSelectionRange(cursorPosition, cursorPosition); | |
} | |
}); |
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
$ sudo mount -o remount,rw /windows |
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
SET NAMES utf8; | |
DROP TABLE IF EXISTS `cc_bins`; | |
CREATE TABLE `cc_bins` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`bank_code` int(11) NOT NULL, | |
`bank_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`bin_number` int(11) NOT NULL, | |
`card_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL, |