Skip to content

Instantly share code, notes, and snippets.

View emilyseibert's full-sized avatar

Emily Seibert emilyseibert

  • Salt Lake City, UT
View GitHub Profile
@emilyseibert
emilyseibert / htmlcollection-vs-nodelist.markdown
Created February 25, 2020 22:31
HTMLCollection vs NodeList
@emilyseibert
emilyseibert / components-ii-guided-project-starter.markdown
Created January 13, 2020 00:44
Components-II Guided Project Starter
@emilyseibert
emilyseibert / components-i-starter.markdown
Last active May 12, 2020 13:09
Components - I starter
@emilyseibert
emilyseibert / dom-1-starter.markdown
Last active February 25, 2020 22:30
DOM 1 starter
@emilyseibert
emilyseibert / linter-output.md
Created March 14, 2017 23:27
Initial output for Kibit Linter
At src/cljs/wombats_web_client/components/chat_box.cljs:25:
Consider using:
  (.-key event)
instead of:
  (-> event .-key)

At src/cljs/wombats_web_client/components/countdown_timer.cljs:32:
Consider using:
  (pos? (seconds-until start-time))
@emilyseibert
emilyseibert / file-directory.txt
Created May 18, 2016 15:24
react-boilerplate file directory
|-- react-boilerplate
| |-- src
| | |-- js
| | | |-- actions
| | | | |-- ui.js
| | | |-- config
| | | | |-- a11y.js
| | | |-- containers
| | | | |-- app
| | | | | |-- index.js
text = "a a b c d d d d" # creates a str
words = text.split # splits on space
frequencies = Hash.new(0) # creates empty hash with default value of 0 when initializing new key
words.each do |word| # for each word
frequencies[word] += 1 # if word/key is in hash, access the word in the hash map and increment value. otherwise initialize key/value pair as word --> 0 then increment by 1
end
frequencies.sort_by do |word, num|
@emilyseibert
emilyseibert / payloads.md
Created April 28, 2016 13:12
Expected Payloads for Application Registry and Client Registry Service

Application Registry Service

/application

GET /application

Retrieves the entire list of applications.

Responses

Application Registry Service

/application

GET /application

Retrieves the entire list of applications.

Responses