Skip to content

Instantly share code, notes, and snippets.

@BrychanOdlum
BrychanOdlum / storefrontmappings.json
Last active January 5, 2025 21:02
Apple iTunes Storefront IDs
[
{
"name": "Algeria",
"code": "DZ",
"storefrontId": 143563
},
{
"name": "Angola",
"code": "AO",
"storefrontId": 143564

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active January 5, 2025 20:45 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@ostechnix
ostechnix / audiogenipy.py
Last active January 5, 2025 20:45
Audiogenipy - A Python Script to Create an Audiobook from a Text File using Python and gTTS in Linux, macOS and Windows.
#!/usr/bin/env python3
# ------------------------------------------------------------------
# Script Name: Audiogenipy
# Description: A Python Script to Create an Audiobook
# from a Text File using Python and gTTS.
# Website: https://gist.github.com/ostechnix
# Version: 1.0
# Usage: python audiogenipy.py
# ------------------------------------------------------------------
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active January 5, 2025 20:43
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@artizirk
artizirk / wg-lla.sh
Created January 5, 2025 13:37
Calculates cryptographically-bound IPv6 Link-Local Addresses from WireGuard public keys. Copy from https://gist.github.com/reidrankin/3a39210ce437680f5cf1ac549fd1f1ff
#!/bin/bash -e
# Copy from https://gist.github.com/reidrankin/3a39210ce437680f5cf1ac549fd1f1ff
# https://web.archive.org/web/20200919165129/https://gist.github.com/reidrankin/3a39210ce437680f5cf1ac549fd1f1ff
blake2s_mix() {
local A_NAME="$1"
local A="$2"
local B_NAME="$3"
local B="$4"
local C_NAME="$5"
Questions are not from any actual exam!!!
Q: Create a job that calculates pi to 2000 decimal points using the container with the image named perl
and the following commands issued to the container: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
Once the job has completed, check the logs to and export the result to pi-result.txt.
Solution:

Coral TPU on Debian 12 (Bookworm)

This installation is tested on the following Raspberry Pi SBCs:

  • Raspberry Pi 4B
  • Raspberry Pi 5 6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux)

with the following Coral TPUs:

  • Coral USB Accelerator
  • Coral Dual Edge TPU (installed on a Pineboards Hat AI!)
@leocomelli
leocomelli / git.md
Last active January 5, 2025 20:30
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda