Instantly share code, notes, and snippets.

View manjaro_kde_after_install.sh
kate /etc/pacman.conf
[Add or remove comment color]
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -S subliminal
## Increasing the amount of inotify watchers
View wget_google_drive_file.sh
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
View Bypass_FRP_LG_G4_alternative.txt
Requirements:
· Bootloader unlocked
· Recovery TWRP (tested with 3.2.1.0)
· Tested with Nougat ROM https://forum.xda-developers.com/g4/development/rom-h-rom-v30-port-t3672567
STEPS
=====
Enter TWRP (press down + power when show LG log release power button and press again)
mount /system from Mount Menu
View gist:1f482dc239c7de3f8f6628b8fbfac54c
sudo apt install sshfs
mkdir ~/Remote-Machine
sudo editor /etc/fstab
proc /proc proc defaults 0 0
# SSH File System Mount of my server
pi@192.168.1.10:/remote_folder /home/pi/Remote-Machine fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=pi,IdentityFile=/home/pi/.ssh/id_rsa,allow_other,reconnect 0 0
View docker_commands.sh
# Upgrade lastest images of all
docker images | awk '{print $1}' | grep -v 'none' | grep -iv 'repo' | xargs -n1 docker pull
# CLEAN
docker system prune --volumes
# Create and start containers on background
docker-compose up -d
- OR -
docker-compose run -d --service-ports nginx-proxy
View keybase.md

Keybase proof

I hereby claim:

  • I am olidroide on github.
  • I am olidroide (https://keybase.io/olidroide) on keybase.
  • I have a public key ASAWAaR66f8Ci-0bP4JpiNcmeLJeJzxQTb-MX_M4HTOi3Ao

To claim this, I am signing this object:

View gist:2d41cdf9b98057082b474e6cb78bc257
Verifying that "olidroide.id" is my Blockstack ID. https://onename.com/olidroide
View Docker_raspberry_pi.txt
Install Flash tool from https://github.com/hypriot/flash
flash https://downloads.raspberrypi.org/raspbian_lite_latest
- OR -
curl -O https://downloads.raspberrypi.org/raspbian_lite_latest
lsblk
sudo dd if=raspbian_latest.img of=/dev/sdb bs=4M
sync
For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card.
View dmesg_cm-13.0-20161116-UNOFFICIAL-trunk-boot-20161116-trunk.txt
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.49-cyanogenmod-g1604947d-dirty (ottmi@fedora.vm) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Nov 16 16:33:05 CET 2016
[ 0.000000] CPU: AArch64 Processor [410fd030] revision 0
[ 0.000000] Machine: Qualcomm Technologies, Inc. MSM 8916 QRD SKUH
[ 0.000000] cma: Found external_image__region@0, memory base 0x0000000086000000, size 8 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found modem_adsp_region@0, memory base 0x0000000086800000, size 86 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found pheripheral_region@0, memory base 0x000000008be00000, size 6 MiB, limit 0xffffffffffffffff
[ 0.000000] cma: Found mba_region@0, memory base 0x0000000000000000, size 2 MiB, limit 0xffffffffffffffff
View dmesg_boot-20161116-trunk.txt
<3>[ 0.097381] msm_thermal:msm_thermal_dev_probe Failed reading node=/soc/qcom,msm-thermal, key=qcom,freq-control-mask. err:-517
<6>[ 0.097398] platform qcom,msm-thermal.59: Driver msm-thermal requests probe deferral
<6>[ 0.097804] sps:sps is ready.
<6>[ 0.098324] platform 1800000.qcom,rpmcc: Driver qcom,rpmcc-8916 requests probe deferral
<6>[ 0.098636] platform 1800000.qcom,gcc: Driver qcom,gcc-8916 requests probe deferral
<6>[ 0.099624] platform b011050.qcom,clock-a7: Driver clock-a7 requests probe deferral
<3>[ 0.101063] msm_mpm_dev_probe(): Cannot get clk resource for XO
<6>[ 0.101083] platform 601d0.qcom,mpm: Driver mpm-v2 requests probe deferral
<6>[ 0.101786] 8916_s1_corner: 0 <--> 0 mV at 0 mV normal idle
<6>[ 0.102094] 8916_s1_corner_ao: 0 <--> 0 mV at 0 mV normal idle