Skip to content

Instantly share code, notes, and snippets.

@motorailgun
motorailgun / idea.md
Last active November 16, 2023 03:13
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB
@KC-plus-plus
KC-plus-plus / uakronvpninstructions.md
Last active November 18, 2021 20:39
Using openfortivpn for UAkron

openfortivpn instructions

These are the unofficial instructions for using openfortivpn to remotely connect to the University of Akron network. Openfortivpn is a command line client available on macOS and many linux distributions. These instructions may vary slightly on different platforms. These unofficial instructions were written by me personally, not as an employee or representative of UAkron. Use at your own risk, I'm not liable for anything you do.

Installation

openfortivpn is available for macOS and a wide variety of Linux distributions. For a list of packages, visit the install section of the openfortivpn Github repository or visit repology for a more complete list of packages. Package installation will vary per platform. Here is an example command of using APT to install openfortivpn on Ubuntu and Debian-based distros.

`sudo apt install

@merlinmann
merlinmann / wisdom.md
Last active April 17, 2024 21:52
Merlin's Wisdom Project (Draft)

Merlin's Wisdom Project

Or: “Everybody likes being given a glass of water.”

By Merlin Mann.

It's only advice for you because it had to be advice for me.

#!/usr/bin/env python
import math
import sys
from moviepy.editor import AudioClip, VideoFileClip, concatenate_videoclips
# Get average RGB of part of a frame. Frame is H * W * 3 (rgb)
# Assumes x1 < x2, y1 < y2
@comp500
comp500 / fabricserversidemods.md
Last active April 15, 2024 20:13
Useful Fabric server side mods
@dvdveer
dvdveer / create_lfs_bundle.sh
Created April 29, 2020 16:38
Shell script to create a git bundle including changed LFS files
#!/bin/sh
# This script creates a bundle of git commits between START and END.
# It also tars the lfs files that changed in those commits.
# When you unbundle on the receiving side you should untar the LFS tar *before*
# running 'git pull' on the bundle file.
# Note that this is just an example script that doesn't do error checking, and
# also doesn't account for submodules, etc. YMMV
# Start and end commits of bundle
@pr0way
pr0way / README.md
Last active January 31, 2024 09:49
Simple init script to up & down wireguard
  1. Go to /etc/init.d directory
  2. Create file with name "wireguard" and content below.
  3. Make file executable chmod +x wireguard
  4. Add to rc-update: rc-update add wireguard default
  5. That's it
@0xabad1dea
0xabad1dea / speedrunning-faq.md
Last active February 26, 2024 17:42
Speedrunning FAQ/Glossary

Speedrunning FAQ/Glossary

by 0xabad1dea September 2018

You may notice a decidedly Nintendo bias to the examples. I can't change who I am.

What is Speedrunning?

Speedrunning is:

  • Completing a video game
anonymous
anonymous / SpectatorServer.cs
Created March 1, 2013 19:21
// Type: LOLReplay.SpectatorServer
// Assembly: LOLReplay, Version=0.8.1.4, Culture=neutral, PublicKeyToken=null
// Assembly location: C:\Dokumente und Einstellungen\[...]\Desktop\Downloads\LOLReplay.exe
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;