Skip to content

Instantly share code, notes, and snippets.

View bartoszhernas's full-sized avatar

Bartosz Hernas bartoszhernas

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bartoszhernas on github.
  • I am bartosz (https://keybase.io/bartosz) on keybase.
  • I have a public key whose fingerprint is 5A45 DA83 22B0 2019 04D8 87EA 751D A28E 55D7 E374

To claim this, I am signing this object:

@bartoszhernas
bartoszhernas / LayerClientDelegate.h
Created September 12, 2016 14:25
LayerSDK bridge delegate for Swift so didReceiveAuthenticationChallengeWithNonce is called
#import <Foundation/Foundation.h>
#import <LayerKit/LayerKit.h>
@interface LayerClientDelegate : NSObject<LYRClientDelegate>
- (nonnull instancetype)initWithLayerDelegate:(nonnull id<LYRClientDelegate>)delegate;
@end
@bartoszhernas
bartoszhernas / keybase.md
Created August 16, 2016 08:23
keybase.md

Keybase proof

I hereby claim:

  • I am bartoszhernas on github.
  • I am bartosz (https://keybase.io/bartosz) on keybase.
  • I have a public key whose fingerprint is C49A 21CC CF89 411F CD52 F78C E5B2 300C 040D 7D52

To claim this, I am signing this object:

@bartoszhernas
bartoszhernas / ph_voters.py
Created July 18, 2016 17:57
How to send tweets to all ProductHunt upvoters
# -*- coding: utf-8 -*-
# I was lazy, so go and set up Twitter command line tool: https://github.com/sferik/t
# so when you type `t update Hi` it posts to Twitter
# Then this script will send the same twitt every 5 secs to each upvoter
last_user = None # In case you stop the script in middle, just put the last username here and all users up to this one will be skipped
from __future__ import absolute_import, unicode_literals
import logging