Skip to content

Instantly share code, notes, and snippets.

View Cierra-Runis's full-sized avatar
😎
很酷,不编程

Cierra-Runis Cierra-Runis

😎
很酷,不编程
View GitHub Profile
@Cierra-Runis
Cierra-Runis / script.ps1
Created June 5, 2025 22:09
Remove or Customize Windows Shortcut Arrow Icon
if (!(Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons')) { New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons' -Force } ; New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons' -Name 29 -Value "$env:SystemRoot\System32\imageres.dll,197" -PropertyType String -Force ; Stop-Process -Name explorer -Force ; $f="$env:USERPROFILE\AppData\Local\IconCache.db"; if(Test-Path $f){attrib -s -r -h $f; Remove-Item $f -Force}; Start-Process explorer;
@Cierra-Runis
Cierra-Runis / main.dart
Created May 10, 2023 22:49
tangled-rose-8335
void main() {
final templateUrl = '{host}/api/v3/{container}/{resourceId}';
final params = <String, dynamic>{
'host': 'www.api.com',
'container': 'books',
'resourceId': 10
};
print(templateUrl.asTemplate(params)); // www.api.com/api/v3/books/10