Skip to content

Instantly share code, notes, and snippets.

View Raymo111's full-sized avatar

Raymond Li Raymo111

View GitHub Profile
@Raymo111
Raymo111 / Automatic Dislocker.md
Last active October 31, 2023 12:33
Automatic Dislocker

Automatic Dislocker

By Raymond Li (Raymo111), October 1st, 2019

You'll need to have Dislocker installed, obviously. You'll also need accessible folders at /media/bitlocker/dislocker-file and /media/bitlockermount

  1. Download the script
    mkdir -p ~/scripts && wget +x https://gist.github.com/Raymo111/964f8c5943a64919a324b5f92ac5874b/raw/72d3b9c23189e0e1a55de7aab22578773b8f133c/dislocker.sh ~/scripts/dislocker.sh
    
@Raymo111
Raymo111 / SSH Over 443.md
Last active August 4, 2023 04:00
How to SSH over 443 while Apache runs SSL with socat, stunnel4 and sslh
@Raymo111
Raymo111 / i3lock on wake from sleep or hibernate.md
Last active October 10, 2023 14:54
How to use i3lock to wake from suspend state
@Raymo111
Raymo111 / Setup a Raspberry Pi.md
Last active June 5, 2020 09:32
How to Setup a Raspberry Pi
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active April 17, 2024 01:06
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@rain1024
rain1024 / tut.md
Last active March 28, 2024 00:53
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@aeris
aeris / clip.py
Created August 9, 2012 23:21
Copy/paste from command line with Klipper
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
import argparse, dbus, sys
bus = dbus.SessionBus()
klipper = bus.get_object('org.kde.klipper', '/klipper')