Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍👨‍👦‍👦
using gnu

Ishimoto Shinobu protonesso

👨‍👨‍👦‍👦
using gnu
View GitHub Profile
View setup
#!/usr/bin/env bash
print_welcome() {
cat <<-EOF
Welcome to Ataraxia Linux/$(uname -m) installation program!
This program will install Ataraxia Linux on your computer.
Make sure your disk size is more than 5 gigabytes.
EOF
View pkgadd
#!/usr/bin/env bash
#
# Package installer which uses zstd, similar to .deb
#
umask 022
unalias -a
pushd() { command pushd "$1" > /dev/null; }
popd() { command popd "$1" > /dev/null; }
View KAGAMIBUILD
# Description: The Linux kernel
# URL: https://www.kernel.org/
# Maintainer: protonesso, nagakamira at gmail dot com
# Priority: required
# Section: kernel
name=linux
version=5.4.22
hardenedver=5.4.22.a
case $version in
View fuwa-fuwa-inst
#!/usr/bin/env bash
#
# ふわふわインストーラー
# Extremely fuwa fuwa installer
#
msg() {
dialog --stdout \
--backtitle "Fuwa Fuwa installer" "$@"
}
View build_dietslack.sh
#!/bin/sh
REPO="${1%/}"
BARCH="$2"
REPO2="${3%/}"
main() {
echo "Calculating packages to build"
local pkgs sect2build tobuild
View gist:308baec04f186bc353b85ef8f2c89c93
#!/bin/sh
#
extract_file() {
local pkg="$1"
local file="$2"
bsdtar -C "$TMPDIR" -xzf "$pkg" "$file" 2>/dev/null || die -1 "Failed to extract file: $file"
}
View gist:6a34574c7428a7256a51826061c9fdfc
#!/bin/sh
REPO="${1%/}"
BARCH="$2"
main() {
echo "Calculating packages to build"
local pkgs sect2build tobuild
rm -rf /tmp/pkgs
View one.pas
{ кодим с Егоркой Михайловым xd}
program hitobito;
var
ki: array[1..5] of Integer;
tsuchi: Integer;
i: Byte;
begin
@protonesso
protonesso / makerpm
Created Jul 22, 2019
Build RPM packages with more comfort
View makerpm
#!/bin/bash
umask 022
unalias -a
pushd () { command pushd "$@" > /dev/null; }
popd () { command popd "$@" > /dev/null; }
msg() { echo -e "\033[1;32m >>> \033[0m$@"; }
msgtwo() { echo -e "\033[1;35m * \033[0m$@"; }
msgthree() { echo -e "\033[1;32m * \033[0m$@"; }
You can’t perform that action at this time.