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
# ipsec.conf - strongSwan IPsec configuration file | |
# basic configuration | |
config setup | |
# strictcrlpolicy=yes | |
# uniqueids = no | |
# Add connections here. |
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
# ipsec.conf - strongSwan IPsec configuration file | |
config setup | |
strictcrlpolicy=no | |
charondebug=0 | |
conn %default | |
ikelifetime=60m | |
lifetime=30m | |
rekeymargin=3m |
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
# ipsec.conf - strongSwan IPsec configuration file | |
# basic configuration | |
config setup | |
# strictcrlpolicy=yes | |
# uniqueids = no | |
# Add connections here. |
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
Class Foo(threading.Thread): | |
def __init__(self, ircbot, config): | |
# ... | |
self.handlers = {'comment-added': self.comment_added, | |
'patchset-created': self.patchset_created, | |
'change-merged': self.change_merged, | |
'ref-updated': self.ref_updated} | |
# ... | |
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
$ time nova list | |
ERROR (ClientException): Unknown Error (HTTP 504) | |
real 1m1.622s | |
user 0m0.472s | |
sys 0m0.056s |
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
> Install-Module AzureRM.profile | |
PackageManagement\Install-Package : Package 'AzureRM.profile' failed to be installed because: /tmp/467507599/AzureRM.profile/AzureRM.profile.nuspec At /opt/microsoft/powershell/6.0.0-alpha.10/Modules/PowerShellGet/PSModule.psm1:1711 char:21 + ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidResult: (AzureRM.profile:String) [Install-Package], Exception + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManageme |
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
cjac@xenial0:~$ ls /opt/microsoft/powershell/6.0.0-alpha.10/Modules/ | |
Microsoft.PowerShell.Archive PackageManagement | |
Microsoft.PowerShell.Host Pester | |
Microsoft.PowerShell.Management PowerShellGet | |
Microsoft.PowerShell.Security PSDesiredStateConfiguration | |
Microsoft.PowerShell.Utility PSReadLine |
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
PS /home/cjac> Install-PackageProvider -Name NuGet -Scope CurrentUser | |
Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package | |
provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags. | |
At line:1 char:1 | |
+ Install-PackageProvider -Name NuGet -Scope CurrentUser | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-Pac | |
kageProvider], Exception | |
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackagePro | |
vider |
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
PS /home/cjac> cjac@xenial0:~$ sudo powershell | |
[sudo] password for cjac: | |
PowerShell | |
Copyright (C) 2016 Microsoft Corporation. All rights reserved. | |
PS /home/cjac> Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force | |
Install-PackageProvider : No match was found for the specified search criteria | |
for the provider 'NuGet'. The package provider requires 'PackageManagement' | |
and 'Provider' tags. Please check if the specified package has the tags. | |
At line:1 char:1 |
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
PS /usr/src/git/github/powershell> Get-Module PackageManagement | |
ModuleType Version Name ExportedCommands | |
---------- ------- ---- ---------------- | |
Binary 1.0.0.1 PackageManagement {Find-Package, Find-PackageProvider, Get-Package, Get-PackageProvider...} |
OlderNewer