Skip to main content


 

Laravel Queue Systemd service


Here a .service file to keep laravel queue worker running with systemd

---

[Unit]
Description=Laravel Queue

[Service]
Type=simple
ExecStart=/usr/bin/php /full/path/to/artisan queue:work -vv
Restart=always
User=www-data
Group=www-data


[Install]
WantedBy=multi-user.target

---

Save it as /etc/systemd/system/laravel-queue.service
Put your actual full path to artisan command
then run

[code]# systemctl daemon-reload
# systemctl enable laravel-queue
# systemctl start laravel-queue[/quote]
# systemctl blog php


 
@Friendica Developers

I leave this here because I don't have time to check if exists in issue tracker.

Mail and RSS import should ignore message with "message date" < ( today - "item expiration days").

Some not-so-updated rss feeds keeps showing up again after they have been deleted from db by the expiration tool, and I get the "show by commented order" network view flooded by old messages...
Strangely enough we already do have this check.



 

The impossible dream of USB-C – Marco.org

I’m Marco Arment: a programmer, writer, podcaster, geek, and coffee enthusiast. October 14, 2017∞https://marco.org/2017/10/14/impossible-dream-of-usb-c I love the idea of USB-C: one port and one cable that can replace all other ports and cables. It sounds so simple, straightforward, and unified. USB-C normally transfers data by the USB protocol...


 
Immagine/foto

Mi piace il commento, non mi piace l'immagine mentale, ovviamente





 
Battery was down to 8% anyway, so it's perfect timing :-)
Questa voce è stata modificata (1 settimana fa)








 

Git pretty — justin hileman dot info

This chart is from the presentation Changing History, or How to Git Pretty. Check it out to learn how to use this IRL. Here’s a printable PDF version, if you’re into that sort of thing. My name is Justin and I make the Internet. I'm @bobthecow on Twitter. I'm also a co-founder of Presentate, which is 100% awesome....



 
TIL:

autoflake 0.7 : Python Package Index

Removes unused imports and unused variables
#HowILivedWithoutThisUntilNow

BTW, yes, I know that adding an assert uno just after that line would silence pyflakes and add only minimal overhead to the code. I still don't think it's the right solution.

OTOH, if the number of imports to remove is big and all of the code involved has been written by sane people, I understand that autoremoval starts to sound like a good idea.


one of the diffs :-)

@@ -1,41 +1,16 @@
import json
-import os
-from os import path
-from datetime import datetime
from orderedset import OrderedSet

-from django.conf import settings
-from django.db.models import Q
-from django.views import View
-from django.views.generic import TemplateView, edit, DetailView
from django.utils.translation import ugettext_lazy as _
-from django.forms import widgets
-from django.forms import inlineformset_factory
-from django.shortcuts import get_object_or_404, redirect
-from django.contrib import messages
-from django.core.files.base import ContentFile
-from django.http import HttpResponse, HttpResponseRedirect
+from django.shortcuts import get_object_or_404

-from dy
... mostra di più



 
Tutti pigiati in un treno di tre (3) carrozze. Cos'è? s'è bagnato e s'è ristretto? Rubano le carrozze nella notte? #ferrovieno
Non piace a Elena ``of Valhalla''.


 

Snowflake macro photography

Snowflake macro photography: how to take closeup images of real snow crystals with simple optical add-on for compact camera? In this article, you'll find detailed description of shooting and photo processing techniques, scheme of optical add-on, snowflake pictures gallery, tips and tricks, useful links. Author: Alexey Kljatov aka ChaoticMind75

Aspetta un po', non siamo ancora in inverno. Sono bellissime ma le apprezzo di più in inverno oppure in agosto ;)

A dicembre metto palme e spiagge caraibiche :-D

Non sarebbe male, servirebbe per sentire meno freddo. Non per niente la gente va in vacanza ai tropici a dicembre.



 
"What is your idea of a perfect date?"
.
.
Developer: "YYYY-MM-DD"


 

Time

First written in 2006 or before. Last modified 3 Mar 2015. Some time-related considerations when programming: Thanks to Derek Arnold and Luke Faraone for corrections. This page has been featured on Hacker News, twice....