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
{ | |
"other_team_members":[ | |
{ | |
"player":{ | |
"player_rank":58, | |
"star_rank":0, | |
"head":{ | |
"thumbnail":"/images/head/673be7be717b2f038562a1a523fb8db7503f843b.png", | |
"rarity":2, | |
"id":"24002", |
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
{ | |
"battle_number": "791", | |
"game_mode": { | |
"name": "Regular Battle", | |
"key": "regular" | |
}, | |
"my_team_members": [ | |
{ | |
"player": { | |
"player_rank": 29, |
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
⚔️ Dota 2 🕘 1845 hrs 33 mins | |
🍳 PUBG: BATTLEGROUNDS 🕘 291 hrs 36 mins | |
🎮 Dota Underlords 🕘 228 hrs 25 mins | |
🎮 Sekiro™: Shadows Die Twice 🕘 61 hrs 26 mins | |
🎮 The Witcher 3: Wild Hunt 🕘 9 hrs 55 mins |
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
// ==UserScript== | |
// @name 导出京东订单 | |
// @namespace win.somereason.web.utils | |
// @version 2018.07.23.1 | |
// @description 这个脚本帮助你导出京东的订单列表页中的订单,仅限本页. | |
// @author somereason | |
// @date 2019-04-29 | |
// @match *://order.jd.com/center/list.action* | |
// @grant none | |
// ==/UserScript== |
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
// an example to create a new mapping `ctrl-y` | |
mapkey('<Ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
}); | |
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
map('gt', 'T'); | |
// an example to remove mapkey `Ctrl-i` | |
unmap('<Ctrl-i>'); |
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
# Rime schema | |
# encoding: utf-8 | |
schema: | |
schema_id: double_pinyin_flypy | |
name: 小鶴雙拼 | |
version: "0.18" | |
author: | |
- double pinyin layout by 鶴 | |
- Rime schema by 佛振 <[email protected]> |
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
; Sends Esc if capslock is pressed alone | |
; Sends Ctrl+key if capslock is pressed with another key | |
; TODO: work with arrow keys and other modifiers (e.g. shift, control) | |
SetCapsLockState AlwaysOff | |
CapsLock::Send {esc} | |
CapsLock & a::Send ^a | |
CapsLock & b::Send ^b | |
CapsLock & c::Send ^c | |
CapsLock & d::Send ^d |
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
```python | |
import asyncio | |
from aiohttp import ClientSession, CookieJar | |
import os | |
import json | |
import pickle | |
import http.cookiejar | |
cj = http.cookiejar.MozillaCookieJar('cookies.txt') | |
cj.load() |
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
# -*- coding: utf-8 -*- | |
from __future__ import division, print_function | |
import logging | |
import os | |
from cookielib import LWPCookieJar | |
import requests |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder