- 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
.pre-wrapper{ | |
position:relative; | |
} | |
.pre-wrapper pre{ | |
padding-top: 25px; | |
} | |
.pre-wrapper .copy-snippet { | |
border-radius: 0; | |
min-width:55px; | |
background: none repeat scroll 0 0 transparent; |
On a recent project, I ran into an issue with Python Selenium webdriver. There's no easy way to open a new tab, grab whatever you need and return to original window opener.
Here's a couple people who ran into the same complication:
So, after many minutes (read about an hour) of searching, I decided to do find a quick solution to this problem.
There isn't a way to configure DND for the weekend on Slack. However, you can use the /dnd 24 hours
command to disable notifications for 24 hours using the [undocumented API][api] and [legacy tokens][token]. We're going to use the undocumented api and IFTTT to automate this.
DAYM93S0N
from acme.slack.com/messages/DAYM93S0N/convo/GBG661YR2-1536698414.000100/
)xoxp-4030334043-4959593942-3030320302032-sdf23rfasdf23rsf
and CHANNEL looks like DAYM93S0N
)
https://slack.com/api/chat.command?token=xoxp-4030334043-4959593942-3030320302032-sdf23rfasdf23rsf&channel=DAYM93S0N&command=%2Fdnd&text=24%20hours
--- | |
- hosts: all | |
tasks: | |
- name: Install prerequisites for Docker repository | |
apt: | |
name: ['apt-transport-https', 'ca-certificates', 'curl', 'gnupg2', 'software-properties-common'] | |
update_cache: yes | |
- name: Add Docker GPG key | |
apt_key: |
/** | |
* Password reset on sub site (1 of 4) | |
* Replace login page "Lost Password?" urls. | |
* | |
* @param string $lostpassword_url The URL for retrieving a lost password. | |
* @param string $redirect The path to redirect to. | |
* | |
* @return string | |
* | |
* @since 1.0.0 |
Use youtube-dl directly to download the video (thanks @meepybub!) Example:
youtube-dl -u <youremailaddress@example.com> "https://vimeo.com/ondemand/<video>"
#!/bin/bash | |
## | |
# Remove "Commercial use suspected"/"Commercial use detected" warning on teamviewer 13 | |
# | |
# Tested on Arch linux | |
## | |
CONFIG_FILE=/opt/teamviewer/config/global.conf |