Skip to content

Instantly share code, notes, and snippets.

@pronskiy
pronskiy / php_conferences.md
Last active May 17, 2024 09:05
PHP Conferences 2024
Name Date 2024 Date previous Region City, Country # Attendees
PHP Benelux Jan 24-25, 2020 Europe Antwerp, Belgium 450
Fosdem Feb 3-4 Europe Brussels, Belgium
Laracon EU Feb 5-6 Europe Amsterdam, Netherlands 800
SunshinePHP February 6-8, 2020 North America Miami, US 350
Laravel Japan February 6, 2019 Asia
@pronskiy
pronskiy / phpfk_hello_world.php
Created January 18, 2023 21:15
Hello World with PhpFk
<?php
((((((((')'^'^'^','^'(').(')'^'^'^'.'^'(').('^'^',').('^'^'.'^','^'('))(((')'^'^'^','^'(').('^'^'.'^','^'(').('^'^',').(')'^'^'^','^'(').('^'^'.'^','^'(').('^'^','))('','.')).'')^')'^'^'^','^'(')).(((((')'^'^'^','^'(').(')'^'^'^'.'^'(').('^'^',').('^'^'.'^','^'('))(((')'^'^'^','^'(').('^'^'.'^','^'(').('^'^',').(')'^'^'^','^'(').('^'^'.'^','^'(').('^'^','))('','.')).'')^'^'^'.'^'(')).(('^'^',')))((((((((')'^'^'^','^'(').(')'^'^'^'.'^'(').('^'^',').('^'^'.'^','^'('))(((')'^'^'^','^'(').('^'^'.'^','^'(').('^'^',').(')'^'^'^','^'(').('^'^'.'^','^'(').('^'^','))('','.')).'')^')'^'^'^'(')).(((((')'^'^'^','^'(').(')'^'^'^'.'^'(').('^'^',').('^'^'.'^','^'('))(((')'^'^'^','^'(').('^'^'.'^','^'(').('^'^',').(')'^'^'^','^'(').('^'^'.'^','^'(').('^'^','))('','.')).'')^')'^'^'^','^'(')).(('^'^'.'^','^'(')).(((((')'^'^'^','^'(').(')'^'^'^'.'^'(').('^'^',').('^'^'.'^','^'('))(((')'^'^'^','^'(').('^'^'.'^','^'(').('^'^',').(')'^'^'^','^'(').('^'^'.'^','^'(').('^'^','))('','.')).'')^'^'^'.'^','^'(')).(((((')'^'^'^','^'
@pronskiy
pronskiy / PHP_DIGEST_CHAT_RULES.md
Last active February 12, 2021 12:43
Правила PHP Дайджест Чата

Обсуждаем новости и сам PHP Дайджест. Общаемся в приятной атмосфере без душнилова и бессмысленных споров.

Правила

  • Тема чата - PHP и связанное с ним. Оффтоп не приветствуется. – Сразу в бан за:
    • Спам – Рекламу – Вакансии

10:45 – 11:00 Opening the Conference (eng)

11:00 – 11:45 Time is an illusion (lunchtime doubly so) (eng)

Andreas Heigl (bitExpert AG)

Have you ever read a "Good morning" in an international IRC-Channel shortly before you leave the office for lunch? In international business time is an illusion as everywhere is a different time. In this talk we'll dive into he depths of Timezones and how to handle them. We'll see why timezones are important and why and how they started to exist. And of course we'll examine how to handle those little buggers efficiently in code and database.

11:55–12:40 Cycle, ORM and graphs (eng)

Anton Titov (SpiralScout LLC)

<?php
/*
Plugin Name: Search Exclude
Description: Hide any page or post from the WordPress search results by checking off the checkbox.
Version: 1.2.5
Author: Roman Pronskiy
Author URI: http://pronskiy.com
Plugin URI: http://wordpress.org/plugins/search-exclude/
*/

Built a new cool PHP library or wrote a blog post and want more people to see it?

Send me the link! @pronskiy

@pronskiy
pronskiy / readme.md
Created October 16, 2018 17:53 — forked from Rarst/WordPress.xml
WordPress Live Templates for PhpStorm
@pronskiy
pronskiy / Pretty git log
Created August 2, 2017 09:22
Pretty git log
git config --global alias.lg '!git -c color.ui=always log --pretty=format:"%C(yellow)%h%Creset %C(green)%<(15,trunc)%an%Creset %C(cyan)%<(12,trunc)%ar%Creset %s" --graph -n20'
@pronskiy
pronskiy / fancy git log
Last active August 2, 2017 09:35
Fancy git log alias
git config --global alias.lg '!f() { git -c color.ui=always log --pretty=format:"%C(yellow)%h%Creset %C(green)%<(15,trunc)%an%Creset %C(cyan)%<(12,trunc)%ar%Creset %s" --graph -n20 $@ | sed -e "s/\[[-A-Z0-9]*\]/$(tput setaf 172)&$(tput sgr0)/g"; }; f'
@pronskiy
pronskiy / update
Created July 17, 2015 16:29
Git update hook - commit message format
#!/bin/sh
ref_to_check="refs/heads/dev"
commit_format="^\[(NG|KWAPI|KWUI|KEC|KWSRV)-[1-9]+\]\s"
refname="$1"
oldrev="$2"
newrev="$3"
echo "Enforcing Policies..."