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
/*! | |
* Dolphin for Gazelle v1.0 | |
* Copyright 2020 ZexWoo 年份更新过了 | |
* Thanks to Redacted | |
*/ | |
* { | |
margin: 0; | |
padding: 0; | |
} |
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
<# : | |
@echo off | |
start /b powershell /windowstyle hidden /nologo /noprofile /command ^ | |
"&{[ScriptBlock]::Create((cat """%~f0""") -join [Char[]]10).Invoke(@(&{$args}%*))}" | |
exit /b | |
#> | |
param( | |
[Parameter(Mandatory=$false)] | |
[string]$CultureName, |
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
Windows Registry Editor Version 5.00 | |
; Change Extension's File Type | |
[HKEY_CURRENT_USER\Software\Classes\.jpg] | |
@="PhotoViewer.FileAssoc.Tiff" | |
; Change Extension's File Type | |
[HKEY_CURRENT_USER\Software\Classes\.jpeg] | |
@="PhotoViewer.FileAssoc.Tiff" | |
; Change Extension's File Type | |
[HKEY_CURRENT_USER\Software\Classes\.gif] | |
@="PhotoViewer.FileAssoc.Tiff" |
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; | |
}; |
NewerOlder