🗨️ Have a question? Join Chat! | 🇯🇵 Learn Japanese | 📚 Resources | ❓ FAQ |
---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import os, os.path | |
import sys | |
import time | |
from datetime import datetime | |
def help(): | |
print("Data reaper!") | |
print("Written by: @0xdeadbeer") | |
print(" - first_param: list containing file locations to backup") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import contfrac | |
import math | |
""" | |
Generously coded by me and my friend in the middle of a chill Sunday | |
Resources: | |
- https://crypto.stanford.edu/~dabo/pubs/papers/RSA-survey.pdf | |
- https://en.wikipedia.org/wiki/Wiener%27s_attack | |
- https://en.wikipedia.org/wiki/RSA_(cryptosystem) |
See latest: https://medium.com/@zachcaceres/everything-you-need-to-know-about-body-language-5f081f1e04d3
The most honest part of the human body are the feet. Why?
Because we've practiced lying with our words and faces since pre-school.
In this summary, we'll cover the top signals and signs explained by FBI body language expert Joe Navarro in his best-seller What Every Body is Saying.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> // printf, sprintf, fprintf | |
#include <stdlib.h> // malloc | |
int main() { | |
const unsigned char bytearr[] = { 0x12, 0x34, 0x56, 0x78 }; | |
const size_t arrlen = sizeof(bytearr); | |
const size_t hexlen = 2; // hex representation of byte with leading zero | |
const size_t outstrlen = arrlen * hexlen; | |
char * outstr = malloc(outstrlen + 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!doc.containsKey('myfield') || doc['myfield'].empty) { return "unavailable" } else { return doc['myfield'].value } |
$mod
refers to the modifier key (window/command or alt by default depending on config)
startx i3
start i3 from command line$mod+<Enter>
open a terminal$mod+d
open dmenu (text based program launcher)$mod+r
resize mode ( or to leave resize mode)$mod+shift+e
exit i3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _MACARON_BASE64_H_ | |
#define _MACARON_BASE64_H_ | |
/** | |
* The MIT License (MIT) | |
* Copyright (c) 2016-2024 tomykaira | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including |
There is a surprising lack of documentation on how to do this. See:
- http://dst.lbl.gov/~boverhof/openssl_certs.html
- etcd-io/etcd#209
- https://www.prshanmu.com/2009/03/generating-ssl-certificates-with-x509v3-extensions.html
Run:
NewerOlder