Skip to content

Instantly share code, notes, and snippets.

View fastfingertips's full-sized avatar
🧶
knitting..

fastfingertips

🧶
knitting..
View GitHub Profile
@fastfingertips
fastfingertips / .ps1
Created September 19, 2022 18:57
Process killer
(Get-WmiObject Win32_Process -Filter "name = 'appName.exe'" | where {$_.CommandLine -like '*ARGS*'}).Terminate()
{
"iqs": [],
"pgx": [],
"juf": [],
"jqr": [],
"uni": [],
"nfb": [],
"ccr": [],
"hcn": [],
"dls": [
@fastfingertips
fastfingertips / recycle_bin_manager.pyw
Last active August 17, 2023 11:39
This Python script lets you add or remove the Recycle Bin folder from the 'This PC' section on Windows by modifying the Windows Registry with the 'reg add' or 'reg delete' command. Use it with caution as changes to the Registry can have negative effects on the system.
import os
import sys
import ctypes
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QPushButton
def is_admin():
try: return ctypes.windll.shell32.IsUserAnAdmin()
except: return False
?from=2022-06-23&rangetype=1day < 2
?from=2022-06-24&rangetype=1day
?from=2022-06-25&rangetype=1day
?from=2022-06-26&rangetype=1day
?from=2022-06-27&rangetype=1day
?from=2022-06-28&rangetype=1day
?from=2022-06-29&rangetype=1day
?from=2022-06-30&rangetype=1day
?from=2022-07-01&rangetype=1day
# Github bookmarks
---
bookmarks:
keyboard:
- https://www.farah.cl/Keyboardery/A-Visual-Comparison-of-Different-National-Layouts
andr:
- https://stackoverflow.com/a/72406336
- https://stackoverflow.com/a/35691988
github:
- https://github.com/littlecodersh/ItChat/blob/master/itchat/config.py
{
"sessions": {
"12308": {
"start_key": "11072023190618",
"last_key": "11072023190618",
"processes": {
"11072023190618": {
"finished": false
}
}
interface fastEthernet 0/0
ip address 192.168.1.2 255.255.255.0
no sh
security passwords min-length ?
security passwords min-length 10
line vty 0 4
login local
exec-timeout ?
execc-timeout 2
javascript:(() => {
function toggleBlurEffect() {
const e = document.body.style.filter;
e && e.includes("blur") ? document.body.style.filter = "" : document.body.style.filter = "blur(30px)";
}
document.addEventListener("click", toggleBlurEffect);
document.title = "Tab name hidden.";
document.querySelectorAll('link[href$=".ico"],link[href*="favicon"]').forEach(e => e.href = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=");
})();
@fastfingertips
fastfingertips / video_sharing_sites.md
Last active August 26, 2023 15:07
not require login
@fastfingertips
fastfingertips / .yaml
Last active October 19, 2023 05:05
snippets
html
bootstrap
docs
https://getbootstrap.com/docs/5.3/customize/color-modes/#enable-dark-mode
https://getbootstrap.com/docs/5.3/getting-started/download/
python
scraping
https://selenium-python.readthedocs.io/
flask
https://flask.palletsprojects.com/en/2.3.x/patterns/flashing/