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
# press space + b and connect the usb port | |
# build | |
docker run -e keymap=iso_vim_arrow -e keyboard=dz60 --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware | |
# flash | |
sudo dfu-programmer atmega32u4 erase --force | |
sudo dfu-programmer atmega32u4 flash dz60_iso_vim_arrow.hex | |
sudo dfu-programmer atmega32u4 reset |
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
/* | |
* First, we will declare some asynchronous functions to consume. | |
* These actually do not make asynchronous calls, but they illustrate | |
* the idea. | |
*/ | |
// Callback style asynchronous function | |
function callbackAsyncFunction(val1, val2, callback) { | |
//processing | |
if (!val1) { |