Here's a cheat sheet for the Polars Python package, covering many of its key functions and features:
pip install polars
# Install Polars with all optional dependencies:
pip install 'polars[all]'This cheat sheet provides a comprehensive overview of the Bootstrap v5 CSS framework, including its layout system, typography, colors, components, utilities, JavaScript plugins, customization options, accessibility considerations, responsive utilities, and RTL support.
It also demonstrates with some code usage examples how to use various features in your HTML and CSS code.
.container, .container-fluid, .container-{breakpoint}.row, .col, .col-{breakpoint}-{size}sm, md, lg, xl, xxlA list of examples and references of hacking with Bash and the Curl command.
cURL is short for "Client URL" and is a computer software project providing a library (libcurl) and command-line tool (curl) first released in 1997. It is a free client-side URL transfer library that supports the following protocols:
Cookies, DICT, FTP, FTPS, Gopher, HTTP/1, HTTP/2, HTTP POST, HTTP PUT, HTTP proxy tunneling, HTTPS, IMAP, Kerberos, LDAP, POP3, RTSP, SCP, and SMTP
Although attack proxies like BurpSuitePro are very handy tools, cURL allows you to get a bit closer to the protocol level, leverage bash scripting and provides a bit more flexibility when you are working on a complex vulnerability.
HTTP GET variables can be set by adding them to the URL.
| import java.util.*; | |
| class HelloJNI extends Hello { | |
| static { | |
| System.loadLibrary("HelloCpp"); // HelloCpp.dll (Windows) or libhellocpp.so (*nix) | |
| } | |
| //instance variable | |
| private int number = 10; |
| import os | |
| import requests | |
| import logging | |
| from pathlib import Path | |
| from dotenv import load_dotenv | |
| from typing import Optional | |
| #from openai import OpenAI # You don't need it here | |
| # Predefined constants | |
| #OPENAI_BASE_URL = "https://api.openai.com/v1/" |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Code Mirror CDN</title> | |
| <link rel="stylesheet" href="http://esironal.github.io/cmtouch/lib/codemirror.css"> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>File System Access API Demo</title> | |
| <style> | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| line-height: 1.6; |
| # pip install openpyxl, pandas, PyQt5... (if you don't use conda) | |
| import sys | |
| import pandas as pd | |
| from PyQt5.QtCore import QSize, Qt, pyqtSlot, pyqtSignal | |
| from PyQt5.QtWidgets import (QApplication, QMainWindow, QPushButton, QTableWidget, QTableWidgetItem, | |
| QFileDialog, QVBoxLayout, QWidget, QDialog, QLabel, QLineEdit, QComboBox, QCheckBox, QHBoxLayout) | |
| # Custom TableWidget class | |
| class TableWidget(QTableWidget): | |
| def __init__(self, df, parent=None): |
| import java.util.zip.* | |
| String zipFileName = "file.zip" | |
| String inputDir = "logs" | |
| def outputDir = "zip" | |
| //Zip files | |
| ZipOutputStream zipFile = new ZipOutputStream(new FileOutputStream(zipFileName)) | |
| new File(inputDir).eachFile() { file -> |