Skip to content

Instantly share code, notes, and snippets.

View mcharytoniuk's full-sized avatar
🔳
ᕕ( ᐛ )ᕗ

Mateusz Charytoniuk mcharytoniuk

🔳
ᕕ( ᐛ )ᕗ
View GitHub Profile
@surajitbasak109
surajitbasak109 / Email Server (Linux, Unix, Mac).md
Last active November 30, 2023 11:19 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup Local Mail Server using Postfix for Laravel

Setup Local Mail Server using Postfix for Laravel

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.

1 - Point localhost.com to your machine

""" 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
@mcharytoniuk
mcharytoniuk / Makefile
Last active December 22, 2023 17:43
Create self-signed certificate for local development.
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
{
"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":
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 15, 2024 16:02
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@hawlik
hawlik / serwice-worker.js
Created January 4, 2017 23:00
service worker redirect to browser tab on push notification click event
//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({
@tomwhoiscontrary
tomwhoiscontrary / install-concourse-on-ubuntu.sh
Created August 22, 2016 09:18
A shell script to install Concourse on a systemd-based Ubuntu using the plain binary
#! /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