Skip to content

Instantly share code, notes, and snippets.

View suyashgupta25's full-sized avatar

Suyash Gupta suyashgupta25

View GitHub Profile
./extract-lge-bullhead.sh
./extract-qcom-bullhead.sh
repo init -u https://android.googlesource.com/platform/manifest -b android-8.1.0_r18
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
mkdir ~/bin
PATH=~/bin:$PATH
POSIXLY_CORRECT=1 sudo port install gmake libsdl git gnupg
xcode-select --install
hdiutil resize -size <new-size-you-want>g ~/android.dmg.sparseimage
let imageRequestHandler = VNImageRequestHandler(cvPixelBuffer: pixbuff!, orientation: CGImagePropertyOrientation.right, options: [:])
// Run Image Request
do {
if requests.count > 0 {
try imageRequestHandler.perform(self.requests)
}
} catch {
print(error)
}