Loading...

  

  1. https://imapsync.lamiral.info/dist/
  2. imapsync_2.314.zip download
  3. imapsync.exe run edirik
  4. run_sync.bat faylını yaradırq içərisinə aşağıdakını yazırıq
@echo off
:: -----------------------------------------------------------
::   IMAPSYNC - Hostinger → HostGator Email Transfer Script
::   Prepared by: Rahim (numune.az)
::   Version: 1.0
:: -----------------------------------------------------------

:: Switch to the directory of this script
cd /d "%~dp0"

:: -----------------------------------------------------------
::   Connection Settings
:: -----------------------------------------------------------

set HOST1=imap.hostinger.com
set USER1=rahim@numune.az
set PASS1=old_password

set HOST2=mr2.websitewelcome.com
set USER2=rahim@numune.az
set PASS2=new_password

:: -----------------------------------------------------------
::   Start IMAP Sync
:: -----------------------------------------------------------

echo.
echo ===========================================================
echo            STARTING IMAPSYNC (Hostinger → HostGator)
echo ===========================================================
echo.

imapsync.exe ^
 --host1 %HOST1% --user1 %USER1% --password1 "%PASS1%" ^
 --host2 %HOST2% --user2 %USER2% --password2 "%PASS2%" ^
 --ssl1 --ssl2

echo.
echo ===========================================================
echo                     SYNC FINISHED
echo ===========================================================
echo.

pause

by Rahim Süleymanov | Dec 4, 2025


git clone https://GITHUB_USERNAME:token@github.com/GITHUB_USERNAME/repo_name.git

by Rahim Süleymanov | Jan 19, 2025


<div class="dropdown-menu dropdown-menu-end">
    <a class="dropdown-item" href="#">Link</a>
    <a class="dropdown-item" href="#">Link</a>
    <a class="dropdown-item" href="#">Link</a>
</div>

by Rahim Süleymanov | Nov 25, 2024


  

https://www.geocities.ws/click2speak/unicode/chars_az.html 

Sub LatinToCyrillic()
    Dim r As Range
    For Each r In ActiveDocument.StoryRanges
        ' Kiçik hərflərin dəyişdirilməsi
        r.Text = Replace(r.Text, "a", ChrW(&H430)) ' а
        r.Text = Replace(r.Text, "b", ChrW(&H431)) ' б
        r.Text = Replace(r.Text, "c", ChrW(&H447)) ' ч
        r.Text = Replace(r.Text, "ç", ChrW(&H4B9)) ' ҹ
        r.Text = Replace(r.Text, "d", ChrW(&H434)) ' д
        r.Text = Replace(r.Text, "e", ChrW(&H435)) ' е
        r.Text = Replace(r.Text, "ə", ChrW(&H4D9)) ' ә
        r.Text = Replace(r.Text, "f", ChrW(&H444)) ' ф
        r.Text = Replace(r.Text, "g", ChrW(&H49D)) ' қ
        r.Text = Replace(r.Text, ChrW(&H11F), ChrW(&H493)) ' ғ
        r.Text = Replace(r.Text, "h", ChrW(&H4BB)) ' һ
        r.Text = Replace(r.Text, "x", ChrW(&H445)) ' х
        r.Text = Replace(r.Text, ChrW(&H069), ChrW(&H438)) ' и
        r.Text = Replace(r.Text, ChrW(&H131), ChrW(&H44B)) ' ы
        r.Text = Replace(r.Text, "j", ChrW(&H436)) ' ж
        r.Text = Replace(r.Text, "k", ChrW(&H43A)) ' к
        r.Text = Replace(r.Text, "q", ChrW(&H433)) ' г
        r.Text = Replace(r.Text, "l", ChrW(&H43B)) ' л
        r.Text = Replace(r.Text, "m", ChrW(&H43C)) ' м
        r.Text = Replace(r.Text, "n", ChrW(&H43D)) ' н
        r.Text = Replace(r.Text, "o", ChrW(&H43E)) ' о
        r.Text = Replace(r.Text, "ö", ChrW(&H4E9)) ' ө
        r.Text = Replace(r.Text, "p", ChrW(&H43F)) ' п
        r.Text = Replace(r.Text, "r", ChrW(&H440)) ' р
        r.Text = Replace(r.Text, "s", ChrW(&H441)) ' с
        r.Text = Replace(r.Text, ChrW(&H15F), ChrW(&H448)) ' ш
        r.Text = Replace(r.Text, "t", ChrW(&H442)) ' т
        r.Text = Replace(r.Text, "u", ChrW(&H443)) ' у
        r.Text = Replace(r.Text, "ü", ChrW(&H4AF)) ' ү
        r.Text = Replace(r.Text, "v", ChrW(&H432)) ' в
        r.Text = Replace(r.Text, "y", ChrW(&H439)) ' й
        r.Text = Replace(r.Text, "z", ChrW(&H437)) ' з

        ' Böyük hərflərin dəyişdirilməsi
        r.Text = Replace(r.Text, "A", ChrW(&H410)) ' А
        r.Text = Replace(r.Text, "B", ChrW(&H411)) ' Б
        r.Text = Replace(r.Text, "C", ChrW(&H427)) ' Ч
        r.Text = Replace(r.Text, "Ç", ChrW(&H4B8)) ' Ҹ
        r.Text = Replace(r.Text, "D", ChrW(&H414)) ' Д
        r.Text = Replace(r.Text, "E", ChrW(&H415)) ' Е
        r.Text = Replace(r.Text, "Ə", ChrW(&H4D8)) ' Ә
        r.Text = Replace(r.Text, "F", ChrW(&H424)) ' Ф
        r.Text = Replace(r.Text, "Q", ChrW(&H413)) ' Г
        r.Text = Replace(r.Text, ChrW(&H11E), ChrW(&H492)) ' Ғ
        r.Text = Replace(r.Text, "H", ChrW(&H4BA)) ' Һ
        r.Text = Replace(r.Text, "X", ChrW(&H425)) ' Х
        r.Text = Replace(r.Text, ChrW(&H049), ChrW(&H42B)) ' Ы
        r.Text = Replace(r.Text, ChrW(&H130), ChrW(&H418)) ' И
        r.Text = Replace(r.Text, "J", ChrW(&H416)) ' Ж
        r.Text = Replace(r.Text, "K", ChrW(&H41A)) ' К
        r.Text = Replace(r.Text, "G", ChrW(&H49C)) ' Қ
        r.Text = Replace(r.Text, "L", ChrW(&H41B)) ' Л
        r.Text = Replace(r.Text, "M", ChrW(&H41C)) ' М
        r.Text = Replace(r.Text, "N", ChrW(&H41D)) ' Н
        r.Text = Replace(r.Text, "O", ChrW(&H41E)) ' О
        r.Text = Replace(r.Text, "Ö", ChrW(&H4E8)) ' Ө
        r.Text = Replace(r.Text, "P", ChrW(&H41F)) ' П
        r.Text = Replace(r.Text, "R", ChrW(&H420)) ' Р
        r.Text = Replace(r.Text, "S", ChrW(&H421)) ' С
        r.Text = Replace(r.Text, ChrW(&H15E), ChrW(&H428)) ' Ш
        r.Text = Replace(r.Text, "T", ChrW(&H422)) ' Т
        r.Text = Replace(r.Text, "U", ChrW(&H423)) ' У
        r.Text = Replace(r.Text, "Ü", ChrW(&H4AE)) ' Ү
        r.Text = Replace(r.Text, "V", ChrW(&H412)) ' В
        r.Text = Replace(r.Text, "Y", ChrW(&H419)) ' Й
        r.Text = Replace(r.Text, "Z", ChrW(&H417)) ' З
    Next r
End Sub

by Rahim Süleymanov | Oct 21, 2024


$(document).ready(function () {
    let barkodDeyeri = ''; // Barkod değeri için boş bir değişken oluşturun

    $(document).on('keydown', function (e) {
        // Tarayıcıdan okunan değerin sonuna ekleyin
        if (e.key.length === 1) { // Sadece bir karakterse
            barkodDeyeri += e.key; // Okunan karakteri ekleyin
        }

        // Eğer Enter tuşuna basılırsa
        if (e.key === 'Enter') {
            alert('Okunan Barkod: ' + barkodDeyeri); // Barkod değerini alert ile gösterin
            barkodDeyeri = ''; // Barkod değerini sıfırlayın
        }
    });
});

by Rahim Süleymanov | Oct 8, 2024


"C:\Program Files\Google\Chrome\Application\chrome.exe" --kiosk-printing

by Rahim Süleymanov | Sep 6, 2024


1) SSH açarını Github-a əlavə edin

2) SSH ilə serverə bağlanırıq

3) 

git init

4) 

git remote add origin git@github.com:Rahim12345/xxxx.git

5) 

git pull origin main

 

by Rahim Süleymanov | Sep 6, 2024


 Login olunmadan auth və auth:advertisers middlewarelərinin doğru login səhifəsinə yönləndirmək üçün aşağıdakılara əməl etmək lazımdır.

Route::middleware('auth:advertisers')->group(function () {

});

Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'locale']], function () {

});
<?php

// Faylın yolu => /vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php

namespace Illuminate\Auth\Middleware;

use Closure;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Contracts\Auth\Factory as Auth;
use Illuminate\Contracts\Auth\Middleware\AuthenticatesRequests;
use Illuminate\Http\Request;

class Authenticate implements AuthenticatesRequests
{
    /**
     * The authentication factory instance.
     *
     * @var \Illuminate\Contracts\Auth\Factory
     */
    protected $auth;

    /**
     * The callback that should be used to generate the authentication redirect path.
     *
     * @var callable
     */
    protected static $redirectToCallback;

    /**
     * Create a new middleware instance.
     *
     * @param  \Illuminate\Contracts\Auth\Factory  $auth
     * @return void
     */
    public function __construct(Auth $auth)
    {
        $this->auth = $auth;
    }

    /**
     * Specify the guards for the middleware.
     *
     * @param  string  $guard
     * @param  string  $others
     * @return string
     */
    public static function using($guard, ...$others)
    {
        return static::class.':'.implode(',', [$guard, ...$others]);
    }

    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  string[]  ...$guards
     * @return mixed
     *
     * @throws \Illuminate\Auth\AuthenticationException
     */
    public function handle($request, Closure $next, ...$guards)
    {
        $this->authenticate($request, $guards);

        return $next($request);
    }

    /**
     * Determine if the user is logged in to any of the given guards.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $guards
     * @return void
     *
     * @throws \Illuminate\Auth\AuthenticationException
     */
    protected function authenticate($request, array $guards)
    {
        if (empty($guards)) {
            $guards = [null];
        }

        foreach ($guards as $guard) {
            if ($this->auth->guard($guard)->check()) {
                return $this->auth->shouldUse($guard);
            }
        }

        $this->unauthenticated($request, $guards);
    }

    /**
     * Handle an unauthenticated user.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $guards
     * @return void
     *
     * @throws \Illuminate\Auth\AuthenticationException
     */
    protected function unauthenticated($request, array $guards)
    {
        throw new AuthenticationException(
            'Unauthenticated.',
            $guards,
            $request->expectsJson() ? null : route('front.login'),
        );
    }

    /**
     * Get the path the user should be redirected to when they are not authenticated.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return string|null
     */
    protected function redirectTo(Request $request)
    {
        if ($request->expectsJson()) {
            return;
        }

        // Guard-ın hansı olduğunu yoxlayırıq auth:advertisers
        if ($this->auth->guard('advertisers')->check()) {
            return route('front.account.elanlarim');
        }

        if ($this->auth->guard('auth')->check()) {
            return url('/admin/home');
        }

        // Default yönləndirmə
        return route('front.login');
    }

    /**
     * Specify the callback that should be used to generate the redirect path.
     *
     * @param  callable  $redirectToCallback
     * @return void
     */
    public static function redirectUsing(callable $redirectToCallback)
    {
        static::$redirectToCallback = $redirectToCallback;
    }
}

 

by Rahim Süleymanov | Aug 31, 2024


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

by Rahim Süleymanov | Aug 27, 2024



Azərbaycan English