This file contains hidden or 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
# echo Autocommiting... | |
# Date in format of "2019.09.04 - 11.19.09" | |
# which means Sept 4, 2019 at 11:19:09 AM | |
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | |
git add . | |
git add -u | |
git commit -m "$current_time" |
This file contains hidden or 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
// Emailer.php | |
// http://www.mrventures.net/all-tutorials/sending-emails | |
<?php | |
// This code lives on my server at https://files.000webhost.com/ | |
// This allows us to send data back to Unity | |
header("Access-Control-Allow-Origin: *"); | |
// Evaluate data are all present | |
if (isset($_REQUEST["name"]) && isset($_REQUEST["fromEmail"]) | |
&& isset($_REQUEST["toEmail"]) && isset($_REQUEST["message"])) |
This file contains hidden or 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
// Emailer.cs | |
// http://www.mrventures.net/all-tutorials/sending-emails | |
using System.Collections; | |
using System.Net; | |
using System.Net.Mail; | |
using System.Net.Security; | |
using System.Security.Cryptography.X509Certificates; | |
using UnityEngine; | |
public class Emailer : MonoBehaviour { |