Skip to content

Instantly share code, notes, and snippets.

View webenginers's full-sized avatar

RZ Projects webenginers

View GitHub Profile
@webenginers
webenginers / setup_cursor_ubuntu.md
Created May 2, 2025 10:05 — forked from evgenyneu/setup_cursor_ubuntu.md
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@webenginers
webenginers / encrypt-decrypt-url.php
Created October 31, 2024 02:37 — forked from ifirmawan/encrypt-decrypt-url.php
Enkripsi dan dekripsi URL menggunakan PHP
<?php
function encrypt_url($string) {
$key = "IW_979805"; //key to encrypt and decrypts.
$result = '';
$test = "";
for($i=0; $i<strlen($string); $i++) {
$char = substr($string, $i, 1);
$keychar = substr($key, ($i % strlen($key))-1, 1);
$char = chr(ord($char)+ord($keychar));