Skip to content

Instantly share code, notes, and snippets.

View nsdevaraj's full-sized avatar
🎯
Focusing

N.S.Devaraj nsdevaraj

🎯
Focusing
View GitHub Profile
This file has been truncated, but you can view the full file.
!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=490)}([function(e,t,n){e.exports=n(620)()},function(e,t,n){"use strict";e.exports=n(97)},function(e,t,n){"use strict";function o(e,t){var n=[null].concat(t);return new(e.bind.apply(e,n))}function r(e,t,n){var o=p(e.constructor);o.postConstructMethods||(o.preConstructMethods=[]),o.preConstructMethods.push(t)}function i(e,t,n){var o=p(e.constructor);o.postConstructMethods||(o.postConstructMethods=[]),o.postConstructMethods.push(t)}function a(e,t,n){var o=p(e.constructor);o.preDestroyMethods||(o.preDestroyMethods=[]),o.preDestroyMethods.push(t)}function s(e){retur
"objects": {
"appearance": {
"displayName": "Appearance",
"properties": {
"charttype": {
"displayName": "Chart Type",
"type": {
"enumeration": [
{
"displayName": "Bar",
@nsdevaraj
nsdevaraj / capabilities.json
Created October 22, 2018 09:24
Issue with capabilities json condition
{
"dataRoles": [
{
"displayName": "Category Data",
"kind": "Grouping",
"name": "category"
},
{
"displayName": "Comparative Measure",
"kind": "Measure",
(function($) {
$.fn.mentionator = function() {
var argCount = arguments.length;
var invokedFunc;
if (argCount == 2 && (arguments[0] instanceof Object) && (arguments[1] instanceof Object))
invokedFunc = create;
else if (argCount == 1 && arguments[0] === "data")
git tag -l | xargs -n 1 git push --delete origin
GeeMusicPlayArtistIntent Play top songs by {artist_name}
GeeMusicPlayArtistIntent Play top tracks by {artist_name}
GeeMusicPlayAlbumIntent Play album {album_name}
GeeMusicPlayAlbumIntent Play album {album_name} by {artist_name}
GeeMusicPlayAlbumIntent Play songs from the album {album_name} by {artist_name}
{
"intent": "GeeMusicPlaySongRadioIntent",
"slots": [
{"name":"song_name", "type":"AMAZON.MusicRecording"},
{"name":"artist_name", "type":"AMAZON.MusicGroup"},
{"name":"album_name", "type":"AMAZON.MusicAlbum"}
]
},
{
"intent": "GeeMusicPlayPlaylistIntent",
📘Statistics
Think Stats – Probability and Statistics http://greenteapress.com/thinkstats/thinkstats.pdf Statistical Inference for Data Science http://pacha.hk/analisis-de-datos-unab/lecturas/ingles/LittleInferenceBook.pdf
Think Bayes – Bayesian Statistics Made Simple http://www.greenteapress.com/thinkbayes/thinkbayes.pdf
📘Machine Learning
An Introduction to Statistical Learning http://www-bcf.usc.edu/~gareth/ISL/ISLR%2520First%2520Printing.pdf
The Elements of Statistical Learning https://web.stanford.edu/~hastie/ElemStatLearn/printings/ESLII_print12.pdf
Machine Learning Yearning https://gallery.mailchimp.com/dc3a7ef4d750c0abfc19202a3/files/Machine_Learning_Yearning_V0.5_01.pdf
@nsdevaraj
nsdevaraj / Free O'Reilly Books.md
Created February 11, 2018 14:29 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
function convert(payload){
switch(payload) {
case 2:
return 1;
case 3:
return 2;
case 4:
return 3;
case 5: