I hereby claim:
- I am smievoll on github.
- I am bosmievoll (https://keybase.io/bosmievoll) on keybase.
- I have a public key ASCySC9jcZwCcK3ld1vYLQsnI4uZxpCeFyiyMwJ3FxEgIAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project version="4"> | |
| <component name="AntConfiguration"> | |
| <defaultAnt bundledAnt="true" /> | |
| </component> | |
| </project> | |
| !/bin/bash | |
| # Takes double line java.util.logging output and creates single line. | |
| gawk -W re-interval \ | |
| '/[0-9]{2}\/[0-9]{2}\/[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{3} (AM|PM)/ \ | |
| {ORS=" "; print gensub(/^([^:]+:)(.*)/, "\\2 \\1", "g")} | |
| !/[0-9]{2}\/[0-9]{2}\/[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{3} (AM|PM)/ \ | |
| {ORS=RS; print}' \ | |
| $1 |
| package no.smievoll.ad; | |
| import javax.naming.directory.BasicAttribute; | |
| import java.util.List; | |
| public class ADPasswordEncoder { | |
| private static byte[] generatePasswordByteArray(String clearTextPassword) throws UnsupportedEncodingException { | |
| /* NB: AD requires password string to be quoted. */ |