... or Why Pipelining Is Not That Easy
Golang Concurrency Patterns for brave and smart.
By @kachayev
... or Why Pipelining Is Not That Easy
Golang Concurrency Patterns for brave and smart.
By @kachayev
| // ==/UserScript== | |
| // ==UserScript== | |
| // @name Premium Kissanime | |
| // @version 0.5 | |
| // @description Tampermonkey script for better kissanime usage. | |
| // @include /https?://(www\.|)kissanime\.(to|org|me|com)/*/ | |
| // @copyright 2012+, Yengas | |
| // ==/UserScript== | |
| // Disable Adblock Detection |
| package main | |
| import ( | |
| "compress/gzip" | |
| "io" | |
| "net/http" | |
| "strings" | |
| ) | |
| type gzipResponseWriter struct { |
| # Optimized for writes, sort on read | |
| # LVC | |
| redis.hset("bonds|1", "bid_price", 96.01) | |
| redis.hset("bonds|1", "ask_price", 97.53) | |
| redis.hset("bonds|2", "bid_price", 95.50) | |
| redis.hset("bonds|2", "ask_price", 98.25) | |
| redis.sadd("bond_ids", 1) | |
| redis.sadd("bond_ids", 2) |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |