- Download and make it executable
wget https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
sudo cp MailHog_linux_amd64 /usr/local/bin/mailhog
sudo chmod +x /usr/local/bin/mailhog
- Make MailHog as a service
import axios, { AxiosRequestConfig } from "axios"; | |
import router from "@/router"; //shortcut to src | |
import { Module } from "vuex"; | |
const authModule: Module<any, any> = { | |
state: { | |
loggedIn: false, | |
loginError: null, | |
username: null |
/* | |
* This script should be used as the pre-request script for any requests made to Emarsys. In theory, it should work for any API that implements WSSE authentication as well. | |
* To Use: | |
* 1: Set an environment variable for wsse-user and wsse-secret containing your WSSE user and secret respectively | |
* 2: On your Headers tab, add an X-WSSE header with a value of {{wsse-header}} | |
* | |
* That's it! When you make a request, the pre-request script will generate your Nonce, Timestamp, and Digest using your secret. The 1-time-use header will be stored in the environment as wsse-header and used for your request. | |
*/ | |
// | |
// wsse.js - Generate WSSE authentication header in JavaScript |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
<?php | |
/** | |
* This script can be used for generating PHP model for PDT. | |
* It builds PHP functions according to the loaded extensions in running PHP, | |
* using complementary information gathered from PHP.net documentation | |
* | |
* @author Michael Spector <michael@zend.com> | |
*/ | |
if (version_compare(phpversion(), "5.0.0") < 0) { |