Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ishan Jain ishanjain28

🎯
Focusing
View GitHub Profile
View about:support_ff_89_arch_x11_1702889
Application Basics
------------------
Name: Firefox
Version: 87.0
Build ID: 20210322115435
Distribution ID: archlinux
User Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
OS: Linux 5.11.11-arch1-1 #1 SMP PREEMPT Tue, 30 Mar 2021 14:10:17 +0000
Multiprocess Windows: 4/4
View e5573-lte-band-lock.md

Locking LTE bands on e5573Cs-609, May work on other versions of e5573

Install required drivers to ensure the device is detected in DC Unlocker

In the text field in DC Unlocker, Go to the last line and copy paste the lines down below depending on what band you want to lock it to.

The setting sometimes persists across reboots, Sometimes it doesn't.

View steamcmd-dl.sh
#!/bin/bash
# This script downloads windows versions of games from steam and automatically restarts download in case the download failed for reason
game="steamcmd +@sSteamCmdForcePlatformType windows +login <username> <password> +force_install_dir <download_dir> +app_update <app_id> validate +quit"
until $game; do
echo "game download stoppped! Restarting"
sleep 1
done
View keybase.md

Keybase proof

I hereby claim:

  • I am ishanjain28 on github.
  • I am ishanjain (https://keybase.io/ishanjain) on keybase.
  • I have a public key ASDUjGtFYS3YmjQU5Ij5gwNvm2gsvBgJ0_ZvadS3fF5dugo

To claim this, I am signing this object:

View bse-scrap.go
package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
@ishanjain28
ishanjain28 / ffmpeg.md
Created Sep 17, 2017 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files
View ffmpeg.md

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@ishanjain28
ishanjain28 / ffmpeg.md
Created Sep 17, 2017 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files
View ffmpeg.md

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

View bulk.json
This file has been truncated, but you can view the full file.
[
{
"deal_date": "06/09/2017",
"security_code": "534691",
"company": "COMCL",
"client_name": "VINOD VRAJLAL NIRMAL",
"deal_type": "S",
"quantity": "6575",
"price": "32.30"
View nginx
# nginx reverse proxy configuration for hosting two websites on one server
# File has to be saved in /etc/nginx/sites-available/website
# Then link it and store that in ../sites-enabled
# Also this configuration can be used to enable https on a website, Remove the third server {} block.
server {
# Redirect from http to https
listen 80;
listen [::]:80 default_server;
return 301 https://$host$request_uri;