Skip to content

Instantly share code, notes, and snippets.

@olidroide
olidroide / MSI Prestige 14 A10SC
Last active Jul 20, 2020
MSI Prestige 14 A10SC
View MSI Prestige 14 A10SC
INTEL i7 10710U CML
https://en.wikichip.org/wiki/intel/microarchitectures/comet_lake
Intel® Wi-Fi 6 AX201 160MHz
---------------------------
https://www.intel.es/content/www/es/es/products/wireless/wi-fi-6-series/wi-fi-6-ax201.html
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi/iwlwifi-qu-48.13675109.0.tgz
sudo cp iwlwifi-*.ucode /lib/firmware
sudo modprobe iwlwifi
View Ubuntu 19.10
sudo chmod 600 .ssh/*
chown -R $USER:$USER .ssh
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get install fonts-symbola
sudo apt install s-tui i7z
fc-cache -f -v
@olidroide
olidroide / manjaro_kde_after_install.sh
Last active Oct 22, 2020
Manjaro KDE After install
View manjaro_kde_after_install.sh
# connect wifi from terminal
nmtui
kate /etc/pacman.conf
[Add or remove comment color]
# yay repository tool
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
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
@olidroide
olidroide / docker_raspberry_pi.sh
Last active May 3, 2019
Docker Raspberry pi steps
View docker_raspberry_pi.sh
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.
You can’t perform that action at this time.