Thanks to
Why do I care for Linux?

I don't care that much for other software. Linux is more than a kernel or an operating system. It is a symbol money does not rule everything. You don't pay for Linux. You don't have to watch ads when using it. In return, please be a little more friendly and tolerant to the people who build it. While Linux is built by professionals today, there is more heart and soul poured into it than in other operating systems.

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

Install packetbeat

In order to install packetbeat, you may need to change the windows security setting.

C:\packetbeat> Set-ExecutionPolicy

Supply values for the following parameters:
ExecutionPolicy: unrestricted

Now you can install packetbeat using...
C:\packetbeat> .\install-service-packetbeat.ps1

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

Libre office on centOS

Here is how to install Libre office on centOS

64 bit

32 bit

tar xvf LibreOffice_4.4.4_Linux_x86_rpm.tar.gz

rpm -Uvh LibreOffice_4.4.4.3_Linux_x86_rpm/RPMS/*.rpm

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

predictive typing

You can try a software called typing booster on Fedora. It helps user while typing. User can avoid typing mistakes and also avoid typing long spellings. If you are on fedora or centOS use the following command:

yum install ibus-typing-booster -y

I hope this package is made available for debian as well.

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

Creating a new repository

Create a new repository on the command line

git init
git add
git commit -m "first commit"
git remote add origin
git push -u origin master

Push an existing repository from the command line

git remote add origin
git push -u origin master

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

More about git

## getting started
git init
git add index.html
git commit -m"my first commit"
git diff
git clone public_html my_website

# git log
git status
git log
git show xxx
git diff xxx

## branching out
git branch
gi branch dev
git show-branch --more=5
git checkout dev
git checkout HEAD index.html
git merge dev
git diff
git reset --mixed HEAD^
git reset --hard ORIG_HEAD
git branch -d dev

## add shortcuts
git config --global 'log --graph --abbrev-commit --pretty=online'

## plumbing commands
git ls-files --stage
git ls-files --unmerged
git cat-file -p xxx
git reflog

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

Git Alias

Consider setting up a simple Git alias for common but complex Git command that you type frequently.

git config --global 'log --graph --abbrev-commit --pretty=oneline'

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

git alias

Add the following to the .gitconfig file in your $HOME directory.

co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p

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

Mobile wikipedia search plug-in

You must have used the wikipedia search plug-in for firefox. I have written a similar plug-in that will take you to mobile wikipedia page.

It is very fast, without images and looks good even on very small screens.

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

concise wikipedia extension

The user will select any word from the current webpage and choose "wikipedia Concise" on the right click. The selection will be submitted to the website
For e.g. if I have selected the word "obama" and searched using "wikipedia description", I will be directed to the site that will show me a few lines about Barack Obama.

The URL is menioned in the url tag and that looks something like this.

pretty easy, huh?

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

Online for 6971 days
Last modified: 9/8/21, 7:50 AM
Youre not logged in ... Login
... Home
... Tags

September 2021
Recent updates
python module itertools list of
useful methods of itertools module. permutations combinations combinations_with_replacement zip_longest count...
by shantanuo (9/8/21, 7:50 AM)
wikipedia tools 1) Collection of
useful utilities 2) all history of a user
by shantanuo (8/20/21, 6:36 AM)
Duration/Term of Copyright In the
case of original literary, dramatic, musical and artistic works, the...
by shantanuo (8/20/21, 6:26 AM)
Preserve seeds 6 types of
seeds to be preserved for next season. 1) laal Mula...
by shantanuo (5/7/21, 5:46 AM)
Why do I care for
Linux? I don't care that much for other software. Linux...
by shantanuo (12/17/20, 9:27 AM)
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 serverless 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 percona 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)

RSS feed

Made with Antville
Helma Object Publisher