Skip to content

Instantly share code, notes, and snippets.

View Vampeyer's full-sized avatar
🧶
Spinning my yarn

Jake T. (Vampeyer ) Vampeyer

🧶
Spinning my yarn
  • Enviro Secure
View GitHub Profile
@Vampeyer
Vampeyer / content.md
Created February 17, 2026 21:01 — forked from mysticaltech/content.md
THE WAY OF CODE - Rick Rubin

THE WAY OF CODE

The Timeless Art of Vibe Coding

Based on Lao Tzu. Adapted by Rick Rubin

Each encounter I’ve had with Lao Tzu has pointed me to something new. Almost as if the book changes with every reading. I first picked up Stephen Mitchell’s translation 40 years ago at the Bodhi Tree bookstore in Los Angeles and my life has never been quite the same. — Rick Rubin

@Vampeyer
Vampeyer / gist:4beab8650026ea6df9cc912676947dd5
Created August 27, 2024 05:26
JavaScript - Mastery Kata 7 - most plump and most red vegetables , nested obj in array
const vegetables = [
{
submitter: "Old Man Franklin",
redness: 10,
plumpness: 5,
},
{
submitter: "Sally Tomato-Grower",
redness: 2,
plumpness: 8,
@Vampeyer
Vampeyer / kata6.js
Created August 27, 2024 04:55
JavaScript Kata 6 clean or dirty w thresh holds ratio
let samples = ['clean','clean','clean', 'dirty' , 'dirty']
// function checkAir(air){
let dirties = 0;
let cleans = 0;
let threshhold = 0.75
let returnRatio = 0
@Vampeyer
Vampeyer / kata5.js
Created August 27, 2024 03:22
JavaScript Mastery - Kata 5
// In this exercise, you will be given a normal string
// of words and will turn it into a percent-encoded string
// by replacing all whitespace with %20.
// Percent Encoding
// Take a look at the following URL, specifically the last
// part:
// This URL will perform a Google search for the term "lighthouse labs".
// Notice that when the string "lighthouse labs" is part of a URL, the
@Vampeyer
Vampeyer / kata4-longestname.js
Created August 27, 2024 01:41
JavaScript Mastery - Kata 4 , longest name in nested obj
// Kata 4 - Instructor's Names
// Assignment
// 1h
// Status
// Incomplete
// In this exercise, you will be given a list of instructors and you will have to determine which instructor has the longest name.
// Input
// const instructorWithLongestName = function (instructors) {
// // Put your solution here
@Vampeyer
Vampeyer / kata3-vowels.js
Created August 26, 2024 22:36
JavaScript Mastery - Kata 3 Vowels
// Vowels .
// Kata 3 - Vowels
// Assignment
// 30m - 1h
// Status
// Incomplete
// In this exercise, you will be counting the number of vowels that appear in a given string. For this exercise, consider the following to be vowels: a, e, i, o, and u.
// For this kata, you'll be adding only the numbers in the array which match the given condition.
// Input
// const conditionalSum = function(values, condition) {
// // Your code here
// };
// console.log(conditionalSum([1, 2, 3, 4, 5], "even"));
// console.log(conditionalSum([1, 2, 3, 4, 5], "odd"));
// console.log(conditionalSum([13, 88, 12, 44, 99], "even"));
@Vampeyer
Vampeyer / study_guide1.md
Last active August 25, 2024 23:26 — forked from rgardner/study_guide1.md
Political Economy Study Guide

3/4/14 #Texts & Ideas: Political Economy Midterm 1

##Part I: The Civic and Christian Tradition of Political Economy ###Assumptions of Liberalism

  • humans are rational
  • individual is unit of analysis
  • individuals should have freedom to make own decision
  • commerce seen in positive light
  • the state is separate and distinct from the Market