Skip to content

Instantly share code, notes, and snippets.

View MAGANER's full-sized avatar
🏠
Working from home

Ian MAGANER

🏠
Working from home
  • Russian Federation
View GitHub Profile
@stupidbodo
stupidbodo / aes_encryption.go
Last active January 3, 2024 10:29
AES Encryption Example in Golang
// Playbook - http://play.golang.org/p/3wFl4lacjX
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
@bkaradzic
bkaradzic / orthodoxc++.md
Last active July 30, 2024 19:58
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

use std::collections::HashMap;
use std::fmt;
use std::io;
use std::num::ParseFloatError;
/*
Types
*/
#[derive(Clone)]
@distgr
distgr / secret_input.py
Last active May 27, 2023 14:41
Secret input in python, Get input secretly and in a personalized way!
class SecretInput:
def __init__(self, prompt, show='*'):
import os
import sys
import pynput
import getpass
self.on_char = 0
self.show = show
self.value = str()