Skip to content

Instantly share code, notes, and snippets.

View TangoMan75's full-sized avatar
🕷️

Matthias Morin TangoMan75

🕷️
View GitHub Profile
@BlakeCampbells
BlakeCampbells / readme.md
Last active December 15, 2022 22:47
Better Readme Outline

Project Name

Overview

  • What does this project do?
  • Who is it for? What goals does this accomplish?

Setup

  • Requirements for running the project

@mdang
mdang / RAILS_CHEATSHEET.md
Last active September 19, 2024 17:20
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before

@ShirtlessKirk
ShirtlessKirk / luhn.js
Last active August 27, 2024 05:35
Luhn validation algorithm
/**
* Luhn algorithm in JavaScript: validate credit card number supplied as string of numbers
* @author ShirtlessKirk. Copyright (c) 2012.
* @license WTFPL (http://www.wtfpl.net/txt/copying)
*/
var luhnChk = (function (arr) {
return function (ccNum) {
var
len = ccNum.length,
bit = 1,