Skip to content

Instantly share code, notes, and snippets.

View sify21's full-sized avatar
🌴
On vacation

sify21

🌴
On vacation
View GitHub Profile
@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 November 15, 2024 13:06
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