mesmo eu sendo extremamente babaca qdo estou longe de vc
(Source: futura-esposa, via quando-voce-nao-esperar)
Just Being Neo.
Geek, porn, design e outras coisas legais.
Meus sites:
http://persocon.org
http://geek-candy.com
http://dropstudio.com.br
Twitter:
http://twitter.com/persocon
ASK ASK ASK :B
http://justbeingneo.tumblr.com/ask
Instagram:
mesmo eu sendo extremamente babaca qdo estou longe de vc
(Source: futura-esposa, via quando-voce-nao-esperar)
ainda te amo! mesmo me ignorando pelo 3° dia consecutivo @evelisemarques (Taken with instagram)
she: babe, i want your opnion about my salad photos
he: sure babe...*3 minutes late* erm, all look the same for me, except by the focus that change a litle bit from one to another photo.
she: thanks (Y) ¬¬
Vi uma guria escrevendo o seguinte: “se o steve jobs tivesse sido abortado ninguem sentiria falta dele por que ele não existiria”, o contexto era sobre a legalização do aborto no brasil. bom, não estou a par do assunto então não vou opinar, apenas dizer sobre a inexistencia de steve jobs :p
ok, confesso que adoro os produtos apple, tenho alguns. Mas pense, se steve jobs tivesse sido abortado :) não teriamos Mouse! nem interface gráfica :D pense que bacana um tumblr/facebook/twitter só texto sem imagem e melhor! em preto e branco, ou preto e verde como eram alguns monitores naquela epoca :D
então, antes de falar merda sobre um grande genio/ladrão/copião, pense :D o cara revolucionou a merda do mundo! caralho sua vadia! vc não estaria nem na merdinha do seu computadorzinho hoje, estaria trabalhando em uma fábrica!
1. Esperar ano novo e conseguir um emprego numa agência qualquer denovo e ficar em Curitiba, alugar uma kitnet barata no centro e me stressar novamente com onibus e pessoas escrotas mais ter a segurança de um salario certo todo mês no meu bolso.
2. Continuar onde estou, na casinha dos meus pais fazendo meus freelas e torcendo pra tudo melhorar financeiramente e me arriscar alugar algo aqui em curitiba mesmo ;s
3. mandar tudo se foder e me mudar pra chapecó :( e me arriscar por lá na falta de grana que prevejo já que clientes de web não são constantes pra mim ainda ;s malemal tiro 800 pila por mês.
eae?
//
// Document.m
// RaiseMan
//
// Created by Pedro Costa Neves on 10/20/11.
// Copyright (c) 2011 persocon. All rights reserved.
//
#import “Document.h”
#import “Person.h”
@implementation Document
- (id)init
{
[super init];
employees = [[NSMutableArray alloc] init];
return self;
}
- (void)insertObject:(Person *)p inEmployeesAtIndex:(int)index
{
// Register the undo
NSUndoManager *undo = [self undoManager];
[[undo prepareWithInvocationTarget:self] removeObjectFromEmployeesAtIndex:index];
if (![undo isUndoing]) {
[undo setActionName:@”Insert Person”];
}
// Add the person to the array
[self startObservingPerson:p];
[employees insertObject:p atIndex:index];
}
- (void)removeObjectFromEmployeesAtIndex:(int)index
{
Person *p = [employees objectAtIndex:index];
NSUndoManager *undo = [self undoManager];
[[undo prepareWithInvocationTarget:self] insertObject:p inEmployeesAtIndex:index];
if (![undo isUndoing]) {
[undo setActionName:@”Delete Person”];
}
[self stopObservingPerson:p];
[employees removeObjectAtIndex:index];
}
// observer
-(void)startObservingPerson:(Person *)person
{
[person addObserver:self
forKeyPath:@”personName”
options:NSKeyValueObservingOptionOld
context:NULL];
[person addObserver:self
forKeyPath:@”expectedRaise”
options:NSKeyValueObservingOptionOld
context:NULL];
}
-(void)stopObservingPerson:(Person *)person
{
[person removeObserver:self forKeyPath:@”personName”];
[person removeObserver:self forKeyPath:@”expectedRaise”];
}
- (NSString *)windowNibName
{
// Override returning the nib file name of the document
// If you need to use a subclass of NSWindowController or if your document supports multiple NSWindowControllers, you should remove this method and override -makeWindowControllers instead.
return @”Document”;
}
- (void)windowControllerDidLoadNib:(NSWindowController *)aController
{
[super windowControllerDidLoadNib:aController];
// Add any code here that needs to be executed once the windowController has loaded the document’s window.
}
- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError
{
// Insert code here to write your document to data of the specified type. If the given outError != NULL, ensure that you set *outError when returning nil.
// You can also choose to override -fileWrapperOfType:error:, -writeToURL:ofType:error:, or -writeToURL:ofType:forSaveOperation:originalContentsURL:error: instead.
// For applications targeted for Panther or earlier systems, you should use the deprecated API -dataRepresentationOfType:. In this case you can also choose to override -fileWrapperRepresentationOfType: or -writeToFile:ofType: instead.
if ( outError != NULL ) {
*outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL];
}
return nil;
}
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError
{
/*
Insert code here to read your document from the given data of the specified type. If outError != NULL, ensure that you create and set an appropriate error when returning NO.
You can also choose to override -readFromFileWrapper:ofType:error: or -readFromURL:ofType:error: instead.
If you override either of these, you should also override -isEntireFileLoaded to return NO if the contents are lazily loaded.
*/
NSException *exception = [NSException exceptionWithName:@”UnimplementedMethod” reason:[NSString stringWithFormat:@”%@ is unimplemented”, NSStringFromSelector(_cmd)] userInfo:nil];
@throw exception;
return YES;
}
+ (BOOL)autosavesInPlace
{
return YES;
}
-(void)dealloc
{
[self setEmployees:nil];
[super dealloc];
}
-(void)setEmployees:(NSMutableArray *)a
{
if(a == employees)
return;
for(Person *person in employees){
[self stopObservingPerson:person];
}
[a retain];
[employees release];
employees = a;
for(Person *person in employees){
[self startObservingPerson:person];
}
}
-(void)changeKeyPath:(NSString *)keyPath
ofObject:(id)obj
toValue:(id)newValue
{
[obj setValue:newValue forKeyPath:keyPath];
}
-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
{
NSUndoManager *undo = [self undoManager];
id oldValue = [change objectForKey:NSKeyValueChangeOldKey];
if(oldValue == [NSNull null]){
oldValue = nil;
}
NSLog(@”oldValue = %@”, oldValue);
[[undo prepareWithInvocationTarget:self] changeKeyPath:keyPath ofObject:object toValue:oldValue];
[undo setActionName:@”Edit”];
}
@end
i’m a total failure :)
7x4 com barba tá ganhando D:
votem ae =p
?