This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name my-react-app.mydomain.com; | |
location / { | |
root /home/user/my-react-app/client/build/; | |
try_files $uri $uri/ @node_backend; | |
} | |
location @node_backend { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# fix_date.py - corrects the received date in IMAP folders. | |
# Description: | |
# When moving mail between IMAP servers, the received date can become | |
# reset to the date when the message was added to the new server. This | |
# script attempts to fix this by setting the received date to the date the | |
# message was sent. | |
# Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Input\Settings\proc_1\loc_0809\im_1] | |
"EmojiSuggestion"=dword:00000001 | |
"EmojiTranslation"=dword:00000001 | |
"EnableExpressiveInputEmojiInputHistory"=dword:00000001 | |
"EnableExpressiveInputShellHotkey"=dword:00000001 | |
"EnableExpressiveInputSystemInitiated"=dword:00000001 | |
"EnableExpressiveInputUserInitiated"=dword:00000001 | |
"EnableHwkbTextPrediction"=dword:00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
... | |
<dependencies> | |
<dependency> | |
<groupId>maven-demo</groupId> | |
<artifactId>module1</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>maven-demo</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
... | |
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-report-plugin</artifactId> | |
<version>2.19.1</version> | |
<reportSets> | |
<reportSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
... | |
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-project-info-reports-plugin</artifactId> | |
<version>2.9</version> | |
<reportSets> | |
<reportSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
... | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>default-prepare-agent</id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
trap "" HUP | |
PROCESS_NAME=$1 | |
shift | |
MESSAGE=$* | |
waitfor.sh "${PROCESS_NAME}" ${MESSAGE} has started |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
trap "" HUP | |
PROCESS_NAME=$1 | |
shift | |
MESSAGE=$* | |
until ps -fu $USER | grep "${PROCESS_NAME}" | grep -v grep | grep -v $0 | grep -v waitfor >/dev/null 2>&1; do | |
sleep 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
trap "" HUP | |
PID=$1 | |
shift | |
MESSAGE=$* | |
while ps --pid ${PID} >/dev/null 2>&1; do | |
sleep 5 |
NewerOlder