This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Flatten an Array of Arbitrarily nested Arrays of Integers | |
* into a Flat Array of Integers. | |
* @param {Array} intArray - Array of Numbers | |
* @param {Array} flatArray - Flatten array (recursive) | |
* @return {Array} - Array of Numbers | |
* | |
* Link to JSBin - http://jsbin.com/dofuneb/edit?js,output | |
*/ | |
var flatten = function(intArray, flatArray) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Instructions to run: | |
node program.js grep "search term" file1.xyz file2.xyz /path/to/file/file3.xyz | |
*/ | |
var fileList = []; | |
var countObj = {}; | |
console.log(process.argv); |
Install Virtualbox - https://www.virtualbox.org/wiki/Linux_Downloads
Install Kubectl - https://kubernetes.io/docs/tasks/tools/install-kubectl/
Install Minikube - https://kubernetes.io/docs/tasks/tools/install-minikube/
Set ENV - https://stackoverflow.com/questions/42564058/how-to-use-local-docker-images-with-minikube
These are the materials I used for some of the courses I studied at MTech. Links are given against specific topics.
- Term Document Matrix - https://www.youtube.com/watch?v=9Ib0SQkQmNA
- Positional Index - https://www.youtube.com/watch?v=QVVvx_Csd2I
- Order of processing - https://web.stanford.edu/class/cs276/handouts/lecture1-intro-handout-1-per.pdf
- Boolean Retrieval Model - https://www.youtube.com/watch?v=TIN_02pJU-Y&index=6&list=PLaZQkZp6WhWwoDuD6pQCmgVyDbUWl_ZUi&t=0s
- Permuterm Index - https://www.youtube.com/watch?v=j789k96g5aQ&index=4&list=PLPIRGCawmSHwdyQ5Ss_qqafUu02lL0Kl9&t=0s
- Naive Bayes Classifier - https://www.youtube.com/watch?v=RixQygYyDKI
- Information Retrieval courses -
wget http://download.redis.io/releases/redis-5.0.2.tar.gz
tar xzf redis-5.0.2.tar.gz
cd redis-5.0.2
cd deps
make hiredis jemalloc linenoise lua geohash-int
- Why am I buying it?
- Do I really need it? If not, do I really love it?
- What is the Return of Investment (ROI)?
- How many hours of work is it worth? How will I manage the finances?
- Can I take it for rent if it is a temporary need?
- Are there alternatives for the same?
- Can I recycle or sell it after usage?
- Is it socially and environmentally friendly?
OlderNewer