This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Network After Work | |
| <img src="https://raw.githubusercontent.com/devict/Graphics/master/devict-logo.png" width="300" alt="devICT" style="outline: 0; border: 0; box-shadow: none"/> | |
| | |
| <img src="http://photos4.meetupstatic.com/photos/event/3/0/4/0/highres_330252352.jpeg" width="300" alt="Women Who Code" style="outline: 0; border: 0; box-shadow: none"/> | |
| --- | |
| ## Wichita Women Who Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jennifer: 215 | |
| michael: 146 | |
| jessica: 143 | |
| lisa: 141 | |
| linda: 138 | |
| melissa: 129 | |
| david: 125 | |
| ashley: 124 | |
| amanda: 123 | |
| susan: 120 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MoveFinalReviewDateToPerformanceReview < ActiveRecord::Migration | |
| def up | |
| performance_reviews = PerformanceReview.where(final_review_date: nil) | |
| PerformanceReview.skip_callback(:save, :before, :set_employee_position_title) | |
| performance_reviews.each do |pr| | |
| last_review = pr.review_dates.sort { |a,b| a.review_at <=> b.review_at }.last | |
| PerformanceReview.observers.disable :all do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| total_updated = 0 | |
| total_failed = 0 | |
| c.performance_reviews.each do |pr| | |
| [pr.objectives, pr.training_modules, pr.special_projects, pr.core_competencies].each do |things| | |
| things.each do |thing| | |
| thing.comments.each do |c| | |
| if !c.private? && c.user == pr.user | |
| c.private = true | |
| c.save ? total_updated += 1 : total_failed += 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var five = require('johnny-five'), | |
| board = new five.Board(); | |
| board.on('ready', function() { | |
| var lcd = new five.LCD({ | |
| pins: [12, 11, 5, 4, 3, 2], | |
| rows: 2, | |
| cols: 16 | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- colors (solarized dark) | |
| # default statusbar colors | |
| set -g status-bg black | |
| set -g status-fg yellow | |
| set -g status-attr default | |
| # default window title colors | |
| setw -g window-status-fg brightblue | |
| setw -g window-status-bg default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <statusUpdate userId="5" timeStamp="2014-10-31 05:00:00"> | |
| <statusText>lawl fb</statusText> | |
| </statusUpdate> | |
| vs | |
| { | |
| "statusUpdate": { | |
| "statusText": "lawl fb", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports.models = { | |
| // Your app's default connection. | |
| // i.e. the name of one of your app's connections (see `config/connections.js`) | |
| // | |
| // (defaults to localDiskDb) | |
| connection: 'localDiskDb' | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| company = Company.find_by_subdomain('southfloridaeducfcu') | |
| company.employees.each do |employee| | |
| last_salary_adjustment = employee.salary_adjustments.last | |
| last_salary_adjustment.effective_date = Date.parse('02/17/2014') | |
| last_salary_adjustment.save | |
| end |