Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
Layer 2 DeFi is going to be fun!

Daksh 0xDaksh

🦄
Layer 2 DeFi is going to be fun!
View GitHub Profile
@0xDaksh
0xDaksh / gist:384af6911e702397ca7315ac08f91672
Created November 22, 2017 09:19 — 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);
@0xDaksh
0xDaksh / Fuckthisshit.js
Last active December 22, 2017 11:22
;_;
View Fuckthisshit.js
fetch("https://cors-anywhere.herokuapp.com/https://www.validator.pizza/email/mishra.istasis@gmail.com").then(res => res.json()).then(console.log)
@0xDaksh
0xDaksh / _readme.md
Created January 10, 2018 11:32 — forked from pongstr/_readme.md
HTTP/2 Recipe: Nginx + Node.js
View _readme.md

Imgur

Recipe

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

$ brew tap homebrew/services 
@0xDaksh
0xDaksh / ContextCmder-Disable.reg
Created July 24, 2018 10:28 — 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
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@0xDaksh
0xDaksh / Gemfile
Created December 17, 2020 07:29 — forked from dhh/Gemfile
HEY's Gemfile
View Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers