ff
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
from math import sqrt | |
import numpy as np | |
import io | |
def read_training(d): |
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import requests | |
apiToken = os.environ["PACKET_API_TOKEN"] | |
assert(len(apiToken)) | |
apiUrl = "https://api.packet.net" | |
headers = {"X-Auth-Token": apiToken} |
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
locals { | |
project_id = "408b7fd3-0df2-4837-b0df-65aaf09f642a" | |
ud = <<EOS | |
#cloud-config | |
coreos: | |
units: | |
- name: "docker-prometheus-node-exporter.service" | |
command: "start" | |
content: | | |
[Unit] |
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
variable "bgp_password" { | |
type = "string" | |
default = "955dB0b81Ef" | |
} | |
variable "worker_count" { | |
type = "string" | |
default = "2" |
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
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
# to spawn a vm in Openstack (tested in Folsom) | |
# - source openrc.sh and fill your password | |
# - $ vagrant plugin install vagrant-openstack | |
# - $ export VAGRANT_DEFAULT_PROVIDER=openstack | |
# - edit this Vagrant file | |
# $ vagrant up |
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
! 9/21/2015, 11:16:19 AM https://www.facebook.com/ | |
www.facebook.com###stream_pagelet | |
! 9/21/2015, 11:16:36 AM https://www.facebook.com/ | |
www.facebook.com###u_jsonp_9_1 | |
! 9/21/2015, 11:16:50 AM https://www.facebook.com/ | |
www.facebook.com###blueBarNAXAnchor > .__wu.clearfix._uaw > ._fmc > ._2gyi > ._2gyj |
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
#!/home/core/bin/python | |
APP_PATH = '/apps' | |
CONFIG = 'config.yml' | |
import os | |
import yaml | |
import json | |
import subprocess |
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
ssh-dss AAAAB3NzaC1kc3MAAACBAIqQWAYfwOYRouaFEPAjtQIDDvQMMni4IUS69f6gQRl6CoHBJHYXpqgaeK3HeYOLYdGtYIfy6UMuGie0W1JAXMsIDYBpuHHYed0Kou18MNiLpwihR0lKd0kM11UwPvirexLelr3RtUVTR1VQ4DvceBFCUtXFE323F8Ln0scnjhUjAAAAFQCJ/Wh36uhh/jcT66DqKgKsy4mh0wAAAIBKgPr3SfVSCyc7HG8ed4F+utjblW39sXSEQJifbjGmWB9lFu/vcAiYYGqrmZqqJl9AhK7buZ2PcbqMVL4swAeV7SQqGHf7VhDHlaaNR6sVbnDbiTMTBjq1H4SJkihK9JcIBaYakhppyLMVKb2La6BDrZPwGuZsv6ZSHXy2ESZobAAAAIBGjgIlhL+FkLZulIVVeUkaPDIp4OvKEQRiPNSU6RtZl4u5Relk4oj8bzRV6GlFnxfuzg3o/xQacMijCllSWTSBB6lrZ7G6A2QraLeoHZoubExhtcZnH5K8ekVm02Di4sS3EhGcnZ1oUSg4vzxMn73biZBAfS6/VfpjKufSLAybng== tomk@Tomass-MacBook-Pro.local |
NewerOlder