| Operator | Example | Effect |
|---|---|---|
"exact phrase" |
"kubernetes pod scheduling" |
Matches exact phrase only |
-term |
python tutorial -video |
Excludes results containing term |
OR |
docker OR podman |
Either term (must be uppercase) |
| |
docker|podman |
Same as OR |
You are a senior frontend engineer building a free tool that will serve as a lead magnet. Your mission: create an exceptional user experience that makes users go "wow" and naturally want to subscribe to learn more.
- Stack: Astro (static-first), Tailwind CSS, Vue components for interactivity
- Location: Same repo as landing page (root or
./landing-page/) - URL:
/tools/[tool-slug] - CTA: Newsletter subscription only (newsletter.meysam.io via Listmonk)
- Analytics: Pirsch (no cookie banner needed)
- Mobile: Fully responsive — not "works on mobile," but "delightful on mobile"
| # Unbind default prefix | |
| unbind C-b | |
| # Set new prefix to C-v | |
| set-option -g prefix C-v | |
| # Bind C-v C-v to send prefix to application | |
| bind-key C-v send-prefix | |
| # Split panes using current directory |
| # Influence: The Psychology of Persuasion - Robert Cialdini | |
| ## Core Premise | |
| Humans use mental shortcuts (heuristics) to make decisions efficiently. These automatic response patterns can be exploited by “compliance practitioners” to trigger desired behaviors without conscious deliberation. | |
| ## The Six Principles of Influence | |
| ### 1. **Reciprocity** |
| #!/bin/bash | |
| # Unified Domain Generator & Availability Checker | |
| # Can accept either raw names to generate domains or a list of domains to check | |
| # Usage: ./domain_tool.sh --names names.txt [options] | |
| # ./domain_tool.sh --domains domains.txt [options] | |
| # Color codes | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |
| #!/bin/bash | |
| set -e | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 <go_version>" | |
| echo "Example: $0 1.25.0" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| URL="${1:-https://api.example.com/endpoint}" | |
| OUTPUT_FILE="${2:-}" | |
| CURL_CMD="curl \ | |
| --retry 3 \ | |
| --retry-delay 2 \ | |
| --retry-max-time 30 \ |
| function(ctx) { | |
| email: ctx.identity.traits.email, | |
| } |
| #!/bin/bash | |
| set -eux | |
| cat >> /etc/network/interfaces << 'EOF' | |
| # VLAN interface configuration | |
| auto enp98s0f0.4000 | |
| iface enp98s0f0.4000 inet static | |
| vlan-raw-device enp98s0f0 | |
| vlan-id 4000 |
LogQL (LogsQL) is a query language used within VictoriaMetrics to search, filter, and analyze log data. It is designed for efficient log retrieval, enabling users to extract specific log entries based on time, content, metadata, or numeric calculations. This tutorial provides a detailed overview of LogQL commands—primarily filters and mathematical operations—along with examples to help you construct effective queries. The content is structured for both beginners and advanced users, serving as a reference for future use.
A LogQL query consists of:
- Filters: Criteria to select logs, such as time ranges, words, or field values. At least one filter is required.
- Optional Actions: Operations like
stats,fields, orevalapplied to filtered logs, separated by the pipe (|) operator.