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
<div class="sponsor-list"> | |
<a class="sponsor-item" href="https://www.lifealive.com/" target="_blank"> | |
<img src="https://cdn.discordapp.com/attachments/1184252302090047619/1209216876849139793/lifealivelogo-v11.png?ex=65e61df9&is=65d3a8f9&hm=946ac931795c88886fcdb6af2a6fe8c87551bad6e2dc5c894283bd95d0f11f1a&" /> | |
</a> | |
<a class="sponsor-item" href="https://ksj.mit.edu/" target="_blank"> | |
<img src="https://cdn.discordapp.com/attachments/1184252302090047619/1209216999721402378/image002.png?ex=65e61e16&is=65d3a916&hm=7001b1cde9ee8893918a11dd8367efef6b1b157b80cd684f23b0a546dfcdef66&" /> | |
</a> | |
</div> |
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
func randString(length int) string { | |
// Chars to Choose From | |
chars := []byte("abcdefghijklmnopqqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890") | |
// Output String | |
output := "" | |
// Seed the Random Object for Random-ness | |
s1 := rand.NewSource(time.Now().UnixNano()) | |
r1 := rand.New(s1) | |
// Generate String to Specified Length | |
for i := 0; i < length; i++ { |
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
import nodemailer from 'nodemailer'; | |
export class GMailService { | |
private _transporter: nodemailer.Transporter; | |
constructor(username: string, password: string) { | |
this._transporter = nodemailer.createTransport( | |
`smtps://<username>%40gmail.com:<password>@smtp.gmail.com` | |
); | |
} | |
sendMail(to: string, subject: string, content: string) { |
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
<body class="bg-gray-100"> | |
<nav class="bg-red-600 w-screen h-20 flex flex-row justify-center content-center"> | |
<h1 class="text-white text-4xl my-auto"> | |
Colin App | |
</h1> | |
</nav> | |
<main class="w-screen flex-col sm:flex-row"> | |
<article class="shadow-2xl mx-16 my-16 w-auto"> | |
<img | |
src="https://cdn.pixabay.com/photo/2015/12/01/20/28/road-1072823__340.jpg" |
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
### Keybase proof | |
I hereby claim: | |
* I am superc03 on github. | |
* I am superc_03 (https://keybase.io/superc_03) on keybase. | |
* I have a public key ASAxQjua3AmoOYoTqhqdVO8QFm8_eiTSrYvEMXuenTVUiwo | |
To claim this, I am signing this object: |