Skip to content

Instantly share code, notes, and snippets.

Avatar
🎧
Flow

Kyle Felter felts94

🎧
Flow
View GitHub Profile
@felts94
felts94 / minishift.log
Created Jul 24, 2019
minishift startup log audio cuts out because it grabs the microphone
View minishift.log
minishift start --vm-driver=virtualbox --show-libmachine-logs -v5
-- minishift version: v1.33.0+ba29431
-- Starting profile 'minishift'
Found binary path at /usr/local/bin/minishift
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:52396
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
@felts94
felts94 / github.sh
Created Jul 11, 2019
using go modules with private repos
View github.sh
git config \
--global \
url."https://${user}:${personal_access_token}@github.com".insteadOf \
"https://github.com"
@felts94
felts94 / sqlite3 for Destiny 2 API
Created Nov 9, 2018
This is a method for getting objects from hashes specifically using sqlite3 for the Destiny 2 API
View sqlite3 for Destiny 2 API
import sqlite3
con = sqlite3.connect('Manifest.content')
cur = con.cursor()
def getItemName(itemHash):
#create id from hash
if (itemHash & (1 << (32 - 1))) != 0:
itemHash = itemHash - (1 << 32)
cur.execute("SELECT json FROM DestinyInventoryItemDefinition WHERE id=?", (itemHash,))
#print(cur.fetchall())
You can’t perform that action at this time.