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
@kgashok
kgashok / todo.md
Last active Aug 29, 2015
both checked and unchecked
View todo.md

###ToDo list

  • Do it

  • Test it

  • Fix it

  • Done this well

  • Nice work!

@kgashok
kgashok / letter.rb
Last active Aug 29, 2015
A love letter
View letter.rb
Augusta = Awesome = true and Loved = Cherished = true
Infinity = (+1.0 / 0)..(-1.0 / 0)
def Infinity.ends; false; end
Forever = -> { puts "Augusta, we \033[31m<3\033[0m you!"; sleep 5 }
Incredible = :wunderbar!
%w(We The).map { |const| self.class.const_set const, Module.new do; end }
OurFamily = :the_number_one_most_important_thing # not breakfast
def a_letter(*to); yield Augusta; end
View simple2.c
// edited on Sublime and posting it back
int main ()
{
return 0;
}
View tryjsil.cs
using System;
using JSIL;
using JSIL.Meta;
public static class Program {
public static int x = 10;
public static int y = 20;
public static void Main () {
dynamic document = Builtins.Global["document"];
@kgashok
kgashok / index.html
Last active Apr 17, 2016
tributeBlog
View index.html
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<h1 class="text-primary text-center"><a id="Questions_2"></a> Power of Questions</h1></div>
<div class="col-xs-12">
<p>
<h4 class="text-center">"I, for one, want to be pulled and stretched and tested. I want the discomfort of not knowing, because it’s in those tiny unknowing spaces that I feel the most alive (and connected with discovery). It’s in those moments I have the best conversations—with people from all belief systems." <a href="http://j.mp/qTransform"> http://j.mp/qTransform</a></em></p>
</div>
</div>
<img id = "idea" class="img-responsive center-block" src="http://launchany.com/wp-content/uploads/2016/01/idea.jpg">
@kgashok
kgashok / first.elm
Last active Apr 29, 2016
First Elm program from Sublime
View first.elm
-- https://packagecontrol.io/packages/sublime-github
import Html exposing (..)
main =
text "Hello, World!"
@kgashok
kgashok / Sample.elm
Created Apr 30, 2016 — forked from rundis/Sample.elm
Reversing a string using a stack
View Sample.elm
module Sample where
import Stack exposing (..)
import String
import Html exposing (..)
reverseString : String -> String
reverseString str =
String.split "" str
|> Stack.fromList
@kgashok
kgashok / Sample.elm
Last active Apr 30, 2016
Modification of Rundberget's version at (https://gist.github.com/rundis/8b5a0fd09c3eb348dfc2aa7e862436b4) to use String as a stack
View Sample.elm
import SStack as Stack exposing (..)
import Html exposing (..)
reverseString : String -> String
reverseString str =
Stack.reverse str
main : Html.Html
main =
@kgashok
kgashok / Validator.elm
Created May 1, 2016
Code for Bracket Validator in Elm
View Validator.elm
module Validator where
-- import Html exposing (..)
import Text exposing (..)
import Graphics.Element exposing (..)
import Color exposing (..)
import SStack as Stack exposing (..)
reverseString : String -> String
@kgashok
kgashok / bracketInteract.elm
Last active May 4, 2016
Interactive bracket validator using Elm
View bracketInteract.elm
module Bracket where
import Html exposing (..)
import Html.Events exposing (on, targetValue)
import Html.Attributes exposing (..)
import Signal exposing (Address)
import StartApp.Simple as StartApp
import String exposing (..)
import Dict exposing (..)
import List.Extra as Listx exposing (find)
You can’t perform that action at this time.