wget http://pocoproject.org/releases/poco-1.7.3/poco-1.7.3.tar.gz
tar xzf poco-1.7.3.tar.gz
cd poco-1.7.3
./configure --minimal --static --no-samples --no-tests
time make -j4 -s
cd lib/Linux/x86_64/
for f in *.a; do "strip $f"; done
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from os.path import basename | |
from subprocess import Popen, PIPE | |
"""Map of OpenSSL symmetric cipher names to cipher/block size tuples.""" | |
CIPHERS={ | |
'AES': ('AES', 128), | |
'AES128': ('AES', 128), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The main openFrameworks include | |
#include "ofMain.h" | |
// Poco is included in openFrameworks 0.8.0 | |
#include "Poco/Net/HTTPClientSession.h" | |
#include "Poco/Net/HTTPRequest.h" | |
#include "Poco/Net/HTTPResponse.h" | |
#include "Poco/Base64Encoder.h" | |
#include "Poco/Net/HTMLForm.h" | |
#include "Poco/Net/StringPartSource.h" | |
#include "Poco/StreamCopier.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cmath> | |
#include <assert.h> | |
#include <core/TestPattern.h> | |
TestPattern::TestPattern() | |
:w(0) | |
,h(0) | |
,frame_num(0) | |
,duration(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git | |
git push -u --force origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enterprise: NJVYC-BMHX2-G77MM-4XJMR-6Q8QF | |
Professional: KBJFW-NXHK6-W4WJM-CRMQB-G3CDH | |
Keys are generic ones. These are the same from MSDN account. | |
Product Key : -6Q8QF | |
Validity : Valid | |
Product ID : 00369-90000-00000-AA703 | |
Advanced ID : XXXXX-03699-000-000000-00-1032-9200.0000-0672017 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <uv.h> | |
#include "cassandra.h" | |
#define USE_COMPOUND_PARTITION_KEY 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Paper, withStyles, Grid, TextField, Button, FormControlLabel, Checkbox } from '@material-ui/core'; | |
import { Face, Fingerprint } from '@material-ui/icons' | |
const styles = theme => ({ | |
margin: { | |
margin: theme.spacing.unit * 2, | |
}, | |
padding: { | |
padding: theme.spacing.unit | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <mfapi.h> | |
#include <mfidl.h> | |
#include <Mfreadwrite.h> | |
#include <mferror.h> | |
#include <d3d9.h> | |
#pragma comment(lib, "mfreadwrite") | |
#pragma comment(lib, "mfplat") | |
#pragma comment(lib, "mfuuid") |
OlderNewer