Skip to content

Instantly share code, notes, and snippets.

as1ndu /
Created May 8, 2020 — forked from iros/
Documenting your REST API


<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

as1ndu / unfollow.js
Created Mar 17, 2020 — forked from JamieMason/unfollow.js
Unfollow everyone on
View unfollow.js
// Unfollow everyone on, by Jamie Mason (
// 1. Go to
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
(() => {
const followButtonQuery = '[data-testid$="-unfollow"]';
const confirmButtonQuery = '[data-testid="confirmationSheetConfirm"]';
const sleep = ({ seconds }) =>
as1ndu / style.css
Created Jan 2, 2020
CSS Meda Query break points
View style.css
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }

Keybase proof

I hereby claim:

  • I am as1ndu on github.
  • I am as1ndu ( on keybase.
  • I have a public key ASAX2-i3_oXxlkJQ_jROJvn6CGt8OpUByenYPu02J9-sSgo

To claim this, I am signing this object:

as1ndu /
Created Jan 24, 2019 — forked from joyrexus/
Vanilla JS equivalents of jQuery methods

Sans jQuery


// jQuery
$(document).ready(function() {
  // code
as1ndu / witness
Created Feb 10, 2017 — forked from gavofyork/witness
The Witness Algorithm: Privacy Protection in a Fully Transparent System
View witness
# The Witness Algorithm: Privacy Protection in a Fully Transparent System
By **Vlad Gluhovsky** and **Gavin Wood**
# Introduction
Being based upon a quasi-Turing-complete (quasi because it's actually bounded) virtual machine, Ethereum is an extremely versatile system. However one of its greatest strengths---universal auditability---seems to lead to a fatal flaw, namely an inescapable lack of privacy. Here we demonstrate an algorithm in order to prove that this is not the case.
The algorithm could be used to make an Ethereum contract which, given two sets of addresses sources, `src`, and destinations, `dest`, will guarantee exactly one of two possible eventualities:
- For each address in `src`, the controller of that address controls a corresponding address in `dest` (though the two cannot be related *a priori*).
as1ndu /
Last active Aug 29, 2015 — forked from mnot/
Transcript of Edward Snowden's comments at IETF93.
View app.yaml
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest