See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
PASS=yourcertificatemasterpassword | |
SUBJ=/C=PL/ST=MyState/L=MyLocation/O=MyOrganization/OU=MyOrganisationUnit/CN=localhost/emailAddress=admin@localhost | |
# Targets | |
localhostCA.crt: localhostCA.pem | |
openssl x509 \ | |
-in localhostCA.pem \ | |
-inform PEM \ | |
-out localhostCA.crt |
//browser push notification "onClick" event heandler | |
self.addEventListener('notificationclick', function(event) { | |
console.log('[Service Worker] Notification click Received.'); | |
event.notification.close(); | |
/** | |
* if exists open browser tab with matching url just set focus to it, | |
* otherwise open new tab/window with sw root scope url | |
*/ | |
event.waitUntil(clients.matchAll({ |
You can follow these steps to create your own local mail server using postfix.
Before that we need to learn what is Postfix? Postfix is a mail transfer agent (MTA) that routes and delivers electronic mail. And Mail transfer agent is a software that transfers electronic mail from one computer to another computer using Simple Mail Transfer Protocol(SMTP).
Here we are going to use local mail for that and we will use sendmail
driver for our laravel project.
#! /bin/bash -eu | |
EXTERNAL_URL_HOST_NAME="$1" | |
ADMIN_USERNAME="$2" | |
ADMIN_PASSWORD="$3" | |
CONCOURSE_VERSION=${CONCOURSE_VERSION:-v1.1.0} | |
apt-get update | |
apt-get install -y postgresql postgresql-contrib |
""" Class object and functions for creating, training, and evaluating PPO agents | |
using the TensorFlow Agents API. """ | |
# Native Python imports | |
import os | |
import argparse | |
from datetime import datetime | |
import pickle | |
# TensorFlow and tf-agents |
{ | |
"always_show_minimap_viewport": true, | |
"animation_enabled": false, | |
"caret_style": "phase", | |
"block_caret": true, | |
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
"default_line_ending": "unix", | |
"draw_centered": false, | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": |