sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lsb_release -a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import re | |
| import click | |
| import sys | |
| # noinspection PyMethodMayBeStatic | |
| class SparkJobStatus(object): | |
| DRIVER_NO_STATUS = "DRIVER_NO_STATUS" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Do not remove the @namespace line -- it's required for correct functioning | |
| */ | |
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ | |
| /* | |
| * Hide tab bar, navigation bar and scrollbars | |
| * !important may be added to force override, but not necessary | |
| */ | |
| #TabsToolbar {visibility: collapse;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://launchpadlibrarian.net/352602073/firefox_57.0.4+build1-0ubuntu0.14.04.1_armhf.deb | |
| dpkg -i firefox_57.0.4+build1-0ubuntu0.14.04.1_armhf.deb | |
| echo 'user_pref("gfx.content.azure.backends", "");' >> ~/.mozilla/firefox/*.default/prefs.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kill -9 $(ps ax|grep gunicorn| awk '{print $1}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| import math | |
| def gradient_fill(im, from_color, to_color): | |
| start_x = 0 | |
| start_y = 0 | |
| pixel_data = im.load() | |
| for x in range(im.size[0]): | |
| for y in range(im.size[1]): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "SixfootSoftware/Unlit/Footprint" { | |
| Properties{ | |
| _MainTex("Base (RGB)", 2D) = "white" {} | |
| _GlowTex("Base (RGB)", 2D) = "white" {} | |
| _Color("Colour", Color) = (1,1,1,1) | |
| _ScrollSpeed("Scroll Speed", Range(-50,50)) = 0 | |
| } | |
| SubShader{ | |
| Tags { "RenderType" = "Opaque" "Queue" = "Geometry+1" "ForceNoShadowCasting" = "True" } | |
| LOD 200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "SixfootSoftware/Unlit/WorldspaceTiling" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } | |
| LOD 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AWSEBDockerrunVersion": "2", | |
| "containerDefinitions": [ | |
| { | |
| "name": "how-many-meeple", | |
| "image": "docker.io/howmanymeeple/how-many-meeples:v1.1.0", | |
| "essential": true, | |
| "memory": 256, | |
| "portMappings": [ | |
| { |