Skip to content

Instantly share code, notes, and snippets.

@victor9000
victor9000 / hacker-news-comment-filter
Last active July 22, 2017 18:58
Bookmarklet to filter comments on Hacker News based on keywords
javascript: (function() {
/* inject script */
var v_jq = null;
var v_element = document.createElement('script');
v_element.src = '//code.jquery.com/jquery-latest.min.js';
/* identify comments that do not meet the filter condition */
var v_filter = function(v_comments, v_filters, v_is_whitelist) {
v_discarded = v_comments.filter(function(v_comment) {
@victor9000
victor9000 / ublock-origin-pinterest
Created February 3, 2017 21:18
uBlock Origin filters to use Pinterest without having to log in
www.pinterest.com##.FullPageModal__scroller
www.pinterest.com##.Module.DenzelReactBridge > div > div:nth-of-type(2)
www.pinterest.com###desktopWrapper:style(position: relative !important)
@victor9000
victor9000 / README.md
Created January 16, 2018 20:37 — forked from magnetikonline/README.md
Node.js HTTP receiving request dump server.

Node.js HTTP receiving request dump server

Simple HTTP server receiving requests and dumping to flat file.

Usage

Start the listening HTTP server:

root# nodejs ./httprequestdump.js
Listening on 0.0.0.0:8080