while true; do
./adb shell input swipe 100 400 4000 400 400;
done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Nginx log format | |
log_format main '$remote_addr\t$remote_user\t$time_local\t$request_time\t$request\t' | |
'$status\t$body_bytes_sent\t$http_referer\t' | |
'$http_user_agent\t$http_x_forwarded_for'; | |
# GoAccess configuration | |
# IMPORTANT: Replace all `\t` below with real tabs | |
date_format %d/%b/%Y:%T | |
log_format %h\t%^\t%d %^\t%T\t%r\t%s\t%b\t%R\t%u\t%^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var host = "YOURDOMAIN.github.io"; | |
if ((host == window.location.host) && (window.location.protocol != "https:")) | |
window.location.protocol = "https"; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adjust the following variables as necessary | |
REMOTE=origin | |
BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
BATCH_SIZE=500 | |
# check if the branch exists on the remote | |
if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
# if so, only push the commits that are not on the remote already | |
range=$REMOTE/$BRANCH..HEAD | |
else |
In this guide, I will show you how to deploy and run a pre-built build environment using Docker.
This guide is tested to run on Linux and macOS, but it should also work on Windows.
You are a pr0 thug dev and you only need the docker instruction? Click here.
Your build machine should at least follow the minimum specs for building Android:
- CPU: 4 cores with 2 GHz
- Memory: 8 GB (recommended 12 GB if running with graphical environment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(5); | |
error_reporting(0); | |
function in_range($num, ...$ranges) { | |
foreach ($ranges as $range) { | |
if (is_array($range)) { | |
if ($range[0] <= $num and $num <= $range[1]) { | |
return true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export WINEPREFIX=/home/$USER/.local/share/MultiTheftAuto | |
export WINEARCH=win32 | |
wineboot -u | |
hexdump -n 4 -e '4/4 "%08X" 1 "\n"' /dev/urandom > $WINEPREFIX/drive_c/.windows-serial | |
winetricks -q d3dx9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Based on https://github.com/EraYaN/jellyfin-stats | |
# pip3 install requests tqdm | |
URL = "" | |
API_KEY = "" | |
from re import sub | |
import requests | |
from tqdm import tqdm |