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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2.0.22 (GNU/Linux) | |
mQENBE5OMmIBCAD+FPYKGriGGf7NqwKfWC83cBV01gabgVWQmZbMcFzeW+hMsgxH | |
W6iimD0RsfZ9oEbfJCPG0CRSZ7ppq5pKamYs2+EJ8Q2ysOFHHwpGrA2C8zyNAs4I | |
QxnZZIbETgcSwFtDun0XiqPwPZgyuXVm9PAbLZRbfBzm8wR/3SWygqZBBLdQk5TE | |
fDR+Eny/M1RVR4xClECONF9UBB2ejFdI1LD45APbP2hsN/piFByU1t7yK2gpFyRt | |
97WzGHn9MV5/TL7AmRPM4pcr3JacmtCnxXeCZ8nLqedoSuHFuhwyDnlAbu8I16O5 | |
XRrfzhrHRJFM1JnIiGmzZi6zBvH0ItfyX6ttABEBAAG0KW5naW54IHNpZ25pbmcg | |
a2V5IDxzaWduaW5nLWtleUBuZ2lueC5jb20+iQE+BBMBAgAoAhsDBgsJCAcDAgYV |
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
ECHO OFF | |
cd /d %~dp0 | |
for /f "tokens=2* delims= " %%F IN ('vagrant status ^| find /I "default"') DO (SET "STATE=%%F%%G") | |
ECHO Close this window if it remains open, and http://localhost:8081 is responsive | |
IF "%STATE%" NEQ "saved" ( | |
ECHO Starting Vagrant VM from powered down state... | |
vagrant up | |
) ELSE ( |
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
#!/bin/csh | |
################################################################# | |
# Csh Script to retrieve 45 online Data files of 'ds083.2', | |
# total 867.77M. This script uses 'wget' to download data. | |
# | |
# Highlight this script by Select All, Copy and Paste it into a file; | |
# make the file executable and run it on command line. | |
# | |
# You need pass in your password as a parameter to execute | |
# this script; or you can set an environment variable RDAPSWD |
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
&time_control | |
run_days = 0, | |
run_hours = 12, | |
run_minutes = 0, | |
run_seconds = 0, | |
start_year = 2017, 2017, 2017, | |
start_month = 05, 05, 05, | |
start_day = 11, 11, 11, | |
start_hour = 00, 00, 00, | |
start_minute = 00, 00, 00, |
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
&share | |
wrf_core = 'ARW', | |
max_dom = 2, | |
start_date = '2017-05-11_00:00:00','2017-05-11_00:00:00', | |
end_date = '2017-05-22_00:00:00','2017-05-22_00:00:00', | |
interval_seconds = 21600 | |
io_form_geogrid = 2, | |
/ | |
&geogrid |
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
#!/bin/sh | |
############## Define those variables for the tenant | |
TENANT=$1 | |
PASSWORD=$2 | |
TENANT_DESC="$3" | |
TENANT_EMAIL="$4" | |
TENANT_NET_CIDR="10.0.1.0/24" | |
TENANT_NET_GW="10.0.1.1" | |
DEFAULT_DNS="8.8.8.8" |
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
!!!Say hello!!! | |
--------------- | |
Demonstrative application for APIServer | |
using I/O Sandboxing and arguments | |
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
#!/bin/bash | |
INPFILE=sayhello.txt | |
DATAFILE=sayhello.data | |
DELAY=2 | |
printf "starting at: " ; date | |
printf "running on: "; $(hostname -f) | |
printf "whoami: "; whoami | |
printf "home: "; echo $HOME | |
printf "listing home:\n" | |
ls -l $HOME |
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
## COMMAND | |
curl -o sayhello.out -X GET "http://151.97.41.66:8888/v1.0/file?path=%2Ftmp%2F137e989e-abdf-11e6-b19b-fa163e72d9ab%2F16tmp137e989eabdf11e6b19bfa163e72d9ab_48&name=sayhello.out" |
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
## COMMAND | |
curl -i -F "file[][email protected]" -F "file[][email protected]" "http://151.97.41.66:8888/v1.0/tasks/16/input?user=user" | |
## EXPECTED OUTPUT | |
{ | |
"files": [ | |
"sayhello.txt", | |
"sayhello.sh" | |
], | |
"message": "uploaded", |
NewerOlder