This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: format-irclog.sh <file> | |
# 1. Append two spaces to the end of each line. | |
# 2. Remove all characters before last `<`, e.g. `<matterbridge> <sgp> foo` becomes `<sgp> foo`. | |
# 3. Remove lines containing `⇐` (parts). | |
# 4. Remove lines containing `→` (joins). | |
# 5. Escape the `*` character, e.g. `*foo*` becomes `\*foo\*`. | |
# 6. Escape the `<` character, e.g. `<3` becomes `\<3`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -u | |
CONFIG_DIR="$HOME/.config/runelite-${1:-main}" | |
RUNELITE_DIR="$HOME/src/runelite" | |
cd "$RUNELITE_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
% -*- erlang -*- | |
% | |
% Copyright 1999-2021 Gentoo Authors | |
% Distributed under the terms of the GNU General Public License v2 | |
% | |
% A small script to generate the ETS table that represents Rebar 3's | |
% package cache. | |
-module(gen_package_index). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static size_t debug_itoa(int value, char *buf, unsigned int radix, int sign) { | |
int neg = 0; | |
char *pbuf = buf; | |
unsigned int i; | |
unsigned int len; | |
if (radix > 16) { | |
*buf = '\0'; | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ad964f7eaef9c03ce68a01cfdd7fde9d56524868 Mon Sep 17 00:00:00 2001 | |
From: Martin Liska <[email protected]> | |
Date: Tue, 21 Dec 2021 17:43:55 +0100 | |
Subject: [PATCH] Support ld.mold linker. | |
gcc/ChangeLog: | |
* collect2.c (main): Add ld.mold. | |
* common.opt: Add -fuse-ld=mold. | |
* doc/invoke.texi: Document it. |
OlderNewer