Skip to content

Instantly share code, notes, and snippets.

View AlmostEfficient's full-sized avatar

Raza AlmostEfficient

View GitHub Profile
@edulanasca
edulanasca / vite.config.js
Created April 1, 2022 19:28
Vite config file to deploy application
import reactRefresh from '@vitejs/plugin-react-refresh';
import {defineConfig} from 'vite';
import stdLibBrowser from 'node-stdlib-browser';
import inject from '@rollup/plugin-inject';
export default defineConfig({
resolve: {
alias: stdLibBrowser
},
optimizeDeps: {
@lewiuberg
lewiuberg / raspberry_pi_time_machine_and_plex.md
Last active April 10, 2024 06:26
Raspberry Pi Time Machine and Plex setup

Source: https://gregology.net/2018/09/raspberry-pi-time-machine/

Raspberry Pi Time Machine

Setup Pi with Raspbian

Install Raspbian Buster Lite on the SD card. Follow the instructions on the Installing images tutorial on the Raspberry Pi site. Then enable SSH. Insert the SD card into the Pi, plug in the USB hard drive, plug in a network cable, and power on the Pi.

Open Preferences and Raspberr pi configuration. Change the hostname to: "AirPort"

Next set a static IP address for your Raspberry Pi. Depending on your setup, you can either set the Pi to have a manual ip address or have your router assign a static IP address.