Skip to content

Instantly share code, notes, and snippets.

View ntropy83's full-sized avatar

ntropy83

View GitHub Profile
@ntropy83
ntropy83 / mesa_debian_build.sh
Last active September 11, 2019 10:29 — forked from shmerl/mesa_debian_build.sh
mesa_debian_build.sh
#!/bin/bash
# Notes:
#
# 1. Works for tags and specific hash commits too (override mesa_branch variable with needed value).
#
# 2. By default builds for /opt/mesa-<branch> and places the result in ${HOME}/mnt/vmshare/mesa-<branch>
# You can override the build deployment location by setting dest_dir. For example this should put it right away
# in /opt/mesa-<branch>
#
#!/bin/bash
base="${HOME}/build"
dxvk_src="${base}/dxvk/source"
dxvk_type=${dxvk_type:-"so"}
dxvk_bitness=${dxvk_bitness:-64}
dxvk_build="${base}/dxvk/build_${dxvk_type}_${dxvk_bitness}"
dxvk_branch=${dxvk_branch:-"master"}
dest_dir="${HOME}/mnt/vmshare/dxvk-${dxvk_type}-${dxvk_bitness}"
lib_dir="lib${dxvk_bitness}"
RPi – Ressourcen
Bücher: Raspberry Pi: Das umfassende Handbuch für Maker und Tekkies. Aktuell zu Raspberry Pi Model 3B+ und Zero WH
RPi Adventskalender: Sotel Adventskalender Adventskalender Raspberry Pi
Scratch Tutorial: https://de.scratch-wiki.info/wiki/Einsteiger-Tutorials
Raspberry Schrittmotor Steuerung:
Tutorial: http://www.elektronx.de/tutorials/schrittmotorsteuerung-mit-dem-raspberry-pi/ (für ULN2003A unipolarer Schrittmotor)
@ntropy83
ntropy83 / ubuntu18.04-vfio.md
Created December 19, 2019 07:28 — forked from TomFaulkner/ubuntu18.04-vfio.md
VFIO Setup on Ubuntu 18.04
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
UNREAL_DIR="PATH_TO/UnrealEngine" # must be owned by you (don't use sudo) # EDIT !!!!!!
set -e
cd "$UNREAL_DIR"
git pull https://github.com/EpicGames/UnrealEngine.git # must have linked your github account to your epic account.
./Setup.sh
./GenerateProjectFiles.sh
#!/bin/sh
##### git clone wine and execute script from srcdir
function build_biarch() {
mkdir build
if [ $? -eq 0 ]; then
cd build
mkdir wine-32 wine-64 $(git describe --tags)
cd wine-64
@ntropy83
ntropy83 / gist:b7e653c1eeefc9e68d1ba2cfe7b2d7f5
Last active July 17, 2020 06:33
win_homeoffice_quicklauncher
#include <windows.h>
VOID startup(LPCTSTR lpApplicationName)
{
// additional information
STARTUPINFO si;
PROCESS_INFORMATION pi;
// set the size of the structures
ZeroMemory( &si, sizeof(si) );
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont sans:size=10
xftfont Clean:size=10
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont sans:size=10
xftfont Clean:size=10