This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.
Let's assume that you are using an x86_64 system.
This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.
Let's assume that you are using an x86_64 system.
#!/bin/bash | |
# https://asciinema.org/a/6LZefsbvLjgsuwQHOnQsBEaSj | |
IF=notset | |
OF=notset | |
BS=128M | |
CURDIR=$(dirname $(realpath -s $0)) | |
SCRIPT=`basename "$0"` | |
if [[ ! -f /usr/bin/pv ]]; then | |
echo "pv is not installed. Please install pv and try again" |
function imgup | |
chmod 644 $argv | |
rsync -paqe ssh $argv mountain:~/images | |
for i in $argv | |
echo "http://images.cookietronics.net/$i" | |
end | |
end |
from flask import Flask | |
application = Flask(__name__) | |
@application.route('/') | |
def hello_world(): | |
return 'Hello, World!' |
A week ago I was CC'd in on a thread about Linux packaging, and how to avoid doing it the wrong way (i.e. RPM, Deb, etc.). I've always used MojoSetup and I've never forced distributions to do any additional work, but this is still a new concept to a lot of people. Additionally, Amos suggested that I expand on Itch's FNA appendix, so here's a guide on how I package my games.
This is a bit of an expansion on my MAGFest 2016 presentation, which you can find here:
http://www.flibitijibibo.com/magfest2016/
https://www.youtube.com/watch?v=B83CWUh0Log
I would recommend looking at that first! After that, read on...
Updated: Just use qutebrowser (and disable javascript). The web is done for.
#!/bin/bash | |
IP=`cat /tmp/ip` | |
PUBIP=`curl -s http://icanhazip.com` | |
EMAIL=youremail@domain.com | |
if [ "$IP" != "$PUBIP" ]; then | |
echo $PUBIP|mail -s "IP changed at home" $EMAIL | |
echo $PUBIP > /tmp/ip | |
fi |
#!/bin/bash | |
# | |
# Steam installer for Debian wheezy (32- and 64-bit) | |
# | |
# Place into empty directory and run. | |
# | |
download() { | |
local url="$1" | |
local filename="$(basename "$url")" |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |