Skip to content

flavia bastos

  • Home
  • About

git stash 101

May 26, 2021May 26, 2021

git stash allows you to save your work in progress out of your way

Developing inside a Docker container

October 14, 2020October 26, 2021

A few months ago I got a new computer and I have been very intentional about deciding what I install on it. From past experience I know that computers that are used as a development environment tend to get messy in no time since one might install all kinds of libraries, frameworks, dependencies, you name … Continue reading Developing inside a Docker container

How to permit nested parameters in Rails

September 30, 2020October 26, 2021

The context Rails 5 introduced a big change in how it handles ActionController::Parameters (the parameters that you get on your Controllers): before Rails 5, if you called your params you would get a hash back and after Rails 5, you get a ActionController::Parameters object. You can see that by calling params.inspect and if you call … Continue reading How to permit nested parameters in Rails

5 razões pra começar a aprender JavaScript

September 16, 2020September 3, 2020

Se você já programa há algum tempo e não sabe JavaScript ou se está pensando em aprender a programar e não sabe por onde começar, aqui está a minha lista de motivos porque eu acho que você deveria aprender JavaScript (ou simplesmente "JS" no resto desse post): JS é o que faz a internet ser … Continue reading 5 razões pra começar a aprender JavaScript

Git, GitHub and GitLab. Are they all the same thing?

September 2, 2020October 26, 2021

A few years back when I got serious about learning to program to become a software developer, I remember hearing about version control and getting really confused about git and GitHub (one can add GitLab to this list also!). Are they the same thing? Eventually I figured it out but this past week in a … Continue reading Git, GitHub and GitLab. Are they all the same thing?

Magnifying glass over computer keyboard

Find the commit that introduced a bug in your code: how to use git bisect in 7 steps

April 9, 2020February 5, 2022

When I first heard about git bisect I thought it sounded scary and complicated, so I never looked for an opportunity to learn more about it and use it. That's until last week when I ran into a bug in our master branch. I knew that the bug was not there two days before so … Continue reading Find the commit that introduced a bug in your code: how to use git bisect in 7 steps

How to upgrade Rails

March 26, 2020March 15, 2020

I don't write much about Rails here but whoa, two posts in a row! Well, it turns out that I thought I should record another lesson I learned while upgrading Rails: how to do it, meaning, what are the practical steps one should take to upgrade Rails? During my research at work I came across … Continue reading How to upgrade Rails

6 Lessons learned from upgrading a Rails app

March 12, 2020March 7, 2020

I was recently tasked with upgrading our Ruby on Rails application at work: my goal was to move two major versions up, with a middle step on a minor version (and a server OS upgrade that was not even planned!). This was an incredible experience and I learned a lot from it. Here are some … Continue reading 6 Lessons learned from upgrading a Rails app

Book review: Get Programming with Go

February 27, 2020February 27, 2020

Book cover of "Get Programming with Go", by Nathan Youngman and Roger Peppe Learning Go (a.k.a as Golang) was one of my personal goals for 2019 and I chose the book "Get Programming with Go", by Nathan Youngman and Roger Peppe as my learning resource. Even though there are several other resources out there, I … Continue reading Book review: Get Programming with Go

Go to line number in a file using vim

February 13, 2020February 8, 2020

You want to see line 3842 of file called my_super_long_file.py and you can only access that file using vim. You open the file and to your dismay, by default, vim doesn't display line numbers. Here are your options: Arrow down and hope you find that line before retirementDisplay the line numbers by hitting : and … Continue reading Go to line number in a file using vim

Posts navigation

Older posts
Newer posts

Find me

  • GitHub
  • LinkedIn
  • Twitter

Recent Posts

  • Git Squash Tutorial: How to Combine Git Commits for a Clear and Organized Commit History
  • TIL: time travel with Python’s standard library
  • Django Rest Framework: adding DateTimeField format serializer validation
  • Book review: The Programmer’s Brain
  • Como reverter um commit no git

Categories

  • books (3)
  • career (1)
  • command line (14)
  • git (9)
  • go (1)
  • gRPC (2)
  • housekeeping (2)
  • how-to (9)
  • JavaScript (4)
  • networking (3)
  • python (12)
  • quick-tip (6)
  • rails (1)
  • til (10)
  • web development (3)

Tags

about argv aws beginner book built-in career code coding milestone command line data structure debug debugger decorator dev environment dictionary django docker drf git go golang gRPC gRPC-Web how-to ifconfig iniciante JavaScript js lambda lessons linux list nc netcat network pdb ping productivity profiling prompt pt-BR python quick-tip rails set sort ss til tools traceroute tuple tutorial vi vim

Follow via RSS

  • RSS - Posts
A WordPress.com Website.
flavia bastos
A WordPress.com Website.
  • Follow Following
    • flavia bastos
    • Already have a WordPress.com account? Log in now.
    • flavia bastos
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...