参考: http://netbuffalo.doorblog.jp/archives/4436515.html
https://github.com/cea-hpc/clustershell/releases
% tar zxvf clustershell-1.7.2.tar.gz
% cd clustershell-1.7.2
% python setup.py install
% sudo cp -r conf /etc/clustershell
| require 'mqtt' | |
| require 'json' | |
| HOST = '192.168.x.x' | |
| PORT = 1883 | |
| MQTT::Client.connect(remote_host: HOST, remote_port: PORT, username: 'test', password: 'test') do |client| | |
| client.get('test') do |topic, message| | |
| data = JSON.parse(message) | |
| puts "#{topic}: #{data}.class = #{data.class}" |
参考: http://netbuffalo.doorblog.jp/archives/4436515.html
https://github.com/cea-hpc/clustershell/releases
% tar zxvf clustershell-1.7.2.tar.gz
% cd clustershell-1.7.2
% python setup.py install
% sudo cp -r conf /etc/clustershell
[ec2-user@ip-xxx-xx-xx-xxx ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
stepping : 2
microcode : 0x25
cpu MHz : 1447.125
| #!/bin/bash | |
| # conf | |
| FILENAME=/data/testfile | |
| SIZE=512M | |
| RUNTIME=60 | |
| SLEEPTIME=10 | |
| # exec | |
| #for NUMJOB in 1 2 4 8 16 32 64 128 256; do |
| -- | |
| -- Lua の HTTP module を使用しているため lua-socket パッケージが必要 | |
| -- | |
| http = require("socket.http") | |
| ltn12 = require("ltn12") | |
| -- | |
| -- cache サーバの一覧 | |
| -- | |
| varnishHosts = { |
| on isRunning(appName) | |
| tell application "Finder" to activate | |
| tell application "System Events" to tell process "Finder" to (name of windows) contains appName | |
| end isRunning | |
| on closeDialog(appName) | |
| tell application "System Events" | |
| tell process "Finder" | |
| click button "OK" of window appName | |
| end tell |
| #!/usr/bin/env python | |
| # -* - coding: utf-8 -*- | |
| import argparse | |
| import inspect | |
| import eyed3 | |
| import eyed3.id3 | |
| def convertID3Encoding(audiofile, backup = False): | |
| tag = audiofile.tag | |
| if not tag: |
| class AwesomeToolDownloadStrategy < CurlDownloadStrategy | |
| def fetch | |
| super | |
| rescue CurlDownloadStrategyError => e | |
| opoo <<EOL | |
| awesome-tool のインストールは VPN に接続されている状態で実行する必要があります。 | |
| Download に失敗した場合 VPN に接続されているか確認してください。 | |
| EOL | |
| raise e | |
| end |
installing HPE StoreOpen Software for RHELx64 to Ubuntu 20.04.2 LTS.
Reference: https://rabbit-note.com/2020/01/12/ubuntu-ltfs/
https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=SOS_RHELx64
$ ls| provider "azurerm" { | |
| features { | |
| key_vault { | |
| recover_soft_deleted_key_vaults = false | |
| purge_soft_delete_on_destroy = false | |
| purge_soft_deleted_keys_on_destroy = false | |
| } | |
| } | |
| } |