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.
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 = "//code.jquery.com/jquery-latest.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
!function () {
var script = document.createElement("script");
script.setAttribute("src", "//code.jquery.com/jquery-2.0.0.min.js");
document.body.appendChild(script);
}();
View books-to-sell.txt
0521179447
0262516419
1422160596
1933988740
875843425
1591391869
0262640640
1590596166
1565928695
View node-notes.txt
download and unzip nodejs runtime from http://nodejs.org/download/
cd ~/Downloads
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-x64.tar.gz
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
View gist:6383811
module.exports = function(config) {
config.set({
basePath : '../',
files : [
//JASMINE,
//JASMINE_ADAPTER,
'app/lib/angular/angular.js',
'app/lib/angular/angular-*.js',
'test/lib/angular/angular-mocks.js',
View gist:6383092
>>install node executable into PATH, after downloading from http://nodejs.org/
unzip and set into PATH variable
>>check version
node --version
>>install karma (test runner ) for node programs http://karma-runner.github.io/
npm install -g karma
or for proxy
npm --https-proxy=http://10.145.254.93:9090 -g install karma
View gist:6356679
helpfull links
(1) https://gist.github.com/cbednarski/5379830
(2) http://www.clarifylinux.org/2012/04/ubuntu-1204-tweak-and-hack-round-up.html
(3) http://jeffhendricks.net/?p=68
(4) BEST for 64 bit http://www.randomhacks.co.uk/how-to-install-balsamiq-mockups-on-ubuntu-13-10/
The steps I did
RUN>>
locate libgnome-keyring.so /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0
View medici-effect
read link
http://petervan.wordpress.com/2010/03/01/the-medici-effect/
summery
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&ved=0CFgQFjAF&url=http%3A%2F%2Fworkmatters.org%2Ffiles%2F2011%2F05%2FFrans-Johansson-Executive-Summary.pdf&ei=zYirUZapJ-ay0AHgqIHQBw&usg=AFQjCNFNx4wGsnBCGgHnIW-WpUMDoxLrtQ&sig2=rnPPneWlncelgVRs2UdkaA&bvm=bv.47244034,d.dmQ