This file contains hidden or 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 time | |
import urllib | |
import bs4 | |
import requests | |
start_url = "https://en.wikipedia.org/wiki/Special:Random" | |
target_url = "https://en.wikipedia.org/wiki/Philosophy" | |
def find_first_link(url): |
This file contains hidden or 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
pragma solidity ^0.5.0; | |
import "./Utils.sol"; | |
import "github.com/oraclize/ethereum-api/oraclizeAPI.sol"; | |
contract ERC20Basic is usingOraclize{ | |
using Utils for *; | |
string public constant name = "ERC20Basic"; |
This file contains hidden or 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
# update | |
sudo apt-get update | |
sudo apt-get -qq update | |
# Install kubectl | |
sudo curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
sudo chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
# Install kubectx (Switch between Kubernetes contexts/namespaces) |