https://www.sqreen.com/checklists/php-security-checklist
https://github.com/guardrailsio/awesome-php-security
https://www.cyberciti.biz/tips/php-security-best-practices-tutorial.html
FROM python:3-alpine | |
WORKDIR /usr/src/app | |
COPY requirements.txt | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY src/ . | |
#VOLUME src/ /usr/src/app |
Código de exemplo apresentado na palestra: https://github.com/dianaarnos/php-paralelo
Repositório oficial da extensão Parallel: https://github.com/krakjoe/parallel
Documentação oficial no PHP.net: https://www.php.net/parallel
Blog post do criador, Joe Watkins (krakjoe): https://blog.krakjoe.ninja/2019/02/parallel-php-next-chapter.html
Entrevista do Joe Watkins no PHP Internals News: https://phpinternals.news/11
Exemplo de webcrawler usando Parallel: https://gist.github.com/krakjoe/0ee02b887288720d9b785c9f947f3a0a
PHP Swoole: https://www.swoole.co.uk/
- HackerRank - https://www.hackerrank.com/ | |
- CoderByte - https://coderbyte.com/ | |
- Daily Coding Problem - https://www.dailycodingproblem.com/ | |
- GeeksForGeek - https://www.geeksforgeeks.org/algorithm-practice-question-beginners-set-1/ | |
- Khan Academy - https://www.khanacademy.org/computing/computer-science/algorithms | |
- Glassdoor - https://www.glassdoor.com.br/ | |
- CoderPad - https://coderpad.io/ |
Códigos de exemplo: https://github.com/dianaarnos/pcs2020
Slides: https://speakerdeck.com/dianaarnos/pcs2020-php-alem-do-sincrono
Exemplo Parallel: https://github.com/dianaarnos/php-paralelo/blob/master/hello_world.php
Discussão sobre a extensão Parallel - https://www.reddit.com/r/PHP/comments/aquer0/on_parallel_php_the_next_chapter/
Video do Krakjoe falando sobre a extensão Pthreads: https://www.youtube.com/watch?v=HAZfDy6HTos
Doc da extensão parallel no php.net: https://www.php.net/manual/pt_BR/book.parallel.php
Steve Maraspin - Meet a parallel, asynchronous PHP world -https://www.youtube.com/watch?v=dk-D3g2MD2U
Issue anunciando fim da extensão pthreads: krakjoe/pthreads#929
Cooperative multitasking using coroutines (in PHP!) https://nikic.github.io/2012/12/22/Cooperative-multitasking-using-coroutines-in-PHP.html
Parallel PHP: The Next Chapter - https://blog.krakjoe.ninja/2019/02/parallel-php-next-chapter.html
A Evolução de Profilers e Tracers na Netflix - Martin Spier - https://www.youtube.com/watch?v=cgtfkoUH_Hk
analysis tools for Linux ftrace and perf_events - https://github.com/brendangregg/perf-tools
Open source on-host performance monitoring framework - https://github.com/Netflix/vector
Webinar: PHP Profiling with Xdebug - https://www.youtube.com/watch?v=V5MYWBBAMA4
Fundamentals of Performance Profiling - https://smartbear.com/learn/code-profiling/fundamentals-of-performance-profiling/
Sampling profiler for PHP - https://github.com/nikic/sample_prof
phpspy - https://github.com/adsr/phpspy
Introduction to Software Engineering/Testing/Profiling - https://en.wikibooks.org/wiki/Introduction_to_Software_Engineering/Testing/Profiling
Profiling (computer programming) - https://en.wikipedia.org/wiki/Profiling_(computer_programming)
What Is Deterministic Profiling? - https://docs.python.org/3.5/library/profile.html#what-is-deterministic-profiling
https://speakerdeck.com/dianaarnos/php-alem-do-sincrono
https://github.com/dianaarnos/php-alem-do-sincrono
curl_multi speed for PHP - https://gist.github.com/bmatheny/991247
Guzzle e o uso de curl_multi - https://github.com/guzzle/guzzle/blob/a3a20779541ca1ae73d0d3766a83c33d14468f9e/src/Handler/CurlMultiHandler.php
Coroutines - O que são corrotinas? | Dias de Dev - https://www.youtube.com/watch?v=Nbt0eQHChoI
Run Snap successfully (it fails due to a systemd dependency). Source: microsoft/WSL#5126 (comment)
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
#!/bin/bash | |
sudo update-alternatives --config java | |
sudo update-alternatives --config javac |