Skip to content

Instantly share code, notes, and snippets.

View lordjoo's full-sized avatar
🏠
Working From Home

Youssef Mahmoud lordjoo

🏠
Working From Home
View GitHub Profile
@lordjoo
lordjoo / velement.html
Created November 26, 2018 21:34 — forked from sohelamin/velement.html
Dynamically generate html element by Vue.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Vue.js Simple Example</title>
</head>
<style>
body {
font : 100% Helvetica, sans-serif;
color: #ecf0f1;
@lordjoo
lordjoo / password_encrypt.php
Created July 5, 2018 18:36
PHP Password Encrypt Function
// Encryption Function Just Use This Function To Encrypt The TEXT
function encrypt($str){
$str = sha1($str);
$str = md5($str);
$len = strlen($str);
$str1 = substr($str,0,$len/2);
$str2 = substr($str,$len/2,$len);
$str1 = md5($str1);
$str2 = sha1($str2);
@lordjoo
lordjoo / password_encrypt.php
Created July 5, 2018 18:36
PHP Password Encrypt Function
// Encryption Function Just Use This Function To Encrypt The TEXT
function encrypt($str){
$str = sha1($str);
$str = md5($str);
$len = strlen($str);
$str1 = substr($str,0,$len/2);
$str2 = substr($str,$len/2,$len);
$str1 = md5($str1);
$str2 = sha1($str2);