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
| { | |
| "name": "c8c0a01d-e654-4abd-916b-a5d3b2015f3a", | |
| "isDark": true, | |
| "backgroundImage": null, | |
| "backgroundColor": -16777216, | |
| "barColor": -13158601, | |
| "keyboardColor": -16777216, | |
| "keyBackgroundColor": -13750738, | |
| "keyTextColor": -1, | |
| "candidateTextColor": -1, |
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
| <# | |
| .SYNOPSIS | |
| Batch replaces the values in the registry. | |
| #> | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory)] | |
| [string] $Path, | |
| [Parameter(Mandatory)] | |
| [string] $Name, |
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
| (custom-set-variables | |
| ;; custom-set-variables was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. | |
| ;; Your init file should contain only one such instance. | |
| ;; If there is more than one, they won't work right. | |
| '(column-number-mode t) | |
| '(default-frame-alist '((fullscreen . maximized))) | |
| '(elfeed-feeds '("https://planet.emacslife.com/atom.xml")) | |
| '(inhibit-startup-screen t) | |
| '(package-archives |
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
| [ | |
| { "key": "ctrl+p", "command": "cursorUp", | |
| "when": "editorTextFocus" }, | |
| { "key": "ctrl+n", "command": "cursorDown", | |
| "when": "editorTextFocus" }, | |
| { "key": "ctrl+b", "command": "cursorLeft", | |
| "when": "editorTextFocus" }, | |
| { "key": "ctrl+f", "command": "cursorRight", | |
| "when": "editorTextFocus" }, | |
| { "key": "ctrl+a", "command": "cursorHome", |
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
| class Program | |
| { | |
| static void Main() | |
| { | |
| var pp = WeChat.PublicPlatform("user", "password"); | |
| foreach (var fakeId = pp.GetFakeIds()) | |
| { | |
| pp.SendMessage(fakeId, "Hello, world!"); | |
| } | |
| } |
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
| public static IDataObject CrateHtmlDataObject(string htmlFragment) | |
| { | |
| var header = | |
| @"Version:0.9 | |
| StartHTML:{0:00000000} | |
| EndHTML:{1:00000000} | |
| StartFragment:{2:00000000} | |
| EndFragment:{3:00000000} | |
| "; | |
| var startHTML = |
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
| @echo off | |
| setlocal enabledelayedexpansion | |
| set "progress=-\|/" | |
| for /l %%i in (0, 1, 100) do ( | |
| REM 取余运算符为 %%,帮助里的 "%" 方式无效 | |
| set /a p=%%i %% 4 | |
| cls | |
| call set "o=%%progress:~!p!,1%%" | |
| echo Progressing: !o! | |
| REM Handle command |