Skip to content

Instantly share code, notes, and snippets.

View killerbees19's full-sized avatar
🐢
I may be slow to respond.

Christian killerbees19

🐢
I may be slow to respond.
View GitHub Profile
@killerbees19
killerbees19 / playlist.m3u
Created April 30, 2017 17:19 — forked from dbiesecke/movies.m3u
pvr.iptvsimple iptvde.m3u
#EXTM3U
#EXTINF:-1 tvg-id="SkyCinema" tvg-logo="SkyCinema.png",SkyCinema
http://skyfall.to/SkyCinema/index.m3u8
#EXTINF:-1 tvg-id="Sky.National.GeographicHD",Sky.National.GeographicHD
http://skyfall.to/NationalGeographic/index.m3u8
#EXTINF:-1 tvg-id="Sky.National.Geographic.Wild",Sky.National.Geographic.Wild
http://skyfall.to/NatGeoWild/index.m3u8
#EXTINF:-1 tvg-id="Sky.Discovery.Channel.HD",Sky.DiscoveryHD
http://skyfall.to/DiscoveryChannel/index.m3u8
#EXTINF:-1 tvg-id="SkyCinemaAction" tvg-logo="SkyCinemaAction.png",SkyCinemaAction
@killerbees19
killerbees19 / git-deployment.md
Created May 9, 2017 16:51 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

How to use

  1. Copy one of the consumer key pairs to Twidere - Settings - Network - Advanced - Default API Settings
  2. Remove account from Twidere (or just skip this step)
  3. Re-login. It's OK to see "You've already logged in" message.
@killerbees19
killerbees19 / readme.txt
Created July 6, 2018 02:18 — forked from artizirk/readme.txt
Huawei E3372h-153
Working Huawei E3372h-153 SETPORT mappings
replacing A1,A2 with FF turns off need for usb_modeswitch
AT^SETPORT="A1,A2;12,1,16,A1,A2"
^GETPORTMODE: TYPE: WCDMA: huawei,PCUI:0,MDM:1,NDIS:2,CDROM:3,SD:4,
AT^SETPORT="A1,A2;1,12,16,A1,A2"

Slimming Down Raspbian Stretch Lite

Notes for slimming down a fresh installation of Raspbian Stretch Lite. This guide does not strip Raspbian of basic functionality such as Bluetooth and mDNS.

Instructions

Install a fresh Raspbian Stretch Lite image into the SD card ([source][1]).

$ unzip -p 2018-04-18-raspbian-stretch-lite.zip | dd bs=4M of=/dev/sdX conv=fsync

@killerbees19
killerbees19 / gist:5ba80bc0f043f2e7bdbc075f284eaf5f
Created July 23, 2020 14:27 — forked from cdown/gist:1163649
Bash urlencode and urldecode
urlencode() {
# urlencode <string>
old_lc_collate=$LC_COLLATE
LC_COLLATE=C
local length="${#1}"
for (( i = 0; i < length; i++ )); do
local c="${1:i:1}"
case $c in
[a-zA-Z0-9.~_-]) printf "$c" ;;
@killerbees19
killerbees19 / termux-su.sh
Created March 25, 2021 19:56 — forked from gwenhael-le-moine/termux-su.sh
run termux programs as root..
#!/data/data/com.termux/files/usr/bin/sh
# sudo for Termux
# For security reasons some environent variables are reset by su
# So need to set LD_LIBRARY_PATH again
# root's HOME is set to termux's home/.suroot. You can add bashrc there
ROOT_HOME=$HOME/.suroot
@killerbees19
killerbees19 / AdbCommands
Created March 26, 2021 17:33 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader

Android - Enable ADB from recovery

Credits to @TheOnlyAnil-@Firelord[^stackoverflow]

  • Requirements: a) stock recovery + rooted phone b) custom recovery

  • Files changed:

@killerbees19
killerbees19 / proxmox-zfs-encryption.md
Created May 17, 2021 10:28 — forked from yvesh/proxmox-zfs-encryption.md
Proxmox 6.1 ZFS native full disk (ZFS root) encryption.

Simple guide for fulldisk encryption with Proxmox and ZFS native encryption

Install normally using the installer, after the setup reboot into recovery mode (from the USB stick). Make sure to install in UEFI mode (you need systemd-boot).

If the USB stick is not working for you, because of the old Kernel version (2.6.x), you can also use an Ubuntu 19.10 / 20.04 boot stick. ZFS suport is enabled there out of the box.

Steps: