This small script lets you start iLO Java-based console from shell.
- iLO 2/3 doesn't have HTML5 console
- Mounting local (from the client computer) ISOs is PAINFULLY slow via HTML5 client
If you just start it, it will ask you for everything:
| #!/usr/bin/env bash | |
| # | |
| # Down all running Docker Compose projects | |
| # | |
| docker ps --filter "label=com.docker.compose.project" -q |\ | |
| xargs docker inspect |\ | |
| jq -r 'map( .Config.Labels ) | | |
| map({" | |
| project": ."com.docker.compose.project", |
| ServerName foo.com | |
| Protocols http/1.1 acme-tls/1 | |
| MDCAChallenges tls-alpn-01 | |
| MDCertificateAgreement accepted | |
| MDomain foo.com | |
| MDPrivateKeys RSA 4096 | |
| <VirtualHost _default_:443> | |
| ServerAdmin webmaster@foo.com |
| import requests, pickle | |
| from datetime import datetime | |
| import json, pytz | |
| import pandas as pd | |
| from influxdb import DataFrameClient | |
| # Set "static" variables | |
| login_url = "https://monitoring.solaredge.com/solaredge-apigw/api/login" | |
| panels_url = "https://monitoring.solaredge.com/solaredge-web/p/playbackData" | |
| DAILY_DATA = "4" |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| ) | |
| func main() { | |
| if len(os.Args) != 2 { | |
| fmt.Println("usage: spamcause gggruggvucft...") |
| deb http://deb.debian.org/debian buster main contrib non-free | |
| deb-src http://deb.debian.org/debian buster main contrib non-free | |
| deb http://deb.debian.org/debian buster-updates main contrib non-free | |
| deb-src http://deb.debian.org/debian buster-updates main contrib non-free | |
| deb http://security.debian.org/debian-security/ buster/updates main contrib non-free | |
| deb-src http://security.debian.org/debian-security/ buster/updates main contrib non-free |
| import requests, pickle | |
| from datetime import datetime | |
| import json, pytz | |
| import pandas as pd | |
| from influxdb import DataFrameClient | |
| login_url = "https://monitoring.solaredge.com/solaredge-apigw/api/login" | |
| panels_url = "https://monitoring.solaredge.com/solaredge-web/p/playbackData" | |
| SOLAREDGE_USER = "" # web username |
(Et pour voir les départements les plus accueillants, c'est ici: https://gist.github.com/cerisara/928ad03cf15c77dda8897c2cf49ef27d )
| // Output | |
| // $ time ./.build/x86_64-apple-macosx/release/Runner | |
| // Found 249 Lychrel numbers between 1...10_000 when limited to 500 iterations | |
| // Number of Lychrel seeds found: 5 | |
| // Lychrel seeds found: [196, 879, 1997, 7059, 9999] | |
| // Number of related Lychrel nums found: 244 | |
| // Lychrel palindromes found: [4994, 8778, 9999] | |
| // real 0m0.300s | |
| // user 0m0.289s |