Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Ashok Bakthavathsalam kgashok

🎯
Focusing
Block or report user

Report or block kgashok

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View serialAsyncMap.babel.js
var serialAsyncMap = function () {
var _ref = _asyncToGenerator(regeneratorRuntime.mark(function _callee(collection, fn) {
var result, _iterator, _isArray, _i, _ref2, item;
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
result = [];
_iterator = collection, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();
@kgashok
kgashok / bookmarkletCD.md
Last active Nov 27, 2018
bookmarkletCreation.md
View bookmarkletCD.md

Bookmarklet for Custom Starting Points

  1. Create a duplicate bookmark by copy-pasteing an existing bookmark on your bookmark bar. The newly created bookmark will serve as a placeholder for putting in some bookmarklet JavaScript code.
    • Edit the bookmark and change the Name to CustomCD or whatever you might prefer to call it. You may choose to skip this step and edit the name when you update the URL in step 4 below.
  2. Select the below Javascript code by starting your cursor from before the javacript keyword all the way to the () at the very end. Copy the selection into your Clipboard by using Ctrl-C.
  3. Right-click on the CustomCD bookmark from Step 2 and choose "Edit".
  4. Paste the JS code (use Ctrl-V) directly into the dialog box referred to as "URL"
  5. If you haven't change the "Name" of the bookmark, edit that before you Save the bookmark.
@kgashok
kgashok / cdPython.md
Last active Aug 25, 2017
customStarts.md
View cdPython.md

URL Shortener for Python Practice on CyberDojo

tl;dr - In ~20 seconds, use http://j.mp/cdPython to launch a CyberDojo programming environment for deliberate team practice!

Also click the following link if you want a "Bookmarklet for Custom Start Points".

5 steps to setup a team dojo session to practice the FizzBuzz exercise in Python using the py.test framework

In 4.5 easy steps, you can launch your own CyberDojo session within ~20 seconds. Here's how:

@kgashok
kgashok / dollarToRupee.cpp
Created May 31, 2017
dollarToRupee created by kgashok - https://repl.it/I0Qr/0
View dollarToRupee.cpp
#include <iostream>
using namespace std;
class RupeeAmount {
float valueInRupees;
public:
RupeeAmount() { valueInRupees = 0; }
RupeeAmount(float val) { valueInRupees = val; }
View hidden decision trees (HDT)
################################################################################################################################
# Author: Naveenkumar Ramaraju #
# Hidden Decision Trees #
# Based on article: http://www.datasciencecentral.com/profiles/blogs/state-of-the-art-machine-learning-automation-with-hdt #
# Date: Feb-18-2017 #
# File version - 1 #
# pyhton - version: 3.6 #
#########################################################################################################################
@kgashok
kgashok / reflectionsGeniusPPT.html
Last active May 24, 2017
reflectionsOnGeniusPPT
View reflectionsGeniusPPT.html
<h1 id="reflections">Reflections</h1>
<ol>
<li><p>Reflection #0: The slide deck at <a href="http://j.mp/1000kg">http://j.mp/1000kg</a> represents a compendium of all the tactics that have worked for Ashok Bakthavathsalam in his mentoring work with some students at KITE from 2012-2017.</p></li>
<li><p>Reflection #1 - the primary purpose of the PPT deck to develop the same “language” of communicating the importance of goal setting, some specific tactics for setting goals and how to go about taking specific action in alignment with the goals (the 4Ps). Goal setting (i.e. to become a genius) is equally important for faculties as well as students. </p></li>
<li><p>Reflection #2 - Reinforce the thought that you as faculty are the source of creating self-confidence for the student. Whatever you do or do not do, make them “believe” in themselves. #4P - Proactive conviction must be created in the minds of the students. Easier said than done. But then who said being a faculty is an easy job? </p></li>
<li><p>Reflecti
@kgashok
kgashok / reflectionsGeniusPPT
Created May 20, 2017
reflectionsOnGeniusPPT
View reflectionsGeniusPPT
<h1 id="reflections">Reflections</h1>
<ol>
<li><p>Reflection #1 - the PPT deck I have provided is for us to develop the same “language” of communicating the importance of goal setting, some specific tactics for setting goals and how to go about taking specific action in alignment with the goals (the 4Ps). </p></li>
<li><p>Reflection #2 - Reinforce the thought that you as faculty are the source of creating self-confidence for the student. Whatever you do or do not do, make them “believe” in themselves. #4P - Proactive conviction must be created in the minds of the students. Easier said than done. But then who said being a faculty is a easy job? </p></li>
<li><p>Action Item #3 - Add slides to the PPT deck as to how you can be a “Promise Extractor”. Junior faculty might find it difficult, but everyone can become a promise extractor, big or small, it doesn’t small. It is important to be specific and communicate that to students. I have added 3 slides (after the word “remix”) as a set of sample slides. </p></li>
View gbq.md

GBQ Survey

http://j.mp/gbqSurvey

How many total hours have you put in developing one specific skill (programming, presentation, or tool knowledge)?

< 100 (0)
100 - 1000 (1) 
@kgashok
kgashok / Game.fsx
Created Mar 3, 2017 — forked from battermann/Game.fsx
Data-centric vs Function-centric Domain Design
View Game.fsx
open System
// -----------------------------------------------------------
// Domain
// -----------------------------------------------------------
module GameDomain =
type Dice = One | Two | Three | Four | Five | Six
@kgashok
kgashok / Game.fsx
Created Mar 3, 2017 — forked from battermann/Game.fsx
Data-centric vs Function-centric Domain Design
View Game.fsx
open System
// -----------------------------------------------------------
// Domain
// -----------------------------------------------------------
module GameDomain =
type Dice = One | Two | Three | Four | Five | Six
You can’t perform that action at this time.