- Would I want this person to be my boss?
- Would I learn a significant amount from him or her?
- What if this person went to work for our competition?
- What kind of T shape are they?
- Highly skilled at a broad set of valuable things (top of T)?
- Among the best in their field within a narrow discipline (leg of the T)?
This file contains 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 Strategy | |
def initialize(warrior, player) | |
@warrior = warrior | |
@player = player | |
end | |
def remember(memo) | |
player.remember memo | |
end |
This file contains 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 Strategy | |
def initialize(warrior, player) | |
@warrior = warrior | |
@player = player | |
end | |
def run | |
false | |
end |
This file contains 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 Strategy | |
def initialize(warrior, player) | |
@warrior = warrior | |
@player = player | |
end | |
def run | |
false | |
end |
This file contains 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 Strategy | |
def initialize(warrior, player) | |
@warrior = warrior | |
@player = player | |
end | |
def remember(memo) | |
player.remember memo | |
end |
This file contains 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
:ruby | |
@site = UT::SiteSucker.new(params[:url]) | |
= content_for :bottom_js do | |
:plain | |
window.launchTest = function(e){ | |
$('#utfst_start').remove() | |
$('#sucked_site').show() | |
}; |
This file contains 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
begin; | |
SELECT | |
id, | |
linked_study_id, | |
folder_id | |
FROM studies | |
WHERE | |
linked_study_id IS NOT NULL AND | |
folder_id IS NOT NULL; |
This file contains 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
@char_types [{~r/(?<number>\d)/, :digit}, {~r/(?<letter>\w)/, :letter}, {~r/(?<allowed>[\(\)\.\-])/, :allowed} ] | |
defp identify_char(char) do | |
{_, type} = Enum.find(@char_types, {nil, :unknown}, fn {reg, type} -> | |
String.match?(char, reg) | |
end) | |
{type, char} | |
end |
This file contains 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
Definitions. | |
INT = [0-9] | |
SPECIAL = [\(\)\.\-] | |
WHITESPACE = [\s\t\n\r] | |
Rules. | |
{INT} : { token, {int, TokenLine, TokenChars}}. | |
{SPECIAL} : skip_token. |