Skip to content

Instantly share code, notes, and snippets.

View syfxlin's full-sized avatar
๐Ÿ’ผ
Working

Otstar Lin syfxlin

๐Ÿ’ผ
Working
  • ส•-อฬถฬถฬถฬฏอก-ส”
  • ส•โ€ขฬฌอกโ€ขส”
  • 21:26 (UTC +08:00)
  • X @syfxlin
View GitHub Profile
@syfxlin
syfxlin / ๐Ÿ“Š Weekly development breakdown
Last active November 11, 2025 00:10
๐Ÿ“Š Weekly development breakdown
INI 11 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘ 81.5%
GitIgno... 1 min โ–ˆโ–‹โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 8.0%
TypeScript 0 secs โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 5.2%
XML 0 secs โ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 2.8%
Markdown 0 secs โ–Žโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 1.2%
@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;
}