Skip to content

Instantly share code, notes, and snippets.

View rankun203's full-sized avatar
building things

Kun R rankun203

building things
View GitHub Profile
rankun203 /
Last active December 7, 2023 10:06
PDF to DOCX to Markdown
<img src="media/image1.png" style="width:1.1483in;height:2.4361in" /><img src="media/image2.png" style="width:8.26771in;height:8.01775in" />Victorian Carbon Farming Program Pilot

Project Guidelines for Grant Funding

Victorian Carbon Farming Program

North Central Catchment Management Authority Region Pilot

syntax on
set noerrorbells
set shiftwidth=2
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set noswapfile
rankun203 / edit-exif.js
Last active September 20, 2020 04:27
Exif Editing
const sh = require("shelljs");
const exiftool = require("exiftool-vendored").exiftool;
const folder =
"/Users/rankun203/Downloads/670 Claude Monet Paintings/670 Amazing Claude Monet Paintings [Up to 4500 Px]-1";
let files = [];`${folder}/Pics/Monet Paintings/`).forEach((f) => files.push(f));
files = files.sort((a, b) => {

Keybase proof

I hereby claim:

  • I am rankun203 on github.
  • I am kunswork ( on keybase.
  • I have a public key ASDNhlmpZoAVKHklH8qNCxFEzti4FHJTKGPWD_dT-klf4go

To claim this, I am signing this object:

#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
# ./ping-google.perl
use Net::Ping;
my $host = "$ARGV[0]" || '';
defaults write autohide-delay -float 0; and killall Dock
#!/usr/bin/env bash
# Check local dev
check_command() {
WHERE=`whereis $1`
if [[ -z "${WHERE}" ]]; then
echo "$1 is required, ${TIP}"
rankun203 /
Created January 18, 2018 02:04
Ensure environment is exist and empty
#!/usr/bin/env bash
# Functions --------
ensure_env () {
if [[ -z "${ENV_VAL}" ]]; then
echo "${ENV_NAME} does not exists, exiting."
rankun203 /
Last active December 26, 2017 09:37
Dump Rackspace Cloud Files Container
#!/usr/bin/env bash
# Usage:
readonly CONTAINER="$1"
readonly FILE_PATH="$2"
readonly FILE_FOLDER=`dirname $FILE_PATH`
readonly IGNORED_FILES="lodestreams-docs/logs"
if [ "${FILE_PATH/$IGNORED_FILES}" = "$FILE_PATH" ] ; then