Skip to content

Instantly share code, notes, and snippets.

View rajeshpv's full-sized avatar

Rajesh Rao rajeshpv

  • Consultant
  • Cary NC
  • 11:43 (UTC -04:00)
View GitHub Profile

CAP Order

  • 12" wall cap xxxx => 120 * $2.86= $343.20 or else 105 * $3.18=$333.90 :: Dimensions = 2" x 12" x 8"
  • 12" wall cap buff => 120 * $1.78= $213.60 or else 105 * $1.98=$207.90 :: Dimensions = 2" x 12" x 8"

Pavers

<?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 docker.io containerd runc
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
@rajeshpv
rajeshpv / NVM_on_Windows_10.md
Last active May 31, 2019 16:34
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.
Please type here
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
rajeshpv / int_sort.sql
Created July 18, 2014 19:42
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
-- 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
)