Use Clippy to fix your lint suggestions
Using cargo clippy –fix to apply suggestions automatically.
My journey
Using cargo clippy –fix to apply suggestions automatically.
This was bothering me a lot. So I did: And, voila! Problem solved.
How often do you express your gratitude to your peers and direct reports about something they did? In a genuine way. I bet not that often. Go do it now.
Ask if you can give neg/pos feedback. Only go ahead if they say yes. They have to decide if it’s a good time for them to receive feedback. Allow them to say no if they are not in a good state or they need to get work done.
I was wondering why some people are using _path and why some use _url. For example, if you have a Post resource you can write the following in your view: <%= link_to ‘List of posts’, posts_path %> or the following in the controller: redirect_to posts_url Why should I use _url in the controller. I have … Continue reading Rails: url vs path
Lets assume you are in a team, working on a Rails project and you have chosen Git as your version control system. One way to complete a working cycle from pull to push is: DISCLAIMER: There are more ways and many situations that are not described here. This is only a note to self that … Continue reading A typical workflow for a team using Git
When I am working with git, I find it useful to take a quick look at the log. The default [shell light=”1″] $ git log [/shell] command doesn’t show the actual modified/added/deleted files. You can use the following command for that: [shell light=”1″] $ git log –pretty –stat or $ git log –pretty=format:"[%h] %ae, %ar: … Continue reading Git log
Open your shell and, For RSpec: [shell light=”1″]$ gem install rspec[/shell] For Cucumber: [shell light=”1″]$ gem install cucumber[/shell] Optionally, if you are on Windows, for color output you can also install Win32Console: [shell light=”1″]$ gem install win32console[/shell]
I really love Highrise. It is a 37signals service that helps you organise your contacts, your conversations with these contacts, cases, deals and tasks. Highrise also sends task notifications using SMS. Unfortunately it only supports specific providers for certain countries only. My country (Greece) as well as many other countries all over the world are … Continue reading Highrise SMS notifications
After changing to CruiseControl.NET 1.4.x, my builds started sending weird Subversion related error messages. You see, my CC.NET server is on a different computer and on a different network than my Subversion repositories server. As a result, CC.NET tries download modifications using the Internet.