See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentelem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeightelem.getClientRects(), elem.getBoundingClientRect()using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
Install Package Control for easy package management.
Ctrl+`
| <!DOCTYPE html> | |
| <html ng-app="sampleApp" lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
| <link rel="stylesheet"href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css"> | |
| <title>Practice With Bootstrap</title> | |
| <script> | |
| angular.module('sampleApp', []).controller('practiceController', function($scope) { |
| require 'pry' | |
| require 'pry-nav' | |
| def create_groups(student_list, group_size, total_days) | |
| binding.pry | |
| # groups = student_list.each_slice(group_size) {|student| p student} | |
| # return groups | |
| my_student_list = student_list | |
| groups = Array.new(total_days, Array.new(group_size)) | |
| groups.map! do |students| |
| <!-- Begin Student Index --> | |
| <div id="random-full-width-content" class="this-div-is-just-a-helpful-container"> | |
| <div class="section section-services student-index"> | |
| <div class="section-title"> | |
| <span>Flatiron School Class 003</span> | |
| </div> | |
| </div> | |
| <div class="section section-blog"> |