- Download the fastboot ROM suitable for your device from the Xiaomi Firmware Updater and extract the downloaded archive
- Download and extract the official Android SDK Platform Tools or install them using your package manager of choice.
- If you are using the official platform tools, make sure
adb
andfastboot
(components of platform-tools) are in your path
- If you are using the official platform tools, make sure
// ==UserScript== | |
// @name Amozeshyar Bypass iGap | |
// @version 1 | |
// @description Bypass Amozeshyar iGap code | |
// @author Yedoost | |
// @match http://stdn.iau.ac.ir/Student/captchaProcess | |
// @match http://stdn.iau.ac.ir/Student/manageAccount | |
// @grant none | |
// ==/UserScript== |
function respHandler() { | |
data = JSON.parse(this.responseText) | |
price = data.data.webengage.price | |
cells = document.getElementsByClassName('post-fields-item') | |
last = cells[cells.length - 1] | |
clone = last.cloneNode(true) | |
clone.getElementsByTagName('span')[0].innerText = 'قیمت' | |
clone.getElementsByTagName('div')[0].innerText = Number(price).toLocaleString() | |
last.parentElement.appendChild(clone) | |
} |
#!/bin/env bash | |
set -e | |
readonly VM="banana" | |
readonly CPU="8" | |
readonly MEM="8GB" | |
readonly DSK="120GB" | |
lxc init images:ubuntu/focal ${VM} -p default -p vm --vm |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import ssl | |
import socket | |
import os | |
import sys | |
from argparse import ArgumentParser | |
from argparse import RawTextHelpFormatter | |
from threading import Thread |
Demonstrates a solution for the simple multi-vehicle routing problem (VRP) using a combination of Google libraries and services. Sample depot and shipment locations randomly chosen in the San Antonio, TX metro area. Distances and times are based on Google's road network.
You will need a Google Maps Platform API Key.
-
After installing mitmproxy run it (just type
mitmproxy
) in a terminal session and quit. This will create the necessaries certificates files at~/.mitmproxy
. -
Extract the certificate to
.crt
format:
openssl x509 -in ~/.mitmproxy/mitmproxy-ca.pem -inform PEM -out ca.crt
-
Trust the certificate into CA:
sudo trust anchor ca.crt
-
Run the
mitmproxy
again
[ | |
{ | |
"latitude": "34° 31' 24.924", | |
"longitude": "50° 0' 20.866", | |
"province": "مرکزی", | |
"state": "آشتیان", | |
"city": "آشتیان" | |
}, | |
{ | |
"latitude": "33° 40' 29.197", |
package main | |
import ( | |
"fmt" | |
"reflect" | |
"github.com/coreos/go-iptables/iptables" | |
) | |
func contains(list []string, value string) bool { |
A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources
- https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
- https://www.evonide.com/non-root-gpu-passthrough-setup/
- https://dominicm.com/gpu-passthrough-qemu-arch-linux/
The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.
- IGPU or second dedicated GPU for Host system (unless you want to go the hard way and use one GPU for HOST and GUEST)