Skip to content

Instantly share code, notes, and snippets.

View mochaaP's full-sized avatar
🦜
I don't use Arch btw.

Zephyr Lykos mochaaP

🦜
I don't use Arch btw.
View GitHub Profile
@mochaaP
mochaaP / keybase.md
Created September 21, 2019 13:53
Keybase Proof

Keybase proof

I hereby claim:

  • I am mochaap on github.
  • I am mochaa (https://keybase.io/mochaa) on keybase.
  • I have a public key ASDgJ0SXKni2DacFCIzSzw4vSCanIIgP2-jfNUPBCQo_9wo

To claim this, I am signing this object:

import re, sys
from xml.dom import minidom, Node
import math
import argparse
class Matrix:
def m(self, i, j, value=None):
if i >= self.rows or j >= self.cols:
raise ValueError("Argument out of range")
{
"version": "1.7.2",
"description": "Dedicated to make your workflow flow more seamlessly. Aimed at being more than an app launcher, it searches, integrates and expands on functionalities. Flow will continue to evolve, designed to be open and built with the community at heart.",
"homepage": "https://github.com/Flow-Launcher/Flow.Launcher",
"license": "MIT",
"suggest": {
"Python3": "python"
},
"url": "https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v1.7.2/FlowLauncher-1.7.2-full.nupkg",
"hash": "4f48b932847ead80dbaca5b9c007b986986bc721fcbf71dfdf861bebb14fee84",
{
"version": "4.4.0.3508",
"description": "A desktop customization tool",
"homepage": "https://www.rainmeter.net",
"license": "GPL-2.0-only",
"url": "https://github.com/rainmeter/rainmeter/releases/download/v4.4.0.3508/Rainmeter-4.4-r3508-beta.exe",
"hash": "0f21b9d5533b73cfd80bb5b497b9684677d4094362fb08e251c08c4ccca0c089",
"architecture": {
"64bit": {
"installer": {
@mochaaP
mochaaP / PKGBUILD
Created January 18, 2022 17:29 — forked from sukanka/PKGBUILD
PKGBUILD For rustdesk-server-demo
# Maintainer: taotieren <admin@taotieren.com>
pkgname=rustdesk-server
_pkgname=rustdesk-server
pkgver=1.1.8
pkgrel=2
pkgdesc="Yet another remote desktop software, written in Rust. Works out of the box, no configuration required. Great alternative to TeamViewer and AnyDesk! "
arch=('x86_64')
url="https://github.com/rustdesk/rustdesk"
license=('GPLv3')
@mochaaP
mochaaP / ifetch-alpine
Last active May 14, 2022 19:20
a modified ufetch
#!/bin/sh
#
# ifetch-alpine - tiny system info for alpine
# modified from ufetch
## INFO
. /etc/os-release
host="$(hostname)"
#!/bin/sh
BASEDIR="${BASEDIR:-/srv/clash}"
mkdir -p $BASEDIR
cd $BASEDIR || exit 1
getarch() {
machine=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')
[ -n "$(echo $machine | grep -E "linux.*armv.*")" ] && arch="armv5"
@mochaaP
mochaaP / APKBUILD
Created April 15, 2022 15:02
linux-xanmodedge: Alpine build script for Xanmod kernels
# Maintainer: mochaaP <aports@mochaa.ws>
_flavor=xanmodedge
pkgname=linux-${_flavor}
# NOTE: this kernel is intended for testing
# please resist urge to upgrade it blindly
pkgver=5.17.3
case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
@mochaaP
mochaaP / README.md
Last active May 27, 2022 14:31
micro (144 bytes) ptpb client
$ [PST_PRIVATE=1] pst [slug] < file

quick install

curl -L https://fars.ee/AFoB | install -Dm755 /dev/stdin /usr/local/bin/pst