Pentesting-Exploitation
Pentesting-Exploitation Programs and Commands , Protocols Network / Ports
Pentesting-Exploitation Programs and Commands , Protocols Network / Ports
| // HTTP client for testing high connection concurrency | |
| // Authors: Richard Jones and Rasmus Andersson | |
| // Released in the public domain. No restrictions, no support. | |
| #include <sys/types.h> | |
| #include <sys/time.h> | |
| #include <sys/queue.h> | |
| #include <stdlib.h> | |
| #include <err.h> | |
| #include <event.h> | |
| #include <evhttp.h> |
(note: replace ORGANIZATION and PROJECT)
git clone git clone git@github.com:ORGANIZATION/PROJECT.git my-repository
| import openai # pip install openai | |
| import typer # pip install "typer[all]" | |
| from rich import print # pip install rich | |
| from rich.table import Table | |
| """ | |
| Webs de interés: | |
| - Módulo OpenAI: https://github.com/openai/openai-python | |
| - Documentación API ChatGPT: https://platform.openai.com/docs/api-reference/chat | |
| - Typer: https://typer.tiangolo.com |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "rds-db:connect" | |
| ], | |
| "Resource": [ | |
| "arn:aws:rds-db:region:account-id:dbuser:dbi-resource-id/database-user-name" |
If you have a Linux machine with KVM on it, you can manage those VMs remotely from a Mac using virt-manager.
SSH to the Linux machine and add your SSH user to the libvirt group
sudo usermod -a -G libvirt $(whoami)
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
| # script to decompose/recompose llama model in different number of shards | |
| # note that it loads the full model * 2 in cpu memory | |
| import os | |
| import json | |
| import sys | |
| import torch | |
| import glob | |
| if len(sys.argv) != 4: |
String 클래스를 "+"로 반복해서 더하는 연산을 어떤 경우에 컴파일러에서 자동으로 최적화해주는지 알고 있다면 보다 융퉁성 있게 쓸 수가 있습니다.
몇년전에 javaservice.net에서의 String vs StringBuffer에 대한 논의에서도 이 이야기가 오고 갔었고, 그를 통해 제가 알게 되었던 바는 다음과 같습니다.
String buffers are used by the compiler to implement the binary string concatenation operator . For example, the code:
This gist aims to provide a simple solution for managing Heroku Review Apps with GitHub Actions due to the security incident that continues to disrupt Heroku's GitHub integration. Watch the demo to learn more.
.github
├── workflows
│ ├── heroku_review_app_create.yml