(Et pour voir les départements les plus accueillants, c'est ici: https://gist.github.com/cerisara/928ad03cf15c77dda8897c2cf49ef27d )
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
version: '2' | |
services: | |
mariadb: | |
image: mariadb | |
container_name: gladys-mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: "root" | |
MYSQL_DATABASE: "gladys" | |
restart: always |
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
// 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 |
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 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 |
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
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 |
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
package main | |
import ( | |
"fmt" | |
"os" | |
) | |
func main() { | |
if len(os.Args) != 2 { | |
fmt.Println("usage: spamcause gggruggvucft...") |
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 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" |
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
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 [email protected] |
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
#!/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", |