Skip to content

Instantly share code, notes, and snippets.

View mikedao's full-sized avatar
🤷

Michael Dao mikedao

🤷
  • SimpleRaise
  • Jacksonville, FL
  • 00:13 (UTC -05:00)
View GitHub Profile
@MichaelDimmitt
MichaelDimmitt / Readme.md
Last active June 4, 2025 01:41
Things to consider: Get good at things you end up building over and over in your career

Lets get you good at things you end up building over and over in your career

Overall

  • linters and formatters:
    add a config to enforce code standards and code style.

Manually standardizing a coding style is not worth the conflict.
If you cannot enforce it in an automated way with zero communication then you have no standard long term.

  • formatter: the teams formatters must be aligned to avoid formatter override hell.
  • cspell, check english spelling. (you could expose your dictionary of words on the front end too!)
  • vs-code extension, code-spell-checker - puts blue squiggles under words. (uses cspell under the hood)
@JoshCheek
JoshCheek / object_model_challenges.rb
Last active February 12, 2016 21:14
object_model_challenges.rb
# Uncomment lines with `# =>` at the end,
# Predict the result.
# To see if your prediction is correct, run it with:
# vim: `\n` , NOT `\b` (if your leader is not `\`, then use that leader instead)
# atom: `command + option + n`, NOT `b`
# ===== Toplevel methods are defined where? =====
def rawr!
"#{self} says: rawr!"

Jet Fuel

Abstract

In this project you'll build a URL shortener service.

This version is a little bit different than what we do in Module 2 these days:

  • You can use Rails and ActiveRecord instead of Sinatra and Sequel
  • We're skipping authentication and authorization: We won't be implementing the idea of registered users
@r00k
r00k / vimrc
Last active May 13, 2023 09:34
A minimal vimrc for beginners
" A minimal vimrc for new vim users to start with.
"
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/
" Original Author: Bram Moolenaar <[email protected]>
" Made more minimal by: Ben Orenstein
" Last change: 2012 Jan 20
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
@rwarbelow
rwarbelow / tidy-up.markdown
Last active November 2, 2015 23:43
Posse Tidy-Up Duties

Tasks

Classrooms

  • wipe down tables
  • remove cups and other kitchenware
  • wipe surfaces of public screens (TVs, pairing monitors)
  • tidy up cords at the front of each classroom
  • water plants according to schedule

Pairing Stations and Group Setups

@JoshCheek
JoshCheek / shoot.rb
Created October 30, 2014 16:26
Refactoring an if statement for a student
# original
def shoot
if cranky? || laying?
"NO!"
else
@tired += 1
"Twang!!!"
end
end
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')