A few years ago I wrote a small Python script to organize the photos uploaded from your phone to Dropbox. Lately, I have been rewriting some of my python scripts to golang for practice and also performance.
All photos are uploaded to Dropbox with a name pattern like 2018-08-01 05.56.40.jpg. What all it does is to parse the date and move it to the right place, for example, 2018-08-01 will move it to a folder called 08-August inside 2018.
You can also download the compiled file below, just make sure you make it executable with
chmod +x organize_photos
and run it with
Earlier this year we moved from Berlin to Lisbon and found a nice apartment not too far from the city center.
Our apartment building door, like most around Lisbon, is old and doesn’t work very well. And with many friends coming to visit this summer, I decided to automate the door so that me and my friends can open the door using our mobile phones instead of spending 5 minutes trying to jiggle the key in the lock to get it open.
I am a big fan or Hackernoon, but their sticky header and footer bars are too big and annoying. To fix that, I’ve written a quick TamperMonkey script to remove it.
If you want to run seeders before each test you can use the artisan command in each of your test methods.
Running all seeders with:
Running only one specific seeder:
$this->artisan('db:seed', ['--class' => 'RolesTableSeeder']);
Today I am releasing the second version of my side-project pwdquery. I have spent many hours playing and manipulating the 90GB+ database, creating new scrapers, improving scripts and automating the whole process.
Remember, if you see any of your passwords in there, change immediately!
Hey guys, just wanted to share my current VIM settings.
Copy the vimrc file to ~/.vimrc
Install Vundle from https://github.com/VundleVim/Vundle.vim with:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Run vim +PluginInstall +qall