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 matplotlib.pyplot as plt | |
import numpy as np | |
# Simple projectile calculations using numpy and matplotlib | |
# Author : Dominic Giles | |
g = 9.8 # gravity | |
h = 0 # height where projectile is launched from | |
v = 10.0 # velocity of launch |
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 argparse | |
import datetime | |
import os | |
import socket | |
import cx_Oracle | |
import paramiko | |
from colorama import Fore | |
from colorama import Style |
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
from __future__ import print_function | |
import argparse | |
import os | |
import time | |
import humanize | |
import psutil | |
from colorama import Fore, Back | |
from colorama import Style, init |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
sed -i -e 's/<LogonGroupCount>1<\/LogonGroupCount>/<LogonGroupCount>5<\/LogonGroupCount>/' \ | |
-e 's/<LogonDelay>0<\/LogonDelay>/<LogonDelay>300<\/LogonDelay>/' \ | |
-e 's/<WaitTillAllLogon>true<\/WaitTillAllLogon>/<WaitTillAllLogon>false<\/WaitTillAllLogon>/' \ | |
../configs/SOE_Server_Side_V2.xml |
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
./charbench -c ../configs/SOE_Server_Side_V2.xml \ | |
-cf ~/wallet_SBATP.zip \ | |
-cs sbatp_low \ | |
-u soe \ | |
-p <your soe password> \ | |
-v users,tpm,tps,vresp \ | |
-intermin 0 \ | |
-intermax 0 \ | |
-min 0 \ | |
-max 0 \ |
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
./oewizard -cf ~/wallet_SBATP.zip \ | |
-cs sbatp_medium \ | |
-ts DATA \ | |
-dbap <your admin password> \ | |
-dba admin \ | |
-u soe \ | |
-p <your soe password> \ | |
-async_off \ | |
-scale 5 \ | |
-hashpart \ |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<CPUMonitor Title="Compute Nodes" xmlns="http://www.dominicgiles.com/cpumonitor"> | |
<MonitoredNode> | |
<HostName>129.146.65.101</HostName> | |
<Username>opc</Username> | |
<Password>Your ssh password</Password> | |
<Port>22</Port> | |
<PrivateKey>/Users/dgiles/.ssh/id_rsa</PrivateKey> | |
<Comment>OCI Server</Comment> | |
</MonitoredNode> |