Skip to content

Instantly share code, notes, and snippets.

# Maintainer: Darren Wu <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')>
_gemname=aozora4reader
pkgname=aozoras
pkgver=1
pkgrel=1
pkgdesc='furikana & aozora4reader & aozora-pakejji'
arch=('any')
url='https://github.com/takahashim/aozora4reader'
# furikana # http://xymtex.my.coocan.jp/fujitas2/texlatex/index.html
# Maintainer: Darren Wu <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')>
pkgname=texlive-langjapanese-extra
pkgver=1
pkgrel=1
pkgdesc='furikana only'
arch=('any')
url='http://xymtex.my.coocan.jp/fujitas2/texlatex/index.html'
license=('unknown')
makedepends=('nkf')
@Un1Gfn
Un1Gfn / SYSU-SECURE.sh
Created September 1, 2018 04:27
Connect to SYSU East Campus "SYSU-SECURE" AP
#!/bin/bash
# Connect to SYSU East Campus "SYSU-SECURE" AP
# wpa_supplicant -B -i wlo1 -c <(echo '
# eapol_version=1
# network={
# ssid="SYSU-SECURE"
# key_mgmt=WPA-EAP
# eap=PEAP
# phase2="auth=MSCHAPV2"
@Un1Gfn
Un1Gfn / p.txt
Last active September 24, 2018 16:24
piracy
# echo '
# https://foo.com/file.pdf
# out=file01.pdf
# https://bar.com/file.pdf
# out=file02.pdf
# ' | proxychains aria2c -V --seed-ratio=0.0 --force-save --input-file -
# Gulliver's Travels
https://www.gutenberg.org/ebooks/829
# Mantainer Jens Staal <staal1978@gmail.com>
pkgname=openwatcom-v2-git
pkgver=r9071.814761b1f
pkgrel=1
pkgdesc="V2 Fork of Open Watcom suite of compilers and tools"
arch=('x86_64')
url="http://open-watcom.github.io/open-watcom/"
license=('custom:OWPL-1')
makedepends=(
@Un1Gfn
Un1Gfn / Debugging with GDB Sample Session no debugging symbols found.md
Last active May 11, 2020 12:41
Debugging with GDB: Sample Session: no debugging symbols found

Debugging with GDB: Sample Session: no debugging symbols found

Problem

In the short m4 session from Debugging with GDB: Sample Session, setting breakpoint fails:

$ gdb -q m4
Reading symbols from m4...(no debugging symbols found)...done.
(gdb) break m4_changequote
Function "m4_changequote" not defined.
Make breakpoint pending on future shared library load? (y or [n])
@Un1Gfn
Un1Gfn / lfs.md
Last active February 26, 2019 05:35
Linux From Scratch 8.3: Some checks after 5.36. Changing Ownership and before 6. Installing Basic System Software

Why

5.2. Toolchain Technical Notes ...removes potential contamination of the target system by lessening the chance of headers or libraries from the host being incorporated into the new tools test suite failure will usually highlight this error before too much additional work is performed

Check dynamic linker

1.1. How to Build an LFS System >Chapter 5 also shows you how to build a first pass of the toolchain, including Binutils and GCC (first pass basically means these two core packages will be reinstalled). The next step is to build Glibc, t

@Un1Gfn
Un1Gfn / so.md
Last active March 2, 2019 13:16
GCC: Are directories specified with -I and -L searched before the default or after header/linker search path?

GCC: Are directories specified with -I and -L searched before the default or after header/linker search path?

Create files

zlib.h

int z_foo();
@Un1Gfn
Un1Gfn / subscription.bak.md
Last active June 26, 2021 06:35
ShadowsocksD/SSD subscription specification
@Un1Gfn
Un1Gfn / 0-ssd.md
Last active February 7, 2020 10:33
ShadowsocksD/SSD JSON: Query with jq and generate shadowsocks-libev JSON

SSD(ShadowsocksD) JSON: Query with jq and generate shadowsocks-libev JSON

Prerequisites

  • Basic understanding of systemd service file
  • /usr/lib/systemd/system/shadowsocks-XXXservice

Examples:

Archlinux