Instantly share code, notes, and snippets.
Discover gists
LinuxSBC /1password-flatpak-browser-integration.sh
Last activeJuly 19, 2025 00:12
1Password Integration with Flatpak Browsers This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -oue pipefail | |
INFO='\033[0;36m'# Cyan for general information | |
SUCCESS='\033[0;32m'# Green for success messages | |
WARN='\033[0;33m'# Yellow for warnings | |
ERROR='\033[0;31m'# Red for errors | |
NC='\033[0m'# No Color | |
echo"This script will help you set up 1Password in a Flatpak browser." |
mayuki /CredentialUI.cs
CreatedMarch 22, 2010 10:22
Windows Common Credential UI Helper for .NET Framework This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
/* | |
* CredentialUI.cs - Windows Credential UI Helper | |
* | |
* License: Public Domain | |
* | |
*/ | |
using System; | |
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
using System.Security; |
Script tested on Windows 10 64bit.
- Install git bash fromhttps://git-for-windows.github.io/
Git allows to use linux commands on windows. - Open Git Bash Command Line
Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
https://git-for-windows.github.io/img/gw1.png - You can use "mv" command to rename "VeryLongFileName.ext" to "shortFileName.ext" like this:
mv "VeryLongFileName.ext" "shortFileName.ext" - If you need to rename a lot of files in folder use shorten.sh below.
jakariyaa /OktaVerify_TOTP_Key_Exteaction.md
Last activeJuly 19, 2025 00:02
Okta Verify TOTP secret key can be extracted easily using curl and the code below.felipe93-arita /Sistema_Faculdade.py
Last activeJuly 19, 2025 00:00
Projeto para entrega de um trabalho acadêmico realizado, simulando um cadastro de acadêmicos. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
importsys | |
importjson | |
defsalvar_lista(lista_qualquer,nome_arquivo): | |
withopen(nome_arquivo,"w",encoding="utf-8")asarquivo_aberto: | |
json.dump(lista_qualquer,arquivo_aberto,ensure_ascii=False) | |
defler_lista(nome_arquivo): | |
try: | |
withopen(nome_arquivo,"r",encoding="utf-8")asarquivo_aberto: |
horaciomuller /conventional_commit_messages.md
Last activeJuly 18, 2025 23:59 — forked fromqoomon/conventional-commits-cheatsheet.md
Conventional Commit MessagesDerFichtl /clamav-macosx.md
Last activeJuly 18, 2025 23:43
clamav on mac osx - install and configure the virus scanner on mac osxseffs /raspbian-bookworm-minimal-kiosk.md
Last activeJuly 18, 2025 23:42
Raspbian Bookworm - Ultra Minimal Kiosk SetupNewerOlder