Skip to content

Instantly share code, notes, and snippets.

View nikhedonia's full-sized avatar
💭
actively open-sourcing

Gaetano Checinski nikhedonia

💭
actively open-sourcing
View GitHub Profile
@nikhedonia
nikhedonia / hello.html
Last active June 27, 2017 14:56
WasmHelloWorld
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Emscripten-Generated Code</title>
<style>
body {
font-family: arial;
margin: 0;
@nikhedonia
nikhedonia / request_over_tor.js
Created December 28, 2017 16:16
sending a request over tor and renew ip
var Https = require('socks5-https-client/lib/Agent');
var Http = require('socks5-http-client/lib/Agent');
var openports = require('openports');
var net = require('net');
var tmp = require('tmp');
var request = require('request');
const { spawn } = require('child_process');
function spawnTor(port, port2) {
const tmpobj = tmp.dirSync();
prebuilt_cxx_library(
name = 'json',
header_namespace = 'nlohmann',
header_only = True,
exported_headers = subdir_glob([
('src', '*.hpp')
]),
visibility = [
'PUBLIC',
]
def test_tree(name, path):
genrule(
name = name,
out = ".",
srcs = [path],
cmd = "cp -r $SRCS/* $OUT"
)
return ":"+name
load('//:BUCKAROO_DEPS', 'deps')
load('@boost.helpers//:DEFS', 'test_tree', 'sh_cxx_test')
cxx_library(
name = "test",
exported_headers = subdir_glob([
("include", "**/*.hpp"),
("include", "**/*.ipp"),
]),
exported_linker_flags=['-lpthread'],
include_defs('//BUCKAROO_DEPS')
def test_tree(name, path):
genrule(
name = name,
out = ".",
srcs = [path],
cmd = "cp -r $SRCS/* $OUT"
)
return ":"+name
def merge_dicts(x, y):
z = x.copy()
z.update(y)
return z
cxx_library(
name = "apps",
header_namespace= '',
compiler_flags = ["-fPIC","-m64"],
prebuilt_cxx_library(
name="ippicv",
static_lib = "build/3rdparty/ippicv/ippicv_lnx/lib/intel64/libippicv.a"
)
cxx_library(
name = "build_modules_core_precomp_hpp-headers",
compiler_flags = [],
preprocessor_flags = [],
exported_headers = subdir_glob([
("build/3rdparty/ippicv/ippicv_lnx/include", "**/*.h"),
@nikhedonia
nikhedonia / llvm-minimal.svg
Last active October 10, 2018 16:49
buildinfer-svgs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
include_defs('//BUCKAROO_DEPS')
def test_tree(name, path):
genrule(
name = name,
out = ".",
srcs = [path],
cmd = "cp -r $SRCS/* $OUT"
)
return ":"+name