import pandas as pd
import functools
def eager_generator(reifier):
Makes it so that a generator function returns a collection by forcing its full evaluation eagerly.
:arg reifier: function that takes the generator and reifies it to a collection.
View tcp-proxy.js
'use strict';
const net = require('net');
const LOCAL_PORT = 7358;
const REMOTE_PORT = 7357;
const REMOTE_ADDR = 'localhost';
const server = net.createServer(function (clientSocket) {
const serviceSocket = new net.Socket();
View Polynomial.hpp
#pragma once
#include <map>
#include <utility>
#include <iostream>
#include <type_traits>
template <typename T>
class Polynomial {
View functional.js
/* Lazy */
class Memoized {
constructor(it) { = it;
this.done = false;
this.mem = [];
[Symbol.iterator]() {
View chispitas.html
<body style="margin:0"></body>
<script src=""></script>
'use script';
// === SETUP
const SPACEW = document.body.clientWidth;
const SPACEH = document.body.clientHeight;
View minimal-x64.c
void _start() {
"mov $60, %rax;"
"mov $0, %rdi;"
copy(Array.from(document.querySelectorAll('._3oh-')).map(n => n.innerText).join('\n'));
save to ''
usage: python < chat.txt > chat.html
View vortex.html
<body style="margin:0"></body>
<script src=""></script>
'use strict';
/* Init */
const SPACEW = document.body.clientWidth;
const SPACEH = document.body.clientHeight;
import rx.Observable;
import rx.subjects.BehaviorSubject;
import java.time.LocalDateTime;
import java.util.Random;
import java.util.concurrent.TimeUnit;
public class Program {
private static class Status {
LocalDateTime timestamp;
View dicen.html
<div class="banner">
<div class="article">
<span class="value" contenteditable="true">Los</span>
<div class="subject">
<span class="value" contenteditable="true">Gatos</span>
<div class="verb">
<span class="value" contenteditable="true">dicen</span>