Skip to content

Instantly share code, notes, and snippets.

View probaldhar's full-sized avatar

Probal Chandra Dhar probaldhar

View GitHub Profile
@probaldhar
probaldhar / alexa-cheats.md
Created February 18, 2018 20:46 — forked from R3V1Z3/alexa-cheats.md
The ultimate cheatsheet for Amazon Alexa. See https://ugotsta.github.io/alexa-cheats/

Alexa Cheats

Commands, questions and easter eggs for Amazon Alexa enabled devices: https://ugotsta.github.io/alexa-cheats/

General

  • "Alexa, stop."
  • "Alexa, volume one/six/ten."
  • "Alexa, mute."
  • "Alexa, unmute."
  • "Alexa, repeat."
  • "Alexa, cancel."
@probaldhar
probaldhar / parser.c
Created September 7, 2017 15:18 — forked from mayoff/parser.c
recursive descent parser for a very simple tree grammar; see http://stackoverflow.com/questions/14085626
#include <stdio.h>
#include <stdlib.h>
typedef struct BinaryTree {
char info;
struct BinaryTree *left, *right, *father;
} BinaryTree;
typedef struct {
BinaryTree *node;
@probaldhar
probaldhar / README.md
Last active August 29, 2015 14:09 — forked from oodavid/README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
<?php
/**
* Dimox Breadcrumbs
* http://dimox.net/wordpress-breadcrumbs-without-a-plugin/
* Since ver 1.0
* Add this to any template file by calling dimox_breadcrumbs()
* Changes: MC added taxonomy support
*/
function dimox_breadcrumbs(){
/* === OPTIONS === */
<?php
/**
* Dimox Breadcrumbs
* http://dimox.net/wordpress-breadcrumbs-without-a-plugin/
* Since ver 1.0
* Add this to any template file by calling dimox_breadcrumbs()
* Changes: MC added taxonomy support
*/
function dimox_breadcrumbs(){
/* === OPTIONS === */