Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block rajeshpv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View eclipse-java-google-style.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="13">
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>

Install Docker

sudo apt-get remove docker docker-engine containerd runc
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

curl -fsSL | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
rajeshpv /
Last active May 31, 2019
NVM on windows 10 even having admin prev, did not work for me, The Issue is, nvm installs node, but fails at npm for that new node version.
View proverb.txt
Proverb's are means to suffice ambiguities in life and continue. If you consider the above phrase is a proverb, then so be it, recursive.
rajeshpv / int_sort.sql
Created Jul 18, 2014
Given a table with one int column with random int ordered, write a query to get sorted asc and desc, as 2 columns of output
View int_sort.sql
-- the idea here is to populate rownum after sorting is done
-- if sorting is done along with row num, it defeats the purpose
-- rowid, does not help, since it almost generates a hascode value like
with l_table as (
select measure_id from int_table order by 1 asc
), r_table as (
select measure_id from int_table order by 1 desc
View chrome-console-load-jquery.js
var jq = document.createElement('script');
jq.src = "//";
!function () {
var script = document.createElement("script");
script.setAttribute("src", "//");
View books-to-sell.txt
rajeshpv / node-notes.txt
Last active Dec 27, 2015
nodejs, npm, bower, grunt, jekyll
View node-notes.txt
download and unzip nodejs runtime from
cd ~/Downloads
mkdir -p ~/programs/node && cd $_
tar xfz ~/Downloads/node-v0.10.28-linux-x64.tar.gz
ln -s ~/programs/node/node-v0.10.28-linux-x64 ~/programs/node_current
sudo vi /etc/bash.bashrc
>>put and append bin to path
export NODE_HOME=~/programs/node_current
You can’t perform that action at this time.