Skip to content

Instantly share code, notes, and snippets.

View danielmsong's full-sized avatar
💭
🤤

Daniel Song danielmsong

💭
🤤
View GitHub Profile
@quackingduck
quackingduck / js_classes.js
Last active December 20, 2015 02:29
javascript madness __proto__ and prototype and class
// OBJECT PROGRAMMING
avi = {
walk: function() { console.log(this.name + ' is walking') },
name: 'Avi'
}
avi.walk()
avi.lastName = 'Kaufman'
@ndelage
ndelage / web_perf.md
Last active February 7, 2019 06:50
Web Performance

Web Preformance

Sources of slow

Database

  • n+1 queries (try :includes or join)
  • Complex joins (is there another way to find the data?)
  • Missing indexes
  • Useless indexes
  • Schema (prossibly denormalize)
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active October 26, 2025 08:45
A badass list of frontend development resources I collected over time.
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt