Legend:
- ✏️ method changes
this
. - 🔒 method does not change
this
.
Array<T>.prototype.*
:
concat(...items: Array: T[]
🔒 ES3
def team_availability(time_used_array) | |
# total_time_availability = [['8:30', '9:00'],['9:00', '9:30'],['9:30', '10:00'],['10:00', '10:30'],['10:30', '11:00'],['11:00', '11:30'],['11:30', '12:00'],['1:00', '1:30'],['1:30', '2:00'],['2:00', '2:30'],['2:30', '3:00'],['3:00', '3:30'],['3:30', '4:00'],['4:00', '4:30'],['4:30', '5:00']] | |
time_array = [[8.5, 9.0], [9.0, 9.5], [9.5, 10.0], [10.0, 10.5], [10.5, 11.0], [11.0, 11.5], [11.5, 12.0], [13.0, 13.5], [13.5, 14.0], [14.0, 14.5], [14.5, 15.0], [15.0, 15.5], [15.5, 16.0], [16.0, 16.5], [16.5, 17.0]] | |
# time_array = [] | |
# (8.5..17).step(0.5).each do |time| | |
# time_array << time | |
# end | |
# time_slot = [] | |
# time_array.each_with_index do |x, i| | |
# time_slot << [x, time_array[i+1]] |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)Here are my goals that I would like to accomplish over the next year.
#!/usr/bin/env ruby | |
require 'yaml' | |
require 'json' | |
input_dirname = ARGV[0] | |
output_filename = "parsed_interviews.json" | |
class Categorizer | |
HW_CATEGORIES = [[/.*dell.*/, ["pc","system"]], |
Blog typography
Pets and Yoga at work isn't culture
Being a Senior Developer
Technology of Future -interesting blog post
General Interview Questions and stuff
Arduino for beginners
MonoRails - young vs mature Rails app - words of wisdom
Programming Jokes
Blueprint - Reverse Engineer Instances
Random Name generator
Senior programmers won't have a problem with these, while junior programmers will usually give only half-answers.
A text-book answer: classes are a blue-print for constructing computer models for real or virtual objects... boring.
In reality: classes hold data, have methods that interact with that data, and are used to instantiate objects.