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
version: '3.5' | |
networks: | |
home_network: | |
external: true | |
services: | |
adguardhome: | |
container_name: adguardhome | |
image: adguard/adguardhome |
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
Season | tier1_from | tier1_to | tier2_cost | tier2_from | tier2_to | tier2_cost | tier3_from | tier3_to | tier3_cost | tier4_from | tier4_to | tier4_cost | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
October | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
Novermber | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
December | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
January | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
February | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
March | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
April | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
May | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 | |
June | 0 | 16 | 8.363 | 16 | 24 | 8.831 | 24 | 40 | 8.577 | 40 | 9999 | 11.076 |
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
def my_import(name): | |
mod = __import__(name) | |
components = name.split('.') | |
for comp in components[1:]: | |
mod = getattr(mod, comp) | |
return mod | |
Then you can do: | |
mod = my_import('package.' + name) |
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
year | month | HP | LP | B | |
---|---|---|---|---|---|
2022 | 1 | 0.20526 | 0.20526 | 0.18172 | |
2022 | 2 | 0.20526 | 0.20526 | 0.18172 | |
2022 | 3 | 0.20526 | 0.20526 | 0.18172 | |
2022 | 4 | 0.20326 | 0.20326 | 0.17972 | |
2022 | 5 | 0.20326 | 0.20326 | 0.17972 | |
2022 | 6 | 0.26166 | 0.20326 | 0.17582 | |
2022 | 7 | 0.2697 | 0.2113 | 0.18386 | |
2022 | 8 | 0.2697 | 0.2113 | 0.18386 | |
2022 | 9 | 0.2697 | 0.2113 | 0.18386 |
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
private static readonly string ExtensionVersion = FileVersionInfo.GetVersionInfo(typeof(DurableTaskExtension).Assembly.Location).FileVersion; |
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 | |
rolesrepo="https://dev.azure.com/[org]/[project]/_apis/git/repositories?api-version=5.0" | |
personal_access_token="Username:zzzzzzzzz" #create PAT from secruity menu of your user profile. | |
user="" | |
base64AuthInfo="$(echo $personal_access_token | base64))" | |
#printf "The string\n[$personal_access_token]\nencodes into base64 as:\n[$base64AuthInfo]\n" | |
#curl $rolesrepo -H "Authorization=Basic $base64AuthInfo" | |
curl --request GET \ |
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
[defaults] | |
roles_path = ~/ | |
host_key_checking = False | |
stdout_callback = debug | |
log_path=~/ansible-playbook-log.txt |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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
#!/usr/bin/python | |
DOCUMENTATION = ''' | |
--- | |
module: github_repo | |
short_description: Manage your repos on Github | |
''' | |
EXAMPLES = ''' | |
- name: Create a github Repo |
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
#Downloads latest paket.bootstrapper.exe from github | |
$urlbase = "https://github.com" | |
$latestPage="$urlbase/fsprojects/Paket/releases/latest" | |
$exe = "paket.bootstrapper.exe" | |
Write-Host "Parsing latest release page: $latestPage" | |
$urlRegex = '<a\s+(?:[^>]*?\s+)?href=(["''])(.*?)paket.bootstrapper.exe\1' | |
$wc=new-object net.webclient |
NewerOlder