Skip to content

Instantly share code, notes, and snippets.

View furycd001's full-sized avatar
😶
Sometimes....

Jonny Sherwood-Bowes furycd001

😶
Sometimes....
View GitHub Profile
@RebelLion420
RebelLion420 / TermuxArchSetup2020.md
Last active May 12, 2024 22:37
How to set up Arch Linux in Termux on Android

So, to get started you need to get the base OS installed using the instructions from the official docs .

$ pkg update

$ pkg install bsdtar wget proot tergent tmux openssh

Tmux is a multiplexer that lets you run multiple persistent windows and sessions on a single terminal. I had trouble getting it working in the Arch proot, so a workaround is configuring tmux from your host Termux and then creating a tmux session and starting the chroot from there. For more information on using tmux read this article, and to learn how to customize the appearance and behaviors more try this one as well as looking at the tmux-plugins Github organization for community-built add-ons.

$ termux-setup-storage

@HarlemSquirrel
HarlemSquirrel / install_hydrapaper_u18.04.sh
Last active February 2, 2021 19:26
Install HydraPaper on Ubuntu 18.04
#!/bin/bash
# Install HydraPaper on Ubuntu 18.04
# No super user access required if flatpak is installed
# HarlemSquirrel.github.io
# Install flatpak
sudo apt install -y flatpak gnome-software-plugin-flatpak
# Add flathub repo for the current user
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
#!/bin/bash
# Get the song that is currently played and store it to a variable
oldsong=$(mpc current)
# Stays on loop while the script is active
while "true"; do
# Check if the current song is equal to the one that was playing before (oldsong)
if [[ "$(mpc current)" != "$oldsong" ]]; then
# If not equal, assign the new song to the variable to be checking again correctly
oldsong=$(mpc current)
# And send the notification
@z3ntu
z3ntu / README.md
Last active June 14, 2024 23:26
KDE 1 Arch Linux install guide
@eddieantonio
eddieantonio / hello.1.md
Last active January 30, 2023 12:41
man page template in Markdown

% HELLO(1) Version 1.0 | Frivolous "Hello World" Documentation

NAME

hello — prints Hello, World!

SYNOPSIS

@ruario
ruario / small-slackware.md
Last active May 3, 2024 20:15
A short guide to quickly setting up a small Slackware install

Setting up a "small" Slackware install

Intro

Before you do this, reconsider if it is really needed. More often than not, it isn't. This is why.

A common reason for attempting a minimal install is an expectation that Slackware will run faster. This is not true. Some example, (IMHO) valid, reasons for stripping back the install include:

  • Installing on a device with limited disk space, where it is hard to add additional storage
  • A setup where there is an ongoing cost to rent disk space (e.g. a Virtual Private Server)
@willurd
willurd / web-servers.md
Last active June 13, 2024 14:37
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000