- Init examples:
terraform init -backend-config="azure.sas.conf"
terraform init -backend-config="azure.sas.conf" -reconfigure
- Plan examples
terraform plan -var "prefix=${prefix}" -out "main.tfplan"
terraform plan -var "prefix=${prefix}" -var "sql_admin_password=$env:MANGO_TF_SQL_PASS" -out "main.tfplan"
terraform plan -var "prefix=${prefix}" -var "os_profile_admin_password=1wSWB2Mbl8918kFvtwac" -out "main.tfplan"
terraform plan -var-file='terraform.dev.tfvars' -var sql_admin_username='razumovsky_r' -var sql_admin_password='Zd2yqLgyV4uHVC0eTPiH' -out 'main.tfplan'
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
(* Requires package: PlotsOfClosedForms.m, see https://github.com/kolosovpetro/AnEfficientMethodOfSplineApproximation*) | |
f1[X_] := X^7; | |
f2[X_] := P[3, X, 50]; | |
absError[X_] := Abs[f1[X] - f2[X]]; | |
relativeError[X_] := absError[X]/ Abs[f1[X]]; | |
percentError[X_] := relativeError[X]*100; | |
(* Generate the table with step 0.1 *) | |
step = 0.1; |
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
# needrestart - Restart daemons after library updates. | |
# | |
# This is the configuration file of needrestart. This is perl syntax. | |
# needrestart uses reasonable default values, you might not need to | |
# change anything. | |
# | |
# Verbosity: | |
# 0 => quiet | |
# 1 => normal (default) |
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
# Install Chocolatey | |
Set-ExecutionPolicy Bypass -Scope Process -Force; | |
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); | |
# Upgrade Chocolatey | |
choco upgrade chocolatey | |
# List outdated packages |
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
sfc /scannow | |
chkdsk C: /f /r /x | |
chkdsk D: /f /r /x | |
DISM /Online /Cleanup-Image /CheckHealth | |
DISM /Online /Cleanup-Image /ScanHealth | |
DISM /Online /Cleanup-Image /RestoreHealth | |
DISM /Online /Cleanup-Image /RestoreHealth /Source:F:\Sources\install.wim |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPj/qzriQWtt5OWALjr1Jg+V3xcehsuTE0cVc7IKYFKUjXsjfe6k7Z8MKT74Pz1eG+Ie96SD+LXd+MjhJtitUz6Uye/RkPNnthoADDUUmfWSnyoLWtwAhk/BmxekSCfCqWXGrB0Hm4+GfbBY7kXWsJKET5KRjWIK5TKk+AhN+3n4W/R/6uTIn0jtQ9cndxTg0Wz5elWk6EO35nhL6NMyVEj9lXUA0R+P20UBTCZEDkjRXyYfJoTVjzfupjhM3Zb/pSoD0EgTExRLs36bCwG0M9vRwVWz7HT1t6JznUvHD6EF2XNpe5gz5niXg9QPz2ls5U5QSF5GquIOEYtO2k9fH7 pkolosov@DESKTOP-74EAN6J |
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
trigger: | |
batch: true | |
branches: | |
include: | |
- master | |
paths: | |
include: | |
- '*' | |
#trigger: none |
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 | |
# ============================================================================= | |
# Install AzCopy on Linux | |
# https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10 | |
# https://github.com/Azure/azure-storage-azcopy | |
# ----------------------------------------------------------------------------- | |
# Developer.......: Andre Essing (https://www.andre-essing.de/) | |
# (https://github.com/aessing) | |
# (https://twitter.com/aessing) | |
# (https://www.linkedin.com/in/aessing/) |
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
name: GitHub Pages Deploy | |
on: | |
push: | |
branches: | |
- github-pages | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: |
- "Data Source=DESKTOP-RN0NICT;Initial Catalog=MoviesCodeFirst;Integrated Security=true;"
- "Data Source=DESKTOP-CK5PEBD;Initial Catalog=MANGO_DEV;Integrated Security=true;TrustServerCertificate=True;"
- Server=localhost,1433;Database=MANGO_DEV;User Id=sa;Password=x2yiJt!Fs;TrustServerCertificate=true;
- Server=tcp:database_name.database.windows.net,1433;Initial Catalog=mango-dev-serverless;Persist Security Info=False;User ID={user_name};Password={pass};MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;
NewerOlder