swifting.io code review is like review music code review
- ego effect - do best at work. someone would review you
- good culture - finding defects in positive way (everyone makes mistakes and it's normal. don't blame each other)
import Foundation | |
class Foo { | |
var bar:Bar? = nil | |
init() { | |
// this works as expected | |
//self.bar = Bar(handler: { [weak self] in self?.handlerFunction() } ) | |
// this leads to retain cycle! |
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="afowler" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |
swifting.io code review is like review music code review
#!/usr/bin/env ruby | |
# -*- coding: UTF-8 -*- | |
require 'csv' | |
hash = {} | |
CSV.foreach("test.csv", :headers => true, :header_converters => :symbol, :converters => :all) do |row| | |
if row.fields[0] && row.fields[1] |
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
''' | |
Localization file generator | |
Created by Eduard Panasiuk 12.04.2016 | |
''' | |
import csv | |
import sys |
Process: Xcode [60364] | |
Path: /Applications/Xcode.app/Contents/MacOS/Xcode | |
Identifier: com.apple.dt.Xcode | |
Version: 7.1.1 (9081) | |
Build Info: IDEFrameworks-9081000000000000~5 | |
App Item ID: 497799835 | |
App External ID: 814167395 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Xcode [60364] |
import Foundation | |
extension FUIAlertView { | |
convenience init(title: String?, | |
message:String?, | |
delegate:FUIAlertViewDelegate?, | |
cancelButtonTitle:String?, | |
otherButtonTitles:String? ...) { | |