Skip to content

Instantly share code, notes, and snippets.

@Brli
Brli / First EQ.json
Last active June 21, 2022 18:02
Test Preset for easyeffects of pipewire, save it to ~/.config/easyeffects/output/
{
"output": {
"bass_enhancer": {
"amount": 0.0,
"blend": 3.0,
"floor": 20.0,
"floor-active": false,
"harmonics": 8.999999999999998,
"input-gain": -3.0,
"output-gain": 3.0,
# Maintainer: Justin Benge <justinbng36@gmail.com>
# Contributor: Jean Lucas <jean@4ray.co>
pkgname=electron-forge
_pkgver=6.0.0-beta.54
_npmname='@electron-forge/cli'
pkgver=6.0.0.b54
pkgrel=1
pkgdesc='Tool for creating, publishing, and installing modern Electron applications'
arch=(i686 x86_64)
From 286414de7020c1310a8df891f17c849f70828a32 Mon Sep 17 00:00:00 2001
From: BrLi <brli@chakralinux.org>
Date: Sun, 1 Nov 2020 12:12:05 +0800
Subject: [PATCH] use setup.py to install instead of make install
---
PKGBUILD | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 7933e8f..55075b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=pulseaudio-hsphfpd
pkgname=(pulseaudio-hsphfpd libpulse-hsphfpd alsa-card-profiles-hsphfpd pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp}-hsphfpd)
pkgdesc="A fork of pulseaudio providing superior bluetooth headset functionality"
-pkgver=14.0+116+gd2ea10877
+pkgver=14.0+103+g8b2d9ea15
@Brli
Brli / facebook
Last active September 21, 2020 20:44
list of entrance page of facebook
0-edge-chat.facebook.com
0.beta.facebook.com
0.facebook.com
1-edge-chat.facebook.com
2-edge-chat.facebook.com
3-edge-chat.facebook.com
4-edge-chat.facebook.com
5-edge-chat.facebook.com
6-edge-chat.facebook.com
a.ish.instagram.com
#!/chakra/gtk/firefox/src/firefox-69.0.1/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python
# coding=utf-8
from __future__ import unicode_literals
from mozbuild.util import encode
encoding = 'utf-8'
topobjdir = encode('/chakra/gtk/firefox/src/firefox-69.0.1/obj-x86_64-pc-linux-gnu', encoding)
mozconfig = encode('/chakra/gtk/firefox/src/firefox-69.0.1/.mozconfig', encoding)
topsrcdir = encode('/chakra/gtk/firefox/src/firefox-69.0.1', encoding)
non_global_defines = encode([
'NECKO_WIFI',
@Brli
Brli / ContentFarmBlock.txt
Last active December 21, 2018 09:52
an uBlock/Adblock compatible list of content farm urls
# 內容農場 List
# 來源: https://github.com/benlau/ihatecontentfarms/blob/master/chrome/sites.js
163nvren.com
360doc.com
7jiu.com.hk
8im.me
8md.me
a-gui.com
aboutfighter.com
allexperts.com
@Brli
Brli / PKGBUILD
Created June 17, 2016 16:26
lantern pkgbuild, client UI can be found under http://0.0.0.0:16823
# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Contributor: neo.shadowsocks<neo.shadowsocks AT gmx.com>
# Contributor: Kars Wang <jaklsy g-mail>
pkgname=lantern
pkgver=2.2.4
pkgrel=1
pkgdesc='Lantern is a free desktop application that delivers fast, reliable and secure access to the open Internet. (Stable Channel)'
arch=('i686' 'x86_64')
url='https://getlantern.org'
@Brli
Brli / btrfs.check.markdown
Last active June 11, 2016 02:19
Btrfs mantainance
# btrfs fi df /directory

should get

example result
___
Data, single: total=29.88GiB, used=12.72GiB
System, single: total=4.00MiB, used=16.00KiB
Metadata, single: total=272.00MiB, used=190.72MiB
GlobalReserve, single: total=64.00MiB, used=0.00B
@Brli
Brli / fonts.reg
Last active September 4, 2021 16:08
Wine 專用中文化
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink]
"FontLinkControl"=dword:00004000
"FontLinkDefaultChar"=dword:00003000
/* 替換字型1 */
/* 安裝Wine不會提供字型,所以需要替換字型,我以Noto Sans CJK TC Medium替換 */
/* 取代字型 */
/* Wine 1.1.12 打補丁後也會有亂碼,所以要修改這裡 */
/* Wine 1.1.12 之前可以不用修改,改了應該也沒關係 */
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]