Posts

Resources for content creators , webmasters, html coders

Image
Resources for content creators, webmasters, html coders Photo services: picsum.photos  - The Lorem Ipsum for photos. https://unsplash.com/  - Free web photos https://pexels.com - Free stock photo website https://pixabay.com/  - Stunning royalty-free images & royalty-free stock CSS, HTML, Color, Pallete, Font services: https://codeguide.co  - guide for clean & structured HTML, CSS https://caniuse.com/  - checking that your technology supported by the browsers (CSS) http://colours.neilorangepeel.com  - a great tool for choosing colours for the site (hex, rgb) https://css-tricks.com/examples/HSLaExplorer - the  same tool for choosing colour but for hsla coolors.co/app  - is to create a palette randoma11y.com  - Randoma11y - Accessible color combinations https://specificity.keegan.st/  - CSS specificity calculator https://www.webfx.com/web-design/hex-to-rgb/  - hex to rgb https://cssfontstack.com ...

Composer life hacks

Image
Composer life hacks Switching between composer 1 & 2: composer  self-update --1   --> switch to composer 1 composer  self-update --2   -->  switch to composer 2 If you only want to install, upgrade or remove one dependency, you can explicitly list it as an argument: php composer.phar update monolog/monolog [...] composer dump-env dev - will generate .env.local.php (which you can change with your needs) Installing tools globally: php composer.phar global require friendsofphp/php-cs-fixer or just  composer global require friendsofphp/php-cs-fixer

Reload Windows environment variables without restarting PC or shutdown Explorer.exe

After installing Chocolatey , just type   RefreshEnv.cmd .

Популярні слівця у веб-розробці і не тільки у веб | Popular words in Web Development

Image
Meteor — веб-платформа на мові  JavaScript , призначена для розрробки Web-додатків  реального часу . Для зв'язку з сучасними  браузерами Git   — розподілена  система курування версіями  файлів ( Вікіпедія ). AWS   — Amazon Web Services ( Вікіпедія ) — инфраструктура платформ облачных веб-сервисов, представленная компанией Amazon Node.js   — cерверний JavaScript  ( Вікіпедія ). ReactJS   — frontend library for web and native user interfaces. Build user interfaces out of individual pieces called components written in JavaScript. Redux - A JS library for predictable and maintainable global state management Package managers:  Homebrew — package manager for OS X - (Хабрахабр) Bower   — package manager for frontend (needs  Node.js  и  Git ) Composer -  Composer is a tool for dependency management in ...

Satori, Mori, Spotify

Satori, Mori, Spotify 

How to output empty line from unix like shell scripts

Image
How to output empty line from unix like shell scripts   To output empty line use this: echo -en '\n' e - interprets  \n n - outputs no empty line on the end, so there is no mess with double empty lines Use single quotes to prevent shell from interpreting chars as end of line. bash - How to add an empty line in text file using shell script? - Stack Overflow

Поради дітям у дитсадочку - Kinder garden advices (ukr.lang)

Image
Поради дітям у дитсадочку - Kinder garden advices (ukr.lang)   Одного разу бувши у дитсадочку свого сина побачив такий стенд з порадами, закортіло злямзати )) може і вам згодиться.

Files & folders monitoring in linux

Image
Files & Folders - monitoring in Linux 1.  fswatch  install: sudo apt install fswatch use: fswatch -d /home/ 2.  inotify-tools  <verdict> --> it's better install: sudo apt-get install inotify-tools use:  inotifywait /path/to/directory --recursive --monitor

Before the Storm, Santi and Tugçe, Spotify

Image
Artist: Santi and Tugçe Track: Before the Storm

Monticello, Rodriguez Jr. - Spotify

Image
Artist: Rodriguez Jr. Track Name: Monticello

Portugal, scooters - comparing prices, 2022 year, Lisbon

Image
Portugal scooters - comparing prices, Lisbon  2022year Actions :     Superpedestrian  -->  -50% on all rides... in October 2022 per minute tariffs: Bolt   -  unlock -   free ,  0.20 € /min,  pause -  0.05 € /min ,  reservation  -  0.05 € /min ~  0.30 € /min overall ))  Bird  -  0.26 € /min,  deposit  at start  -  3 € Lime  -  0.24 € /min, as I got it if you pay with Google Pay, start deposit - free, in another case 1€  (up to 10 min - free) ..., but maybe it's for the first ride (if you know - let me know)) I'll update the article (a little tricky provider 😁) Superpedestrian  Link  -  0.28 € /min,  unlock  -  free Whoosh  -  0.15€ /min, start -  free  or  0.5 € , reservation -  0 €  for 10min,  - as I understood the price is dynamic and depends on demand scooters. daily plans: Bolt...

Interesting PHP composer packages, repos

Image
Interesting PHP composer packages for your projects   ( to be continued ... ) jokkedk/webgrind  -  Webgrind is an  Xdebug  profiling web frontend in PHP woohoolabs/yang - Woohoo Labs. Yang is a PHP framework that helps you to communicate with JSON:API servers more easily. vimeo/psalm  - A static analysis tool for finding errors in PHP applications rectorphp/rector - Rector is an open-source tool that helps with automatic PHP upgrades and code refactorings in bulk. PhpStorm 2022.2 allows you to easily run Rector on your code base and selectively apply fixes in bulk. graham-campbell/result-type   -  An implementation of the result type netresearch/jsonmapper - Map nested JSON structures onto PHP classes lesstif/php-jira-rest-client - for creating tickets in Jira and using its API vlucas/phpdotenv - Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automatically. webmozart/assert  -...

Doctrine Secrets ... for me ))) from StackOverflow and other Internet resources

Image
Doctrine Secrets Avoid using Doctrine’s Collection::matching method  - very useful when you work with the Doctrine collections Temporarily change fetch mode in DQL  - sometimes its useful Symfony2 and Doctrine - Error: Invalid PathExpression. Must be a StateFieldPathExpression You can use the currently undocumented  IDENTITY  function to select the FK IDs in a query:  SELECT IDENTITY ( c . parent ) ... or you must do $ qb -> innerJoin ( "c.parent" , "p" ) Left join ON condition AND other condition syntax in Doctrine use  Doctrine\ORM\Query\Expr; ->leftJoin( 'a.installations' ,  'i' , Expr\Join::WITH,  'i.page = :page' ) ->setParameter( 'page' , $page) Count Rows in Doctrine QueryBuilder $qb = $entityManager -> createQueryBuilder (); $qb -> select ( 'count(account.id)' ); $qb -> from ( 'ZaysoCoreBundle:Account' , 'account' ); $count = $qb -> getQuery ()-> getSingleScalarResult...

Frontend'er tools (unfinished)

Image
Frontend'er tools  https://github.com/mdn - MDN Web Docs is an open-source, collaborative project that documents web platform technologies, including CSS, HTML, JavaScript, and Web APIs. We also provide extensive 🧑‍🎓 learning resources for beginning developers and students. https://jsbin.com/?html,output  - JS Bin is a tool for experimenting with web languages. In particular HTML, CSS and JavaScript, but JS Bin also supports other languages (like Markdown, Jade and Sass). https://glitch.com/ - Glitch is the friendly place where everyone builds the web. Start a new blog , play with React , or build new worlds with WebXR . Let’s go! pnpm - Fast, disk space-efficient package manager https://react-hook-form.com - React form library https://usehooks.com - A tons of using hooks https://jqlang.github.io/jq/ - jq is a lightweight and flexible command-line JSON processor. JavaScript Playground  - cool frontend sandbox Validation: yup  & zod  , compar...

Онлайн инструментарий веб разработчика на php (список ссылок будет пополняться)

Image
Онлайн инструментарий веб разработчика на php Blog - Use Mermaid syntax to create diagrams  - ссылочка на пост diagrams.net с примерами (по построению диаграмм на Marmaid-live editor (Mermaid’s Markdown-inspired syntax ) + екстеншн для VisualStudio code http://dbdesigner.net - инструмент построения схем базы данных с возможностью экспорта в sql файл https://sqlitebrowser.org/ - SQLlite - The Official home of the DB Browser for SQLite https://www.tutorialspoint.com/online_php_ide.php - онлайн IDE для PHP (интерфейс понравился :-) )   https://ideone.com/ - много-языковая IDE (поддерживаемые языки указаны на скриншоте ниже) Frameworks: https://laravel.com/ https://symfony.com/ https://cakephp.org/ https://codeigniter.com/ Cloud based IDEs https://vscode.dev/   https://www.eclipse.org/che/   https://theia-ide.org/   https://www.gitpod.io/ Tutorialspoint codingground  - поддержка 75+ языков программирования Инструменты развертывания среды разра...