Blog
🇺🇸![Hotwire Turbo: Drive, Frames and Streams for Ruby on Rail projects](/_astro/ruby-speed.Be8SvXmI_ZLN07G.webp)
Hotwire Turbo: Drive, Frames and Streams for Ruby on Rail projects
Taking your app to the next level, without JavaScript
#ruby#hotwire#turbo#rails#javascript
![Why and how I moved my blog away from Gatsby and React to Astro Js and Preact](/_astro/astro-universe.CMWxWgh6_1a3y61.webp)
Why and how I moved my blog away from Gatsby and React to Astro Js and Preact
Astro is primarily a static site generator. It allows you to structure your site however you want and generate HTML pages only once, using components.
#astro#javascript#typescript#gatsby
![Why Nest JS is one of the best Node backend frameworks?](/_astro/nestjslogo.CYdikSUB_CsWXM.webp)
Why Nest JS is one of the best Node backend frameworks?
And why I would choose it for my next project
#nestjs#typescript#javascript#frameworks#nodejs
![How to use functions as Mocks in Python tests](/_astro/test-labs.BtNb7-6-_ee0No.webp)
How to use functions as Mocks in Python tests
Useful for avoid calling real APIs or services
#python#testing#mocking#pytest
![Tmux: Setup and first steps. My personal development setup Part 1](/_astro/tmux-green-blue.T0iGxppZ_Z1N0RK4.webp)
Tmux: Setup and first steps. My personal development setup Part 1
And how I increased my productivity
#tmux#terminal#bash#productivity
![Laravel Livewire: Reload same page after some event and time](/_astro/wires-led.CMHgrbSh_Z2eFj2Q.webp)
Laravel Livewire: Reload same page after some event and time
Using a simple Javascript trick
#laravel#php#livewire#javascript#blade
![Rails 7 with Ruby 3, MySQL 8 and Redis in Docker Alpine](/_astro/ruby.VEXcC0p7_a1aym.webp)
Rails 7 with Ruby 3, MySQL 8 and Redis in Docker Alpine
Using Docker compose to create a Dockerized environment
#rails#redis#ruby#alpine#docker#mysql
![Eslint: How to print the current configuration from a project](/_astro/printer-canon.CjA7vByj_KDyRT.webp)
Eslint: How to print the current configuration from a project
As a JSON file
#eslint#javascript#nodejs#typescript
![Docker MySQL - How to create two databases within the same container](/_astro/containers-many.BmYaKbFL_2lCU90.webp)
Docker MySQL - How to create two databases within the same container
I only wanted to not pollute my Docker database with a bunch of fake names or lorem ipsum content
#docker#mysql#database#docker-compose
![Why rewriting a whole codebase is the last option to improve it?](/_astro/construction-excavator.Cvby4Hy8_1l3dHB.webp)
Why rewriting a whole codebase is the last option to improve it?
Let’s do this from scratch, show how junior you are
#refactoring#legacy#rewrite
![I moved from Jest to Vitest in less than 3 hours](/_astro/moved-from-jest.CEX2Ie6s_Z24kEmt.webp)
I moved from Jest to Vitest in less than 3 hours
In a Gatsby Typescript project, with React test utils and coverage included
#react#jest#vitest#testing#typescript#gatsby
![React Native & Jest: Mock Platform OS and color scheme](/_astro/mobile-device-ios.D3pb56qQ_1gIe2I.webp)
React Native & Jest: Mock Platform OS and color scheme
Testing the code as iOS, iPad and Android device. Light mode and dark mode
#reactnative#react#typescript#javascript#react#jest#mock
![Tmux: Prefix Ctrl-Space not working on macOS](/_astro/tmux-screenshot.Cmz2TN61_2u5aYp.webp)
Tmux: Prefix Ctrl-Space not working on macOS
A solution that tmux people will love
#tools#macos#tmux#terminal#shell#bash
![TypeORM: search in relationships (ft. NestJS)](/_astro/magnifying-glass.CCOiBVfK_of4Pg.webp)
TypeORM: search in relationships (ft. NestJS)
Using TypeORM and NestJS
#nestjs#typescript#javascript#typeorm
![Vim, Jetbrains or Vscode Vim Mode: Improve navigation between splits](/_astro/vim_split.DXBh4srC_CUDGo.webp)
Vim, Jetbrains or Vscode Vim Mode: Improve navigation between splits
Using a better shortcuts
#vim#neovim#jetbrains#vscode
![Laravel Facades and Mockery, testing chained methods](/_astro/chains.BlwR3P-G_ZOVNyT.webp)
Laravel Facades and Mockery, testing chained methods
Using the power of Mockery
#laravel#php#testing#mockery#phpunit
![Gatsby: Code syntax highlighting with react-prism-renderer](/_astro/code-block-green.CzqR4kqN_2lk5HG.webp)
Gatsby: Code syntax highlighting with react-prism-renderer
For different coding languages
#gatsby#javascript#typescript#react
![How to run a macOS VM and Docker together on macOS native using Parallels](/_astro/macbook.B3OOQkdj_rLbQH.webp)
How to run a macOS VM and Docker together on macOS native using Parallels
macOS VM and Docker running on Parallels
#macos#apple#parallels#vm#docker
![Book list - Tech team management](/_astro/tech-team-book-list.BsJ9uZUJ_Z1Szlpj.webp)
Book list - Tech team management
The list that I wanted to know five years ago
#books#management#leadership
![How to solve Laravel Dusk 500 session error](/_astro/dusk.BW72mSon_Z2fKS3A.webp)
How to solve Laravel Dusk 500 session error
An issue between Laravel Dusk and your browser version
#laravel#php#dusk#testing#phpunit
![I'm developer and I can't get a new job. The lasting #OpenToWork state](/_astro/dissapointment.B8S43LVB_2tbfHq.webp)
I'm developer and I can't get a new job. The lasting #OpenToWork state
And this is a bad thing.
#coaching#softskills#developers
![Mocking global variables in Python tests](/_astro/python-global-envs.CuCY2oPJ_1BW2nH.webp)
Mocking global variables in Python tests
I was trying to test some global variables with Python, specially for a script which contain global variables. And after trying and failing I think that I can show you the most simple version to do it.
#python#mocking#pytest
![CPanel SSL: Issue free certificates in a non-root server](/_astro/keys.COLNEje9_Z2oIcjR.webp)
CPanel SSL: Issue free certificates in a non-root server
Just using the acme script, because some shared hosting providers are tied to an option to buy a SSL certificate.
#cpanel#ssl#sharedhosting
![Write in French, Spanish and English using a single keyboard](/_astro/keyboard.ChKCLoHL_Z2bx2HC.webp)
Write in French, Spanish and English using a single keyboard
English layout. Mac, Windows and Linux
#productivity#cheatsheet#macos#linux#windows
![The price of thinking](/_astro/price-of-thinking.DMAE-tTG_Z1yhBlO.webp)
The price of thinking
How do you spend time doing the same rather than paying a subscription
#startups#tools
![Rails 6: Running on Docker with PHPMyAdmin](/_astro/docker-rails-image.Vzkx_sHy_ZKnGwI.webp)
Rails 6: Running on Docker with PHPMyAdmin
Rails 6 + MySQL + PHPMyAdmin
#rails#ruby#phpmyadmin#docker#mysql
![Why I moved my blog from WordPress to Gatsby? (8 reasons as a developer)](/_astro/wordpress-ipad.Dkabmfh-_Z2eQTUY.webp)
Why I moved my blog from WordPress to Gatsby? (8 reasons as a developer)
8 reasons as developer
#wordpress#typescript#gatsby#javascript#php#mdx
![React Native - Create custom iPad screen](/_astro/ipad-react-native.BoNdLJrL_1pkhrI.webp)
React Native - Create custom iPad screen
Using React Native and React Navigation
#reactnative#react#typescript#javascript
![Laravel - Update only blank/empty fields in models](/_astro/php-elephant.xssJ5qIT_gbBpr.webp)
Laravel - Update only blank/empty fields in models
I was looking if there was a function to make a paginator for myself using Sequelize with Typescript. I found a lot of tutorials that teach you how to calculate the offset and the number of pages.
#laravel#php#eloquent
![Sequelize Pagination with Typescript](/_astro/book.D4Q8W7Q8_1Q4HJh.webp)
Sequelize Pagination with Typescript
I was looking if there was a function to make a paginator for myself using Sequelize with Typescript. I found a lot of tutorials that teach you how to calculate the offset and the number of pages.
#sequelize#typescript#javascript#orm
![Installing Bat in Ubuntu Windows WSL](/_astro/bat-screenshot.CB086efX_1OmUye.webp)
Installing Bat in Ubuntu Windows WSL
Downloading the installer as a deb package
#shell#terminal#bash#wsl#tools
![Adonis JS: Using Laravel Mix function](/_astro/adonis.C-aSpXMO_ZXIdxC.webp)
Adonis JS: Using Laravel Mix function
A function often used in many Laravel projects
#adonisjs#javascript#laravel