Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Nam Nguyen gdbtek

🏠
Working from home
  • Richmond, CA
Block or report user

Report or block gdbtek

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
@braitsch
braitsch / OpenALPR.md
Created Jul 25, 2019
OpenALPR for Ubuntu 18.04
View OpenALPR.md

OpenALPR for Ubuntu 18.04

This is a slightly modified update to Daniel Kornev's excellent post which goes into more detail about why building from source is necessary on 18.04. His post was missing a few dependencies that I didn't have installed namely cmake, opencv and pkg-config. The following steps should get you a working build of openalpr on a fresh install of Ubuntu 18.04.


If you're not working with a fresh install, this might be a good time to clean and update your system before proceeding. (Optional)
$ sudo apt update #fetch list of available updates
$ sudo apt upgrade #install updates – does not remove packages
@stevenringo
stevenringo / reinvent-2017-youtube.md
Created Dec 3, 2017
Links to YouTube recordings of AWS re:Invent 2017 sessions
View reinvent-2017-youtube.md

| Title | Description

View essential-javascript-links.md
@evaryont
evaryont / Test.java
Created Oct 1, 2013
A quick test to see if you have the JCE Unlimited Strength Jurisdiction Policy files installed. If you don't, in Java 6 you'll see 128. If you do, you'll see 2147483647. Thanks to http://stackoverflow.com/questions/11538746/check-for-jce-unlimited-strength-jurisdiction-policy-files
View Test.java
import javax.crypto.Cipher;
class Test {
public static void main(String[] args) {
try {
System.out.println("Hello World!");
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
System.out.println(maxKeyLen);
} catch (Exception e){
System.out.println("Sad world :(");
@pzurek
pzurek / Twelve_Go_Best_Practices.md
Last active Dec 23, 2019
Twelve Go Best Practices
View Twelve_Go_Best_Practices.md
@sevastos
sevastos / aws-multipartUpload.js
Last active Dec 6, 2019
Example AWS S3 Multipart Upload with aws-sdk for Node.js - Retries to upload failing parts
View aws-multipartUpload.js
// Based on Glacier's example: http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/examples.html#Amazon_Glacier__Multi-part_Upload
var fs = require('fs');
var AWS = require('aws-sdk');
AWS.config.loadFromPath('./aws-config.json');
var s3 = new AWS.S3();
// File
var fileName = '5.pdf';
var filePath = './' + fileName;
var fileKey = fileName;
You can’t perform that action at this time.