FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.

Effective Engineer - Notes

What's an Effective Engineer?


Keybase proof

I hereby claim:

  • I am diegorv on github.
  • I am diegorv ( on keybase.
  • I have a public key whose fingerprint is 0D84 2B4B 23F1 DE3A C4E6 ADE1 ACF5 FD21 E214 28F2

To claim this, I am signing this object:

View sublime.json
"afterglow_folder_icons": true,
"always_show_minimap_viewport": false,
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/1337 (SL).tmTheme",
"draw_indent_guides": true,
"draw_minimap_border": false,
"ensure_newline_at_eof_on_save": true,
"font_face": "Hack",
View gist:53627b0575d556c70b0f
// Programa: Web Server com modulo ESP8266
// Alteracoes e adaptacoes: FILIPEFLOP
#include "ESP8266.h"
#include "SoftwareSerial.h"
// Cria uma serial nas portas 2 (RX) e 3 (TX)
SoftwareSerial esp8266(2 , 3);
// Define que o modulo ira utilizar a serial minhaSerial
View gist:9999799
bind "F10" "amx_on; amx_say random [ Desbugando ];amx_rcon sv_timeout 1;wait;wait;wait;wait;wait;amx_rcon sv_timeout 99999; amx_rcon sv_timeout 65;amx_execall speak buttons/button1;speak buttons/button1"
bind "F7" "amx_rcon sv_restart 1"
bind "F6" "amx_say [Cpl Off]; amx_rcon mp_friendlyfire 0; amx_rcon mp_startmoney 16000; amx_rcon mp_roundtime 2.50; amx_rcon mp_c4timer 35; amx_rcon mp_freezetime 0; amx_rcon mp_buytime 2.50; amx_rcon mp_timeleft 0; amx_rcon mp_timelimit 0; amx_rcon mp_maxrounds 0; amx_rcon sv_alltalk 0; amx_rcon mp_forcechasecam 0; amx_rcon mp_forcecamera 0; amx_rcon mp_autoteambalance 0; amx_rcon mp_limitteams 0; mp_autokick 1"
bind "F5" "amx_say [Cpl On]; amx_rcon mp_freezetime 15;amx_rcon mp_c4timer 35;amx_rcon mp_maxrounds 0;amx_rcon mp_tkpunish 0;amx_rcon mp_startmoney 800;amx_rcon mp_friendlyfire 1;amx_rcon mp_roundtime 1.75;amx_rcon mp_limitteams 0;amx_rcon mp_autoteambalance 0;amx_rcon mp_friendlyfire 1;amx_rcon allow_spectators 1;amx_rcon sv_alltalk 0;amx_rcon mp_forcecamera 2;amx_r
View rfid_decimal.pde
#include <SoftwareSerial.h>
// Pin definitions
const int rfid_irq = 0;
const int rfid_tx_pin = 6;
const int rfid_rx_pin = 7;
// For communication with RFID module
SoftwareSerial rfid(rfid_tx_pin, rfid_rx_pin);
View gist:1780157
{:name => 'BronzeBusiness' ,
:url => '',
:fields => %w(logradouro nome bairro UF cidade)
{:name => 'RepublicaVirtual' ,
:url => '',
:fields => %w(tipo_logradouro logradouro bairro uf cidade)
{:name => 'Paicon' ,
View gist:1186843
#require 'simplecov'
#SimpleCov.start 'rails'
require 'rubygems'
#require 'spork'
#Spork.prefork do
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
View gist:1186738
class Client < ActiveRecord::Base
has_many :client_companies, :dependent => :destroy
has_many :contracts , :dependent => :destroy
accepts_nested_attributes_for :client_companies , :allow_destroy => true
class ClientCompany < ActiveRecord::Base
belongs_to :client
View have_named_scope.rb
module Shoulda # :nodoc:
module ActiveRecord # :nodoc:
# Examples:
# class Book < ActiveRecord::Base
# named_scope :test, :conditions => { :name => "test" }
# named_scope :by_name, lambda { |n| { :conditions => { :name => n} } }
# end
# RSpec: