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
| //shift + enter = " 来自:https://github.com/qmk/qmk_firmware/blob/e899cb8940da04fa2610604f0aab417db7fac119/keyboards/mitosis/keymaps/datagrok/keymap.c | |
| bool comm_shifted = false; | |
| bool ques_shifted = false; | |
| bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
| uint8_t shifted; | |
| uint16_t s_keycode; | |
| bool *k_shifted; | |
| switch (keycode) { | |
| //特殊 shift |
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
| <style> | |
| body.grayDay { | |
| filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |
| -webkit-filter: grayscale(100%); } | |
| </style> | |
| <script> | |
| window.onload = function() { | |
| var grayDay = [108, 207, 219, 404, 420, 512, 815, 909, 918, 1213]; | |
| var today = new Date(); | |
| var d = (today.getMonth() + 1) * 100 + today.getDate(); |
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
| /dts-v1/ | |
| / { | |
| shifter: 74hc595a@0 { | |
| compatible = "ti,xx74hc595a"; | |
| a-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; | |
| b-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; | |
| c-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
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
| // ==UserScript== | |
| // @name V2EX站内页面双击ESC回到顶部并聚焦到搜索框 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description 双击ESC键,页面滚动到顶部并自动聚焦 #search 输入框 | |
| // @author GitHub: @YCF + AI | |
| // @match *://*.v2ex.com/* | |
| // @match *://v2ex.com/* | |
| // @grant none | |
| // ==/UserScript== |
OlderNewer