Skip to content

Instantly share code, notes, and snippets.

PTS93

  • MESO Digital Interiors
  • Frankfurt
Block or report user

Report or block PTS93

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@PTS93
PTS93 / FastCRC Benchmark SAMD21 vs SAMD51.md
Last active Aug 7, 2018
Benchmarking CRC on SAMD51 and SAMD21. I tried to find the max buffer size one each would accept before either not compiling or crapping out.
View FastCRC Benchmark SAMD21 vs SAMD51.md

Graph made by Greys (Thanks to Greys for the nice Graph)

SAMD21 Cortex M0+ @ 48MHz:
1KB
Maxim (iButton) FastCRC:	Value:0x78, Time: 353 us (23.21 mbs)
Maxim (iButton) builtin:	Value:0x78, Time: 2213 us (3.70 mbs)
MODBUS FastCRC:	Value:0x2487, Time: 336 us (24.38 mbs)
MODBUS builtin: 	Value:0x2487, Time: 2337 us (3.51 mbs)
XMODEM FastCRC:	Value:0x190E, Time: 339 us (24.17 mbs)
@PTS93
PTS93 / hello.java
Last active Aug 15, 2016
Cordova shell command plugin
View hello.java
package com.example.plugin;
import org.apache.cordova.*;
import java.io.*;
import java.net.*;
import org.json.JSONArray;
import org.json.JSONException;
import android.util.Log;
public class Hello extends CordovaPlugin {
@PTS93
PTS93 / poco_http_post_headers.cpp
Created Jul 12, 2016 — forked from jeffcrouse/poco_http_post_headers.cpp
Poco HTTPPOST request with headers
View poco_http_post_headers.cpp
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/StreamCopier.h>
#include <Poco/Path.h>
#include <Poco/URI.h>
#include <Poco/Exception.h>
using namespace Poco::Net;
using namespace Poco;
@PTS93
PTS93 / Cross compiler for RPi, Jessie, openFrameworks 0.9
Last active Oct 30, 2015 — forked from jvcleave/ Cross compiler for RPi, Jessie, openFrameworks 0.9
Instructions for building a Jessie VM to cross-compile openFrameworks 0.9 applications for the Raspberry Pi 1 (arm7)
View Cross compiler for RPi, Jessie, openFrameworks 0.9
#ON THE RPI (if you haven't downloaded openFrameworks)
cd
curl -O http://192.237.185.151/versions/nightly/of_v20151008_linuxarmv6l_nightly.tar.gz
mkdir openFrameworks
tar vxfz of_v20151008_linuxarmv6l_nightly.tar.gz -C openFrameworks --strip-components 1
cd /home/pi/openFrameworks/scripts/linux/debian
sudo ./install_dependencies.sh
#INSTALL SMB WITH / ACCESS
You can’t perform that action at this time.