Skip to content

Instantly share code, notes, and snippets.

View gr8Adakron's full-sized avatar
💭
I may be slow to respond.

A.Juneja gr8Adakron

💭
I may be slow to respond.
View GitHub Profile
@gr8Adakron
gr8Adakron / csvtojson.pl
Last active January 27, 2023 02:01
Perl : Perfect Conversion of csv to json 'n' numbers of rows .(Handle Multiline rows too.)
#!/usr/bin/perl
#Author: gr8_Adakron.
#--------------------- Perl Packages --------------------
use strict;
use warnings;
use JSON;
use Text::CSV;
#-------------------- Globaling Variables --------------------
my $flag_header = 1;
@gr8Adakron
gr8Adakron / zamzar_conversion.py
Created April 24, 2016 08:09
Python script to convert anything, from any format to desire format using zamzar api (example : convert image.jpeg to image.png / data.odt to data.doc / data.pdf to data.txt etc)
import requests
from requests.auth import HTTPBasicAuth
#--------------------------------------------------------------------------#
api_key = 'Put_Your_API_KEY' #your Api_key from developer.zamzar.com (Create Signup id and get api_key)
source_file = "tmp/armash.pdf" #source_file_path
target_file = "results/armash.txt" #target_file_path_and_name
target_format = "txt" #targeted Format.
#-------------------------------------------------------------------------#
@parmentf
parmentf / GitCommitEmoji.md
Last active May 17, 2024 13:56
Git Commit message Emoji
@m3nd3s
m3nd3s / NERDTree.mkd
Last active November 23, 2023 13:45
My Vim Cheat Sheet

NERDTree

o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|

O.......Recursively open the selected directory..................|NERDTree-O|