Skip to content

Instantly share code, notes, and snippets.

View Leeo97one's full-sized avatar

Léo Leeo97one

  • France
  • 02:55 (UTC +02:00)
View GitHub Profile
@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active June 19, 2024 14:28
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
@Francesco149
Francesco149 / osu_on_linux_overhaul.md
Last active June 20, 2024 17:33
Ultimate guide to low-latency osu on linux
@tzmartin
tzmartin / embedded-file-viewer.md
Last active June 20, 2024 07:38
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@hexparrot
hexparrot / install_mineos-node
Last active October 4, 2020 03:55
Downloads, installs and configures components required for the MineOS Web User Interface on apt-get based systems using systemd.
#!/bin/sh
# update repositories
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get update
# download the necessary prerequisite components for mineos
apt-get -y install -y nodejs git rdiff-backup screen build-essential openjdk-8-jre-headless
# download the most recent mineos web-ui files from github
@r-a-y
r-a-y / bp-disable-translation.php
Created February 15, 2015 18:40
Disable automatic translations by WordPress.org / GlotPress for BuddyPress.
<?php
/*
Plugin Name: BP Disable Auto Translation
Description: Disables automatic translations by WordPress.org / GlotPress for BuddyPress.
Author: r-a-y
License: GPLv2 or later
*/
/**
* Disables automatic translations for BuddyPress.
@mahammad
mahammad / firefox-developer-edition.md
Last active June 21, 2024 22:26
How To install Firefox Developer Edition and create desktop icon for Ubuntu 14.04 LTS

chose other install way

  1. Open Terminal Ctrl+Alt+T Download Firefox Developer Edition tar file

    wget https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=linux64&lang=en-US

  2. Copy tar file to opt sudo cp -rp firefox-35.0a2.en-US.linux-x86_64.tar.bz2

  3. Open opt folder (cd /opt/) and untar file sudo tar xjf firefox-35.0a2.en-US.linux-x86_64.tar.bz2