Skip to content

Instantly share code, notes, and snippets.

View minpeter's full-sized avatar

minpeter minpeter

View GitHub Profile
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1D,00,3A,00,3A,00,1D,00,00,00,00,00
@minpeter
minpeter / install after wsl.json
Last active August 25, 2022 00:38
winget program export list
{
"$schema" : "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate" : "2022-08-16T21:20:56.052-00:00",
"Sources" :
[
{
"Packages" :
[
{
"PackageIdentifier" : "Canonical.Ubuntu"
## without scoop
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
wsl --set-default-version 2
Invoke-WebRequest -URI https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/ArchWSL_Online-AppX_22.10.16.0_x64.cer -OutFile arch.cer
Invoke-WebRequest -URI https://github.com/yuk7/ArchWSL/releases/download/22.10.16.0/ArchWSL_Online-AppX_22.10.16.0_x64.appx -OutFile arch.appx
Import-Certificate -FilePath .\arch.cer -CertStoreLocation Cert:\LocalMachine\TrustedPeople
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
scoop bucket add extras
scoop install runcat
🗣 Commented on #2 in GGos3/blog
🌞 Morning 205 commits █████▌░░░░░░░░░░░░░░░ 26.2%
🌆 Daytime 345 commits █████████▎░░░░░░░░░░░ 44.1%
🌃 Evening 156 commits ████▏░░░░░░░░░░░░░░░░ 19.9%
🌙 Night 76 commits ██░░░░░░░░░░░░░░░░░░░ 9.7%
@minpeter
minpeter / minpeter's GitHub Stats
Last active August 23, 2024 12:18
Github Stats ✨
⭐ Total Stars: 34
➕ Total Commits: 1,999
🔀 Total PRs: 76
🚩 Total Issues: 66
📦 Contributed to: 34
@minpeter
minpeter / blur-lisum.html
Created February 19, 2024 03:03
vercel style dark blur box test
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>lipsum</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link