Skip to content

Instantly share code, notes, and snippets.

View lorn's full-sized avatar
🏠
Working from home

Lindolfo Rodrigues lorn

🏠
Working from home
View GitHub Profile
@lorn
lorn / keybase.md
Last active August 29, 2015 13:57

Keybase proof

I hereby claim:

  • I am lorn on github.
  • I am lorn (https://keybase.io/lorn) on keybase.
  • I have a public key whose fingerprint is 8B30 AF6F 033C C22C FBA9 BEAC 216F C29D 5DF9 5903

To claim this, I am signing this object:

@lorn
lorn / vimtips.md
Last active August 29, 2015 14:04
vim tips

janelas e buffers

:sp filename for a horizontal split

:vsp filename or :vs filename for a vertical split

Edições simples

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@lorn
lorn / links.md
Last active August 29, 2015 14:20
Marvin talk
Installing re-smop
utf8-string ( haskell package )
$ cd pugs/third-party/packages/hackage.haskell.org/utf8-string/
tar -vxzf utf8-string-0.3.1.1 ...
cd utf8 ...
chmod +x Setup.lhs
HARNESS_PERL_SWITCHES=-MDevel::Cover make test
cover
@lorn
lorn / moose
Created January 14, 2010 19:43
06:01 <@stevan> CLOS => the MOP
06:01 <@stevan> Smalltalk => the Metaclass layer and how Class and Object work together
06:02 <@stevan> Java => ... hmm, I should probably take that one out cause I cant think of anything
06:02 <@stevan> BETA => inner() ... and some of their meta-level stuff
06:02 <@rjbs> So, I've decuded that inner() is pretty much the only thing Moose gives me over Mouse, so I'm switching.
06:02 <@stevan> OCaml => the module system and the type system
http://www.iinteractive.com/moose/hosted-presentations/2009/e-lamp-talk/perl-great-lannguages.xul
script/dispatch.fcgi -l /tmp/myapp.socket -n 5 -d
# fcgi debug on DH :D
@lorn
lorn / plack.pod
Created September 22, 2010 02:24

PSGI, Plack, Bada bing bada boom!

PSGI é uma especificação, Plack é uma implementação dessa especificação feita em Perl, antes de vermos mais sobre o PSGI e o Plack, vamos voltar um pouco no tempo?

"Great Scott"!

upstream manager {
# fail_timeout=0 means we always retry an upstream even if it failed
# to return a good HTTP response (in case the Unicorn master nukes a
# single worker for timing out).
server unix:/opt/x.com/manager/current/tmp/sockets/unicorn.sock fail_timeout=0;
}
server {
listen 80;