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 settings | |
# encoding: utf-8 | |
schema: | |
schema_id: smyh.base | |
name: 吉旦餅·基礎碼表 | |
description: | | |
可以打字。 | |
engine: |
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
<!DOCTYPE html><html><head><meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<meta name="format-detection" content="telephone=no,date=no"> | |
<title>键道安装</title> | |
<style> | |
body { | |
font-family: system-ui; | |
font-size: 0.95em; | |
margin-top: 1rem; | |
margin-bottom: calc(1rem + env(safe-area-inset-bottom)); |
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: gedao | |
name: 格道双拼 | |
version: "1.0.0" | |
author: | |
- fkxxyz (四叶草拼音词库) | |
- 吅吅大牛 (格道17键双拼布局) |
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
# print code | |
for (( i=0x2194; i<=0x2199; i++ )) | |
do | |
out=$(printf "%#x\n" $i) | |
echo $out | |
done | |
# print table | |
# '\U0001f004' if 5-digit code | |
for code in '00a9' '00ae' '203c' '2049' '2122' '2139' |
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
Set-PSReadlineKeyHandler -Chord Ctrl+d -Function DeleteCharOrExit | |
Import-Module posh-git | |
Import-Module scoop-completion | |
Import-Module posh-cargo | |
$GitPromptSettings.DefaultPromptPrefix.Text = '$(Get-Date -f "yyyy-MM-dd HH:mm:ss") ' | |
$GitPromptSettings.DefaultPromptPrefix.ForegroundColor = [ConsoleColor]::Magenta | |
$GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $true | |
$GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n' |
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 crate::lexer::Lexer; | |
pub mod token { | |
pub mod tag { | |
#[derive(Clone, Copy, Debug)] | |
pub enum Tag { | |
Char(u8), | |
Num, | |
Id, | |
True, |
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
var FindProxyForURL = function(init, profiles) { | |
return function(url, host) { | |
"use strict"; | |
var result = init, scheme = url.substr(0, url.indexOf(":")); | |
do { | |
result = profiles[result]; | |
if (typeof result === "function") result = result(url, host, scheme); | |
} while (typeof result !== "string" || result.charCodeAt(0) === 43); | |
return result; | |
}; |
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
import readchar | |
class Parser: | |
def __init__(self): | |
self.lookahead = readchar.readchar() | |
def expr(self): | |
self.term() | |
while True: | |
if self.lookahead == b'+': |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder