Skip to content

Instantly share code, notes, and snippets.

View Kyshman's full-sized avatar

Kysh Kyshman

  • Bush N Blooms
  • Kenya
  • 16:57 (UTC +03:00)
  • X @kyshman
View GitHub Profile
@creativesalam
creativesalam / starship.toml
Created January 21, 2021 12:25 — forked from Raj-Joshi-dev/starship.toml
Starship shell prompt configuration inside ~/.config/starship.toml
# Don't print a new line at the start of the prompt
add_newline = false
# Make prompt a single line instead of two lines
[line_break]
disabled = true
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
@greginvm
greginvm / restore_grub_manjaro.txt
Last active December 21, 2024 07:27
Restore GRUB in UEFI + LVM + LUKS setup (Manjaro)
Setup: UEFI, LVM + LUKS encrypted drive
Bootloader: Grub
Links:
- https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader
-
Restore GRUB (boot into live env):
# get the encrypted partition (crypto_LUKS)
lsblk -f
@pklaus
pklaus / tunnelbroker-net.sh
Last active September 17, 2024 08:12
tunnelbroker.net automatic tunnel IP update and tunnel setup (on Mac OS X)
#!/bin/bash
#### This script is published by Philipp Klaus <[email protected]>
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/>
#### It is originally by freese60 and modified by limemonkey.
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0>
### Uncomment this line to debug the script:
#set -x