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
# Compile https://aur.archlinux.org/packages/kindlegen/ | |
# Download and: | |
makepkg -s | |
# Convert | |
kindlegen book.epub -o book.mobi | |
# Send the file using <user>@kindle.com |
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 https://downloads.raspberrypi.org/raspbian_lite_latest | |
# Boot and login (pi, raspberry). | |
# Configure keyboard | |
sudo dpkg-reconfigure keyboard-configuration | |
sudo setupcon |
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
sudo apt-get install ssh # Possiblely already done | |
sudo systemctl enable ssh | |
sudo systemctl start ssh |
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
# Activated device? By default, the RPi has the bluetooth activated. | |
# Activated service? | |
systemctl status bluetooth | |
# Pair a device | |
sudo bluetoothctl | |
scan on | |
pair <the listed device> | |
quit |
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
# Setting up a Raspberry Pi as a bridged wireless access point | |
# https://www.raspberrypi.org/documentation/configuration/wireless/access-point-bridged.md | |
# Update | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Disable bluetooth | |
https://gist.github.com/vicente-gonzalez-ruiz/a330f19fda79d8e4b818204d5224c8f0 |
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
# Check if dhcpcd is running: | |
sudo service dhcpcd status | |
# If not: | |
#sudo service dhcpcd start | |
sudo systemctl enable dhcpcd.service | |
sudo systemctl start dhcpcd.service | |
sudo nano /etc/dhcpcd.conf | |
interface <interface_to_configure> |
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
# Install Boinc and activate the service | |
sudo pacman -S boinc-nox | |
sudo systemctl enable boinc-client.service | |
sudo systemctl start boinc-client.service | |
sudo systemctl status boinc-client.service | |
# Check the service: | |
boinccmd --passwd <content of /var/lib/boinc/gui_rpc_auth.cfg> --get_host_info | |
# Create an account: |
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
# Show partition information: | |
sudo fdisk /dev/<device><partition> | |
# Example: | |
sudo fdisk /dev/sde | |
Welcome to fdisk (util-linux 2.35.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
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
sudo systemsetup -setremotelogin on |
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
# Use MELPA | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa-stable" . "https://stable.melpa.org/packages/")) | |
(package-initialize) |