Software engineering and personal development

Category: Science & Tech (Page 28 of 35)

How to switch between your Chrome tabs using your keyboard

There are times when you may need to have a lot of tabs open, and navigating through them can be a bit painful, as your list can be too crowded that you are not able to read any title from the list of tabs. You can only view the icons of your tabs. There is a great Chrome extension that allows you to search through your tabs and navigate through them by only using your keyboard.

Continue reading

Get some Windows XP flair inside Github

 

Windows XP is one of the most famous operating systems that used to be really hard to get rid of, even though Microsoft itself tried a lot of methods to convince its customers to do the migration to one of its newer operating systems. Now that Github has been bought by Microsoft, many people have started complaining in terms of the implications that this acquisition may have. On the other hand, there are other people who have started to make jokes about this movement. A Chrome plugin has been developed to turn Github into a layout that is similar to Windows XP.

Continue reading

Invalidate session after logout with Devise gem

Img source: interexchange.org

Devise is one of the most famous Ruby gems, which is a flexible authentication solution for Rails based on Warden. It comes with a lot of useful features, but it also has its limitations. One of them is that it does not invalidate a session even though you log out. One of the core developers behind Devise accepts it, and gives the advice of replacing cookie-based storage to address this issue. Fortunately, there is a quicker solution as well. Continue reading

Free Udacity Nanodegree courses: Full Stack Web Developer Nanodegree, iOS Developer Nanodegree, Machine Learning Engineer Nanodegree, and More

There are so many things that we can learn, and so many resources that we can choose to learn from that it makes it really challenging to choose the right resources that can help us get better jobs, or improve our careers in general. Udacity offers many nano-degrees that we can use to level up our careers with courses that are organized and prepared to help us progress from a beginner level to a more advanced one with quality content. Students who manage to finish the projects get the degree and are guaranteed to get a job related to the degree. If you cannot afford paying for these nanodegrees, fortunately, you can still attend many of the courses that belong to these nanodegrees, without having to pay anything.

Continue reading

Speed up, slow down, advance and rewind any HTML5 video in Chrome with quick shortcuts

Img source: Chrome web store

We watch a lot of videos online like news, sports, friends’ recordings, tutorials, TED talks, and many others. HTML5 video provides native APIs to accelerate playback of any video, but most implemented players either hide or limit this functionality. Video Speed Controller is a Chrome extension that helps with this issue. Continue reading

Set up your user roles easily using Rolify gem

Img source: remino.net

User roles are definitions of what users can do while using your applications. For example, when you are developing a marketplace for renting cars, you may need at least two user roles: hosts, who provide their cars, and users, who rent cars. Both of these user types will have different functions that they have at their disposal. Rolify is a Ruby gem that allows you to easily add and manage user roles in your application.

It can be integrated with other Ruby gems that you may need like authentication gems (devise, Authlogic, Clearance) and authorization gems that don’t provide role classes (CanCanCan, authority, Pundit).

You can install it as any other Ruby gem, and fortunately, it comes with a great README walk-through of the setup procedure and usage that you can follow along.

As it is an open source project, you can view its source code, learn how it’s built and also become a contributor to it.

Click here to learn more about it.

Remove all whitespace in your strings with the squish method in your Ruby projects

It is really hard to think about a real world project in which you are not going to have strings. As a result, having pre-existing methods for manipulating strings is really productive, as it saves you time. In today’s article, I want to emphasize a particular method in Ruby on Rails, that’s surprisingly not that much well known, which helps you with the whitespaces. Continue reading

« Older posts Newer posts »

© 2024 Fatos Morina

Theme by Anders NorenUp ↑