Skip to content

Instantly share code, notes, and snippets.

View samundrak's full-sized avatar
👽
(function () { return 'Hello World' }) ()

Samundra Khatri samundrak

👽
(function () { return 'Hello World' }) ()
View GitHub Profile
@samundrak
samundrak / gist:e562037915ba4d4e67647b43f30af8e5
Created July 8, 2019 17:45 — forked from ichord/gist:9808444
demo of using pdf.js to extract pages to images
<script src="http://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.1/processing-api.min.js"></script><html>
<!--
Created using jsbin.com
Source can be edited via http://jsbin.com/pdfjs-helloworld-v2/8598/edit
-->
<body>
<canvas id="the-canvas" style="border:1px solid black"></canvas>
<input id='pdf' type='file'/>
<!-- Use latest PDF.js build from Github -->
@samundrak
samundrak / introrx.md
Created August 17, 2016 18:49 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@samundrak
samundrak / node-folder-structure-options.md
Created July 7, 2016 18:47 — forked from lancejpollard/node-folder-structure-options.md
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin