Skip to content

Instantly share code, notes, and snippets.

View chintan9's full-sized avatar

Chintan Prajapati chintan9

View GitHub Profile
@chintan9
chintan9 / volta_node_remove.js
Last active December 26, 2023 08:51
Volta node removal script
const fs = require('fs');
const readline = require('readline');
const path = require('path');
/**
* @type {readline.Interface}
*/
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
@chintan9
chintan9 / keybase.md
Created April 4, 2022 21:55
Keybase proof

Keybase proof

I hereby claim:

  • I am chintan9 on github.
  • I am chintan9 (https://keybase.io/chintan9) on keybase.
  • I have a public key whose fingerprint is ACE5 D1BF 6248 242C B552 55F7 CFE8 8A9B 306C A734

To claim this, I am signing this object:

@chintan9
chintan9 / lodash-imports-codemod.js
Created October 13, 2021 05:03 — forked from laurenashpole/lodash-imports-codemod.js
A jscodeshift codemod for converting any Lodash imports into direct imports
export default (fileInfo, api) => {
const j = api.jscodeshift;
const root = j(fileInfo.source);
let specifiers = [];
root
.find(j.ImportDeclaration, isLodashImport)
.forEach((path) => specifiers.push(...path.node.specifiers.map((specifier) => specifier.local.name)))
.remove();
@chintan9
chintan9 / odometer-theme-default.css
Created April 12, 2017 20:38
Usage The simplest possible usage is just including the javascript and a theme css file on your page. Add the odometer class to any numbers you'd like to animate on change. You're done.
.odometer.odometer-auto-theme,.odometer.odometer-theme-default{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto;position:relative;*display:inline}.odometer.odometer-auto-theme .odometer-digit,.odometer.odometer-theme-default .odometer-digit{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto;position:relative;*display:inline}.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer,.odometer.odometer-theme-default .odometer-digit .odometer-digit-spacer{display:-moz-inline-box;-moz-box-orient:vertical;display:inline-block;vertical-align:middle;*vertical-align:auto;visibility:hidden;*display:inline}.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner,.odometer.odometer-theme-default .odometer-digit .odometer-digit-inner{text-align:left;display:block;position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden}.odometer.odometer-auto-theme .odometer-digit .odom
@chintan9
chintan9 / cloudSettings
Last active January 14, 2017 18:29
Visual Studio Code Sync Settings GIST
{"lastUpload":"2017-01-14T18:29:26.802Z"}