Skip to content

Instantly share code, notes, and snippets.

View ankitjaininfo's full-sized avatar
🏠
Working from home

Ankit Jain ankitjaininfo

🏠
Working from home
View GitHub Profile
@ankitjaininfo
ankitjaininfo / awesome-list.md
Last active August 29, 2015 14:05
Awesome List: List of all Curated Awesomes

After writing following I found that there is already one such list. Head to awesome

This is a list of all awesome:awesome lists. Should help you to get started your next research about tools.

awesome-awesomeness

A curated list of awesome awesomeness https://github.com/bayandin/awesome-awesomeness

frontend-dev-bookmarks

@ankitjaininfo
ankitjaininfo / .gitconfig
Last active August 29, 2015 14:20
My .gitconfig
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cr) %C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit
ll = log --pretty=format:'%C(red)%h %Cgreen(%cr) %C(yellow)%d%Creset%s %C(bold blue)<%an>%Creset' --decorate --numstat
d = diff
dc = diff --cached
s = status
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged"
@ankitjaininfo
ankitjaininfo / delete-mandrill-subaccount.js
Created October 15, 2015 09:25
Delete All Subaccounts in Mandrill (nodejs)
var mandrill = require('mandrill-api/mandrill');
var async = require('async');
mandrill_client = new mandrill.Mandrill('<place your key here>');
var q = "";
mandrill_client.subaccounts.list({
"q": q
}, function (result) {
console.log("Found: ", result.length);
result.map(function (account) {
# Installing on DigitalOcean dropllet.
# 1. Install the package
easy_install -U setuptools
sudo apt-get install zlib1g-dev
sudo apt-get install jpeg
sudo apt-get install libjpeg-dev
sudo apt-get install python-dev
pip install askbot
@ankitjaininfo
ankitjaininfo / batch-despeckle.scm
Last active August 22, 2016 18:00
Gimp - Reduce ISO Noise for Photos in bulk - Run this on a directory with image files. It overwrites existing files.
; Takes a pattern and applies despeckle to reduce noise in photos.
; You can also pass ratio if you want to scale photos
;
; CAUTION - IT OVERWRITES EXISTING FILES IN THE DIRECTORY
;
; Example: gimp -i -b '(batch-despeckle "*.jpg" 0.5)' -b '(gimp-quit 0)'
(define (batch-despeckle pattern ratio)
(let* ((filelist (cadr (file-glob pattern 1))))
(while (not (null? filelist))
@ankitjaininfo
ankitjaininfo / file1.txt
Created January 21, 2019 07:26
My first gist
Aren't gists great!
@ankitjaininfo
ankitjaininfo / file1.txt
Created January 21, 2019 07:28
My first gist
Aren't gists great!
@ankitjaininfo
ankitjaininfo / linkedin-job-candidates-send-message.js
Last active December 4, 2024 04:29
LinkedIn Automation: Send bulk message to job applicants using browser/JavaScript automation
/* This automation script is designed to streamline the process of messaging applicants on LinkedIn by performing the following steps:
*********************************************************
* Iterate Through Applicants And Send A Message To All *
*********************************************************
Copy and paste the following script to the Console tab of Developer Tools. The script identifies each applicant listed on the page and sequentially processes them.
Works on the URls of likes: `https://www.linkedin.com/hiring/jobs/******/applicants/******/detail/?keyword=&r=UNRATED%2CGOOD_FIT%2CMAYBE&sort_by=APPLIED_DATE`