Skip to content

Instantly share code, notes, and snippets.

@EvanBurchard
Last active April 24, 2017 14:04
Show Gist options
  • Save EvanBurchard/477741 to your computer and use it in GitHub Desktop.
Save EvanBurchard/477741 to your computer and use it in GitHub Desktop.
When I can't figure it out, for too long, it's usually one of these things.
Forget to include a file
Forget to load a library
Forget to call the executed code
Compare with "=" instead of "=="
Misspell variable names
Misspell method names
Forget to migrate
Call the wrong database
Try to use the wrong version of the app (deployed, local, staging)
id instead of a class or class instead of an id
is something overwriting the code that you just wrote?
visual issues: was the resolution increased/decreased?
symbol instead of string
are the file permissions ok?
wrong version of library referenced?
is the configuration specified somewhere else?
Wrong git url (read only vs. read/write)?
scoping issue?
did I put quotes around a boolean literal or variable name?
On making something new that is hard:
Have I written this before?
Has someone else written this?
Does it really need to be recreated?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment