Skip to content

Instantly share code, notes, and snippets.

View gummibeatz's full-sized avatar

Linus Liang gummibeatz

  • Ingest
  • New York, NY
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gummibeatz on github.
  • I am gummibeatz (https://keybase.io/gummibeatz) on keybase.
  • I have a public key ASB8w--hPISkQbLN91hkDzUd2MUObJ6KTwpavDYYgzNmIAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am gummibeatz on github.
  • I am gummibeatz (https://keybase.io/gummibeatz) on keybase.
  • I have a public key ASCiT1k02HzSoktTbMpKjNOJ9QN6KBcY9rkn2XsUDbvcCAo

To claim this, I am signing this object:

# new algo for grabbing images
with open('acl_instagram_testand.txt', 'a') as f:
image_src_set = Set()
# get image paths
while(len(image_src_set) < stop):
nodes = driver.find_elements_by_xpath('//div[@class="'+'_ovg3g'+'"]')
# get last element of selected nodes
node_count = len(nodes)
node_count_offset = 1
node = nodes[node_count - node_count_offset]
{
"grabbing_user_tweets_twitter_consumer_key": "",
"grabbing_user_tweets_twitter_consumer_secret": "",
"grabbing_user_tweets_twitter_token_key": "",
"grabbing_user_tweets_twitter_token_secret": "",
"who_are_the_followers_following_twitter_consumer_key": "",
"who_are_the_followers_following_twitter_consumer_secret": "",
"who_are_the_followers_following_twitter_token_key": "",
"who_are_the_followers_following_twitter_token_secret": "",
"get_followers_twitter_consumer_key": "",
def solution(num):
num_str = str(num)
solution_set = Set()
for subset in permutations(num_str, len(num_str)):
if subset[0] != '0' or len(subset) == 1:
solution_set.add(subset)
return len(solution_set)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.curate.twitter-scraper-COMPANY_NAME.plist</string>
<key>WorkingDirectory</key>
<string>/Volumes/LINUS_USB/Twitter-Scraper</string>
<key>ProgramArguments</key>
<array>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.curate.twitter-personality-insights-COMPANY_NAME.plist</string>
<key>WorkingDirectory</key>
<string>/Volumes/LINUS_USB/Twitter-Scraper</string>
<key>ProgramArguments</key>
<array>
{u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 28599082, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/95990738/cubednoahli-leger.jpg', u'verified': False, u'blocked_by': False, u'profile_text_color': u'333333', u'muting': False, u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/120144323/Barney_boy_normal.jpg', u'profile_sidebar_fill_color': u'DDFFCD', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/dEjHEG7tkv', u'indices': [0, 22], u'expanded_url': u'http://www.dallasframearts.com', u'display_url': u'dallasframearts.com'}]}, u'description': {u'urls': []}}, u'followers_count': 409, u'profile_sidebar_border_color': u'BDDCAD', u'id_str': u'28599082', u'profile_background_color': u'FFFFFF', u'listed_count': 6, u'status': {u'contributors': None, u'truncated': False, u'text': u'RT @RogersNHLGCL: Mark Messier will be taking over this account at 3pmET to
[{u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 28599082, u'profile_background_image_url_https': u'https://pbs.twimg.com/profile_background_images/95990738/cubednoahli-leger.jpg', u'verified': False, u'blocked_by': False, u'profile_text_color': u'333333', u'muting': False, u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/120144323/Barney_boy_normal.jpg', u'profile_sidebar_fill_color': u'DDFFCD', u'entities': {u'url': {u'urls': [{u'url': u'http://t.co/dEjHEG7tkv', u'indices': [0, 22], u'expanded_url': u'http://www.dallasframearts.com', u'display_url': u'dallasframearts.com'}]}, u'description': {u'urls': []}}, u'followers_count': 409, u'profile_sidebar_border_color': u'BDDCAD', u'id_str': u'28599082', u'profile_background_color': u'FFFFFF', u'listed_count': 6, u'status': {u'contributors': None, u'truncated': False, u'text': u'RT @RogersNHLGCL: Mark Messier will be taking over this account at 3pmET t
func profile(block:(()->())) {
let start = NSDate()
block()
let end = NSDate()
print(end.timeIntervalSinceDate(start))
}
//run your function/code inside the block below
profile({