Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |
// node.js 0.5 Diffie-Hellman example | |
var assert = require("assert"); | |
var crypto = require("crypto"); | |
// the prime is shared by everyone | |
var server = crypto.createDiffieHellman(512); | |
var prime = server.getPrime(); | |
// sharing secret key on a pair |
/* | |
g++ main.cpp -lboost_system -lboost_thread -lpthread -o main | |
*/ | |
#include <boost/asio.hpp> | |
#include <boost/array.hpp> | |
#include <iostream> | |
void send_something(std::string host, int port, std::string message) |
// Interactive Mandelbrot Set | |
// Inspired by Daniel Shiffman's Processing example. | |
// by Rick Companje - www.companje.nl - 6 december 2009 | |
double xmin = -2.5; | |
double ymin = -2; | |
double wh = 4; | |
double downX, downY, startX, startY, startWH; | |
int maxiterations = 200; | |
boolean shift=false; |
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
Grab ffmpeg from https://www.ffmpeg.org/download.html
It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.
The most trivial operation would be converting gifs:
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
-crf
values can go from 4 to 63. Lower values mean better quality.-b:v
is the maximum allowed bitrate. Higher means better quality.This document is research for the selection of a communication platform for robot-net.
The purpose of this component is to enable rapid, reliable, and elegant communication between the various nodes of the network, including controllers, sensors, and actuators (robot drivers). It will act as the core of robot-net to create a standardized infrastructure for robot control.
Requirements:
local result = redis.call('zrange', KEYS[1], 0, -1, 'withscores') | |
local count = 0 | |
local sum = 0 | |
local min = 0 | |
local max = 0 | |
for i=1, #result, 2 do | |
local score = result[i + 1] |
#include <microhttpd.h> | |
#define PORT 8888 | |
int answer_to_connection (void *cls, struct MHD_Connection *connection, | |
const char *url, | |
const char *method, const char *version, | |
const char *upload_data, | |
size_t *upload_data_size, void **con_cls) | |
{ |