Skip to content

Instantly share code, notes, and snippets.

View tmzh's full-sized avatar

Tamizh N tmzh

View GitHub Profile
@tmzh
tmzh / scp_delta_load.sh
Created July 31, 2020 01:10
A quick shell script to scp only latest files based on file timestamp
#!/bin/bash
SUB_FOLDER=$1
FILE_PATRN=$2
function usage {
echo "Usage: $0 SUB_FOLDER [FILE_PATTERN]"
exit 1
}
use strict;
use Modern::Perl;
use Data::Dumper;
use Net::IP;
# Generate a hash for well-known port numbers
my %well_known_ports;
while (<DATA>){
next if /^#/;
my ($keyword, $full_port_name) = split /\s+/;
@tmzh
tmzh / vimperatorrc
Created August 16, 2012 10:24
Vimperator config file
"3.3 (created: 2011/11/13 17:32:12)
source! "D:\\Users\\tamizh\\_vimperatorrc.local"
set titlestring=Firefox
" vim: set ft=vimperator:
" Mappings
map <c-c> Y