Skip to content

Instantly share code, notes, and snippets.

View retgoat's full-sized avatar
💭
😣

Roman retgoat

💭
😣
View GitHub Profile
@retgoat
retgoat / 1-uses_tracker.ex
Created December 18, 2017 04:49 — forked from christhekeele/1-uses_tracker.ex
A way to know what modules a module has used in Elixir.
# For more elaborate use cases, see the IndirectUsesTracker instead:
# https://gist.github.com/christhekeele/fc4e058ee7d117016b9b041b83c6546a
###
# A way to know, at runtime, what modules a module has used at compile time.
# In this case, you include `UsesTracker` into a module. When that module gets
# used in some other module, it registers itself with the other module.
##
defmodule UsesTracker do
2. Given the file with random chars, draw a histogram of chars count.
For example for file with content
===
123456789012345678909999991234569999
===
Output should be the following:
1 ***
@retgoat
retgoat / readme.md
Created October 2, 2023 04:16 — forked from Anime4000/readme.md
Linux Mail Server Postfix Dovecot Virtual User, no sql database

Linux Mail Server

In this guide, I will show you how to make a Linux Mail Server in fast and easy way. This guide was taken from tiq's tech-blog for recent version, Linux distro I using is Ubuntu 20.04 LTS

Certificate

Make sure you have Certificate and Key file ready to use.

You can use existing Web Server SSL certificate, since we going to use same domain, example.com.

If you plan to use mx.example.com or mail.example.com you need create another one for these.

{%comment%}
#############################################
# Mohamed El-Ghorfi Discount Code on Cart #
# [UPDATED] #
#############################################
# Paypal Me: https://paypal.me/elghorfimed #
# Buy Me A Coffee: #
# https://www.buymeacoffee.com/elghorfi #
#############################################
# elghorfi.med@gmail.com #