Skip to content

Instantly share code, notes, and snippets.

View willyneutron's full-sized avatar

Guillermo Climent willyneutron

View GitHub Profile
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
@willyneutron
willyneutron / gstreamer-build.sh
Created December 15, 2017 10:00 — forked from sphaero/gstreamer-build.sh
Install & build gstreamer from git
#!/bin/bash --debugger
set -e
BRANCH="master"
if grep -q BCM2708 /proc/cpuinfo; then
echo "RPI BUILD!"
RPI="1"
fi
[ -n "$1" ] && BRANCH=$1
@willyneutron
willyneutron / gist:0660f013af351cdf4540728e3848d8a9
Created September 7, 2020 18:05
Compile WSL2 kernel to compile modules
Getting the kernel code
-----------------------
Download the kernel you want from here:
https://github.com/microsoft/WSL2-Linux-Kernel/tags
```
cd /tmp
wget "https://github.com/microsoft/WSL2-Linux-Kernel/archive/4.19.104-microsoft-standard.tar.gz"
tar -xzvf 4.19.104-microsoft-standard.tar.gz
```