Skip to content

Instantly share code, notes, and snippets.

View i3p9's full-sized avatar

Fahim i3p9

View GitHub Profile
i3p9 /
Last active August 31, 2015 06:10 — forked from ruzickap/
OpenWrt WiFi configuration tweaks
uci set
uci set wireless.radio0.htmode=HT40-
uci set wireless.radio0.noscan=1
uci set wireless.radio0.bursting=1
uci set wireless.radio0.ff=1
uci set wireless.radio0.compression=1
uci set wireless.radio0.xr=1
uci set
uci set wireless.radio0.txpower=20
tracert >> C:\tracert.txt
for /r %%f in (*.avi) do (
echo>>blah.txt file '%%~nxf'
ffmpeg -f concat -i blah.txt -c copy output.avi
# AdBlock for iOS DNS Proxy rules
# Exported 10 Nov 2017 at 14:18:37 with AdBlock v4.1
Chinese Adservers/A8/
Chinese Adservers/A8/
Chinese Adservers/Apple Daily/
Chinese Adservers/B-Media Asia/
Chinese Adservers/B-Media Asia/
Chinese Adservers/Baidu/
i3p9 / hyper-settings-backup
Last active July 2, 2019 21:42
Hyper Backup
We couldn’t find that file to show.
i3p9 /
Last active November 12, 2019 13:56
Volley Parsing (ListView)
public class MainActivity extends AppCompatActivity {
//private TextView result;
private RequestQueue rqueue;
private ArrayList<String> items;
private ArrayAdapter<String> itemsAdapter;
private ListView lvItems;
protected void onCreate(Bundle savedInstanceState) {
lvItems = (ListView) findViewById(;
//result = findViewById(;
Some alternative programming languages to Python are C, C++, Perl, Fortran and Java.
i3p9 /
Last active April 12, 2020 16:21
Scraping covid 19 case data from worldmetrics (bangladesh)
import requests
from bs4 import BeautifulSoup
import re
URL = '' #change the url for other countries
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser') #makes a soup bs object
results = soup.find(class_='content-inner')
cases =results.find_all('div', class_=('maincounter-number'))
i3p9 / archive.conf
Created September 17, 2020 20:45
Youtube-dl Archiving channels
-o "%(upload_date)s - %(title)s - [%(resolution)s] [%(id)s].%(ext)s"
--download-archive archive.txt
-a channels.txt
--merge-output-format mkv
i3p9 / com.i3p9.wifigone.plist
Created December 16, 2020 21:12
launchd plist to Turn wifi off on startup
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">