Skip to content

Instantly share code, notes, and snippets.

View Karmenzind's full-sized avatar
🎯
Focusing

_kmz Karmenzind

🎯
Focusing
View GitHub Profile
@asheroto
asheroto / Remove-Duplicate-Entries-From-Path-Variables.ps1
Last active May 10, 2024 04:59
PowerShell script to remove duplicate entries from PATH environmental variables in Windows.
Clear-Host;
# Begin
Write-Output "⏲️⏲️⏲️ Starting ⏲️⏲️⏲️"
Write-Output ("-" * 50)
Write-Output ""
# System PATH
Write-Output "🖥️ Checking System PATH 🖥️"
$TempMachinePath = [System.Environment]::GetEnvironmentVariable("Path", "Machine");
@davidmh
davidmh / quickfix-fzf.vim
Last active July 15, 2022 20:00
Filter the quickfix list with fzf
function! s:format_qf_line(line)
let parts = split(a:line, ':')
return { 'filename': parts[0]
\,'lnum': parts[1]
\,'col': parts[2]
\,'text': join(parts[3:], ':')
\ }
endfunction
function! s:qf_to_fzf(key, line) abort
@xiaostrong
xiaostrong / qqmessage.py
Created February 21, 2018 08:57
QQ空间留言脚本
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import requests
import time
import re
import json
import time
def login():
options = webdriver.ChromeOptions()
@arulprabakaran
arulprabakaran / Sublime Text 3 Build 3126 Keys.md
Last active April 17, 2020 06:32
Sublime text 3 (Build 3126) license key.

Sublime text 3 (Build 3126) license key,these all tested available on 2016/09/23.

##Feel free to enjoy them.

—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
#
## aria2 config
#
# man page = http://aria2.sourceforge.net/manual/en/html/aria2c.html
# file path = $HOME/.aria2/aria2.conf
# Download Directory: specify the directory all files will be downloaded to.
# When this directive is commented out, aria2 will download the files to the
# current directory where you execute the aria2 binary.
#dir=/some/download/