Thanks to antville.org
Holidays in India

These are the common holidays celebrated in India (Mumbai) during 2016 - 17

08-April Friday Guddi Padwa
1-May Sunday Maharashtra Day
15-Aug Monday Independence Day
05-Sept Monday Ganesh Chaturthi
02-Oct Sunday Gandhi Jayanti
11-Oct Tuesday Dussehra
30-Oct Sunday Diwali
31-Oct Monday Lakshmi Pooja
25-Dec Sunday Christmas
26-Jan Thursday Republic Day
13-March Monday Holi


List FY 2013- 14
Gudi Padwa 11-Apr Thursday
Maharshtra Day 1-May Wednesday
Independence Day 15-Aug Thursday
Rakshabandhan 21-Aug Wednesday
Ganesh Chaturthi 9-Sep Monday
Gandhi Jayanti 2-Oct Wednesday
Dasera 14-Oct Monday
Laxmi Puja 3-Nov Sunday
New Year 4-Nov Monday
Bhai Duj 5-Nov Tuesday
Chirstmas 25-Dec Wednesday
Republic Day 26-Jan Sunday
Holi 17-Mar Monday
Gudi Padwa 31- Mar-2014 Monday

... Link (0 comments) ... Comment


LibreOffice version conflict

I am not able to install latest version of Libre office. I get an error message for file LibreOffice_6.3.4_Win_x86.msi

LibreOffice 6.3.4.2 can not be installed on this Windows version. Windows 7 SP1 or newer is required.

The fix is easy. Download earlier version for e.g. 6.2 version file:
LibreOffice_6.2.0.1_Win_x64.msi

From:

downloadarchive.documentfoundation.org

This site is very slow and may take 10 or 20 times more time to download older version compared to the latest one!


If I try the 64 bit version file LibreOffice_6.3.4_Win_x64.msi then I get the processor error like this:

This installation package is not supported by this processor type. Contact your product vendor.

... Link (0 comments) ... Comment


Cloudmapper using docker

A docker wrapper for the Cloudmapper application, used for visualizing AWS infrastructure.

git clone github.com
cd docker-cloudmapper
Edit .env file and add your AWS key, secret, region, and account name.
docker-compose build (go get a cup of coffee)
docker-compose up -d

Go to localhost:8000 and enjoy!

... Link (0 comments) ... Comment


codes used for classification

Standard codes used for classification:
1 SC
2 OBC
3 SBC
4 VJNT
5 ST
6 OPEN
7 Orphan

... Link (0 comments) ... Comment


Shell scripting basics

Here are 8 important concepts of Shell scripting that everyone should know.

1) Exit Code Status $?
2) here_doc
3) if_else

if [[ $mystatus = 'No' ]];then
echo "slave down"
else
echo "slave ok"
fi

4) For loop

for i in ls
do
cp $path$i $new_path
done

5) Positional Parameters $1, $2, $#, $@

6) Variables

7) Functions
stop()
(
for socket in {2..9}
do
mysqladmin shutdown $socket
done
)

8) Globbing - t?est [ab] [a-c] [^ab] {b,c,test*}

... Link (0 comments) ... Comment


Extract words from Marathi wikipedia

1) Download the polyglot pickled marathi model
wget bit.ly
mv 12FI1xV polyglot-mt.pkl

2) Extract all the words from the embedding

from polyglot.mapping import Embedding
embeddings=Embedding.load("polyglot-mt.pkl")
with open('myfile.txt', 'w') as fx:
for i in embeddings.vocabulary:
fx.write(i.encode('utf-8')+'\n')

3) Download the wordlist:
s3.amazonaws.com

... Link (0 comments) ... Comment


Custom slack command

Here are 5 steps to add any API to your slack channel.

A) Click on "Build" button on App Directory page of slack.
B) choose "Make a Custom Integration" button
C) select Slash Commands
D) Create a new command called /dest2 and add the URL mentioned above
E) Choose GET Method and save the command.

... Link (0 comments) ... Comment


stack bookmarklet

This bookmarklet will help to quickly access stack pages linking to current page

stack link

... Link (0 comments) ... Comment


RSS extension for chrome

RSS Subscription Extension (by Google) is a must have chrome extension if you read RSS feeds.
When you click on RSS feed icon, you will get only "Bloglines" and "My Yahoo" sites. But you can add more sites if you click on "Mange" option. For e.g. add feedspot with the following URL...

www.feedspot.com

... Link (0 comments) ... Comment


use putty for presentation

Config - Change settings... - Window - Colours - Use system colours
Config - Change settings... - Window - Appearance - Change... - 12 point

... Link (0 comments) ... Comment


Online for 6553 days
Last modified: 4/12/20 2:01 PM
Status
Youre not logged in ... Login
Menu
... Home
... Tags

Search
Calendar
August 2020
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
3031
April
Recent updates
important leafy vegetables 1. Amaranthus
caudatus: rajgira. 2. Amaranthus tricolor: Math.  (Chhoti Chulai- Hindi, Cheera-...
by shantanuo (4/12/20 2:01 PM)
program creek program creek
seems to be a good site for handy references of python...
by shantanuo (4/11/20 11:24 AM)
Standard out to a file
This code will change the standard out to a file...
by shantanuo (4/11/20 11:18 AM)
Create config file for AWS
command line tool While creating amazon config file in a...
by shantanuo (2/20/20 6:00 AM)
setting colors in pandas This
is how to set the colors in pandas mapper =...
by shantanuo (2/20/20 5:53 AM)
log mysql output tee output.txt
show global variables; show engine innodb status\G show full processlist;...
by shantanuo (2/19/20 10:33 AM)
access AWS API gateway using
python Amazon API gateway allows us to host server-less API's...
by shantanuo (2/16/20 9:41 AM)
Using boto In the bad
old days, the glacier class used to have different layers....
by shantanuo (2/15/20 10:28 AM)
backup mysql users  3
steps to install perconal utility... yum install perl-DBI perl-Data-Dumper perl-DBD-MySQL wget...
by shantanuo (2/13/20 1:49 PM)
Steps to be used for
generating AWS API gateway a) Method Execution - Get Method...
by shantanuo (2/13/20 1:30 PM)
apply colors to pandas Here
is how to change the color of negative values to...
by shantanuo (2/12/20 8:57 AM)
Holidays in India These are
the common holidays celebrated in India (Mumbai) during 2016 -...
by shantanuo (2/11/20 1:53 PM)
change log file size in
MySQL Here are the steps to be followed while changing...
by shantanuo (2/11/20 10:38 AM)
MySQL common error messages 1146
Table does not exist 1054 column does not exist 1062...
by shantanuo (2/11/20 10:13 AM)
ipython parallel demo First start
ipython in cluster mode ipcluster start -n 4 from IPython.parallel...
by shantanuo (2/9/20 9:02 AM)
djanog settings You may see
this message if you have DEBUG = True in your...
by shantanuo (2/9/20 4:07 AM)
clear tmp folder Here is
following commands to clear unwanted stuff from the /tmp partition...
by shantanuo (2/8/20 2:41 PM)
change your server time to
IST If you need to change your server clock to...
by shantanuo (2/8/20 2:39 PM)
Transfer root emails to another
email address If you have root access to the server...
by shantanuo (2/8/20 2:32 PM)
special strings in cron Instead
of the first five fields, you can use any one...
by shantanuo (2/8/20 2:30 PM)
LibreOffice version conflict I am
not able to install latest version of Libre office. I...
by shantanuo (1/29/20 9:15 AM)
while loop This is
a sample shell script while loop while read mydb do echo...
by shantanuo (1/26/20 12:24 PM)
compare mysql schema And here
is poor man's schema compare using good old diff command......
by shantanuo (1/26/20 11:49 AM)
Selecting from error log grep
"error" error_log |awk -F[ {'print $4'} \ | sort |...
by shantanuo (1/26/20 10:40 AM)
Rank mysql records using variables
SET @rank = 0, @prev_val = NULL; SELECT rank, correct...
by shantanuo (1/26/20 9:45 AM)

RSS feed

Made with Antville
Helma Object Publisher