Skip to content

Instantly share code, notes, and snippets.

View RJGrunau's full-sized avatar

Robert Grunau RJGrunau

  • Seattle, WA
View GitHub Profile
@cferdinandi
cferdinandi / markdown-editor.html
Last active February 28, 2023 22:23
A vanilla JS version of the example markdown editor app for Vue.js. https://vuejs.org/v2/examples/
<!DOCTYPE html>
<html>
<head>
<title>Marked Demo</title>
<style type="text/css">
body {
margin: 0 auto;
height: 100%;
font-family: 'Helvetica Neue', Arial, sans-serif;
color: #333;
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 18, 2025 06:21
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@arjunvenkat
arjunvenkat / gist:1115bc41bf395a162084
Last active January 12, 2024 05:04
Seeding a Rails database with a CSV file

How to seed a Rails database with a CSV file

1. Setup

First, Create a folder inside of lib called seeds

Put your CSV file example.csv into the lib/seeds folder. In the example below, the file is called real_estate_transactions.csv

Make sure you've created a resource with the appropriate columns to match your seed data. The names don't have to match up.