Create CA file
$c = New-SelfSignedCertificate -DnsName SelfSignedCA -CertStoreLocation Cert:\CurrentUser\My -NotAfter (Get-Date).AddYears(10)
check certificate fingerprint
$c
# Ping 6 times to some address (google free DNS here) and if no response try to get new IP address | |
:if ([/ping 8.8.8.8 interface=ethernet-gateway count=6] = 0) do={/ip dhcp-client release numbers=0} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<!-- Home: Manual --> | |
<dict> | |
<key>UserDefinedName</key> |
Create CA file
$c = New-SelfSignedCertificate -DnsName SelfSignedCA -CertStoreLocation Cert:\CurrentUser\My -NotAfter (Get-Date).AddYears(10)
check certificate fingerprint
$c
<?php | |
namespace PostBox\Model\Entity; | |
use Identity\Model\Entity\User; | |
/** | |
* Class ApplicationUser | |
* @package PostBox\Model\Entity | |
* |
<?php | |
use Migrations\AbstractMigration; | |
class CreateDefaultUser extends AbstractMigration | |
{ | |
/** | |
* Change Method. | |
* | |
* More information on this method is available here: | |
* http://docs.phinx.org/en/latest/migrations.html#the-change-method |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
<?php | |
namespace MayMeow\Cake\Bl\Service; | |
use Cake\Core\ObjectRegistry; | |
trait ServiceAvareTrait | |
{ | |
protected $serviceLocator; |
sudo su - zimbra | |
# list all accounts and print out account name and aliases | |
for i in `zmprov -l gaa` ; do zmprov ga $i zimbraMailAlias ; done | |
# list all distribution lists and any members and/or aliases | |
for i in `zmprov gadl` ; do zmprov gdl $i zimbraMailAlias zimbraMailForwardingAddress ; done |
{"sidebarBg":"#221934","sidebarText":"#ffffff","sidebarUnreadText":"#ffffff","sidebarTextHoverBg":"#291e3e","sidebarTextActiveBorder":"#f46036","sidebarTextActiveColor":"#ffffff","sidebarHeaderBg":"#221934","sidebarHeaderTextColor":"#ffffff","onlineIndicator":"#f9ac97","awayIndicator":"#9eb7cd","dndIndicator":"#cf433e","mentionBj":"#5b85aa","mentionColor":"#5867dd","centerChannelBg":"#171123","centerChannelColor":"#ffffff","newMessageSeparator":"#9816f4","linkColor":"#9559c6","buttonBg":"#9559c6","buttonColor":"#ffffff","errorTextColor":"#f4516c","mentionHighlightBg":"#ffb822","mentionHighlightLink":"#ffffff","codeTheme":"monokai","mentionBg":"#5b85aa"} |
I hereby claim:
To claim this, I am signing this object: