Skip to content

Instantly share code, notes, and snippets.

View th0br0's full-sized avatar

Andreas C. Osowski th0br0

View GitHub Profile
@th0br0
th0br0 / addresses.csv
Created May 6, 2018 11:14
IOTA - list of KYC addresses
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
UVVOCC9WULVWJWJUVLCCYUWDXYNYJVQETHZRTITIJQGWOCEXSVXNPQNBLUBEXIYVNJNUDRVPAHXDATMAC
SBAHCXSSZWBATKMHXTQSOEARPDUHZGNMPPSEKKXVYRQPTQTOTDVCDMTSPZAJPEBXQJUCQQJKHEGLTMOPU
UHPHRPVEGPVCUJMUJLIZFIESWNKOTZAARAQLCRJBFEFSKRUVDNIHODCXQCFWLWOKLFU9VFXWFQXDS9B9D
TBGKN9WIHQMDHESLWF9DPNPTAQXHJCHMVHTUIWEWOIUJKCFCACQOFUIEXLNOZHCAKSTPNGOGYBW9CMKXO
9YWHIEJKIXVXAKIMEFW9KOVAUORICIERY9CKVYAJFVG9KXOUYZWGOJOKBPUJ9LLTNLDIZGUKEYEQMPXDO
HSZUVEBWREZDICTQGSQOZXXL9XCMYEMUQMCCSYHVPIAAJVWMRHOLRELBZOTSHUVOLBJRGFPRTZSVQONVM
TNFDHZJBMHTMGTFGEKTLVZMUKXVMTJBWTOTNCKQU9XEHPVUHP9LKEZSGUOWHKZALX9UPAPMZLPNPGDTMX
GICWLBBOAZRVOSDNYRRDECXFDQVEDSHPUGQWMQIIGBPDJSJWCDBBKDYWBXWXYGHIFLKZLZ9PRBROYWMOA
SHGXEFEPVCBWU99ZIQQZEYKGZDYKCNYGKNGXCBGZLQD9WFDKVPLILRVYELOZURRWIDEBDI9KMDAWBWFTL
FFLNHVYSAHCMFQYUVEUDERVNABZQACTWUVNMIKLQLFYANA9WVIFTLNJNACOUZSFJUNVJCQONMAO9ZSUYW
@th0br0
th0br0 / 20180128-validation.js
Created January 28, 2018 16:46
IOTA Validation Script Snapshot 20180128
var request = require('request');
// Declare API endpoint for the IOTA node
var iotaNode = 'http://localhost:14265';
var snapshot = function() {
var command = {
'command': 'Snapshot.getState'
}

Keybase proof

I hereby claim:

  • I am th0br0 on github.
  • I am th0br0 (https://keybase.io/th0br0) on keybase.
  • I have a public key whose fingerprint is 0614 2F5B DDE3 0932 4791 0EAE 1DE8 89F1 2679 88A7

To claim this, I am signing this object:

@th0br0
th0br0 / AuthRequestFilterFactory.java
Last active April 13, 2016 10:31
Auth Flow Example
package policycompass.fcmmanager.auth;
public class AuthFilterFactory implements ResourceFilterFactory {
@Context
private UriInfo uriInfo;
@Override
public List create(AbstractMethod method) {
RequiresAuthentication annotation = method.getAnnotation(RequiresAuthentication.class);
if(annotation != null)
window.onerror = function(msg, url, line, col, error) {
window.location.href="http://stackoverflow.com/search?q=[js]+" + (msg || e);
}
{
"properties": {
"name": "ttttt",
"environment": {
"type": "noflo-browser",
"protocol": "iframe",
"address": "http://th0kus.ngrok.io/everything.html"
}
},
"inports": {},

Keybase proof

I hereby claim:

  • I am th0br0 on github.
  • I am th0br0 (https://keybase.io/th0br0) on keybase.
  • I have a public key whose fingerprint is 65A3 E2C8 15E8 77DE BABF C5C5 E804 83F3 FD8D 484D

To claim this, I am signing this object:

[scala]
version: FEDORA_SCALA_VERSION
[app]
org: ${sbt.organization-org.scala-sbt}
name: sbt
version: ${sbt.version-read(sbt.version)[FEDORA_SBT_VERSION]}
class: ${sbt.main.class-sbt.xMain}
components: xsbti,extra
cross-versioned: ${sbt.cross.versioned-false}
@th0br0
th0br0 / S3UploadStream.scala
Created July 28, 2013 07:16
play-s3 streaming upload
package lib
import fly.play.s3._
import java.io.OutputStream
import scala.concurrent.Future
import scala.concurrent.Await
import scala.concurrent.duration.Duration
import play.api.http.ContentTypeOf
import play.api.libs.concurrent.Execution.Implicits.defaultContext
import play.api.libs.concurrent.Akka
diff --git a/lib/handshake.c b/lib/handshake.c
index d41414b..0c05839 100644
--- a/lib/handshake.c
+++ b/lib/handshake.c
@@ -699,6 +699,7 @@ libwebsocket_read(struct libwebsocket_context *context, struct libwebsocket *wsi
case 5:
case 6:
case 7:
+ case 8:
wsi->xor_mask = xor_mask_05;