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
// ==UserScript== | |
// @name Ez Debug Box | |
// @namespace EzDebugBox | |
// @description Remplace le debug par un bouton en haut à droite qui affiche une lightbox | |
// @include * | |
// ==/UserScript== | |
if (document.getElementById('debug')) { | |
var debugBoxVisible = false; | |
var cssDebugBox = "z-index:99; height: 80%; width : 80%; overflow : scroll; position : fixed; top : 0; margin : 10% auto auto 10%; border : 2px solid black; padding : 10px; background: white;"; | |
var lastKeyCode = false; |
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
+------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | |
|offset| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |10 |11 |12 |13 |14 |15 |16 |17 |18 | | |
+------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | |
|data | 7 |'e'|'x'|'a'|'m'|'p'|'l'|'e'| 3 |'c'|'o'|'m'| | 3 |'i'|'p'|'4'|xC0|x00| | |
+------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | |
|hex | 07| 65| 78| 61| 6d| 70| 6c| 65| 03| 63| 6f| 6d| 00| 03| 69| 70| 34| C0| 00| | |
+------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | |
| element 1 | element 2 | | element 3 | ^ ^ | |
| domain 1 | domain 2 ! ! | | |
Pointer indicator-----------------! ! |
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
--- | |
- name: complex string | |
hosts: localhost | |
gather_facts: false | |
vars: | |
DATABASE_LISTDELETED_RESOURCEGROUP: my_ressource_group | |
DATABASE_LISTDELETED_SQLSERVER: my_sql_server | |
DATABASE_LISTDELETED_QUERY: this is a line of text which mimics an actual query I don't have |
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
--- | |
- name: Debug data structure | |
hosts: localhost | |
gather_facts: false | |
vars: | |
"host1": [ | |
{ | |
"_ref": "record:host/ZG5zLmhvc3QkLl9kZWZhdWx0LnVrLmFjLmJoYW0udGVzdC5zbmF0LWF3eHRlc3Q1:snat-awxtest5.test.com/Internal", | |
"ipv4addrs": [ |
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
docker run -d --rm --name test centos:7 bash -c "while true; do sleep 2000; done" |
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
[k8s_gpu_nodes] | |
host1 | |
host2 | |
[k8s_cpu_nodes] | |
host3 | |
host4 |
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
--- | |
version: "3.7" | |
services: | |
postgres: | |
image: "postgres:11.0-alpine" | |
app: | |
build: . |
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
$ cat test.yaml | |
--- | |
- hosts: localhost | |
gather_facts: false | |
vars: | |
cache_mgmt: | |
dev_web: | |
backend_name: www_http_be | |
backend_hosts: dev_www |
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
$ cat /tmp/test.yml | |
--- | |
- hosts: localhost | |
gather_facts: false | |
vars: | |
with_test: |- | |
echo username cisco privilege 15 secret 5 \$1\$.. | |
echo username test privilege 15 secret 5 \$1\$.. | |
without_test: |- |
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
--------------------------------------------------- | |
$ tree | |
. | |
├── docker-compose.yml | |
└── docker-entrypoint-initdb.d | |
└── init_my_db.sql | |
--------------------------------------------------- | |
$ cat docker-entrypoint-initdb.d/init_my_db.sql | |
use pfmc; |
OlderNewer