Steps I take when setting up a VPN server on Digital Ocean
##Table of Contents
<?php | |
use BitWasp\Bitcoin\Bitcoin; | |
use BitWasp\Bitcoin\Key\Deterministic\HierarchicalKeyFactory; | |
use BitWasp\Bitcoin\Key\Deterministic\HierarchicalKeySequence; | |
use BitWasp\Bitcoin\Key\Deterministic\MultisigHD; | |
use BitWasp\Bitcoin\Network\NetworkFactory; | |
use Exception; | |
/* |
Steps I take when setting up a VPN server on Digital Ocean
##Table of Contents
package com.yourco.yourapp; | |
import java.util.ArrayList; | |
import java.util.List; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; |
// Ok, this stuff is straight out of http://pspdfkit.com/ | |
// Business-like it's probably not a good idea to share this | |
// but I just really love helping people and open sourcing stuff. | |
// Consider this snipped licensed under MIT, by Peter Steinberger. | |
// http://www.opensource.org/licenses/mit-license.php | |
// This uses all kinds of nasty private API, but I don't see another way. | |
// I tried to extract the mp4 URL in this project, https://github.com/steipete/PSYouTubeExtractor, | |
// but it required *lots* of hacks, is slow, and doesn't worked very well on iOS5. | |
// Turns out, Google _really_ doesn't want people access to their mp4 sources. |