mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/flutterfire
Normal file
22
tldr/flutterfire
Normal file
@@ -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: <https://firebase.google.com/docs/flutter/setup>.
|
||||
|
||||
- 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}}`
|
||||
@@ -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):
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
18
tldr/python-m-json.tool
Normal file
18
tldr/python-m-json.tool
Normal file
@@ -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: <https://docs.python.org/library/json.html#module-json.tool>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user