10. Creer un enemy qui chasse le Player

-- Creer une variable Player

-- Dans ready sauvegarder le player

func _ready() -> void:
	player = get_tree().get_first_node_in_group("Player")

-- Dans physicis process utuliser direction_to

func _physics_process(delta: float) -> void:
	direction = position.direction_to(player.position)
	velocity = direction * vitesse

-- Jouer animation de l'enemy:
 
 func enemy_animation():
	if abs(direction.x) > abs(direction.y):
		if direction.x > 0.0:
			animated_sprite_2d.play("walk_right")
		elif  dire

9.Comment implementer attaque Godot

-- Creer une variable bool pour traquer l'attaque

-- Dans Physic process

func _physics_process(delta: float) -> void:
	if est_en_train_attaquer:
		velocity = Vector2.ZERO
		return


-- Puis creer la function integré de Godot

func _unhandled_input(event: InputEvent) -> void:
	if event is InputEventMouseButton:
		if event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
			if not est_en_train_attaquer:
				est_en_train_attaquer = true
				animated_sprite_2d.play("attack_" +

Crypto Class for PHP

<?php

class Crypto
{
    private const CIPHER = 'aes-256-gcm';

    /* ---------- KEY HELPERS ---------- */

    public static function generateKey(): string
    {
        return random_bytes(32);
    }

    /* ---------- STRING ENCRYPT / DECRYPT ---------- */

    public static function encrypt(string $plaintext, string $key): string
    {
        $ivLength = openssl_cipher_iv_length(self::CIPHER);
        $iv = random_bytes($ivLength);

        $ciphertext = openssl_encrypt(
            $plai

Bootstrap Styled PC Repair Services Section

<section class="py-5 bg-light">
  <div class="container">
    <div class="text-center mb-5">
      <h2 class="fw-bold">PC Repair & IT Support Services</h2>
      <p class="text-muted">Reliable technical solutions for home and business users</p>
    </div>

    <div class="row g-4">

      <!-- Service 1 -->
      <div class="col-md-4">
        <div class="card h-100 shadow-sm">
          <div class="card-body text-center">
            <i class="bi bi-pc-display fs-1 text-primary"></i>
          

67. Add Binary

Given two binary strings a and b, return their sum as a binary string.
/**
 * Adds two binary strings and returns their binary sum.
 * @param {string} a
 * @param {string} b
 * @return {string}
 */
var addBinary = function(a, b) {
    let result = "";   // final binary string (built from right to left)
    let carry = 0;     // carry bit (0 or 1)

    // Continue while there are digits left in either string OR a remaining carry
    while (a.length > 0 || b.length > 0 || carry > 0) {

        // Extract last digit of each string (or 0 if empty)
        const bitA = 

Generate a Full URL of Current Page

<?php
// Determine the protocol (http or https)
$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https://" : "http://";

// Get the host name (e.g., www.example.com)
$host = $_SERVER['HTTP_HOST'];

// Get the requested URI (e.g., /path/to/page.php?query=string)
$uri = $_SERVER['REQUEST_URI'];

// Construct the full URL
$current_url = $protocol . $host . $uri;

// Echo the URL
echo $current_url;
?>

799. Champagne Tower

We stack glasses in a pyramid, where the first row has 1 glass, the second row has 2 glasses, and so on until the 100th row. Each glass holds one cup of champagne. Then, some champagne is poured into the first glass at the top. When the topmost glass is full, any excess liquid poured will fall equally to the glass immediately to the left and right of it. When those glasses become full, any excess champagne will fall equally to the left and right of those glasses, and so on. (A glass at the bottom row has its excess champagne fall on the floor.) For example, after one cup of champagne is poured, the top most glass is full. After two cups of champagne are poured, the two glasses on the second row are half full. After three cups of champagne are poured, those two cups become full - there are 3 full glasses total now. After four cups of champagne are poured, the third row has the middle glass half full, and the two outside glasses are a quarter full, as pictured below. Now after pouring some non-negative integer cups of champagne, return how full the jth glass in the ith row is (both i and j are 0-indexed.)
/**
 * @param {number} poured       - Total cups of champagne poured into the top glass
 * @param {number} query_row    - Row of the target glass (0-indexed)
 * @param {number} query_glass  - Column of the target glass (0-indexed)
 * @return {number}             - Fullness of the target glass (0 to 1)
 */
var champagneTower = function(poured, query_row, query_glass) {
    // We only need up to 100 rows, so create a 2D array of zeros.
    // dp[r][c] represents the *amount of champagne that arriv

Message Hander

## Transmitter
```python
	##send message
	messageType = self.view.params.messageType
	payload={}
	payload['label'] = self.view.params.label
	scope = 'page'
	#do not edit
	payload['messageType'] = messageType
	system.perspective.sendMessage(messageType, payload, scope=scope)
	system.perspective.print("messageType: %s, scope: %s, payload: %s" % (messageType, scope, payload))
```

## Simple Transmitter
```python
	##send message
	system.perspective.sendMessage("message_type", payload={}, scope="sess

install mongodb , docker, postgress, redis in ubuntu

#!/bin/bash
# Install MongoDB, Redis, Docker, and PostgreSQL on Ubuntu
# Usage: sudo ./install-dev-services.sh

set -e

if [[ $EUID -ne 0 ]]; then
  echo "This script must be run as root (use sudo)"
  exit 1
fi

echo "==> Updating package lists..."
apt-get update -qq

# --- Docker ---
echo ""
echo "==> Installing Docker..."
apt-get install -y ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyring

Openshift Cheat Sheet

# Openshift Cheat Sheet

## Useful commands
* `oc whoami -t`: You can also get your token for the valid login (which is very useful when playing with the
RESTful API)
* `oc whoami --show-server=true`: Check which cluster you are connected to.

## Project management
* `oc projects`: List all projects
* `oc project <project-name>`: Choose a project
* `oc new-project <project-name>`: Create a new project

## Create or modify
* `oc create -f (targetFile) [--dry-run=client]`: To create an object usin

Telegram:@lazarustoolz Bank To Bank Drop Wire Logs PayPal Zelle Venmo Apple Pay Skrill WU Transfer Bug MoneyGram Transfer



Scattered Spider (and Lazarus allied group Scattered LAPSUS$ Hunters) 🌎 


VERIFIED CARDER SELLING WU,BANK,PAYPAL,CASHAPP,SKRILL TRANSFER BANK LOGS,DUMPS+PIN,CLONED CARDS

Group: https://t.me/+LE893Ma2vIwyYWNk

Telegram: @lazarustoolz SELL CCV CANADA FULLZ FRESH SSN DOB WITH DL LIVE MAIL PASSWORD OFFICE365 PAYPAL

Telegram: @lazarustoolz CVV,Fullz,Dumps,PayPal Debit/Credit Card,CashApp, Western Union, Transfer,ATM Clone Cards!!

Telegram: @lazarustoolz SELL CVV FULLZ INFO GOOD USA-UK-CA-AU-INT

3714. Longest Balanced Substring II

You are given a string s consisting only of the characters 'a', 'b', and 'c'. A substring of s is called balanced if all distinct characters in the substring appear the same number of times. Return the length of the longest balanced substring of s.
/**
 * @param {string} s
 * @return {number}
 */
var longestBalanced = function(s) {
    const n = s.length;
    let ans = 0;

    // 1) Case: only one distinct character (runs like "aaaa")
    ans = Math.max(ans, longestSingleCharRun(s));

    // 2) Case: exactly two distinct characters with equal counts, no third present
    // Pairs: (a, b), (a, c), (b, c)
    ans = Math.max(ans, longestEqualTwoChars(s, 'a', 'b', 'c'));
    ans = Math.max(ans, longestEqualTwoChars(s, 'a', 'c', 'b'));
    ans 

cloudinary_config

//dependency:
		<dependency>
			<groupId>com.cloudinary</groupId>
			<artifactId>cloudinary-http44</artifactId>
			<version>1.32.2</version>
		</dependency>
		
//entity:
@Column(name = "image", nullable = true)
private String imageUrl; // saves url

//service:
import org.springframework.stereotype.Service;

import com.cloudinary.Cloudinary;
import com.cloudinary.utils.ObjectUtils;
import org.springframework.beans.factory.annotation.Value;

@Service
public class CloudinaryService {
    private fi

Css anchor example

<!DOCTYPE html>
<html lang="cs">
<head>
    <meta charset="UTF-8">
    <title>CSS Anchor Positioning Demo 2026</title>
    <style>
        /* Pomocný styling pro demo */
        body {
            margin: 0;
            font-family: sans-serif;
        }

        section {
            height: 100vh;
            background: orange;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: whi

application.properties

# for env
spring.config.import=optional:file:.env[.properties]

# for spring project
spring.application.name=
server.port=${SPRING_PORT}

# for database
spring.datasource.url=${SPRING_DATASOURCE_URL}
spring.datasource.username=${SPRING_DATASOURCE_USERNAME}
spring.datasource.password=${SPRING_DATASOURCE_PASSWORD}

spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
# opti

env config

#for Spring
SPRING_PORT=7070

#for DB
SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/
SPRING_DATASOURCE_USERNAME=postgres
SPRING_DATASOURCE_PASSWORD=

#for jwt
JWT_SECRET_KEY=

#for mail
SUPPORT_EMAIL=
APP_PASSWORD=

#for Cloudinary
CLOUDINARY_NAME=
CLOUDINARY_KEY=
CLOUDINARY_SECRET=