I hereby claim:
- I am andypols on github.
- I am andypols (https://keybase.io/andypols) on keybase.
- I have a public key whose fingerprint is 63A0 AC7C 8935 872E AEFC D0A3 5DFD 8A06 60DE 3D30
To claim this, I am signing this object:
| import junit.framework.TestCase; | |
| import java.text.DecimalFormat; | |
| import java.text.ParseException; | |
| public class StrangeNumberTest extends TestCase { | |
| public void testWierdJavaNumber() throws ParseException { | |
| DecimalFormat format = new DecimalFormat("##,###.00"); | |
| assertEquals("Amazing, but true", | |
| 10, | |
| (Long) format.parse("10WTF?"), 0); |
| import boto3 | |
| table_name = 'vinterest-test' | |
| source = boto3.resource('dynamodb', | |
| aws_access_key_id='<TODO>', | |
| aws_secret_access_key='<TODO>' | |
| ) | |
| source_table = source.Table(table_name) |
I hereby claim:
To claim this, I am signing this object:
| var url = require('url'); | |
| var crypto = require('crypto'); | |
| /* | |
| NTLM PROCESS FOR GET REQUESTS: | |
| ============================== | |
| STEP 1: The Client requests a protected resource from the server | |
| STEP 2: The Server responds with a 401 status, with a header indicating that the client must authenticate | |
| STEP 3: The Client resubmits the request with an Authorization header containing a Base-64 encoded Type 1 message. From this point forward, the connection is kept open; closing the connection requires reauthentication of subsequent requests. |