Skip to content

Instantly share code, notes, and snippets.

View narcisobenigno's full-sized avatar

Narciso narcisobenigno

View GitHub Profile

Intro

Our company has an intelligent calendar system using machine learning that identifies what is the best time to send emails to a specific customer. For example, customer Joe would be most receptive to emails that are sent on Mondays at 7 AM in the first half of January, and Tuesday at 11 AM in the remaining half of the month. This time varies depending on customer but each customer will receive an email periodically.

When a new customer is onboarded onto the system, we have to figure out what are the best times to communicate recurringly with them. Your assignment is to design a FollowUp system that periodically sends recurring emails to each customer.

Existing systems

The following are the existing systems that your FollowUp system will need to interact with in order to periodically communicate with customers. Consider these systems external to the FollowUp system you will be designing.

@narcisobenigno
narcisobenigno / Efficient Encrypted UEFI-Booting Arch Installation
Created August 6, 2018 00:09 — forked from HardenedArray/Efficient Encrypted UEFI-Booting Arch Installation
An effcient method to install Arch Linux with encrypted root and swap filesystems and boot from UEFI. Multi-OS, and VirtualBox, UEFI-booting are also supported.
# OBJECTIVE: Install Arch Linux with encrypted root and swap filesystems and boot from UEFI.
# Note: This method supports both dedicated Arch installs and those who wish to install Arch on a multi-OS-UEFI booting system.
# External USB HDD/SSD Installers Notes: Encrypted Arch installs can be booted and run from an external USB HDD or SSD, but
# only when the installation is correctly set up. There are several necessary changes to my standard procedure you'll want
# to make during the install process. Read my External USB HDD/SSD Installation section below before proceeding.
@narcisobenigno
narcisobenigno / set-upstream.sh
Created September 21, 2012 19:06
fazer o track de um branch que não tem a ref local para a ref no remoto
git branch --set-upstream foo upstream/foo
A parte do git 1.8
git branch --track master origin/master
@narcisobenigno
narcisobenigno / WebAppWithJetty.scala
Created August 5, 2012 03:47
SBT configs to use Jetty 8.1.x
import sbt._
import Keys._
import com.github.siasia._
import WebPlugin._
import WebappPlugin._
import PluginKeys._
object WebAppWithJetty extends Build {
lazy val root = Project(
@narcisobenigno
narcisobenigno / gist:2655305
Created May 10, 2012 19:31
ignore already existent file added to gitignore
git rm --cached -f existent-file-name
@narcisobenigno
narcisobenigno / applicationContext.xml
Created July 1, 2011 13:58
Configuração do application context para spring security com vraptor
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:sec="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd