I hereby claim:
- I am lukasklein on github.
- I am lukasklein (https://keybase.io/lukasklein) on keybase.
- I have a public key whose fingerprint is 0644 F2A9 A924 0DDE 10E5 C97A FCF5 689D D8B3 A124
To claim this, I am signing this object:
| const widget = new ListWidget(); | |
| await createWidget(); | |
| if(!config.runsInWidget) { | |
| await widget.presentSmall(); | |
| } | |
| Script.setWidget(widget); | |
| Script.complete(); | |
| async function createWidget() { |
| import requests | |
| class DatacakeApi: | |
| api_token = None | |
| api_base = 'https://api.datacake.co/v1' | |
| def __init__(self, api_token): | |
| self.api_token = api_token | |
| def post(self, path, data): |
| import struct | |
| def bytes_to_int(bytes: list) -> int: | |
| result = 0 | |
| for byte in bytes: | |
| result = (result << 8) + byte | |
| return result | |
| def get_flac_duration(filename: str) -> float: |
I hereby claim:
To claim this, I am signing this object:
| docker: | |
| image: jpetazzo/dind | |
| privileged: true | |
| environment: | |
| - PORT=4444 | |
| transcoder: | |
| build: transcoder | |
| restart: always | |
| command: /usr/local/bin/gunicorn -w 2 -b :8000 app:app | |
| links: |
| from django.conf import settings | |
| def get_client_ip(request): | |
| x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') | |
| if x_forwarded_for: | |
| ip = x_forwarded_for.split(',')[0] | |
| else: | |
| ip = request.META.get('REMOTE_ADDR') | |
| return ip |
| import DNS, smtplib, socket | |
| def checkmail(mail): | |
| DNS.DiscoverNameServers() | |
| print "checking %s..."%(mail) | |
| hostname = mail[mail.find('@')+1:] | |
| mx_hosts = DNS.mxlookup(hostname) | |
| failed_mx = True | |
| for mx in mx_hosts: | |
| smtp = smtplib.SMTP() |
| import random, os, urllib, urllib2, time, getpass | |
| from urlparse import urlparse | |
| rootpass = getpass.getpass() | |
| interface = "en0" | |
| testurl = "http://www.google.com/robots.txt" | |
| stringtotest = "User-agent: *" | |
| def randomMAC(): | |
| mac = [ 0x00, 0x16, 0x3e, |
| // | |
| // CameraAvailable.h | |
| // | |
| // | |
| // Created by Lukas Klein on 08-19-11. | |
| // MIT Licensed | |
| // Copyright (c) Lukas Klein | |
| #import <foundation foundation.h=""> | |
| #ifdef PHONEGAP_FRAMEWORK |
| #!/usr/bin/env python | |
| """ | |
| Facebook-Event-Stalking-Tool | |
| """ | |
| import urllib2, json, re | |
| from types import NoneType | |
| access_token = "your facebook access token" |