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 SoftLayer.API | |
from pprint import pprint as pp | |
api_username = '' | |
api_key = '' | |
client = SoftLayer.Client( | |
username=api_username, | |
api_key=api_key, | |
) | |
ip_address = '192.155.223.148' |
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 SoftLayer.API | |
from pprint import pprint as pp | |
api_username = '' | |
api_key = '' | |
hostname = 'pjackson-video' | |
domain_name = 'example.com' | |
client = SoftLayer.Client( |
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
#!/usr/bin/env python | |
import SoftLayer.API | |
from pprint import pprint as pp | |
api_username = '' | |
api_key = '' | |
client = SoftLayer.Client( | |
username=api_username, | |
api_key=api_key, |
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
source /Users/_phil/Documents/antigen/antigen.zsh | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh | |
# Bundles from the default repo (robbyrussell's oh-my-zsh). | |
antigen bundle git | |
antigen bundle pip | |
# Extra bundles |
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
<TaskerData dvi="1" sr="" tv="4.4u2m"> | |
<Task sr="task9"> | |
<cdate>1395068390823</cdate> | |
<edate>1407798105260</edate> | |
<id>9</id> | |
<nme>Toggle Silent</nme> | |
<pri>10</pri> | |
<Action sr="act0" ve="6"> | |
<code>37</code> | |
<ConditionList sr="if"> |
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
#!/usr/bin/env python | |
import os | |
import sys | |
import SoftLayer.API | |
from pprint import pprint as pp | |
api_username = '' | |
api_key = '' |
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
require 'softlayer_api' | |
require 'table_print' | |
softlayer_client = SoftLayer::Client.new() | |
account = SoftLayer::Account.account_for_client(softlayer_client) | |
servers = SoftLayer::VirtualServer.find_servers(:client => softlayer_client, :object_mask => 'mask[location.pathString]') | |
location_info = servers.map do |server| | |
datacenter, server_room, rack, slot = server['location']['pathString'].split('.') | |
{ :server => server.fullyQualifiedDomainName, |
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
require 'softlayer_api' | |
require 'table_print' | |
softlayer_client = SoftLayer::Client.new() | |
account = SoftLayer::Account.account_for_client(softlayer_client) | |
servers = SoftLayer::VirtualServer.find_servers(:client => softlayer_client, :object_mask => 'mask[location.pathString]') | |
location_info = servers.map do |server| | |
datacenter, server_room, rack, slot = server['location']['pathString'].split('.') | |
{ :server => server.fullyQualifiedDomainName, |
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 SoftLayer.API | |
from pprint import pprint as pp | |
api_username = '' | |
api_key = '' | |
quote_id = 1234 | |
client = SoftLayer.Client( | |
username=api_username, |
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 SoftLayer.API | |
from pprint import pprint as pp | |
apiUsername = '' | |
apiKey = '' | |
client = SoftLayer.Client( | |
username=apiUsername, | |
api_key=apiKey, | |
) |