Skip to content

Instantly share code, notes, and snippets.

User: ISHAAN,glaitm
Key: 27R3VDEFYFX4N0VC3FRTQZX
@wizardx254
wizardx254 / setup_android_build.sh
Created December 28, 2021 09:53
To set up build environment for Android kernel development
###
# Download Android NDK to be able to compile runtime cmd-line tools on ARM
# - https://developer.android.com/ndk/downloads/index.html
wget https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
###
# Download up-to-date adb/fastboot platform tools to interface with Android (adb/fastboot)
# - https://developer.android.com/studio/releases/platform-tools.html
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
@wizardx254
wizardx254 / libom-patch.py
Created May 3, 2021 09:45 — forked from linusyang/libom-patch.py
New WebKit-based Opera Mobile Off-Road Proxy Modifier
#!/usr/bin/env python
#-*- encoding: utf-8 -*-
#
# Opera Mobile Off-Road Proxy Modifier
# By Linus Yang <laokongzi@gmail.com>
# Licensed under GPLv3
#
from optparse import OptionParser
from zipfile import ZipFile, ZipInfo, ZIP_DEFLATED
@wizardx254
wizardx254 / nginxproxy.md
Created April 14, 2021 10:05 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@wizardx254
wizardx254 / squid_proxy_tutorial.md
Created April 9, 2021 09:06 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils