Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active July 19, 2025 00:15
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
"----------------Vundle Stuff ------------------"
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"call vundle#begin('~/some/path/here')
" - Go To Plugins
@LinuxSBC
LinuxSBC / 1password-flatpak-browser-integration.sh
Last active July 19, 2025 00:12
1Password Integration with Flatpak Browsers
#!/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
mayuki / CredentialUI.cs
Created March 22, 2010 10:22
Windows Common Credential UI Helper for .NET Framework
/*
* CredentialUI.cs - Windows Credential UI Helper
*
* License: Public Domain
*
*/
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
@derofim
derofim / ReadMe.md
Created April 23, 2017 15:41
shorten long file names windows

Script tested on Windows 10 64bit.

  1. Install git bash from https://git-for-windows.github.io/
    Git allows to use linux commands on windows.
  2. 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
  3. You can use "mv" command to rename "VeryLongFileName.ext" to "shortFileName.ext" like this:
    mv "VeryLongFileName.ext" "shortFileName.ext"
  4. If you need to rename a lot of files in folder use shorten.sh below.
@jakariyaa
jakariyaa / OktaVerify_TOTP_Key_Exteaction.md
Last active July 19, 2025 00:02
Okta Verify TOTP secret key can be extracted easily using curl and the code below.
  1. Get the content of the QR for Okta Verify app setup. It looks like this: oktaverify://email@domain.com/?t=XXXXX&f=YYYYY&s=https://DOMAIN.okta.com&issuer=DOMAIN.okta.com&isIdxEnabled=true
  2. Replace XXXXX, YYYYY and DOMAIN to your values in curl below:
curl --request POST \
  --url https://DOMAIN.okta.com/idp/authenticators \
  --header 'Accept: application/json; charset=UTF-8' \
  --header 'Accept-Encoding: gzip, deflate' \
  --header 'Authorization: OTDT XXXXX' \
  --header 'Content-Type: application/json; charset=UTF-8' \
@felipe93-arita
felipe93-arita / Sistema_Faculdade.py
Last active July 19, 2025 00:00
Projeto para entrega de um trabalho acadêmico realizado, simulando um cadastro de acadêmicos.
import sys
import json
def salvar_lista(lista_qualquer, nome_arquivo):
with open(nome_arquivo,"w",encoding="utf-8") as arquivo_aberto:
json.dump(lista_qualquer,arquivo_aberto,ensure_ascii=False)
def ler_lista(nome_arquivo):
try:
with open(nome_arquivo,"r",encoding="utf-8") as arquivo_aberto:

Types

  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
@DerFichtl
DerFichtl / clamav-macosx.md
Last active July 18, 2025 23:43
clamav on mac osx - install and configure the virus scanner on mac osx
layout title published tags
post
clamav - install and configure on mac osx
true
blog
clamav

Install Clamav

Install clamav via homebrew