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
```bash | |
%data-host=localhost | |
%data-user=rob | |
%data-output=2-13, 15 | |
ls -all | |
total 48 | |
drwxrwxr-x 5 rob rob 4096 Mar 19 19:18 . | |
drwxrwxr-x 9 rob rob 4096 Mar 19 17:38 .. | |
drwxrwxr-x 2 rob rob 4096 Mar 17 20:39 content | |
-rwxr-xr-x 1 rob rob 2224 Mar 13 21:43 develop_server.sh |
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
```javascript | |
%data-line=1,3-4 | |
try { | |
alert("Welcome guest!"); | |
} catch(err) { | |
document.getElementById("demo").innerHTML = err.message; | |
} | |
``` |
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
```bash | |
%data-src=https://gist.githubusercontent.com/EpicSoftworks/15247d7a9acc8e316f7522e4d17a144c/raw/99cb2c96b2910b25cb2f63163a2a2deabd616d98/pelican-prismjs-example-filehighlight-code | |
%data-host=localhost | |
%data-user=rob | |
%data-output=2-20 | |
``` |
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
apt-get moo | |
_ _ | |
(_\___( \, | |
)___ _ Have you smashed some milk today? | |
/( (_)-(_) / | |
,---------' \_ | |
//( ',__,' \ (' ') | |
// ) '----' | |
'' ; \ .--. ,/ | |
| )',_,'----( ; |
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
```yaml | |
%class=line-numbers | |
product: | |
- sku : BL394D | |
quantity : 4 | |
description : Basketball | |
price : 450.00 | |
- sku : BL4438H | |
quantity : 1 | |
description : Super Hoop |
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
public function unreadable(string $name, int $number, AwesomeInterface $object) | |
{ | |
// Magic | |
} | |
public function readable( | |
string $name, | |
int $number, | |
AwesomeInterface $object | |
) { |
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
# Encoding piped string | |
cat myexamplefile.txt | base64 | |
# Decoding piped string | |
cat mybase64encodedfile.txt | base64 -d |
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
gpg --gen-key |
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
bleep |
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
blueprint: | |
name: Timed Motion-activated Light | |
description: Turn on a light when motion is detected within a certain time contraint. | |
domain: automation | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: | |
domain: binary_sensor |
OlderNewer