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
# This is optional and can be removed if you already have the SoftLayer | |
# directory that contains this module in your @INC path. | |
use lib 'Softlayer'; | |
use SoftLayer::API::SOAP; | |
use Data::Dumper; | |
my %config = do 'apiconfig.pl'; | |
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 | |
apiUser = (api username) | |
apiKey = (api key) | |
client=SoftLayer.Client(username=apiUser,api_key=apiKey) | |
acctalarms=client['Account'].getActiveAlarms() | |
for alarm in acctalarms: | |
hostname = client['Monitoring_Robot'].getObject(id=alarm['robotId'],mask="mask[softwareComponent[virtualGuest,hardware]]") |
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 | |
apiUser = <api user> | |
apiKey = <api key> | |
client = SoftLayer.Client(username=apiUser,api_key=apiKey) | |
serverId = <server id> | |
try: |
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
<?php | |
// apiconfig.php needs to have apiUsername, apiKey, and the path to the SLApi file that used to be in this script. | |
require_once('configuration/apiconfig.php'); | |
$newPassword = readline("New password: "); | |
$client = SoftLayer_SoapClient::getClient('SoftLayer_Account', null, SLAPI_USER, SLAPI_KEY); | |
$user = $client->getCurrentUser(); |
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
# This is optional and can be removed if you already have the SoftLayer | |
# directory that contains this module in your @INC path. | |
use lib 'Softlayer'; | |
my %config = do 'apiconfig.pl'; | |
use SoftLayer::API::SOAP; | |
use Data::Dumper; | |
use MIME::Base64; | |
use Data::Printer; | |
my $acctClient = SoftLayer::API::SOAP->new('SoftLayer_Account','',$config{apiUser},$config{apiKey}); |
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
#!/bin/sh | |
#Lists all users that share a password with other users. Sorted by the duplicate passwords. This could probably be optimized in a hundred different ways, but it works. | |
#Grab our list of duplicate passwords | |
mysql psa -BNse "select password from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id and postbox = 'true' group by password having COUNT(*) > 1" | while read -r line | |
do | |
echo "=====" | |
echo "Users with password $line" | |
echo "=====" |
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
---- Minecraft Crash Report ---- | |
// I bet Cylons wouldn't have this problem. | |
Time: 2025-04-08 22:57:45 | |
Description: Unexpected error | |
java.lang.IllegalStateException: Entity class net.minecraft.world.entity.vehicle.Boat has not defined synched data value 15 | |
at TRANSFORMER/[email protected]/net.minecraft.network.syncher.SynchedEntityData$Builder.build(SynchedEntityData.java:167) ~[client-1.21.1-20240808.144430-srg.jar%23183!/:?] {re:classloading} | |
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Entity.<init>(Entity.java:267) ~[client-1.21.1-20240808.144430-srg.jar%23183!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:tombstone.mixins.json:EntityMixin from mod tombstone,pl:mixin:APP:ponder.mixins.json:accessor.EntityAccessor from mod ponder,pl:mixin:APP:create.mixins.json:client.EntityContraptionInteractionMixin from mod create,pl:mixin:APP:create.mixins.json:EntityMixin from mod create,pl:mixin:A} | |
at TRANSFORMER/m |
OlderNewer