One dev of your team with windows? configure his git first.
git config --system core.autocrlf input<br /> git config --global core.autocrlf input<br /> After that you can clone the repo and go on.homestead 2.0 nfs mounts
So you are using homestead, all fancy with it, to discover later that its slow, really slow. After some googling around you discover that you can use NFS instead, and a few solutions involve changing homestead code. Not true. You only need to add a “type: nfs” in your mount point config in Homestead.yaml: `batchcropresize
We’ve resuscitated an old, slow and crappy (640×220 (!!!) in 16:9 9″) digital photo frame these days and my wife selected a bunch of photos from various trips we made to put it there, 654 images. My old experience with that frame was warning me that 10M photos was a NONO, so I searched for a batch resize and crop utility. The batch resize is really easy to find, but not the crop part, so I’ve wrote my little utility for that, with python and PIL. Continue readingstreaming de áudio ao vivo
Faz vários anos que a IPI Maanaim realiza uma maratona de leitura bíblica, e como a vários anos fazemos, esse ano também vamos transmitir a maratona ao vivo via internet pelo site da igreja, e o assunto do post é a infra-estrutura de transmissão. A alguns anos que usamos shoutcast no servidor e darkice/darksnow. Esse ano eu atualizei o shoutcast para a última versão estável, 1.9.8. Além disso abandonamos a dupla darkice & darksnow e estou pendente entre 2 soluções: butt ou Nicecast. Continue readingpython 2.6 e concatenação de strings
Nerdeando no Python Brasil [6], alguém comentou que concatenação de strings é um caso que foi otimizado, e resolvemos testar. Não é que foi otimizado, mesmo? `concatena.py:s = ‘'for a in range(1000000):s += ‘a’`python -VPython 2. Continue reading… e Delphi ainda existe, senhoras e senhores.
Para o meu espanto a zapeada habitual nos sites de notícia me fez trombar com o seguinte: Delphi Conference 2010, em São Paulo, tratará de desenvolvimento de apps para iPhone: Nunca me imaginei falando em Delphi e selecionando categoria: Apple :P Delphi para Mac OS e dispositivos iOS. Acho que certas coisas nunca morrem :p
Continue reading