There are a few things you can do very easily that'll speed up your workflow. Get ready for excellent fun learn time!
- Edit Settings
- 'Show Invisibles'
- Install/Enable packages
- Autosave (Core package)
- ruby-block
- zentabs
- ruby-define-method
def flatten_marquez(quote_array) | |
index = 0 | |
while index <= quote_array.length | |
quote_piece = quote_array[index] | |
if quote_piece.kind_of?(Array) | |
if quote_piece.empty? | |
quote_array.delete_at index | |
else | |
inner_quote_piece = quote_piece.shift | |
quote_array.insert index, inner_quote_piece |
###Hack Design - How Might We Improve the Ways in which Junior Devs Find and Secure Jobs? ####Intro to Design Thinking (15)
####Building Empathy (15)
####Vision for Project (15)
Hey 1511, | |
If you are still needing to require 'pry' at the top of your specs, here's a quick fix that can save you some time: | |
1. Go to your atom preferences (cdm ,) | |
2. Click on 'Open Config Folder' | |
3. Navigate to your 'snippets.cson' file. | |
4. Paste the following code at the top of the file: | |
'.source.ruby': |
One of our engineering challenges at NoRedInk is deciding performantly how to show students the right mix of content. By choosing the right cross-section of content we can ensure that:
We base our decision on a number of factors:
#version 1 | |
class Deque | |
def initialize | |
@head = nil | |
@tail = nil | |
end | |
def push(data) | |
if @head.nil? | |
@head = Node.new(data) |
##Gigasecond My code: here
Alt Solution #1 (here) - This solution makes some interesting decisions that I'm not sure I agree with. They define Gigasecond, then use.prototype.date to return the solution. These could be merged into one function/constructor.
Alt Solution #2 (here) - This solution is pretty similar to mine, except it doesn't use exponents to decreate the gigasecond and it uses an extra line to define a variable called birthday.
Alt Solution #3 (here) - This solution is very similar to Alt Solution #1. I like about they used 10e11 instead of pow to define the gigasecond.
Alt Solution #4 (here) - This solution is interesting for a few reasons. First, they use