Skip to content

Instantly share code, notes, and snippets.

View syfxlin's full-sized avatar
💤
间歇性踌躇满志,持续性混吃等死

Otstar Lin syfxlin

💤
间歇性踌躇满志,持续性混吃等死
View GitHub Profile
@syfxlin
syfxlin / 📊 Weekly development breakdown
Last active April 20, 2024 00:06
📊 Weekly development breakdown
Java 10 hrs 28 mins ████████▋░░░░░░░░░░░░ 41.4%
TypeScript 9 hrs 17 mins ███████▋░░░░░░░░░░░░░ 36.7%
Less 2 hrs 28 mins ██░░░░░░░░░░░░░░░░░░░ 9.8%
HTTP Re... 1 hr 6 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.4%
XML 49 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.3%
@syfxlin
syfxlin / Atom One Dark Pro.icls
Last active June 4, 2020 14:20
Atom One Dark Pro color scheme with IDEA
<scheme name="Atom One Dark Pro" version="142" parent_scheme="Darcula">
<option name="FONT_SCALE" value="1.0" />
<metaInfo>
<property name="created">2020-06-04T22:19:38</property>
<property name="ide">idea</property>
<property name="ideVersion">2020.1.1.0.0</property>
<property name="modified">2020-06-04T22:19:54</property>
<property name="originalScheme">Atom One Dark Pro</property>
</metaInfo>
<option name="LINE_SPACING" value="1.2" />
@syfxlin
syfxlin / windows-terminal-profile.json
Created March 14, 2020 10:12
我的 Windows Terminal Profile 配置文件
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"wordDelimiters": " /\\()\"'-.,:;<>~!@#$%^&*|+=[]{}~?\u2502",
"requestedTheme": "system",
"initialCols": 90,
"initialRows": 25,
@syfxlin
syfxlin / posh-profile.ps1
Last active June 5, 2021 15:32
我的 PowerShell Profile 配置文件
Invoke-Expression (oh-my-posh --init --shell pwsh --config "$(scoop prefix oh-my-posh3)/themes/ys.omp.json")
Import-Module $env:USERPROFILE\scoop\modules\scoop-completion
Remove-Item alias:\curl
Remove-Item alias:\wget
Remove-Item alias:\rm
Remove-Item alias:\ls
Remove-Item alias:\cp
Set-Alias proxy "D:\Documents\WindowsPowerShell\proxy.ps1"
@syfxlin
syfxlin / posh-proxy.ps1
Last active March 14, 2020 09:57
PowerShell 快速设置代理的脚本
$defalut_proxy = 'http://127.0.0.1:7890';
if ([System.Environment]::GetEnvironmentVariable('DEFAULT_PROXY') -ne $null) {
$defalut_proxy = [System.Environment]::GetEnvironmentVariable('DEFAULT_PROXY');
}
function Env-Proxy($operate, $proxy = $defalut_proxy) {
if ($operate -eq "get") {
return $env:HTTP_PROXY;
}