Skip to content

Instantly share code, notes, and snippets.

View sify21's full-sized avatar
🌴
On vacation

sify21

🌴
On vacation
View GitHub Profile
@sangelxyz
sangelxyz / gist:f73b1f7581318979275322dc13094e19
Last active May 21, 2025 18:15
Insomnia and Postman Alternatives
Updated list / Nov 17 - 2024
Posting - https://posting.sh/ - Terminal Based
ATAC - https://github.com/Julien-cpsn/ATAC
Rest.nvim - https://github.com/rest-nvim/rest.nvim
Slumber - (uses tui client) https://slumber.lucaspickering.me/
@SubCoder1
SubCoder1 / index.html
Created February 1, 2023 15:57
Server Side Event in Go using Gin
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Server Sent Event</title>
</head>
<body>
<div class="event-data" id="data"></div>
@D4rk4
D4rk4 / kmskeys10.txt
Last active July 11, 2021 17:28 — forked from CHEF-KOCH/kmskeys10.txt
Windows 10 KMS Keys
Windows.10.and.Office.2016.gVLK
#####################################################################
Error
“Error: 0xC004F069 On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xC004F069’ to display the error text”
Solution
Find available target editions
DISM.exe /Online /Get-TargetEditions
PostgreSQL Type PostgreSQL Size Description Range Diesel Type Rust Type
Nullable Types nullable Nullable``
@jaysonsantos
jaysonsantos / main.rs
Last active April 29, 2024 15:16
rust ring example
extern crate ring;
use ring::aead::*;
use ring::pbkdf2::*;
use ring::rand::SystemRandom;
fn main() {
// The password will be used to generate a key
let password = b"nice password";
@0xjac
0xjac / private_fork.md
Last active June 23, 2025 05:21
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@dw72
dw72 / genicons.sh
Created November 27, 2016 14:40
Generate and install png icons from svg file
#!/usr/bin/bash
src=$1
dst=${1%.*}.png
[[ -z "$2" ]] && type="apps" || type=$2
for i in 16 22 24 32 64 128
do
inkscape -z -e $dst -w $i -h $i $src
@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active June 18, 2025 19:14
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave