- 0:00 Event Presentation
- 2:03 Presenter Introduces Uncle Bob
- 3:41 Uncle Bob Introduction / My Tribe
- 4:49 How Far is the Sun?
- 10:52 Introduction to Clean Code
- 12:21 The current Society works with Software
- 19:47 Volkswagen case / Introduction to the Ethics of Software Development
- 24:28 Why are Programmers so slow?
- 32:13 What is a Clean Code?
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
/*globals define, module */ | |
//jshint camelcase: false, curly:false | |
(function(root) { | |
'use strict'; | |
// __proto__ will be used if supported | |
//jshint -W103 | |
function prototype_PROTO(parent, child, methods) { |
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
define(function(require) { | |
var text = require('text'); | |
var view = require('view'); | |
var cache = {}; | |
function load(name, parentRequire, done, config) { | |
text.load(name, parentRequire, function(template) { | |
cache[name] = template; |
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
Handlebars.JavaScriptCompiler.prototype.nameLookup = function(parent, name, type) { | |
var result = '(' + parent + ' instanceof Backbone.Model ? ' + parent + '.get("' + name + '") : ' + parent; | |
if (/^[0-9]+$/.test(name)) { | |
return result + "[" + name + "])"; | |
} else if (Handlebars.JavaScriptCompiler.isValidJavaScriptVariableName(name)) { | |
return result + "." + name + ')'; | |
} else { | |
return result + "['" + name + "'])"; | |
} | |
}; |
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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme", | |
"rulers": [ 80, 120 ], | |
"highlight_line": true, | |
"trim_trailing_white_space_on_save": true, | |
"ensure_newline_at_eof_on_save": true, | |
"auto_complete_commit_on_tab": true, | |
"shift_tab_unindent": true, |
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
interface Message<Type extends string | number, Data = never> { | |
type: Type; | |
data: Data; | |
} | |
type MessageData< | |
Msg extends Message<any, any>, | |
Type extends Msg['type'] | |
> = Extract<Msg, { type: Type }>['data']; |
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
let cache = null; | |
export function myCachedRequest() { | |
if (cache) { | |
return Promise.resolve(cache); | |
} | |
return fetch('potato.com/foo').then(x => { | |
cache = x; | |
return x |
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
let url = ''; | |
a | |
.split('\n') | |
.map(x => { | |
if (!x) { | |
return x; | |
} | |
if (x.startsWith('- [Lesson ')) { |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"name": "Doug Bradbury", | |
"location": "Chicago, IL, USA" | |
}, | |
{ | |
"name": "Corey Haines", | |
"location": "Cleveland, OH" | |
}, | |
{ |
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
#!/bin/bash | |
# Clone repo | |
sudo apt install git | |
git clone https://github.com/ayulockin/3d-photo-inpainting.git | |
# Install python 3.7 | |
sudo apt update | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:deadsnakes/ppa |