Skip to content

Instantly share code, notes, and snippets.

@hhromic
hhromic / pitft28.md
Last active June 15, 2020 13:53
Adafruit PiTFT 2.8" Setup

Adafruit PiTFT 2.8" Setup

Last tested on: Raspbian Buster

Setup Display and HDMI

Add the following snippet to /boot/config.txt:

# Adafruit PiTFT 2.8"

dtoverlay=pitft28-resistive,speed=64000000,fps=30

@zenxedo
zenxedo / TrueNAS Setup.md
Last active April 21, 2023 17:36 — forked from jacobblock/FreeNAS.md
Ultimate FreeNAS 11.3 iocage Setup

TrueNAS

I will be moving from FreeNAS jails to ubuntu with docker, docker compose, and portainer. FreeNAS support and updates are lacking. There are many advantages to making the switch and with ZFS on linux I think FreeNAS may be a thing of the past. Stay tuned for a new guide of my latest setup. Check out my other gists for progress on the switch. https://gist.github.com/mow4cash/626275e095f7f90898944a85d66b3be6

WARNING READ THIS: This page contains incomplete and possibly incorrect info. The page is constantly being edited and worked on. Many of these should work but some may be broken. Read the code carefully to understand what you are doing, stuff may be need to be changed for your own use. This includes but not limited too JAIL AND ROUTER IPs, YOUR FREENAS MAIN VOLUME,THE MOST RECENT RELEASE OF DOWNLOADED FILES Use at your own risk.There may be helpful info in the comments.

Find me in the FreeNAS forums

@tegila
tegila / mt7601.sh
Created April 15, 2015 15:23
MediaTek MT7601 to Raspberry Pi 2 Raspbian
## Fetch source code from firmware and linux
git clone --depth 1 https://github.com/raspberrypi/firmware
git clone --depth=1 -b rpi-3.19.y --single-branch https://github.com/raspberrypi/linux
## Update firmware files
sudo mkdir /boot/backup
sudo cp /boot/* /boot/backup/
sudo cp -r firmware/modules /lib
sudo cp -r src/firmware/boot /
sudo cp firmware/extra/Module7.symvers linux/Module.symvers

Install raspbian, set up your users however you would like, so long as you have sudo access on the user you are running this with. You probably want to resize the image so it fills the SD card as well.

  1. Copy this entire gist to your raspberry pi
  2. Do chmod +x step1.sh step2.sh iptables.sh in the gist folder (so that
  3. Run step1.sh a) This script does a few things - it first updates your raspberry pi, then it installs a few needed utilities, then it upgrades the firmware on your raspberry pi