Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
Zer0xFF /
Last active May 31, 2020
google my business with laravel

Update Google's MyBusiness.php library to play nice with laravel

  • Copy/Paste the following content of update.php to the top of MyBusiness.php
namespace App\Classes;

use Google_Service;
use Google_Service_Resource;
use Google_Model;
use Google_Collection;
Zer0xFF /
Last active Jan 8, 2021
My Essential Fresh OSX/Windows setup
xcode-select --install
# /bin/bash -c "$(curl -fsSL"
brew install b7zip cmake qt5 clang-format zsh mas watch git git-gui graphicsmagick ghostscript npm wget trash composer romkatv/powerlevel10k/powerlevel10k
brew install --cask vscodium vlc qt-creator keka db-browser-for-sqlite
brew install --cask adobe-acrobat-reader teamviewer
pip3 install requests
# pip3 install pandas pyodbc striprtf pathvalidate mysql-connector-python
View asm.c
"mov %0, %%rsi\n\t"
"mov %1, %%rdi\n\t"
"call _trumpoline\n\t"
"r" (m_code), "g"(context)
: "rsi", "rdi"
Zer0xFF /
Created Feb 17, 2020
Verify Collection Of PS2 Dumps Against Redump
#!/usr/bin/env python3
# pip3 install --user filehash untangle
import os
import untangle
from filehash import FileHash
obj = untangle.parse('redump.ps2.dat')
View if_divisble_by_5.asm
jmp start
; AL keep track of the result
MOV CL, 1 ; CL keeps track of the number we're dividing
MOV BL, 71; BL keep track of memory location
inc BL
inc CL
View gist:bd71050abb25654b4df327966e4ca74d
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QPainter>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
View optimise.cpp
bool CJitter::ConstantFolding2(StatementList& statements)
bool changed = false;
for(auto statementIterator(statements.rbegin());
statementIterator != statements.rend(); ++statementIterator)
STATEMENT& outerStatement(*statementIterator);
if(outerStatement.op == OP_ADD)
Zer0xFF / media.bat
Last active Oct 17, 2019
fuck you c windows media
View media.bat
takeown /f c:\windows\media /r
icacls "c:\Windows\Media\*.wav" /grant everyone:f "NT SERVICE\TrustedInstaller:F" "BUILTIN\Administrators:R" "NT AUTHORITY\SYSTEM:R" "BUILTIN\Users:R"
cacls c:\windows\media /t /c /g everyone:f
icacls c:\Windows\media\*.wav /grant "nt service\Trustedinstaller":f
Zer0xFF / thegamesdb.yaml
Created Aug 19, 2019 — forked from J-Swift/thegamesdb.yaml
Cleaned up swagger spec for thegamesdb
View thegamesdb.yaml
swagger: '2.0'
description: API Documentations
version: 1.0.0
title: TheGamesDB API
# put the contact info for your development or API team
# contact:
# email:
Zer0xFF /
Last active Jul 7, 2020
RPCS3 update script linux/windows
import requests
import platform
api_url = ''
file_name = ''
if(platform.system() == 'Windows'):
from pyunpack import Archive
# pip install pyunpack
# pip install patool
api_url = ''
You can’t perform that action at this time.