I'm using a Centos 7.1 on Azure. Node.js is not there in default repo for CentOS via yum. But you can get it using EPEL. After you install EPEL you can get nodejs. And don't forget npm!
Cygwin officially gives a vague answer about where there is a command-line installer for it or not. A quick search gave two options: cyg-apt (last updated in 2009) and apt-cyg (currently maintained). I'd try apt-cyg. And you are all set. If you do not have wget, install it. Cheers!
Flow is not officially supported on Windows. So I'm trying to set it up on my machine. Flow uses OCaml; it is easy to get OCaml on Windows with Cygwin. Even the Cygwin setup has option to select OCaml. First git clone flow from their source: https://github.com/facebook/flow using Failed with error: 'i686-w64-mingw32-gcc' is not recognized … Continue reading (Failed attempt to) Set up Flow (Static typechecker for JS) on Windows 8.1
Set NODE_PATH to %USERPROFILE%\AppData\Roaming\npm\node_modules
Recently I have been having some trouble with heroku git push from my Windows PC. Whenever I run, I an stung with this message: PuTTY Fatal Error No supported authentication methods available (server sent: publickey) I have tried several things like adding keys with heroku keys:add etc. Finally, following helped: Apparently, meta about remote was … Continue reading git push heroku master; server sent publickey
Here follows the 3 rules of variables: a variable shall be declared as late as possible a variable shall be initialized before its first used a variable shall not be initialized with a meaningless value originally posted on Quora
Today, I was talking with one of my friends about how we studied data structures in freshmen/sophomore years and how some troubled in understanding pointers. Joel probably says that, it is an aptitude that not everyone can have. So, just then an analogy for linked list hit in my imagination and my friend told me to … Continue reading What is linked list and how pointers work?
Once, I made LikhonPad for phonetically typing Bengali (type using English keyboard and let it convert to Bengali). I never liked phonetic typing, so I ended up building Sonnivo - a very QWERTY like Bengali touch typing keyboard layout. Meanwhile, Avro (a smart phonetic typing tool) became much popular and let Bengali people write Bengali … Continue reading Anguish of BANGLA (script) lost amongst English (alphabet)
Yesterday, I needed a tool for reading files as bytes. Hexdump programs generally do some formatting and stuff. I did not want that. I wanted to have a straight forward, simple sweet tool, that simply reads a file and prints it's bytes. Time required for searching such a tool is indeed greater than the amount … Continue reading Read_file_bytes