```bash
kubectl get ns
kubectl get all -n kube-system
kubectl run nginx --image=nginx -o yaml --dry-run=client > nginx-pod.yaml
kubectl apply -f nginx-pod.yaml
kubectl get pods -l "run=nginx" -o wide
```
https://massgrave.dev
Open PowerShell
Click the Start Menu, type PowerShell, then open it.
Copy and paste the code below, then press enter.
For Windows 8, 10, 11: ð
irm https://get.activated.win | iex
If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
For Windows 7 and later:
iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
Script not launch
# Distinction Originelle
1. SOURCES DE STOCKAGE
- Fichiers (CSV, Parquet, JSON...)
- SGBD relationnels (PostgreSQL, MySQL...)
- SGBD NoSQL (MongoDB, Cassandra...)
- Data Lakes (S3, HDFS...)
- Streaming (Kafka, Kinesis...)
2. MODES D'ACCÃS
- APIs (REST, GraphQL...)
- Connecteurs directs (JDBC, ODBC...)
- Fichiers partagés (FTP, NFS...)
- Message queues
---
# Sources de Stockage
## Taxonomie
### NIVEAU 1 : STOCKAGE
- Fichiers (local/simple) - CSV, JSON, Parquet sur
---
mode: 'ask'
model: Claude Sonnet 4
description: 'Find Code Smells'
---
Please review and analyze the ${selection} and identify potential areas for improvement related to code smells, readability, maintainability, performance, security, etc. Do not list issues already addressed in the given code. Focus on providing up to 5 constructive suggestions that could make the code more robust, efficient, or align with best practices. For each suggestion, provide a brief explanation of the potential b
/**
* @param {string[]} words
* @return {string[]}
*/
var removeAnagrams = function(words) {
// Helper function to check if two words are anagrams
const isAnagram = (word1, word2) => {
// Sort the letters of both words and compare
return word1.split('').sort().join('') === word2.split('').sort().join('');
};
// Initialize a result array with the first word (it can't be removed)
const result = [words[0]];
// Start from the second word and compare with
Describe cloud concepts (25â30%)
Describe cloud computing
Define cloud computing
Describe the shared responsibility model
Define cloud models, including public, private, and hybrid
Identify appropriate use cases for each cloud model
Describe the consumption-based model
Compare cloud pricing models
Describe serverless
Describe the benefits of using cloud services
Describe the benefits of high availability and scalability in the cloud
Describe the benefits of reliability
/* https://www.bitovi.com/blog/css-only-type-grinding-casting-tokens-into-useful-values */
@property --variant {
syntax: "primary|secondary|success|error";
initial-value: primary;
inherits: true;
}
@property --_v-primary-else-0 {
syntax: "primary|<integer>"; initial-value: 0; inherits: true;
}
@property --_v-primary-bit {
syntax: "<integer>"; initial-value: 1; inherits: true;
}
.element {
--variant: primary;
--_v-primary-else-0: var(--variant);
--_v-primary-bit: var(--_v-pr
/**
* @param {number} m
* @param {number} k
* @param {number[]} nums
* @return {number}
*/
var magicalSum = function(m, k, nums) {
const MOD = BigInt(1e9 + 7); // Modulo for large number arithmetic
const n = nums.length;
// Precompute binomial coefficients: comp[i][j] = C(i, j)
const comp = Array.from({ length: m + 1 }, () => Array(m + 1).fill(0n));
for (let i = 0; i <= m; i++) {
comp[i][0] = 1n;
comp[i][i] = 1n;
for (let j = 1; j < i; j++) {
persecute vs prosecute
get arrested and hold in prision -> prosecute,
persecute - just verolgen, Hitler persecuted Juews
lessen vs diminish
make out capital of sth - only about money?
90% yes. But e.g. human capital.
paramount vs the most - which context
a body of - The committee is made up of a body of experts in the field.
=group of
rally vs protest
rally - promote smth - women rights, working rights
protest - against sth
inequity vs inequality
inequity = difference in money, e.g
/**
* @param {number[]} power
* @return {number}
*/
var maximumTotalDamage = function(power) {
// Step 1: Count how many times each damage value appears
const count = new Map();
for (const dmg of power) {
count.set(dmg, (count.get(dmg) || 0) + 1);
}
// Step 2: Sort unique damage values in ascending order
const unique = Array.from(count.keys()).sort((a, b) => a - b);
const n = unique.length;
// Edge case: only one unique damage value
if (n === 1) {
<?php
/**
* Archivo de prueba para enviar un email usando DocumentMail
*
* Este archivo es SOLO para pruebas y NO debe usarse en producción.
* No modifica ningún archivo existente del proyecto.
*
* Para ejecutar: php test-document-mail.php
*/
require_once __DIR__ . '/vendor/autoload.php';
use Illuminate\Foundation\Application;
use Illuminate\Contracts\Console\Kernel;
use App\Mail\DocumentMail;
use Illuminate\Support\Facades\Mail;
// Inicializar Laravel
$app = requ
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.StringUtils;
import javax.servlet.http.HttpServletRequest;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.util.Enumeration;
/**
* IPå°åå·¥å
·ç±»
*/
@Slf4j
public class IpUtils {
private static final String[] IP_HEADERS = {
"X-Forwarded-For",
"Proxy-Client-IP",
"WL-Proxy-Client-IP",
"HTTP_CLIENT_IP",
"HTTP_X_FORWA
const birthDatePicker = new easepick.create({
...defaultPickerConfig,
element: "#birth_date",
AmpPlugin: {
dropdown: {
maxYear: new Date().getFullYear(),
minYear: 1930,
months: true,
years: true,
},
resetButton: true,
darkMode: false
},
LockPlugin: {
minDate: null,
maxDate: todayInAruba,
filter(date, picked) {
return date.getTime() > todayInArub
/**
* @param {number[]} energy
* @param {number} k
* @return {number}
*/
var maximumEnergy = function(energy, k) {
// Initialize the answer to a very low number to ensure any valid energy path will be higher
let ans = -1e99;
// Try starting from each index i in the range [0, k)
// These are the only starting points that can reach the end via i + k jumps
for (let i = 0; i < k; i++) {
// Start with the energy at index i
let cur = energy[i];
// Set
document.addEventListener("DOMContentLoaded", function() {
var customTabsTitles = document.querySelectorAll('.product-custom-tabs-header-item');
if (customTabsTitles.length) {
customTabsTitles.forEach(function(item) {
item.addEventListener("click", function() {
var customTabsBody = this.closest('.product-custom-tabs').querySelectorAll('.product-custom-tabs-body-item');
var currentId = this.getAttribute('data-id');
customTabsTitles.forEach(function(el