Skip to content

Instantly share code, notes, and snippets.

View mohnkhan's full-sized avatar
🎯
Focusing on Artificial Intelligence powered Automation

Mohiuddin Khan Inamdar mohnkhan

🎯
Focusing on Artificial Intelligence powered Automation
View GitHub Profile

Checking out Source

  • clone latest source repository by git clone https://www.github.com/openwrt/openwrt -b branch_name
  • Now change directory to openwrt by cd openwrt.This is our <buildroot dir> for this guide.

Updating Feeds

  • Update feeds: ./scripts/feeds update -a
  • Make downloaded package(s) available in make menuconfig:
    • single package : ./scripts/feeds install <PACKAGENAME>
    • all packages : ./scripts/feeds install -a

Image Configuration

@jackblk
jackblk / LogitechF310_Macbook.MD
Last active August 1, 2025 02:12
Getting Logitech F310 to work with Macbook USB-C port
@logich
logich / gist:573d52f6499b13a376c1c2fe0678e572
Created March 3, 2020 18:27
LibreDrive for HL-DT-ST BD-RE WH14NS40 SVC NS50
Wanted to be able to read/backup my UHD 4k blurays
Main guide is here: https://www.makemkv.com/forum/viewtopic.php?f=16&t=19634
Chose the least expensive 5.25 drive: LG WH14NS40
Best choice is to build a USB boot drive from image here: https://www.mediafire.com/file/8by2zqop77vpobr/WIN10PE_X86_4UHD.zip/file
Used Rufus in a windows VM
@Danjb1
Danjb1 / wadlist.md
Last active August 19, 2025 04:14
Doom WAD List

Doom WAD List

Official

IWADs

  • The Ultimate Doom
  • Doom II
  • Final Doom - The Plutonia Experiment
  • Final Doom - TNT: Evilution
@TheRadziu
TheRadziu / ultimate-vita-comparison.md
Last active February 1, 2025 15:22
Ultimate Vita Comparison (Firmwares & Rips vs Dumps)

Due to so many misinformation, false claims and confusion that goes around the web I've decided to make this quick comparison of all most known backup enabling tools, hackable vita firmwares and which one you should be using and why.
Date of last update: 13.01.2020

NoNpDRM Rips vs Dumps

NoNpDRM Rips Vitamin / MaiDumpTool Dumps
All original files untouched
Support Retail DLCs
Support Ripped (NoNpDRM) DLCs
Support Dumped (Vitamin/Mai) DLCs 1
@nginx-gists
nginx-gists / api_backends.conf
Last active December 20, 2024 17:46 — forked from lcrilly/api_backends.conf
Deploying NGINX Plus as an API Gateway, Part 1
upstream warehouse_inventory {
zone inventory_service 64k;
server 10.0.0.1:80;
server 10.0.0.2:80;
server 10.0.0.3:80;
}
upstream warehouse_pricing {
zone pricing_service 64k;
server 10.0.0.7:80;
@duyet
duyet / duyetdev-spark-to-parquet.scala
Created September 21, 2016 03:35
Spark convert CSV to Parquet.
def convert(sqlContext: SQLContext, filename: String, schema: StructType, tablename: String) {
// import text-based table first into a data frame.
// make sure to use com.databricks:spark-csv version 1.3+
// which has consistent treatment of empty strings as nulls.
val df = sqlContext.read
.format("com.databricks.spark.csv")
.schema(schema)
.option("delimiter","|")
.option("nullValue","")
.option("treatEmptyValuesAsNulls","true")
ambari-server stop
ambari-agent stop
pkill -9 java
#################################
# Remove Packages
################################
yum -y remove ambari-\*
yum -y remove hcatalog\*
yum -y remove hive\*
@baraldilorenzo
baraldilorenzo / readme.md
Last active August 10, 2025 20:39
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@lelandbatey
lelandbatey / yt1080.md
Last active October 21, 2023 16:31
YouTube 1080p Download Script

YouTube 1080p Downloader

The Problem

It used to be you could directly download any YouTube video in any quality you wanted, as a single .mp4 file. However, around a year ago, YouTube switched from the "single file stream", to "DASH" streaming, which streams the video and the audio to you as two separate streams, which are played in sync with each other in the YouTube player.

It's still possible to download YouTube videos as a single file, but YouTube only offers that for qualities up to 720p. So you can't download "single file stream" videos in 1080p or higher.