Skip to content

Instantly share code, notes, and snippets.

View parthopdas's full-sized avatar
💭
...

Partha P. Das parthopdas

💭
...
View GitHub Profile
module BinaryTreeZipper
type BinaryTree<'value> =
| Node of BinaryTree<'value> * 'value * BinaryTree<'value> // leftChild * value * rightChild
| LeftOnlyNode of BinaryTree<'value> * 'value
| RightOnlyNode of 'value * BinaryTree<'value>
| Leaf of string
type Path<'value> =
| Top
@jshaw
jshaw / byobuCommands
Last active November 14, 2024 05:38
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@rikukissa
rikukissa / POST.md
Last active May 6, 2024 11:52
React Hook prompting the user to "Add to homescreen" 🏠 #PWA #React
title slug createdAt language preview
React Hook prompting the user to "Add to homescreen"
react-hook-prompting-the-user-to-add
2018-11-29T20:35:02Z
en
Simple React Hook for showing the user a custom "Add to homescreen" prompt.

React Hook for showing custom "Add to homescreen" prompt

@gregberns
gregberns / the-algebra-of-algebraic-data-types.md
Created December 13, 2018 05:57
The Algebra of Algebraic Data Types, Part 1, by Chris Taylor
@shubich
shubich / tslint jsx-indent.md
Last active October 27, 2020 15:09
#tslint #prettier #indent #jsxindent #tsxindent

tslint-config-prettier helps

List of tslint dev-dependencies:

  "tslint": "^5.12.1",
  "tslint-config-airbnb": "^5.11.1",
  "tslint-plugin-prettier": "^2.0.1",
  "tslint-react": "^3.6.0",
@QROkes
QROkes / qa-plugin.php
Last active February 23, 2021 10:30
Anti SPAM Registration Plugin for Question2Answer - StopForumSpam API
<?php
/*
File: qa-plugin/webinoly-custom/qa-plugin.php
Description: Anti SPAM Registration Plugin for Question2Answer
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.