This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debian, Ubuntu | |
sudo apt update && sudo apt install wine winetricks mono-complete | |
#Wine bottle / prefix | |
export WINEPREFIX="/home/$USER/.config/projectascension/WoW" && export WINEARCH=win32 | |
#Make directory |
Topology: VL822 hub + 4x ASM235CM (?) USB Gen2 - SATA bridges.
Tested with 4x WDC WD80EAZZ-00BKLB0 on an AMD X399 chipset.
~200MB/s from a single drive (this is about what the drive can do).
On a Gen1 port, I get ~400MB/s across all 4 drives. On a Gen2 port, ~800MB/s, give or take.
Power buttons power cycle the individual ASMedia controllers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## enable multilib see https://wiki.archlinux.org/index.php/Multilib | |
sudo vim /etc/pacman.conf | |
## this is not a comprehensive list as installed on an existing system, look for errors in the terminal after running the Eve Launcher exe | |
sudo pacman -S wine wine_gecko winetricks q4wine wine-mono lib32-gnutls samba lib32-mpg123 lib32-sdl lib32-libldap lib32-libpulse | |
mkdir ~/Wine | |
cd ~/Wine | |
WINEARCH=win32 WINEPREFIX=~/Wine/win32 winecfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# TODO: Look at nixpkgs/pkgs/build-support/setup-hooks/auto-patchelf.sh | |
# https://ms-vsliveshare.gallery.vsassets.io/_apis/public/gallery/publisher/MS-vsliveshare/extension/vsliveshare/0.3.423/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage | |
set -eu | |
TOOLS="patchelf xsel" | |
DEPS="utillinux.out openssl.out icu zlib curl.out lttng-ust libsecret libkrb5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ...}: | |
with lib; | |
let | |
cfg = config.services.batteryNotifier; | |
in { | |
options = { | |
services.batteryNotifier = { | |
enable = mkOption { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table if not exists migrations ( | |
key text CONSTRAINT pkey PRIMARY KEY | |
); | |
create or replace function idempotent(migration_name text,code text) returns void as $$ | |
begin | |
if exists (select key from migrations where key=migration_name) then | |
raise notice 'Migration already applied: %', migration_name; | |
else | |
raise notice 'Running migration: %', migration_name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tweak tap coordinates as you wish | |
function reactnativedev() { | |
adb shell input keyevent 82; | |
sleep 0.1; | |
adb shell input tap 150 1401; | |
sleep 0.1; | |
adb shell input tap 150 1401; | |
sleep 0.1; | |
adb shell input text "$1"; | |
sleep 0.1; |
NewerOlder