Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #!/bin/sh | |
| IFACE=$1 | |
| ACTION=$2 | |
| ntfy () { | |
| sudo -u cengiz \ | |
| DISPLAY=:0 \ | |
| DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \ | |
| notify-send "$1" "$2" |
| # Let 'em know that we're Still Alive | |
| # http://pastebin.com/f72f8f72d (no longer valid) | |
| #!/bin/bash | |
| echo -n "This " | |
| beep -f 784 -l 200 | |
| echo -n "was " | |
| beep -f 740 -l 200 | |
| echo -n "a " | |
| beep -f 659 -l 200 |
| <?php | |
| declare(strict_types=1); | |
| namespace App\Doctrine\EventListener; | |
| use Doctrine\DBAL\Schema\PostgreSQLSchemaManager; | |
| use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs; | |
| final class FixPostgreSQLDefaultSchemaListener |
| <?php | |
| namespace AppBundle\Form; | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\Form\Extension\Core\Type\PasswordType; | |
| use Symfony\Component\Form\Extension\Core\Type\RepeatedType; | |
| use Symfony\Component\Form\Extension\Core\Type\SubmitType; | |
| use Symfony\Component\Form\FormBuilderInterface; |
FullCalendar.js is a JavaScript event calendar customizable and open source. You can display a full-size event calendar that also compatible with google calendar.
Download tattali/CalendarBundle using composer
$ composer require tattali/calendar-bundleI was just asked to write a small summary about the difference between a model and an entity. As I am too lazy to think up another topic for today I will just jump on that. And actually I wrote about this before as it can be quite irritating to see model folders in some bundles and entity folders in others. So what is what?
Before Doctrine 2.0 we were used to the ActiveRecord pattern in the symfony world. So let’s start from there.
is an object representation of a thing in the real world. It has some attributes that the real thing has as well (i.e. age, size, color, ..) and some methods the real thing can perform as well (i.e. walk, run, bark, ..).
The record in an ActiveRecord pattern also knows how to be persisted as it has a save() method and some other persistence related functionalities. To avoid duplicated code all this persistence code is written in a generic way and inherited by all record classes.
From: https://www.jesgs.com/blog/2017/12/18/deploying-from-github-to-vps-using-travis-ci
Recently, I spent around 14 to 16 hours learning all of the necessary steps to getting an existing repo set up with Travis CI to run unit tests, and then once successful, connect to a remote server that isn't a PaaS (in this case, Linode) and then proceeds to use Git hooks to do post deployment things.
Starting with your local machine and you have your project already checked out from Github.
gem install travis. This installs the Travis CI command-line tools. We're going to use these tools to encrypt RSA keys that Travis will use to connect to your remote server.