Skip to content

Instantly share code, notes, and snippets.

@Earnestly
Earnestly / llpp.conf.xml
Last active August 27, 2024 08:56
Basic vi-like emulation using llpp's new keymapping. Also some other defaults and examples for custom fonts.
<llppconfig>
<ui-font size='18'>
<![CDATA[/home/earnest/.local/share/fonts/Fontin-Regular.otf]]>
</ui-font>
<defaults zoom='100'
auto-scroll-step='12'
horizontal-scroll-step='24'
case-insensitive-search='true'
uri-launcher='$BROWSER &quot;%s&quot;'
@joepie91
joepie91 / vpn.md
Last active November 18, 2024 12:41
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@chocolatkey
chocolatkey / EBookJapanRipper.user.js
Last active September 3, 2020 21:11
Doesn't work right now
// ==UserScript==
// @name EBookJapanRipper
// @version 1.10
// @downloadURL https://gist.githubusercontent.com/chocolatkey/ad0c04b0768f5fcdd3ea3c6cb089b8b2/raw
// @supportURL https://gist.github.com/chocolatkey/ad0c04b0768f5fcdd3ea3c6cb089b8b2
// @description Send my regards to "t-hamaguchi" lol
// @author chocolatkey
// @homepage https:/github.com/chocolatkey
// @include http://*br.ebookjapan.jp*
// @include https://*br.ebookjapan.jp*
@cryzed
cryzed / fix-infinality.md
Last active August 31, 2024 13:05
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Screenshots

Results after following the guide as of 11.01.2017 13:08:

@OkashiOdayakana
OkashiOdayakana / getting-started-sh.md
Last active March 1, 2019 22:35
OwO.sh Getting Started Guide

Getting Started with OwO.sh

The URL Shortener / File Uploader by @OkashiOdayakana, @Jakeoid, and @Aurieh

Installation

Go to https://owo.codes/whats-this/owo.sh and follow the instructions there.

  • Connect to wifi: wifi-menu
  • Partition the disk:
    1. list all disks: fdisk -l
    2. partition the disk: gdisk /dev/disk_name:
    • o: clear all partitions, n: create new partition, p: list partitions, w: save partitions, q: quit
    • create 4 partitions each with their equivalent code for partition type, boot: EF00, system: 8300, home: 8300, and swap: 8200
  • Format the partitions:
    • boot partition: mkfs.vfat /dev/boot_partition_name
    • system and home partitions: mkfs.ext4 /dev/system_partition_name && mkfs.ext4 /dev/home_partition_name
  • swap partition: mkswap /dev/swap_partition_name &amp;&amp; swapon /dev/swap_partition_name
#!/bin/sh
set -e
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m'
mkdir -p log
echo -e "${GREEN}Checking for wine...${NC}"
@rdnetto
rdnetto / Writeup.md
Last active April 30, 2018 23:37
Multiseat PCIe Passthrough Writeup

A few people expressed interest in finding out how this went, so I thought I'd do a writeup of my experiences getting PCIe passthrough working with multiseat.

One of the more interesting things to note is that hot-plugging aside, it works fine with Vega, despite the card not being shown as resettable by the Arch wiki script.

I've mostly followed the Arch wiki, with additional sources linked throughout.

Why would you want to do this?

Multiseat enables multiple people to use the same computer simultaneously. This can reduce setup costs (you only need one motherboard, CPU, etc.) and improve resource utilization (if one seat is idle, the other can make full use of the CPU + memory). The only parts needed per seat are the screen, peripherals, graphics card and a USB soundcard (opt.)

PCIe passthrough allows you to connect on

@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active August 20, 2024 04:13
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux

Introduction

Here are some rough notes on building Kirikiri SDL2 for iOS and Android.
Please note that these may or may not be incomplete. Improved documentation is being planned, but not started yet.

Startup Directory selection

For iOS, the startup directory will be searched in <app name>.app/Contents/Resources/.
For Android, the startup directory will be searched in the root of the assets directory embedded in the apk. For best performance, the file should be stored uncomompressed.

Startup folder candidates: