BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20170220T182458Z
LAST-MODIFIED:20170220T182458Z
DTSTAMP:20170220T182458Z
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
Searching can be an efficient way to navigate the current buffer.
The first search commands we learn are usually / and ?. These are seriously cool, especially with the incsearch option enabled which lets us keep typing to refine our search pattern. / and ? really shine when all we want is to jump to something we already have our eyeballs on but they are not fit for every situation:
- when we want to search something that's not directly there, those two commands can make us lose context very quickly,
- when we need to compare the matches.
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
| Mutt | |
| http://www.mutt.org/doc/manual/manual.html | |
| Select (tag) messages: shift+t (T) | |
| = (string) | |
| ~ (expression) | |
| ~b expr (message with expr in body) | |
| [b]body |
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
| #!/bin/bash | |
| case $# in | |
| 0) | |
| echo "Usage: $0 {start|stop}" | |
| exit 1 | |
| ;; | |
| 1) | |
| case $1 in | |
| start) |
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
| version: '2' | |
| services: | |
| db: | |
| image: mysql | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=mypass | |
| - constraint:node==node01 | |
| networks: | |
| - backend |
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
| function Send-UdpDatagram | |
| { | |
| Param ([string] $EndPoint, | |
| [int] $Port, | |
| [string] $Message) | |
| $IP = [System.Net.Dns]::GetHostAddresses($EndPoint) | |
| $Address = [System.Net.IPAddress]::Parse($IP) | |
| $EndPoints = New-Object System.Net.IPEndPoint($Address, $Port) | |
| $Socket = New-Object System.Net.Sockets.UDPClient |