Skip to content

Instantly share code, notes, and snippets.

@nosada
nosada / otf-source-han-code-jp.patch
Created Jul 12, 2020
Remove xorg-font-utils from depends, as it's no longer exists in Arch repos because of https://www.archlinux.org/todo/removal-of-xorg-font-utils-transitional-package/
View otf-source-han-code-jp.patch
diff --git a/.SRCINFO b/.SRCINFO
index 9643c48..7e4009e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Thu Apr 19 11:47:16 UTC 2018
pkgbase = otf-source-han-code-jp
pkgdesc = Japanese OpenType font for developers. Made by mixing SourceHanSans and SourceCodePro
pkgver = 2.011
@nosada
nosada / ttf-koruri.patch
Last active Jul 12, 2020
Remove xorg-font-utils from depends, as it's no longer exists in Arch repos because of https://www.archlinux.org/todo/removal-of-xorg-font-utils-transitional-package/
View ttf-koruri.patch
diff --git a/.SRCINFO b/.SRCINFO
index 94a41e1..62ca5ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = ttf-koruri
pkgdesc = Japanese TrueType font obtained by mixing M+ and Open Sans
pkgver = 20180915
- pkgrel = 1
+ pkgrel = 2
View download-artwork-from-wikiart-url.py
#!/bin/env python
"""
Usage:
download-artwork-from-wikiart-url.py URL
Arguments:
URL URL of artwork in wikiart.org
(ex.: https://www.wikiart.org/en/rene-magritte/gonconda-1953/)
"""
@nosada
nosada / fibo.py
Created May 2, 2019
Show Fibonacci numbers in oneline, keeping to refresh stdout (You are not expected to see this; there are much more useful examples in the Internet)
View fibo.py
#!/bin/env python
from time import sleep
import sys
def yield_fibonacci_nums(n):
a = b = 1
if n < 2:
yield b
@nosada
nosada / fish.PKGBUILD.patch
Last active Mar 2, 2019
Update fish on Arch Linux to 3.0.2 and backport a commit to resolve https://bbs.archlinux.org/viewtopic.php?id=244420
View fish.PKGBUILD.patch
diff --git a/fish/trunk/PKGBUILD b/fish/trunk/PKGBUILD
index 4b16fd36fdd..d276131e66d 100644
--- a/fish/trunk/PKGBUILD
+++ b/fish/trunk/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Jan Fader <jan.fader@web.de>
pkgname=fish
-pkgver=3.0.1
+pkgver=3.0.2
@nosada
nosada / mkosi-build.log
Last active Nov 10, 2018
Error log when running `mkosi build` on systemd 239.300-1 and mkosi 4-1 in Arch Linux
View mkosi-build.log
root@Anna /r/n/tinyspawn# mkosi build
DISTRIBUTION:
Distribution: arch
Release: n/a
Mirror: https://mirrors.kernel.org/archlinux
OUTPUT:
Output Format: raw_btrfs
Output: /ramdisk/nosada/tinyspawn/test
Output Checksum: n/a
@nosada
nosada / expose-privoxy-port-on-nspawn
Last active Sep 26, 2018
Expose port for privoxy running on nspawn container
View expose-privoxy-port-on-nspawn
#!/bin/sh
CONTAINER_NAME="torspawn"
CONFIG_DIR="/etc/systemd/nspawn"
CONFIG_PREFIX="nspawn"
CONFIG_LOCATION="$CONFIG_DIR/$CONTAINER_NAME.$CONFIG_PREFIX"
INTERNAL="8118"
EXPOSING="58118"
@nosada
nosada / ansible-aur-pkg-installer.md
Last active May 9, 2020 — forked from wrecker/ansible-aur-pkg-installer.md
download, build, and install aur packages with ansible
View ansible-aur-pkg-installer.md
View mackerel-agent-git.PKGBUILD.patch
diff --git a/PKGBUILD b/PKGBUILD
index be1e67f..a58dcc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Takashi Inoue <inoue(at)pitan.org>
pkgname=mackerel-agent-git
-pkgver=0.39.3
+pkgver=0.45.0
pkgrel=1
View keybase.md

Keybase proof

I hereby claim:

  • I am nosada on github.
  • I am nosada (https://keybase.io/nosada) on keybase.
  • I have a public key whose fingerprint is 3CF8 1A90 3F5A 94F4 4EBF A537 DA63 5EC3 934B E02D

To claim this, I am signing this object:

You can’t perform that action at this time.