Skip to content

Instantly share code, notes, and snippets.

View atakde's full-sized avatar
🎯
Focusing

Atakan Demircioğlu atakde

🎯
Focusing
View GitHub Profile
@fabiomontefuscolo
fabiomontefuscolo / wp-migration.markdown
Last active April 23, 2024 09:28
BedRock WordPress + Nginx w Cache + php-fpm

Instalação dos pacotes do Ubuntu

apt-get install pv nginx-extras                                   \
    php-fpm php-gd php-mbstring php-cli php-mysql php-zip php-xml \
    mariadb-server mariadb-client

Instalação do WP-CLI

@wpscholar
wpscholar / deploy-on-push.yml
Created January 2, 2021 22:55
A GitHub Action to build, then deploy a website using rsync.
name: Deploy Website
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
@dihjital
dihjital / SmsClient.php
Last active May 27, 2023 11:33
Simple example of Worker Pool model with PHP pthreads
<?php
class DirectoryNotFoundException extends Exception {
public function __construct($directory) {
$message = "Directory not found: " . $directory;
parent::__construct($message);
}
}
class Helpers {