This is guide describes the way to run Win32 executable files on ARM host (e.g. tablet) with Ubuntu 18.04 (16.04, 20.04 etc).
- Build static qemu-user-i386 on ARM host
- Type magic strings for Win32 executable file format in binfmts
#!/bin/bash | |
# | |
# Download Jupiter/asteroids video and fix Jupiter's rotation | |
# | |
# Tweet address with source video: | |
# https://mobile.twitter.com/AntonioParis/status/994224252961386496 | |
# | |
# Required utils: | |
# * curl | |
# * convert |
This is guide describes the way to run Win32 executable files on ARM host (e.g. tablet) with Ubuntu 18.04 (16.04, 20.04 etc).
/* | |
libbase : version 0.09 ~byuu (2007-01-24) | |
*/ | |
#ifndef __LIBBASE | |
#define __LIBBASE | |
#if defined(_MSC_VER) | |
//disable libc deprecation warnings in MSVC 2k5+ | |
#pragma warning(disable:4996) |
New EDUP 802.11AC 1200M Dual Band USB wireless adapter does not work in Linux distributions by default. At least the following distributions lack the required kernel module:
Manually build rtl88x2bu
module from sources at cilynx/rtl88x2bu
# | |
# Convert images to video | |
# | |
# Example: | |
# python video.py -i 8012 -l 8151 -f 30 -t 800x600/IMG_%FRAME_NUM%_result.jpg | |
# | |
# ffmpeg command line from: https://github.com/justin-bennington/somewhere-ml/blob/main/S2_GAN_Art_Generator_(VQGAN%2C_CLIP%2C_Guided_Diffusion).ipynb | |
# | |
from PIL import Image |
Add the following config to .zshrc
:
# Load colors
autoload -U colors && colors
# Load version control information
autoload -Uz vcs_info
precmd() { vcs_info }
#ifndef __F_WINHANDLES_HPP__ | |
#define __F_WINHANDLES_HPP__ | |
typedef void* HANDLE; | |
typedef unsigned long long WPARAM; | |
typedef long long LPARAM; | |
typedef long long LRESULT; | |
#define FORWARD_DECLARE_HANDLE(name) structname##__; typedef struct name##__ *name; | |
FORWARD_DECLARE_HANDLE(HINSTANCE); |