View rx.speech.js
1 2 3 4 5 6 7 8 9 10
function beginSpeechRecognition(options) {
options = options || {};
var engine = new webkitSpeechRecognition();
Object.keys(options).forEach(function (key) {
engine[key] = options[key];
});
engine.start();
View pixelated.cpp
1 2 3 4 5 6 7 8 9 10
#include <tuple>
#include <vector>
#include <random>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <iterator>
#include <algorithm>
#include <boost/dynamic_bitset.hpp>
View pixelated.d
1 2 3 4 5 6 7 8 9 10
import std.conv;
import std.stdio;
import std.range;
import std.random;
import std.algorithm;
 
struct Pair(T, U)
{
T fst;
U snd;
View pptx_image_extractor.html
1 2 3 4 5 6 7 8 9 10
<input type="file" />
 
<script src="zip.js/zip.js"></script>
 
<script>
'use strict';
zip.workerScriptsPath = 'zip.js/';
function getZipEntries(file) {
View curry2.cpp
1 2 3 4 5 6 7 8 9 10
#include <type_traits>
#include <utility>
#include <tuple>
 
#include "function_traits.cpp"
 
template <typename Func, typename Env, typename Params, typename FuncParams>
struct closure;
 
template <typename Func, typename... Env, typename HeadFuncParams, typename... FuncParams>
View meow.cpp
1 2 3 4 5 6 7 8 9 10
struct meow {
static int defaults;
static int copies;
static int moves;
static int destroys;
static void report() {
std::cout << "defaults: " << defaults << std::endl;
std::cout << "copies: " << copies << std::endl;
std::cout << "moves: " << moves << std::endl;
View curry.cpp
1 2 3 4 5 6 7 8 9 10
#include <type_traits>
#include <utility>
#include <tuple>
 
#include "function_traits.cpp"
 
// ---
 
template <typename Args, typename Params>
struct apply_args;
View function_traits.cpp
1 2 3 4 5 6 7 8 9 10
#include <type_traits>
#include <tuple>
#include <functional>
 
template <typename FType>
struct function_traits;
 
template <typename RType, typename... ArgTypes>
struct function_traits<RType(ArgTypes...)> {
using arity = std::integral_constant<size_t, sizeof...(ArgTypes)>;
View make_array.cpp
1 2 3 4 5 6 7 8 9
#include <iostream>
 
// ---
 
#include <array>
#include <utility>
 
template <typename T>
using c_array = T[];
Something went wrong with that request. Please try again.