Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍👨‍👦‍👦
using gnu

Ishimoto Shinobu protonesso

👨‍👨‍👦‍👦
using gnu
View GitHub Profile
@geerlingguy
geerlingguy / increase-pci-bar-space.sh
Last active May 10, 2021
Increase the BAR memory address space for PCIe devices on the Raspberry Pi Compute Module 4
View increase-pci-bar-space.sh
#!/bin/bash
# The default BAR address space available on the CM4 may be too small to allow
# some devices to initialize correctly. To avoid 'failed to assign memory'
# errors on boot, you can increase the range of the PCIe bus in the Raspberry
# Pi's Device Tree (a .dtb file specific to each Pi model).
#
# You should probably read up on Device Trees if you don't know what they are:
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
#
@artman41
artman41 / wsl-install_another_distro.md
Last active May 31, 2021
Instructions on how to install a custom distro in WSL2 (Windows SubSystem for Linux 2)
View wsl-install_another_distro.md

WSL install another distro

  1. Here are some default vars for the process
ISO_DIR=~/fedora;
ROOTFS_MOUNT_DIR=/mnt/contents

DISTRO_LOCATION=
@gcarq
gcarq / package.env
Created Jan 27, 2020
Gentoo global clang/compiler-rt/lld exceptions
View package.env
app-backup/borgbackup compiler-gcc # lib64/crti.o is incompatible with elf_x86_64
app-emulation/libvirt with-lunwind
app-emulation/qemu compiler-gcc # ERROR: "clang" cannot build an executable (is your linker broken?)
app-cdr/dvd+rw-tools std-c++98
app-crypt/hashcat compiler-gcc # gcc: error: unrecognized command line option ‘-rtlib=compiler-rt’
app-crypt/libb2 compiler-gcc # You are using a compiler without OpenMP support
app-crypt/chntpw compiler-gcc # ld.lld: error: undefined symbol: __multf3
app-emulation/wine-lutris compiler-gcc # FIXME
app-emulation/wine-staging compiler-gcc # FIXME
app-text/opensp compiler-gcc # ld.lld: error: undefined symbol: _Unwind_Resume (-lunwind gets filtered out)
@hardentoo
hardentoo / mini_linux.md
Created May 20, 2018
Buildinq a minimal Linux / Busybox OS for Qemu
View mini_linux.md

Buildinq a minimal Linux / Busybox OS for Qemu

This short tutorial shows how to quickly build a minimal Linux kernel, a minimal initramfs root filesystem and test them on Qemu. We explore two options for the initramfs root filesystem:

  • starting from the Busybox sources (inspired by Mitchel Humpherys),
  • using Buildroot.

We also show how to compile and test a Hello world user application and a Hello world loadable kernel module.

Common

@MawKKe
MawKKe / cryptsetup-with-luks2-and-integrity-demo.sh
Last active May 31, 2021
dm-crypt + dm-integrity + dm-raid = awesome!
View cryptsetup-with-luks2-and-integrity-demo.sh
#!/usr/bin/env bash
#
# Author: Markus (MawKKe) ekkwam@gmail.com
# Date: 2018-03-19
#
#
# What?
#
# Linux dm-crypt + dm-integrity + dm-raid (RAID1)
#
@dio
dio / hello-wasm.js
Last active Mar 20, 2021
This is a simpe example on embedding wasm inside an offline single html page
View hello-wasm.js
// this code is from a simple add function in c:
//
// // hello.c
// int add(int a, int b) {
// return a + b;
// }
//
// compiles it with emcc (http://webassembly.org/getting-started/developers-guide/)
// $ git clone https://github.com/juj/emsdk.git
@renich
renich / 00-gentoo-installation-partitioning
Last active Feb 17, 2021
Install Gentoo Desktop into BtrFS subvolumes
View 00-gentoo-installation-partitioning
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create partitions
@gregor160300
gregor160300 / default.prop
Last active Jun 9, 2021
HOW TO: Modify boot.img to allow usb debugging from recovery adb
View default.prop
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.adb.secure=0
anonymous
anonymous / Вино из магазинного винограда в домашних условиях.md
Created Sep 4, 2017
Вино из магазинного винограда в домашних условиях
View Вино из магазинного винограда в домашних условиях.md

Вино из магазинного винограда в домашних условиях



Ссылка на файл: >>>>>> http://file-portal.ru/Вино из магазинного винограда в домашних условиях/


Вино виноградное, и не только... - рецепт.
Как поставить домашнее вино из винограда
Как приготовит вино из спирта и сока?
























На и литровую бутыль понадобится 10 кг винограда, и литровая кастрюля, сахар примерно 3 кг и вода. Ещё нужна тонкая резиновая перчатка. Её надо вымыть с двух сторон от талька и проколоть дырочку или две иголкой. Сначала готовим закваску из диких дрожжей. Для этого берём 1 стакан смородины, 1 стакан малины не мыть или большую кисть НЕМЫТОГО винограда. Ягоды истолочь с 1 стаканом сахара и оставить при комнатной температуре, чтобы они забродили. Остальной виноград