Skip to content

Instantly share code, notes, and snippets.

Layer 2 DeFi is going to be fun!

Daksh 0xDaksh

Layer 2 DeFi is going to be fun!
View GitHub Profile
0xDaksh / .hyper.js
Created Oct 27, 2017
My HyperTerm config for ubuntu and windows!
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
0xDaksh /
Last active Nov 7, 2017
How to Setup Lemp (Linux Nginx MySQL Php) with Node.js and Forever on Ubuntu 16.04 Easily?

How to Setup Lemp with Node.js Easily!

Firstly, Download the Script Using:

curl -o

After that, you'd have to run the file and for that you need to make the script an executable:

0xDaksh / gist:384af6911e702397ca7315ac08f91672
Created Nov 22, 2017 — forked from jnrbsn/gist:4268258
Loads a JavaScript file asynchronously with a callback, like jQuery's `$.getScript()` except without jQuery.
View gist:384af6911e702397ca7315ac08f91672
function j(u, c) {
var h = document.getElementsByTagName('head')[0], s = document.createElement('script');
s.async = true; s.src = u;
s.onload = s.onreadystatechange = function () {
if (!s.readyState || /loaded|complete/.test(s.readyState)) {
s.onload = s.onreadystatechange = null; if (h && s.parentNode) { h.removeChild(s) } s = undefined;
if (c) { c() }
h.insertBefore(s, h.firstChild);
View Fuckthisshit.js
fetch("").then(res => res.json()).then(console.log)
0xDaksh /
Created Jan 10, 2018 — forked from pongstr/
HTTP/2 Recipe: Nginx + Node.js



Install homebrew/services, this will be helpful, you'll see later. :D

$ brew tap homebrew/services 
0xDaksh / caesarCipher.cpp
Created Feb 11, 2018
CaesarCipher turned into C++
View caesarCipher.cpp
#include <iostream>
#include <fstream>
#include <stdlib.h>
using namespace std;
Ceaser Cipher
- Julius Caesar (Inventor of July &amp; CeaserCipher)
0xDaksh /
Created Apr 21, 2018
Khan Academy Precalculus Vector homework with Python!
import math
def quadrant(vector):
x = vector[0]
y = vector[1]
if x > 0 and y > 0:
return 1
if x < 0 and y > 0:
return 2
if x < 0 and y < 0:

Keybase proof

I hereby claim:

  • I am dakshmiglani on github.
  • I am aresinpajamas ( on keybase.
  • I have a public key ASBIdrnnzOCmzMr3HsoqDPPZmtfrDs6p5Sf_veoeAoVRJAo

To claim this, I am signing this object:

View settings.json
"editor.fontFamily": "Operator Mono Lig",
"editor.fontLigatures": true,
"editor.fontSize": 18.6,
"files.eol": "\n",
"editor.cursorStyle": "block",
"editor.cursorBlinking": "solid",
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "all",
"gitlens.advanced.messages": {
0xDaksh / ContextCmder-Disable.reg
Created Jul 24, 2018 — forked from jojobyte/ContextCmder-Disable.reg
Cmder Context (Right-Click) Menu for Windows 7/8
View ContextCmder-Disable.reg
Windows Registry Editor Version 5.00