This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Login to https://fancy.parivahan.gov.in/fancy/faces/public/login.xhtml and navigate to Number Selection tab, select RTO and run these on console | |
// Update START, END, RTO, STATE_CODE, COOKIE & SERVER_TOKEN | |
// get the Cookie & ViewState from Network request(or with Postman Interceptor) | |
// Find open status from here | |
// https://fancy.parivahan.gov.in/fancy/faces/public/seriesOpenStatus.xhtml | |
(async () => { | |
const START = 6198; | |
const END = 7196; | |
const RTO = 03; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run any SwiftUI view as a Mac app. | |
import Cocoa | |
import SwiftUI | |
import Foundation | |
public extension Date | |
{ | |
static let shortDateFormatter: DateFormatter = { | |
let dateFormatter = DateFormatter() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For https://cleartax.in/save/rent | |
// date of repayment against the receipt number | |
var dateOfPayments = { | |
1: "<DATE>", | |
2: "<DATE>", | |
3: "<DATE>", | |
4: "<DATE>", | |
5: "<DATE>", | |
6: "<DATE>", |
- JavaScript runs on browser in Browser's JavaScript engine(V8 in Chrome, Spidermonkey in firefox, etc)
- Somebody ported V8 engine and made it installable in server. This is what is Node.js.
- You can run JavaScript in node.js(instead of the browser)
- Even servers can be written in node.js(with libraries like express.js)
- With Node.js unlimited possibilities arose
- Thats how Node.js Packages were born(now known as npm packages)
- These are just some javascript files published into some registry(like a telephone registry but for js packages)
- npmjs.com is a good package registry widely used
- In node.js, then came the need to manage these packages(as people wanted to use packages written by other folks)
- so package managers like
npm
(by npmjs.com) andyarn
(by facebook) was born (// These tools are similar to Maven in Java)
This gist is an example of how you can simply install and run and extended Postgres using docker-compose
. It assumes that you have docker
and docker-compose
installed and running on your workstation.
- Requires
docker
anddocker-compose
- Clone via http:
git clone https://gist.github.com/b0b7e06943bd389560184d948bdc2d5b.git
- Make
load-extensions.sh
executable - Build the image:
docker-compose build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WTF |
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update -o Acquire::CompressionTypes::Order::=gz
sudo apt-get update && sudo apt-get upgrade
NewerOlder