Skip to content

Instantly share code, notes, and snippets.

View tamizhvendan's full-sized avatar
🙋‍♂️
The code is not the goal. Solving the problem is!

Tamizhvendan S tamizhvendan

🙋‍♂️
The code is not the goal. Solving the problem is!
View GitHub Profile
@tamizhvendan
tamizhvendan / article.md
Created April 28, 2023 10:20
Don’t be a hero. Don’t start a startup

Don’t be a hero. Don’t start a startup.

Credits: Written by DHH - (Broken Old link)

This essay is for all the founders who have the same strange voice inside their head that I do—the one that tells us that our business has to be a rocketship, that we have to work harder than anyone else, that we have to sacrifice everything for success.

That voice is lying to us.

It’s lying when it tells us that we have to go all out, all the time. That we have to check our email in bed. That we have to work until we can’t remember our kids’ names. That we have to forgo our health, our happiness, our relationships—all for the company.

@tamizhvendan
tamizhvendan / mockon.json
Last active October 19, 2019 16:45
Wheel - Gists
{
"id": "mockoon_export",
"appVersion": "1.5.1",
"checksum": "240b68b32100126de3c02778b454a36c",
"subject": "environment",
"data": {
"uuid": "97fc5020-f100-11e9-a76d-9788f5e7b954",
"name": "Wheel Fake Marketplace",
"endpointPrefix": "",
"latency": 0,
@tamizhvendan
tamizhvendan / extension.js
Created July 6, 2019 03:49
PrismJs Rainbow Parentheses Extension
var level = 0
Prism.hooks.add('wrap', function (env) {
if (env.language == "clojure" && env.type == "punctuation") {
if (env.content == "(" || env.content == "[" || env.content == "{") {
level++;
env.classes.push("rbl" + level);
}
if (env.content == ")" || env.content == "]" || env.content == "}") {
env.classes.push("rbl" + level);
level--;
@tamizhvendan
tamizhvendan / transcript.md
Created March 17, 2018 06:45
Adopting Functional Programming - Lightening Talk (Chennai Geeks)

Hi,

I am Tamizhvendan, a budding entrepreneur. I have also written two books on F#. Both are practical guides on how to apply functional programming in web development.

Before I get started, I would like to thank Mahesh and other organisers for organising this session. Thank you, Mahesh and Team.

Alright, Today I am here to talk about adopting functional programming principles in your day to day programming work. I have been practising FP for almost five years now.

It is a pleasant journey so far, and I also become a better software engineer in the process.

_, err = foobar1()
if err != nil {
return err
}
_, err = foobar2()
if err != nil {
return err
}
_, err = foobar3()
if err != nil {
@tamizhvendan
tamizhvendan / auth_code.liquid
Last active December 26, 2016 07:57
Two Factor Authentication in Suave
{% extends "page.liquid" %}
{% block head %}
<title> Enter Verification Code </title>
{% endblock %}
{% block content %}
<div class="container">
<form action="/verify_auth_code" method="POST" role="form">
<div class="form-group">
open Newtonsoft.Json
open Newtonsoft.Json.Serialization
open System.Text
open Suave.Json
open Suave.Http
open Suave
open Suave.Operators
let toJson<'T> (o: 'T) =
let settings = new JsonSerializerSettings()
@tamizhvendan
tamizhvendan / app.fsx
Last active October 13, 2016 07:48
HelloSuaveAzureFun
open Suave
open Suave.Successful
open Suave.Operators
open Suave.Filters
let app =
choose [
GET >=> OK "GET test"
POST >=> OK "POST test"
PUT >=> OK "PUT test"
@tamizhvendan
tamizhvendan / instructions.md
Last active August 8, 2016 09:09
F# Installation

Mac

  1. Install Mono
brew install mono
  1. Install Visual Studio Code
  2. Install the Ionide-fsharp extension in Visual Studio Code