Skip to content

Instantly share code, notes, and snippets.

View ishanjain28's full-sized avatar
🎯
Focusing

Ishan Jain ishanjain28

🎯
Focusing
View GitHub Profile
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

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.

#!/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

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:

package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
@ishanjain28
ishanjain28 / ffmpeg.md
Created September 17, 2017 03:24 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

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 September 17, 2017 03:24 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

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:

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"
},
package db
func Init() (*mgo.Session, error) {
db, err := mgo.Dial("localhost:27017")
if err != nil {
return nil, err
}
return db, nil
}