Skip to content

Instantly share code, notes, and snippets.

View mahmutbayri's full-sized avatar

Mahmut Bayri mahmutbayri

  • Eindhoven, North Brabant, Netherlands
View GitHub Profile
require_once('wp-load.php');
$userName = "admin"; //yönetici veya herhangi bir kullanıcı
$newPassword = "yenisifre"; //olmasını istediğiniz şifre
$st = "UPDATE " . $table_prefix . "users SET user_pass = '" . wp_hash_password($newPassword) . "' WHERE user_login = '" . $userName . "'";
echo $wpdb->query($st);
@mahmutbayri
mahmutbayri / docker-image-list.csv
Last active March 18, 2020 12:02
docker-image-list
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 19ce2571f42e 22 minutes ago 83.5MB
<none> <none> 9434172b7531 22 minutes ago 83.5MB
<none> <none> a46ac07d058e 22 minutes ago 83.5MB
minimal-php latest 02704c871cea 22 minutes ago 83.5MB
php 7.4.1-cli-alpine3.11 cb96d89c1b3f 2 months ago 83.5MB
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
691e790450ee minimal-php docker-php-entrypoi… 3 minutes ago Up 3 minutes 0.0.0.0:8812->3000/tcp minimal-php-container 0B (virtual 83.5MB)
- - - - - - -
drwxr-xr-x 6 mahmutbayri staff 192B May 18 21:26 .
drwxr-xr-x 11 mahmutbayri staff 352B May 19 21:28 ..
-rw-r--r-- 1 mahmutbayri staff 3.9K May 18 21:26 default.p12
-r-------- 1 mahmutbayri staff 2.4K May 18 21:26 rootCA-key.pem
-rw-r--r-- 1 mahmutbayri staff 1.7K May 18 21:26 rootCA.pem
-rw-r--r-- 1 mahmutbayri staff 0B May 18 21:26 trusted
Version Directory PHP CLI PHP FPM PHP CGI Server
7.1.32 /usr/local/Cellar/php@7.1/7.1.32_1 bin/php sbin/php-fpm bin/php-cgi PHP FPM
7.2.30 /usr/local bin/php Cellar/php@7.2/7.2.30_1/sbin/php-fpm Cellar/php@7.2/7.2.30_1/bin/php-cgi PHP FPM
7.3.9 /usr/local/Cellar/php/7.3.9_1 bin/php sbin/php-fpm bin/php-cgi PHP FPM
7.3.11 /usr bin/php sbin/php-fpm - PHP FPM
<?php
use Illuminate\Database\Capsule\Manager;
use Illuminate\Database\Query\Builder;
use React\MySQL\ConnectionInterface;
use React\MySQL\Factory;
use React\MySQL\QueryResult;
require_once __DIR__ . '/vendor/autoload.php';
<?php
use Illuminate\Database\Capsule\Manager;
use Illuminate\Database\Query\Builder;
use React\EventLoop\Loop;
use React\MySQL\ConnectionInterface;
use React\MySQL\Factory;
use React\MySQL\Io\LazyConnection;
use React\MySQL\QueryResult;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Simple CountDown</title>
</head>
<body>