A Pen by Shivam Mathur on CodePen.
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 json | |
username = "" | |
password = "" | |
ghin_list = [] # comma-separated list of GHINs | |
def login(username,password): | |
login_url = 'https://api.ghin.com/api/v1/golfer_login.json' |
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 json | |
email_or_ghin = "" | |
password = "" | |
url = "https://api2.ghin.com/api/v1/golfer_login.json" | |
headers = {"accept": "application/json", "Content-Type": "application/json"} | |
data = { |
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 | |
street_address = "110601 5th Ave NE" | |
zip_code = "98125" | |
data = {} | |
url = f"http://webgis.dor.wa.gov/webapi/AddressRates.aspx?output=text&addr={street_address}&city=&zip={zip_code}" | |
response = requests.get(url) | |
for item in response.text.split(): |
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
const abi = [{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"reservedSupply","type":"uint256"},{"internalType":"uint256","name":"tokensPerMint","type":"uint256"},{"internalType":"address payable","name":"treasuryAddress","type":"address"}],"internalType":"struct NFTCollection.DeploymentConfig","name":"deploymentConfig","type":"tuple"},{"components":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bool","name":"metadataUpdatable","type":"bool"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"bool","name":"publicMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"bool","name":"presaleMintPriceFrozen","type":"bool"},{"internalType":"uint2 |
Follow the instructions on Github to Create an Access Token in Github
By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.
You can tell Git you want to store credentials in the osxkeychain by running the following:-
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
// MultiExporter.jsx | |
// Version 0.1 | |
// Version 0.2 Adds PNG and EPS exports | |
// Version 0.3 Adds support for exporting at different resolutions | |
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
// Version 0.5 Fixed cropping issues | |
// Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
// | |
// Copyright 2013 Tom Byrne | |
// Comments or suggestions to [email protected] |
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
#!/bin/bash | |
echo "Loading lab 1 config on mxA" | |
ssh 172.25.11.1 "configure;load override /var/home/lab/jmf/lab1-start.config;commit and-quit" | |
echo | |
echo | |
echo "*************************" | |
echo "Loading lab 1 config on mxB" | |
ssh 172.25.11.2 "configure;load override /var/home/lab/jmf/lab1-start.config;commit and-quit" | |
echo |
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
#target illustrator | |
//#targetengine main | |
// script.name = insertPageNumbers_v2.jsx; // works with CS4 & CS5 | |
// script description = Inserts page numbers (or any other text) to all artboards in the active document; | |
// script.required = at least one open document | |
// script.parent = CarlosCanto // 5/25/12; | |
// script.elegant = false; | |
// script.updates = added options to insert Date, Time, Full File Name, & File Name; |
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
## Specs: | |
8x CPU | |
32GB RAM | |
128GB HD | |
1 NIC | |
Ubuntu 14.04.2 (ubuntu-14.04.2-server-amd64.iso) | |
Contrail 3.0 (contrail-install-packages_3.0.0.0-2725-ubuntu-14-04kilo_all.deb) |
NewerOlder