Skip to content

Instantly share code, notes, and snippets.

View BaReinhard's full-sized avatar
🏠
Working from home

Brett Reinhard BaReinhard

🏠
Working from home
View GitHub Profile
@BaReinhard
BaReinhard / update_trades.js
Last active May 25, 2020 13:34
Update trades Path of Diablo
function postData(url = ``, data = {}) {
// Default options are marked with *
return fetch(url, {
method: "POST", // *GET, POST, PUT, DELETE, etc.
headers: {
Cookie:
"COOKIE_GOES_HERE",
"Content-Type": "application/json",
"X-XSRF-TOKEN":
"TOKEN_GOES_HERE"
@BaReinhard
BaReinhard / enUS_Path of Diablo Install.sh
Last active September 14, 2020 16:18
Simple install and download of Path of Diablo for Mac OS
PLEASE REFER TO https://github.com/BaReinhard/pod-installer-utils
@BaReinhard
BaReinhard / install_path_of_diablo.sh
Last active January 13, 2019 23:57
A simple Script to Install all necessary dependencies for Path of Diablo on Mac OSX
#!/bin/bash
# Author: Brett Reinhard
# Date: 1/13/2019
# Description:
# Create Folder called 'd2' in your Home directory, aka /Users/profile_name/d2
# Download Windows Game Clients, Class and LOD. Rename the exe files as vanilla.exe and lod.exe respectively
/bin/mkdir ~/d2

Install VSCode

  1. Download VSCode here
  2. Open Code, then press Command+Shift+P, in the drop down type Install Path and press enter (This will make opening directories easier)

Installing Plugins

  1. In the Left Tool Pane click the 5th Icon, then in the input box with a placeholder of Seach extensions in Marketplace type prettier code formatter and click on it (you'll thank me later) and click install in the main pane
  2. Next Search for eslint, follow the same steps to install
  3. Those should be enough to help streamline you're development

Open Integrated Terminal

Setting up NodeJS

  1. Install Node, Download
  2. Run through the installer
  3. JavaScript runtime is setup on your local machine.

Writing your first node application

  1. Open up your CLI of choice (terminal works just fine, press command+space type in terminal and press enter)
@BaReinhard
BaReinhard / Linux_Intro.md
Created December 3, 2017 04:20
Intro to Linux

Introduction to the Basics of Linux and Connecting to your Raspberry Pi

In order to connect to the Raspberry Pi, it must be connected to the the network, either via Wifi or Ethernet. Wifi Should Already be Enabled on your device

To connect on a Windows machine you will need a 'ssh client' such as PuTTY. (Download here)

  1. Under hostname or ip input pi@raspberrypi.local , password is raspberry
  2. Then connect, it may ask you to accept the keys. Go ahead and do so.
  3. While you're logged in, its good practice to change your password since its the default and very unsecure.
@BaReinhard
BaReinhard / Change_Boot_Animation.md
Last active November 18, 2017 05:38
Changing Bootanimation Blu R1 HD

Changing Boot Animation on Blu R1 HD

  1. Have root
  2. Install Android SDK here
  3. Connect Phone to Computer and have it trust your computer. You will need developer options of USB Debugging on
  4. Open Terminal
  5. Use the command adb shell
  6. In the new shell opened gain root by typing su you will need to grant permission via the phone screen
  • mount system as read-write permissions mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  1. In a seperate command prompt on your computer push the bootanimation.zip to a writable location i.e. /storage/sdcard0/Download
@BaReinhard
BaReinhard / Blu_R1_HD_ROOT.md
Last active July 5, 2022 00:06
Rooting Amazon Ad Enabled Blu R1 HD 16gb/2gb

Rooting Amazon Ads Enabled Blu R1 HD

Windows

  1. Download drivers here
  2. Install ADB Files here or here
  3. Download Unlock Tool here
  4. Connect Phone to Computer Via USB, unlock phone and allow computer access.
  5. Run dirty-cow-tool.bat
  6. Run options 1,2,3,4, and option 5.1
  7. Enjoy Root