This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cdn.mxpnl.com/libs/mixpanel-2-latest.min.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT | |
3001.scriptcdn.net/code/static/1:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT | |
apimprodenvironment.azure-api.net/prod-private-api/Accounts/GetAccountColor/:1 Failed to load resource: the server responded with a status of 404 (Resource Not Found) | |
apimprodenvironment.azure-api.net/prod-private-api/Chargify/GetAccountSubscriptionDetails/:1 Failed to load resource: the server responded with a status of 404 (Resource Not Found) | |
apimprodenvironment.azure-api.net/prod-private-api/Accounts/GetUniqueStyleCount/:1 Failed to load resource: the server responded with a status of 404 (Resource Not Found) | |
apimprodenvironment.azure-api.net/prod-private-api/Accounts/GetMarketMoodPercent/:1 Failed to load resource: the server responded with a status of 404 (Resource Not Found) | |
apimprodenvironment.azure-api.net/prod-private-api/Accounts/Get30DaysDiscoveryCompletionByAccount/:1 Failed to load reso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import random | |
from bs4 import BeautifulSoup | |
r = requests.get("https://meetingplace.io/indypy/events/2649/rsvps") | |
soup = BeautifulSoup(r.text) | |
members = soup.findAll("div", {"class":"member-name"}) | |
print(random.choice([t.text for t in members])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Driver Info: | |
Driver name : uvcvideo | |
Card type : Logitech BRIO | |
Bus info : usb-0000:38:00.0-2 | |
Driver version : 5.4.44 | |
Capabilities : 0x84a00001 | |
Video Capture | |
Metadata Capture | |
Streaming | |
Extended Pix Format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
from urllib.parse import urlparse | |
import click | |
import requests | |
from bs4 import BeautifulSoup | |
@click.command() | |
@click.argument('url') | |
def grab_twitter_handles(url): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from pprint import pprint | |
import requests | |
def grab_data(): | |
cdn = os.environ["SE_CDN"] | |
secret = os.environ["SE_SECRET"] | |
api_endpoint = f"https://{cdn}:{secret}@api.scaleengine.net/v2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import hashlib | |
import hmac | |
import json | |
import os | |
import time | |
import requests | |
api_endpoint = "https://api.scaleengine.net/stable/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Calvin Hendryx-Parker", | |
"label": "CTO and Co-Founder", | |
"picture": "https://s.gravatar.com/avatar/4d1fa184d439599ed301821daec94063", | |
"email": "calvin@sixfeetup.com", | |
"phone": "+1 (415) 320-3308", | |
"website": "http://about.me/calvinhp", | |
"summary": "Calvin Hendryx-Parker is the co-founder and CTO of Six Feet Up, a Python development and Cloud consulting company established in 1999. At Six Feet Up, Calvin establishes the company's technical vision and leads all aspects of the company's technology development. He provide the strategic vision for enhancing the offerings of the company and infrastructure, and works with the team to set company priorities and implement processes that will help improve product and service development. Calvin is the co-founder of the Python user group IndyPy, the largest tech meetup in Indiana with 1,700+ members. In 2017, he also founded IndyAWS, now the fastest growing cloud meetup in the state with 700+ members.", | |
"location": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /srv/salt/upgrade_the_app.sls | |
# Example of a complex, multi-host Orchestration state that performs status checks as it goes. | |
# Note, this is untested and is meant to serve as an example. | |
# Run via: salt-run state.orch upgrade_the_app pillar='{nodes: [nodeA, nodeB], version: 123}' | |
{% set nodes = salt.pillar.get('nodes', []) %} | |
{% set all_grains = salt.saltutil.runner('cache.grains', | |
tgt=','.join(nodes), tgt_type='list') %} | |
{# Default version if not given at the CLI. #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am calvinhp on github. | |
* I am calvinhp (https://keybase.io/calvinhp) on keybase. | |
* I have a public key whose fingerprint is E88A B6EC D770 CEDF CFF9 A1B9 E46C C198 87CE 0B0D | |
To claim this, I am signing this object: |
NewerOlder