Skip to content

Instantly share code, notes, and snippets.

View kushaangupta's full-sized avatar
🎆

Kushaan Gupta kushaangupta

🎆
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kushaangupta
kushaangupta / skan_sholl.py
Last active January 30, 2022 08:38
Skan sholl
from collections import defaultdict
import dask.array as da
import numpy as np
import matplotlib.pyplot as plt
from skimage.measure import label
def _concentric_coords_and_values(
shell_step_size,
@kushaangupta
kushaangupta / keybase.md
Created November 8, 2021 15:31
keybase.md

Keybase proof

I hereby claim:

  • I am kushaangupta on github.
  • I am kushaan (https://keybase.io/kushaan) on keybase.
  • I have a public key ASBoFg9EM2SG0kPQHRwUxoC5-_pc9mc3SCc_eDCGLs_SIAo

To claim this, I am signing this object:

MAC address spoofing in Ubuntu

Tested on Ubuntu 20.04

Setup

networkctl

networkctl would list networking subsystems. Check the LINK of one with TYPE as wlan - if you wish to change WiFi's MAC address, or ether - if you wish to change Ethernet's MAC address. Mine is wlp2s0 for WiFi, so I'll use it in the following example.

WiFi Hotspot Sharing in Ubuntu with the source being WiFi

Tested on Ubuntu 20.04

We'll setup create_ap & hostapd

Setup

git clone https://github.com/oblique/create_ap
cd create_ap