diff --git a/tldr/flutterfire b/tldr/flutterfire new file mode 100644 index 00000000..c66a5b26 --- /dev/null +++ b/tldr/flutterfire @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# flutterfire + +> Configure a Firebase project for your Flutter app. +> Note: Requires Firebase CLI and FlutterFire CLI to be installed. +> More information: . + +- Initialize and configure Firebase for your current Flutter app: + +`flutterfire configure` + +- Specify platforms (iOS, Android, web) to support: + +`flutterfire configure --platforms {{ios,android,...}}` + +- Use a specific Firebase project: + +`flutterfire configure --project {{project_id}}` diff --git a/tldr/getnpusers.py b/tldr/getnpusers.py index 81ebb655..d01b9d2e 100644 --- a/tldr/getnpusers.py +++ b/tldr/getnpusers.py @@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git - Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration): -`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}` +`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass` - Perform AS-REP roasting and dump crackable hashes for offline cracking: -`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -request` +`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass -request` - Authenticate with valid credentials (if anonymous binding is disabled): diff --git a/tldr/p7zip b/tldr/p7zip index 7f90d39f..f3d8e356 100644 --- a/tldr/p7zip +++ b/tldr/p7zip @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Archive a file keeping the input file: -`p7zip {{[-k|--heep]}} {{path/to/file}}` +`p7zip {{[-k|--keep]}} {{path/to/file}}` - Decompress a file, replacing it with the original uncompressed version: @@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git - Decompress a file keeping the input file: -`p7zip {{[-d|--decompress]}} {{[-k|--heep]}} {{compressed.ext}}.7z` +`p7zip {{[-d|--decompress]}} {{[-k|--keep]}} {{compressed.ext}}.7z` - Skip some checks and force compression or decompression: diff --git a/tldr/python-m-json.tool b/tldr/python-m-json.tool new file mode 100644 index 00000000..6cff7406 --- /dev/null +++ b/tldr/python-m-json.tool @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# python -m json.tool + +> Validate and pretty-print JSON data. +> Part of Python's standard library. +> More information: . + +- Pretty-print JSON from a file: + +`python -m json.tool {{path/to/file.json}}` + +- Validate and pretty-print JSON from standard input: + +`echo '{{{"key": "value"}}}' | python -m json.tool`