TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
### Keybase proof | |
I hereby claim: | |
* I am sfunk1x on github. | |
* I am sfunk1x (https://keybase.io/sfunk1x) on keybase. | |
* I have a public key ASD_G7pshZYhbbRA13nO65HiDhruLpu6JHxWozclPAWM2go | |
To claim this, I am signing this object: |
#!/bin/sh | |
## | |
## Usage: ./ovpn-writer.sh SERVER CA_CERT CLIENT_CERT CLIENT_KEY SHARED_SECRET SERVER_CIPHER HMAC_AUTH_DIGEST > client.ovpn | |
## | |
## Example invocation (note it must be run as root since key and cert files are protected | |
## ./ovpn-writer.sh sub.sub.domain /etc/easy-rsa/pki/ca.crt /etc/easy-rsa/pki/issued/client.crt /etc/easy-rsa/pki/private/client.key /etc/openvpn/ta.key aes-256-cbc sha512 > android.ovpn | |
## | |
## Tested and works with OpenVPN for Android 0.6.57 on Android 6.0.1 | |
## |
TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.foocoders.text; | |
import java.text.AttributedCharacterIterator; | |
import java.text.DateFormatSymbols; | |
import java.text.FieldPosition; | |
import java.text.NumberFormat; | |
import java.text.ParseException; | |
import java.text.ParsePosition; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; |