Skip to content

Instantly share code, notes, and snippets.

View david-lafontant's full-sized avatar
🏠
Working from home

David Lafontant david-lafontant

🏠
Working from home
View GitHub Profile
@stevecondylios
stevecondylios / contact-form-rails-6.md
Last active April 2, 2024 15:50
Create a Contact Form in Rails 6

How to make a contact form in rails 6

This is a quick walk through on how to:

  1. make a contact form in rails 6,
  2. test it locally, and
  3. move it into production using heroku and the MailGun addon

This uses the free heroku and mailgun plans. If you get stuck on any part, check the full code here.

@matthewjberger
matthewjberger / instructions.md
Last active April 7, 2025 11:31
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@nak1114
nak1114 / install-rbenv-win.bat
Last active June 19, 2023 08:44
Batch for install rbenv-win (require windows Vista+)
@echo off
setlocal
rem Set your rbenv directry
set instpath="%USERPROFILE%\.rbenv-win"
rem Clone git repositry
call git clone https://github.com/nak1114/rbenv-win.git %instpath%
rem Config path
@gizmaa
gizmaa / Plot_Examples.md
Last active December 1, 2024 18:02
Various Julia plotting examples using PyPlot
@nrrrdcore
nrrrdcore / bending-shadow.css
Last active March 3, 2025 22:54
Simple Bended-Shadow CSS: Create the Bended Photo Effect without writing a million divs.
.bended-shadow {
position: relative;
width: 500px;
margin: 200px auto;
}
.bended-shadow::before, .bended-shadow::after {
content: '';
position: absolute;
width: 60%;