Skip to content

Instantly share code, notes, and snippets.

View arguiot's full-sized avatar
🤑
Trading meme coins

Arthur Guiot arguiot

🤑
Trading meme coins
View GitHub Profile
@arguiot
arguiot / caesar.py
Last active November 18, 2020 18:20
Caesar cipher implementation for CTO
import argparse
import string
import sys
def caesar(key, b_encrypt, b_block_of_five, text, alphabet, b_keep_chars):
#change lowercase chars to uppercase
text = text.upper()
ciphertext = ""
#iterate throw text
for old_character in text:
@arguiot
arguiot / Activate Office 2019 for macOS VoL.md
Created October 20, 2020 19:35 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@arguiot
arguiot / geist.scss
Created February 4, 2020 02:46
Geist SCSS
:root {
--geist-gap:16pt;
--geist-gap-negative:-16pt;
--geist-gap-half:8pt;
--geist-gap-half-negative:-8pt;
--geist-gap-quarter:4pt;
--geist-gap-quarter-negative:-4pt;
--geist-gap-double:32pt;
--geist-gap-double-negative:-32pt;
--geist-page-margin:16pt;
@arguiot
arguiot / key.txt
Created October 7, 2019 17:57
Keys Office 2016
6TCCN-RQ3YP-DRHVB-M47QJ-78RHM
NMVVW-GMXKV-MYYGH-V8JDM-R6YVM
@arguiot
arguiot / git.sh
Created August 28, 2018 09:08
Check for commits since last release
# Pull tags
git fetch --all
# Check those commits
git log --oneline $(git describe --tags --abbrev=0 @^)..@
@arguiot
arguiot / install.sh
Created June 4, 2018 11:42
Install Swift
#!/usr/bin/env bash
# Automatically installs swiftenv and run's swiftenv install.
# This script was designed for usage in CI systems.
git clone --depth 1 https://github.com/kylef/swiftenv.git ~/.swiftenv
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"
if [ -f ".swift-version" ] || [ -n "$SWIFT_VERSION" ]; then
@arguiot
arguiot / onfocus.js
Created March 17, 2018 13:15
On focus event in JS
const event = new Event("focused");
let focused = true;
setInterval(() => {
if (document.hasFocus() && !focused) {
document.dispatchEvent(event);
focused = true;
} else if (focused) {
document.dispatchEvent(event);
focused = false;
@arguiot
arguiot / cla.md
Created February 21, 2018 11:56
CrypTools CLA

Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Our Standards

@arguiot
arguiot / install-swift.sh
Created February 19, 2018 12:54
Install Swift on Ubuntu
#!/usr/bin/env bash
# Automatically installs swiftenv and run's swiftenv install.
# This script was designed for usage in CI systems.
git clone --depth 1 https://github.com/kylef/swiftenv.git ~/.swiftenv
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH="$SWIFTENV_ROOT/bin:$SWIFTENV_ROOT/shims:$PATH"
if [ -f ".swift-version" ] || [ -n "$SWIFT_VERSION" ]; then
@arguiot
arguiot / countdown-new-year-s-eve.markdown
Last active December 31, 2017 11:50
Countdown - New Year's Eve