Skip to content

Instantly share code, notes, and snippets.

View Ichinya's full-sized avatar
🎯
Focusing

Ichi Ichinya

🎯
Focusing
View GitHub Profile
@Ichinya
Ichinya / Requests.php
Created January 10, 2022 12:00 — forked from xeoncross/Requests.php
cURL asynchronous requests using curl_multi and callbacks
<?php
/**
* Make asynchronous requests to different resources as fast as possible and process the results as they are ready.
*/
class Requests
{
public $handle;
public function __construct()
{
@Ichinya
Ichinya / del-commit-github.sh
Last active May 5, 2022 11:37 — forked from vorozhba/Как удалить commit в Github.txt
Как удалить commit в Github
#1. Получаем хэш-код коммита, к которому хотим вернуться.
#2. Заходим в папку репозитория и пишем в консоль:
# $ git reset --hard ХЭШ-КОМИТА
# $ git push --force
# Или
$ git reset --hard HEAD~1
$ git push --force