-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
// Script to ensure timeago keeps working when | ||
// used with mkdocs-material's instant loading feature | ||
// Script to ensure timeago keeps working when | ||
// used with mkdocs-material's instant loading feature | ||
|
||
function getLocale(element) { | ||
var raw_locale = element.getAttribute('locale'); | ||
var locale = { | ||
bn: 'bn_IN', | ||
en: 'en_US', | ||
hi: 'hi_IN', | ||
id: 'id_ID', | ||
nb: 'nb_NO', | ||
nn: 'nn_NO', | ||
pt: 'pt_BR', | ||
zh: 'zh_CN' | ||
}[raw_locale]; | ||
return locale ? locale : raw_locale; | ||
} | ||
|
||
if (typeof document$ !== "undefined") { | ||
document$.subscribe(function() { | ||
var nodes = document.querySelectorAll('.timeago'); | ||
if (nodes.length > 0) { | ||
var locale = nodes[0].getAttribute('locale'); | ||
timeago.render(nodes, locale); | ||
var locale = getLocale(nodes[0]); | ||
timeago.render(nodes, locale); | ||
} | ||
}) | ||
} else { | ||
var nodes = document.querySelectorAll('.timeago'); | ||
if (nodes.length > 0) { | ||
var locale = nodes[0].getAttribute('locale'); | ||
timeago.render(nodes, locale); | ||
var locale = getLocale(nodes[0]); | ||
timeago.render(nodes, locale); | ||
} | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
mkdocs-git-authors-plugin>=0.7.0 | ||
mkdocs-git-revision-date-localized-plugin>=1.2.0 | ||
mkdocs-git-revision-date-localized-plugin>=1.2.2 | ||
mkdocs-markdownextradata-plugin>=0.2.5 | ||
mkdocs-minify-plugin>=0.6.4 | ||
mkdocs-open-in-new-tab>=1.0.2 | ||
mkdocs-minify-plugin>=0.7.2 | ||
mkdocs-open-in-new-tab>=1.0.3 |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
scp -r /home/modules/* username@remote_host:/home/lab/.local/share/powershell/Modules/ | ||
~/.local/share/powershell/Modules/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cd ~/.local/share/powershell/Modules/ | ||
tar -zxvf OfflineModules.tar.gz | ||
rm -rf OfflineModules.tar.gz |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
Import-Module -Name VMware.PowerCLI | ||
Import-Module -Name PowerVCF | ||
Import-Module -Name Posh-SSH | ||
Import-Module -Name VMware.CloudFoundation.PowerManagement | ||
Import-Module -Name VMware.CloudFoundation.PowerManagement |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
Import-Module -Name VMware.PowerCLI | ||
Import-Module -Name PowerVCF | ||
Import-Module -Name Posh-SSH | ||
Import-Module -Name VMware.CloudFoundation.PowerManagement |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | ||
Install-Module -Name VMware.PowerCLI -MinimumVersion 13.0.0 -Repository PSGallery | ||
Install-Module -Name PowerVCF -MinimumVersion 2.3.0 -Repository PSGallery | ||
Install-Module -Name VMware.PowerCLI -MinimumVersion 13.3.0 -Repository PSGallery | ||
Install-Module -Name PowerVCF -MinimumVersion 2.4.1 -Repository PSGallery | ||
Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.11.0 -Repository PSGallery | ||
Install-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Repository PSGallery | ||
Install-Module -Name VMware.CloudFoundation.PowerManagement -Repository PSGallery |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$DownloadDir = "~/DownloadModules" | ||
mkdir $DownloadDir |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.0.0 -Path /home/modules -Repository PSGallery | ||
Save-Module -Name PowerVCF -MinimumVersion 2.3.0 -Path /home/modules -Repository PSGallery | ||
Save-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Path /home/modules -Repository PSGallery | ||
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path /home/modules -Repository PSGallery | ||
Save-Module -Name VMware.PowerCLI -Path $DownloadDir -Repository PSGallery | ||
Save-Module -Name PowerVCF -Path $DownloadDir -Repository PSGallery | ||
Save-Module -Name Posh-SSH -Path $DownloadDir -Repository PSGallery | ||
Save-Module -Name PowerValidatedSolutions -Path $DownloadDir -Repository PSGallery | ||
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path $DownloadDir -Repository PSGallery | ||
cd $DownloadDir | ||
tar -zcvf OfflineModules.tar.gz * |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.0.0 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name PowerVCF -MinimumVersion 2.3.0 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.3.0 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name PowerVCF -MinimumVersion 2.4.1 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name PowerValidatedSolutions -MinimumVersion 2.11.0 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Path F:\Module\ -Repository PSGallery | ||
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path F:\Module\ -Repository PSGallery |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Update-Module -Name VMware.PowerCLI | ||
Update-Module -Name PowerVCF | ||
Update-Module -Name PowerValidatedSolutions | ||
Update-Module -Name Posh-SSH |