This guide walks you through installing AMDGPU drivers and configuring kernel parameters (mem_encrypt=off and amdgpu.sg_display=0) to ensure stable graphics on AMD systems.
sudo apt update && sudo apt upgrade -yThis guide walks you through installing AMDGPU drivers and configuring kernel parameters (mem_encrypt=off and amdgpu.sg_display=0) to ensure stable graphics on AMD systems.
sudo apt update && sudo apt upgrade -y| ####################### | |
| ### ==> Global params | |
| ####################### | |
| PRETTY_NAME="Pirate Audio Pi" | |
| SPOTIFY_USER="" | |
| SPOTIFY_PASS="" | |
| HOSTNAME="`echo "$PRETTY_NAME" | awk '{print tolower($0)}' | sed 's/ /-/g'`" | |
| ####################### | |
| ### ==> Raspberry config |
| #!/usr/bin/env python | |
| import boto3 | |
| client = boto3.client('waf-regional', region_name='us-east-1') | |
| ipSetId='<YOUR_IP_SET_ID>' | |
| def getChangeToken(): | |
| response = client.get_change_token() |
These are my own personal notes on how i setup a Pi Zero W as an access points it is a blatant copy of this: https://gist.github.com/tcg/0c1d32770fcf6a0acf448b7358c5d059 but is just missing a couple of things from: http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap and like tcg, this is not intended as a guide but notes as i will invariably have to rebuild this sometime and i have broken biscuits for brains.
this is really just the same info as here https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a
cmdline.txt add: modules-load=dwc2,g_ether after the word rootwaitconfig.txt and add dtoverlay=dwc2 to the end of the filessh| import collections | |
| def dict_merge(dct, merge_dct): | |
| """ Recursive dict merge. Inspired by :meth:``dict.update()``, instead of | |
| updating only top-level keys, dict_merge recurses down into dicts nested | |
| to an arbitrary depth, updating keys. The ``merge_dct`` is merged into | |
| ``dct``. | |
| :param dct: dict onto which the merge is executed | |
| :param merge_dct: dct merged into dct |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."