Skip to content

Instantly share code, notes, and snippets.

@Hashino
Hashino / arch-guide.md
Last active August 27, 2024 08:28
archlinux: a (more friendly) how-to in troubleshooting for newcomers.

archlinux: a (more friendly) how-to in troubleshooting for newcomers.

This article is an updated version of a reddit post with a similar title written by u/zendeavor.

Have you tried asking for Arch related help and found that the community was "unfriendly" and "unhelpful"? Only telling you to "RTFM: Read the Friendly Manual"? Then this article may be helpful to you.

#!/bin/env python3
# run doing `./archlinux_mirror_list_updater > /etc/pacman.d/mirrorlist`
import urllib.request
import re
import time
import sys
@GabrielMMelo
GabrielMMelo / sudo-termux
Created January 22, 2019 12:33
Install sudo in Termux (Android)
apt install git
git clone https://gitlab.com/st42/termux-sudo
cd termux-sudo
cat sudo > /data/data/com.termux/files/usr/bin/sudo
chmod 700 /data/data/com.termux/files/usr/bin/sudo
@meskarune
meskarune / cal.lua
Last active June 11, 2024 12:31
conky calendar and weather
#!/usr/bin/env lua
conky_color = "${color1}%2d${color}"
t = os.date('*t', os.time())
year, month, currentday = t.year, t.month, t.day
daystart = os.date("*t",os.time{year=year,month=month,day=01}).wday
month_name = os.date("%B")
@dianjuar
dianjuar / android_on_arch.md
Created April 10, 2017 03:22
install android SDK on arch linix

Install Android SDK on Arch Linux

1. Download Android SDK on your computer

yaourt android-sdk-platform-tools
yaourt android-udev
yaourt android-sdk

2. Create global variables on system

@eddmann
eddmann / arch.sh
Last active March 14, 2023 22:52
Arch Setup (with Awesome)
wifi-menu
ping www.google.com
# setup disk partitions
cfdisk.
# format disk partitions
lsblk /dev/sda
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2