Skip to content

Instantly share code, notes, and snippets.

View donfreiday's full-sized avatar

Donald Freiday donfreiday

View GitHub Profile
@donfreiday
donfreiday / AdbCommands
Created June 14, 2023 13:41 — 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
@donfreiday
donfreiday / submodules.md
Created August 17, 2019 14:13 — forked from manasthakur/submodules.md
Using git submodules to version-control Vim plugins

Using git-submodules to version-control Vim plugins

If you work across many computers (and even otherwise!), it's a good idea to keep a copy of your setup on the cloud, preferably in a git repository, and clone it on another machine when you need. Thus, you should keep the .vim directory along with your .vimrc version-controlled.

But when you have plugins installed inside .vim/bundle (if you use pathogen), or inside .vim/pack (if you use Vim 8's packages), keeping a copy where you want to be able to update the plugins (individual git repositories), as well as your vim-configuration as a whole, requires you to use git submodules.

Creating the repository

Initialize a git repository inside your .vim directory, add everything (including the vimrc), commit and push to a GitHub/BitBucket/GitLab repository:

cd ~/.vim
@donfreiday
donfreiday / retroarch.md
Last active May 26, 2019 13:34 — forked from AlexMax/retroarch.md
Setting up RetroArch on a Raspberry Pi

Compile RetroArch

sudo apt install libasound2-dev libudev-dev

Okay, time out - what are we installing and why?

  • libasound2-dev is ALSA. This library ensures that RetroArch will have sound - kind of important.
  • libudev-dev is udev. This library is necessary to ensure compatibility with a wider range of input devices. Without this, my DualShock 3 could be detected, but didn't actually work.

git clone https://github.com/libretro/RetroArch.git