Skip to content

Instantly share code, notes, and snippets.

View kgashok's full-sized avatar
🎯
Focusing

Ashok Bakthavathsalam kgashok

🎯
Focusing
View GitHub Profile
@kgashok
kgashok / Game.fsx
Created March 3, 2017 19:16 — forked from battermann/Game.fsx
Data-centric vs Function-centric Domain Design
open System
// -----------------------------------------------------------
// Domain
// -----------------------------------------------------------
module GameDomain =
type Dice = One | Two | Three | Four | Five | Six
@kgashok
kgashok / Game.fsx
Created March 3, 2017 19:16 — forked from battermann/Game.fsx
Data-centric vs Function-centric Domain Design
open System
// -----------------------------------------------------------
// Domain
// -----------------------------------------------------------
module GameDomain =
type Dice = One | Two | Three | Four | Five | Six
@kgashok
kgashok / gbq.md
Last active July 26, 2017 19:32
GBQ

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 / reflectionsGeniusPPT
Created May 20, 2017 15:33
reflectionsOnGeniusPPT
<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>
@kgashok
kgashok / reflectionsGeniusPPT.html
Last active May 24, 2017 16:11
reflectionsOnGeniusPPT
<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
################################################################################################################################
# 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 / dollarToRupee.cpp
Created May 31, 2017 20:14
dollarToRupee created by kgashok - https://repl.it/I0Qr/0
#include <iostream>
using namespace std;
class RupeeAmount {
float valueInRupees;
public:
RupeeAmount() { valueInRupees = 0; }
RupeeAmount(float val) { valueInRupees = val; }
@kgashok
kgashok / cdPython.md
Last active August 25, 2017 15:20
customStarts.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 / bookmarkletCD.md
Last active November 27, 2018 05:24
bookmarkletCreation.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.
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]();