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== |
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
| <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
| //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
| import re | |
| import json | |
| from mitmproxy import ctx | |
| from urllib.parse import quote | |
| import string | |
| import requests | |
| def response(flow): | |
| path = flow.request.path | |
| if path == '/question/bat/findQuiz': |
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
| package main | |
| import ( | |
| "Goose/conf" | |
| "Goose/router" | |
| "bytes" | |
| "database/sql" | |
| "fmt" | |
| "html/template" | |
| "io/ioutil" |
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
| #伪平铺特性 | |
| # | |
| # q w e LeftTop Max RightTop | |
| # super + shift +: a s d ===> Left Center Right | |
| # z x c LeftBottom unMax RightBottom | |
| # | |
| super + shift + {q,w,e,a,s,d,z,x,c} | |
| sh -c "~/.config/sxhkd/window.sh {LT,M,RT,L,C,R,LB,U,RB}" |
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
| package main | |
| import ( | |
| "database/sql" | |
| "encoding/json" | |
| "fmt" | |
| "net/http" | |
| "strings" | |
| "github.com/go-ini/ini" |
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
| # coding:utf-8 | |
| import re | |
| import requests | |
| session = requests.Session() | |
| # 领取 X 铜币 | |
| # 每日登录奖励已领取 |
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
| #/usr/bin/env python | |
| #coding:utf-8 | |
| import requests | |
| import re | |
| import time | |
| import datetime | |
| import sys | |
| import json | |
| reload(sys) |
NewerOlder