Tuesday, January 7, 2014

Git in a nutshell

The most basic CMDs you need in order to deal with Git and GitHub:

  git init      // initialize the git repository
  ls
  git status     //show what is going on!
  git add .     //add files from directory to the index
  git status
  git commit -m "add basic files"     // commit index to the head
  git status
  git remote add origin https://github.com/aselims/UCML.git      //the point connecting to GitHub
  git remote -v  
  git pull origin master   // retrieve data from server 1st step before uploading
  git add .
  git commit -m "modify readme2"
  git status
  git push origin master   // upload data


-- Terminology
§ master: This is what a branch is: it’s simply the hash of the last commit scribbled down in a file. It’s a clue, a starting point, sometimes called a tip because this represents the tip of the iceberg that is the entire history of the master branch.
~/mysite$ cat .git/refs/heads/master
0d0321f29f04f734e8d9873e34d9409fe115b496

And since you can have multiple branches in a repository, we should also remember which one we’re working on right now.
~/mysite$ cat .git/HEAD
ref: refs/heads/master

show the commit of 3bd54c
git checkout 3bd54c

- One good resource: http://rogerdudler.github.io/git-guide

Wednesday, December 18, 2013

JavaScript, A world of possibilities!

I waded into many programming languages. I forget some and recap with some... Wondering VARIETY as a principle is good although the effort exerted for choosing one option is really hard.

I remember old days dealing with Javascript as front end simple scripting language. Now, things have been changed, it is being used in variety of domains not only Server-side but also reached the Embedded Systems field. And I think the trend is going forward and being adopted by many of the technology stakeholders!

I just decided I am going to specialize on JavaScript as primary programming language and see how it would interact with other libraries and domains.



Cloud9 IDE, Interesting!

I checked this Cloud9 IDE. And I am quite amazed  with the result.

One nice feature is the terminal and c9pm tool, I issued the command and the following appeared... Huh, Wow! it is just a programming machine in the cloud!

aselims@demo-project:~/712923 (master) $ c9pm list  | less
4suite-1.0.2
4suite-1.0.2
a52dec-0.7.4
apache-httpd-2.4.4
asciidoc-8.6.8
at-3.1.12
bsddb3-4.5.0
bsddb3-4.5.0
bzip2-1.0.6
cairo-1.12.2
cairo-1.12.2
cairo-1.12.4
cairo-1.12.4
clojure-1.5.0-RC1
coffee-script-1.4.0
coffee-script-1.4.0
cups-1.5.4
dbus-python-1.1.1
dbus-python-1.1.1
diff-1.0.3
diff-1.0.3
dropbox-1.4.21-bin
dropbox-cli
ed-1.7
emacs-23.4
emacs-23.4
emacs-24.3
emacs-24.3
emacs-24.3
exiv2-0.22
gcc-wrapper-4.6.3
gd-2.0.35
git-1.8.2
go-1.0.3
groovy-1.7.1
haproxy-1.4.20
ImageMagick-6.7.5-3
ImageMagick-6.7.5-3
io-2011.09.12
io-2011.09.12
j-701_b
joe-3.7
lftp-4.4.5
libsexy-0.1.11
libsexy-0.1.11
lua-5.1.5
mono-2.11.4
mysql-5.5.28
mysql-5.5.28
nano-2.2.6
nginx-1.2.4
nmap-5.50
nodejs-0.8.15
nodejs-0.8.23
nodejs-0.8.23
parallel-20120322
phantomjs-1.7.0
php-5.3.18
php-5.4.14
picolisp-3.0.5
postgresql-9.2.4
pth-2.0.7
pycairo-1.8.8
pycairo-1.8.8
pycrypto-2.5
pycrypto-2.5
pycrypto-2.6
pycrypto-2.6
pycups-1.9.57
pycups-1.9.57
pyexiv2-0.3.0
pyexiv2-0.3.0
pygame-1.7
pygame-1.7
pygobject-2.28.6
pygobject-2.28.6
pyOpenSSL-0.13
pyOpenSSL-0.13
PyStringTemplate-3.2b1
python-2.6.8
python-2.7.3
python-2.7.3-wrapper
python-2.7.3-wrapper
python-2.7.4
python-2.7.4-wrapper
python3-3.3.1
python3-3.3.1
python-irclib-0.4.8
python-libsexy-0.1.9
python-numeric-24.2
python-pip-1.2.1
python-recursive-pth-loader-1.0
python-setuptools-0.6c11
python-setuptools-site-0.6c11
PyX-0.10
PyXML-0.8.4
redis-2.6.9
rhpl-0.218
r-lang
ruby-1.9.3-p194
ruby-2.0.0-p0
rubygems-1.8.17
ruby-sqlite3-1.2.4
scala-2.9.2
sip-4.13.2
sqlite-3.7.14.1
sqlite-3.7.16.1
sqlite-3.7.16.2
sqlite-3.7.16.2
sqlite-3.7.9-full
st-0.3
strategoxt-1.8pre24429
subversion-1.7.9
tig-1.1
tk-8.5.7
tor-0.2.3.25
vim-7.3
wxPython-2.8.12.1
xmpp.py-0.5.0rc1

Wednesday, December 11, 2013

Disruptive Innovation

It is really good to identify such terms to know how to integrate yourself with business world if you are a researcher and having the spirit of entrepreneurship and looking forward to deliver tangible added-value outcomes.

According to WikiPedia:

  • Disruptive innovation: is simply an novel contribution that creates new market and value over already an existing market.
  • Sustaining innovation: to evolve and enhance existing markets.

Wednesday, September 18, 2013

Thanks to Balaji S. Srinivasan

The Startup Engineering course at Coursera is just amazing. May be it has some beginner stuff but in order to make such a thing with a variety of tools and technologies with different concepts and integrate them altogether is just a brilliant work. I wished I have time to enroll at time!

Thanks to:
Balaji S. Srinivasan
Stanford University

https://class.coursera.org/startup-001

Can you get me HIGHER!

This a question that should be asked to all whom around you. Really, Can you get me higher?!
This should be basically for your wife, girlfriend, mates, supervisor, employer and even if it could be for your food, your drink and your stuff.
Life without highness is not a life!
I know that it is really tough, complicated and may be not achievable to make it a Utopian life because it is not paradise but a survival life but what if we adopt the concept explicitly and we invest in every moment of our life to a great extent and enjoy it to the extreme.
One thing should be declared, how you define HIGHNESS, this totally depends on your perspective and do not get already made templates to define it for you. Be yours, be high!
http://youtu.be/lA8doK6w2Cc

Tuesday, September 3, 2013

Open info becomes completely open!

WikiMedia gives you the opportunity to download the whole content of all its projects such as WikiPedia, Here is the link:

Now you have a massive amount of data that you can use offline under your hands. One idea comes to my mind: I think it is a good practice for utilizing BigData approaches.

One last thing, if you have access to a reliable storage and want to help WikiMedia, offer them a mirror!