Use this better tutorial: https://gist.github.com/karolba/a3f1c5f8d50c67f5a19e6c8f38e53e12
- Reboot into the rescue image
- Then execute these commands:
cd /dev/shm
mkdir alpine
cd alpine
Use this better tutorial: https://gist.github.com/karolba/a3f1c5f8d50c67f5a19e6c8f38e53e12
cd /dev/shm
mkdir alpine
cd alpine
#!/bin/bash | |
set -e | |
apt update -y | |
apt install -y build-essential git perl python2.7 python2.7-dev zlib1g-dev autoconf libicu-dev pkg-config perl ccache | |
OPENSSL_TAG=OpenSSL_1_1_1-stable | |
QBITTORRENT_TAG=v4_2_x | |
LIBTORRENT_TAG=RC_1_2 | |
QT5_TAG=5.14 | |
BOOST_VER=1.72.0 |
gunicorn run:app --workers=9
gunicorn run:app --workers=9 --worker-class=meinheld.gmeinheld.MeinheldWorker
Macbook Pro 2015 Python 3.7
Framework | Server | Req/s | Max latency | +/- Stdev |
---|
'use strict'; | |
const debug = require('debug'); | |
const puppeteer = require('puppeteer'); | |
const log = debug('script'); | |
log.enabled = true; | |
const ALLOWED_COMPONENT_KEYS = ['canvas', 'webgl', 'audio'].reduce((hash, v) => { | |
hash[v] = true; |
#!/bin/sh | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: $0 [ip address] [user name] [password]" | |
exit 1 | |
fi | |
IP=$1 | |
IPMI_USER=$2 | |
IPMI_PASS=$3 |
This is a set of scripts that help running Google Drive Backup and Sync under Wine, with multiple Google accounts.
Each account is given its own Wine prefix (a separate wine configuration).
To install, run install-gdrive-sync google_account
List the accounts set up in ~/.config/gdrive-accounts
#!/usr/bin/env python3 | |
import asyncio | |
from asyncio_extras import threadpool | |
from aiohttp import web | |
from pony.orm import * | |
db = Database() | |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
{url:'stun:stun01.sipphone.com'}, | |
{url:'stun:stun.ekiga.net'}, | |
{url:'stun:stun.fwdnet.net'}, | |
{url:'stun:stun.ideasip.com'}, | |
{url:'stun:stun.iptel.org'}, | |
{url:'stun:stun.rixtelecom.se'}, | |
{url:'stun:stun.schlund.de'}, | |
{url:'stun:stun.l.google.com:19302'}, | |
{url:'stun:stun1.l.google.com:19302'}, | |
{url:'stun:stun2.l.google.com:19302'}, |
This is a simple tool for displaying memory information including compression ratio and percentage of compressed memory in Linux kernel using zram. This tool works without zram, but in that case it displays only basic memory statistics.
With LC_NUMERIC=en_GB.utf8
the output of ./zraminfo
looks like this: