Skip to content

Instantly share code, notes, and snippets.

View shirhatti's full-sized avatar

Sourabh Shirhatti shirhatti

View GitHub Profile
@shirhatti
shirhatti / index.html
Last active October 18, 2021 23:00 — forked from magjac/index.html
d3-graphviz Demo
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="//d3js.org/d3.v5.min.js"></script>
<script src="https://unpkg.com/@hpcc-js/wasm@0.3.11/dist/index.min.js"></script>
<script src="https://unpkg.com/d3-graphviz@3.0.5/build/d3-graphviz.js"></script>
<div id="graph" style="text-align: center;"></div>
<script>
var dotIndex = 0;
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Net.Http;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using Grpc.Core;
namespace Sample.Clients
@shirhatti
shirhatti / boxstarter.ps1
Last active August 15, 2019 23:08 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Sourabh Shirhatti <shirhatti@outlook.com>
# Last Updated: 2017-12-21
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
{
"ProjectName": "DesignTimeHostDemo",
"Configurations": [
{
"FrameworkName": "net45",
"LongFrameworkName": ".NETFramework,Version=v4.5",
"FriendlyFrameworkName": ".NET Framework 4.5",
"CompilationSettings": {
"LanguageVersion": 6,
"Defines": [

Launch Sublime Text 3 from the Mac OS X Terminal

tl;dr

  • Open Terminal
  • Type ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
  • Type sublime

Give me the full story