Skip to content

Instantly share code, notes, and snippets.

View agilous's full-sized avatar

Bill Barnett agilous

View GitHub Profile
@schovi
schovi / OSX cleanup.md
Last active February 8, 2024 01:58
My collection of resources how to keep your mac fresh, fast and with lot of disk space. Still **WORK IN PROGRESS**. If you have any comments and tips, give me comment. Like how to clean after python, clojure, etc etc
require 'socket'
require 'date'
require 'securerandom'
host = '127.0.0.1'
port = 2575
def send_messages(host, port, facilities, count)
names = ['Swaniawski Lavonne', 'Blick Melyssa', 'Schiller Dorothea', 'Lemke Malinda', 'Fahey Margot', 'Fritsch Muhammad', 'Connelly Elena', 'Stiedemann Declan', 'Leffler Logan', 'Hermiston Theodora', 'Koelpin Edwardo', 'Walter Jaren', 'Schuster Delaney', 'Lubowitz Melisa', 'Langosh Murl', 'Mraz Marina', 'Hamill Ardella', 'Gerhold Tabitha', 'Schaden Enola', 'Farrell Mohammed', 'Kassulke Bobby', 'Crist Kurtis', 'Heller Alexys', 'McKenzie Eloy', 'Nikolaus Gianni', 'Littel Rebecca', 'Schuster Lucy', 'Mayer Zella', 'Reilly Phoebe', 'Auer Colton', 'Hessel Emerson', 'Schuppe Jordan', 'Goodwin Paolo', 'King Guy', 'Heathcote Pietro', 'Spencer Laurence', 'Heathcote Selina', 'Brown Reginald', 'Quitzon Orpha', 'Howe Otho', 'Hansen Desiree', 'Feil Marley', 'Casper Bryana', 'Schmeler Royce', 'Auer Enrique', 'Hilll Liliana', 'Kiehn Lisandro', 'Eichmann Jerrold', 'Wuckert Eloisa', 'Schimm

Overall Goals

Ruby

  • Programming basics (if necessary)
  • Primary types - String, Array, Enumerable, etc
  • OO

Rails - lecture and build an app iteratively with TDD

  • CRUD
  • Auth
#!/bin/bash
if [ -z "$1" ]; then
wdir="."
else
wdir=$1
fi
for f in $( find . -name '*erb' ); do
out="${f%.erb}.haml"
if [ -e $out ]; then