Skip to content

Instantly share code, notes, and snippets.

Steve Condylios stevecondylios

Block or report user

Report or block stevecondylios

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@stevecondylios
stevecondylios / install-r-and-rstudio-on-windows-with-powershell
Last active Oct 14, 2019
Powershell script to install both R and RStudio on Windows
View install-r-and-rstudio-on-windows-with-powershell
$dir = $env:TEMP;
Set-Location $dir
$urlRStudio = "https://download1.rstudio.org/desktop/windows/RStudio-1.2.1335.exe"
$outputRStudio = "$dir\RStudio.exe"
$wcRStudio = New-Object System.Net.WebClient
$wcRStudio.DownloadFile($urlRStudio, $outputRStudio) # $PSScriptRoot
$urlR = "https://cran.r-project.org/bin/windows/base/R-3.6.0-win.exe"
@stevecondylios
stevecondylios / contact-form.md
Last active Nov 14, 2019
Create and Deploy a Contact Form to Production in Ruby on Rails 5
View contact-form.md

Create a Contact Form in Rails 5

This is a complete, step-by-step tutorial showing how to create a fully functional contact form in production in rails 5. Rather than reinvent things, the following borrows from the best available documentation and tutorials (most notably, this tutorial on making a contact form in development). The finished contact form can be viewed here.

This tutorial uses:

  • heroku for deployment,
  • gmail for the mailer, and
  • github for version control

It would be a good idea to create a new gmail account to use for your mailer now, if you haven't already. If you haven't yet got a heroku account and installed the heroku CLI, it would be easiest to do so now.

You can’t perform that action at this time.