Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.
This file contains 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
#!/bin/bash -e | |
# create a temp dir in which to work | |
OLDDIR="$PWD" | |
TMPDIR="/tmp/_aws-ca" | |
mkdir "${TMPDIR}" && cd "${TMPDIR}" | |
AWS_CERTS=( | |
AmazonRootCA1.pem |
This file contains 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
# https://rocm.github.io/ROCmHipCaffeQuickstart.html | |
# But fixed :) | |
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add - | |
sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list' | |
sudo add-apt-repository ppa:oibaf/graphics-drivers | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install mesa-vdpau-drivers |
This file contains 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
## Shout out to jarutis here https://gist.github.com/jarutis/ff28bca8cfb9ce0c8b1a | |
## install Catalyst proprietary | |
## sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK | |
sudo apt update | |
sudo apt dist-upgrade | |
# on a clean install not needed but could be helpful | |
sudo apt-get remove --purge fglrx* |
This file contains 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
# Template used to create this container: /usr/share/lxc/templates/lxc-download | |
# Parameters passed to the template: --keyserver 178.254.42.45 -d ubuntu -a i386 -r zesty | |
# Template script checksum (SHA-1): 2c972265e2bb65e2d265271d7545563fd80f96b5 | |
# For additional config options, please look at lxc.container.conf(5) | |
# Uncomment the following line to support nesting containers: | |
#lxc.include = /usr/share/lxc/config/nesting.conf | |
# (Be aware this has security implications) | |
# Subuids and subgids mapping |
This file contains 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 matplotlib | |
import numpy as np | |
import sys | |
import os | |
from collections import defaultdict | |
import gym | |
cwd = os.getcwd() | |
gymPath = cwd[:cwd.find("gym") + len("gym")] | |
# print gymPath |
2017-03-03 fm4dd
The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.
These flags can both be used to set the CPU type. Setting one or the other is sufficient.
This file contains 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
<pyopencl.Device 'Tonga' on 'AMD Accelerated Parallel Processing' at 0x749460> | |
Repeating [test_overwrite_ecb()] 1000 times.... | |
Function [test_overwrite_ecb] finished in average of 0:00:00.003962 | |
Repeating [test_overwrite_efb()] 1000 times.... | |
Function [test_overwrite_efb] finished in average of 0:00:00.002380 | |
This file contains 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
service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart |