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.
| // ==UserScript== | |
| // @name Spotify ad skipper | |
| // @version 1.0 | |
| // @namespace http://tampermonkey.net/ | |
| // @description Detects and skips ads on spotify | |
| // @match https://*.spotify.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // @downloadURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw | |
| // @updateURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw |
| This is a Python script to extract GNOME/GTK's color scheme and apply it to Wine, so that the themes (approximately) match. | |
| Instructions: | |
| 1. Set your Gnome theme as you would like it | |
| 2. Run with a command like "python wine_colors_from_gtk.py" If made executable you can run it in bash as-is | |
| 3. Open winecfg, go to Desktop Integration and install the new .theme file created | |
| 4. Hit apply and restart any apps running in Wine. They should match the Gnome theme colors now. | |
| Better description with screenshots here: http://www.endolith.com/wordpress/2008/08/03/wine-colors/ |
| docker run -ti -v $(pwd):/tmp DOCKER_IMAGE /bin/bash |
| #!/bin/bash | |
| if [[ ! $1 ]]; then | |
| echo "No file provided" | |
| exit | |
| fi | |
| if [ ! -f "$1" ]; then | |
| echo "File does not exist" | |
| echo "$1" | |
| echo "" |
| Written by Thanos Apostolou | |
| http://askubuntu.com/questions/53822/how-do-you-run-ubuntu-server-with-a-gui | |
| Some more info can be found here https://help.ubuntu.com/community/ServerGUI. I assume you start with a clean install of Ubuntu Server 16.04 (some modifications may be needed for older versions of Ubuntu). Depending on your needs you can do these: | |
| Minimal GUI: | |
| sudo apt install xorg | |
| sudo apt install --no-install-recommends openbox | |
| Run the command startx and openbox will start (you can open a terminal there and run any application you want) |
NDK (Native Develop Toolkit) is a toolchain from Android official, originally for users who writes native C/C++ code as JNI library. It's not designed for compiling standalone programs (./a.out) and not compatible with automake/cmake etc.
"Standalone" refers to two meanings:
By default, NDK uses android flavor directory structure when it's finding headers and libs, which is different from GNU flavor, so the compiler cannot find them. For Example: