Skip to content

Instantly share code, notes, and snippets.

🎧
Darude - Sandstorm

Jules Pénuchot JPenuchot

🎧
Darude - Sandstorm
Block or report user

Report or block JPenuchot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JPenuchot
JPenuchot / build.sh
Last active Nov 5, 2019
clang-metaprogramming build script
View build.sh
#!/bin/sh
git clone https://gitlab.com/lock3/clang.git llvm-project
cd llvm-project
git checkout feature/metaprogramming
cd ..
mkdir -p build
cd build
@JPenuchot
JPenuchot / Corefile
Last active Jul 1, 2019
Minecraft Bedrock DNS redirection to connect to private servers from consoles (taken from https://www.reddit.com/r/MCPE/comments/a01tq8/bedrock_dedicated_server_for_the_switch/)
View Corefile
. {
# DNS rewriting method (to connect using hostnames)
#rewrite name exact mco.lbsg.net <HOSTNAME>
# DNS host method (to connect using IP addresses)
hosts {
<IP> mco.lbsg.net
fallthrough
}
@JPenuchot
JPenuchot / atelier-links.md
Last active Nov 14, 2018
Outils et galleries pour memelords
View atelier-links.md
@JPenuchot
JPenuchot / main.cpp
Last active Jul 19, 2018
Fully optimized mean function using xsimd
View main.cpp
#include <vector>
#include <numeric>
#include <utility>
#include <iostream>
#include <xsimd/xsimd.hpp>
using namespace std;
namespace xs = xsimd;
@JPenuchot
JPenuchot / pretty_printer.cpp
Created Jul 19, 2018
Example of C++ std::tuple pretty printer using parameter packs
View pretty_printer.cpp
#include <tuple>
#include <iostream>
int main()
{
// Creates a tuple<float, int, std::string> object
auto tup = std::make_tuple(1.f, 10, "Hello !");
// Apply the lambda with the members
// of the tuple as arguments
@JPenuchot
JPenuchot / HABILITIES.md
Created May 2, 2018 — forked from roblabla/HABILITIES.md
We believe in your habilities.
View HABILITIES.md

Muh Switch Keys

So you want to decrypt switch content ? Well, the good news is that all the tools required to do that are written up! The great news is, since this is crypto we're talking about, you'll have to find the keys. Yourself. Like it's easter.

So here you can find a template of the $HOME/.switch/prod.keys file that hactool uses to decrypt content. It contains all the SHA256 and location of the keys and seeds, so you can find them yourselves.

Note that all the seeds (the keys that end with _source) are used along with the master_key_## to derive an actual key. If you have somehow obtained the key without the seed, you can rename xxx_source to xxx_## (where ## is the master key number) and put your key there.

How the heck do I obtain dem keys ?

@JPenuchot
JPenuchot / CMakeLists.txt
Last active Mar 16, 2018
CMakeLists - Projet POA
View CMakeLists.txt
cmake_minimum_required( VERSION 2.8.9 )
project( Proj LANGUAGES CXX )
# Compiler stuff
set( CMAKE_C_COMPILER /usr/bin/clang )
set( CMAKE_CXX_COMPILER /usr/bin/clang++ )
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O3" )
@JPenuchot
JPenuchot / recap-simplexe.md
Last active Feb 14, 2018
Explication d'un simplexe en une phase
View recap-simplexe.md

Récap simplexe

On a un problème de maximisation :

Max f(x1, x2, x3) = 1 x1 + 2 x2 + 3 x3
| sc :    x1 +   x2 <= 5
|       2 x2 + 5 x3 <= 6
View ndi_dump.txt
http://www.theuselessweb.com/
http://www.windows93.net/
http://www.nioutaik.fr/
http://www.beepbox.co/
http://club-meta.fr/
http://heeeeeeeey.com/
http://gpu.rocks/
http://disnovation.org/
https://www.deseat.me/
http://doseofted.com/project/aesthetic/app.htm
@JPenuchot
JPenuchot / i3config
Created Jul 12, 2017
temp - deb i3config
View i3config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
You can’t perform that action at this time.