A really quick post with some code allowing displaying text in paragraphs in Rails.
I am currently building a simple app for learning languages and yesterday I created for it a blog section with posts. There I want to write article about learning languages and each new line display as separate paragraph.
The following code does this trick. First you split the text into the array and then iterate over it and put each sentence into paragraph. Here’s the code:
Continue reading How to display text in paragraphs in Rails
I have recently bought MacBook and after using it for a few months I still find some features I want to change or tweak. These may be small little things like displaying time and date in format I like or, and this post is about it, changing the order of email replies in Mail app.
If you your Mail app for managing your emails, you will find that default option when reading an email conversation is, that the old messages are on top and the newest ones at the bottom. In other words, you have an opportunity to read all the email exchanges before reaching the latest response at the bottom. It may sense if you read emails of somebody from your team or suffer from memory loss, but for me personally it would be better to reverse this order and see the latest reply at the top. I usually remember the content of previous emails and even if I don’t I can quickly go back and read it.
Continue reading How to display most recent email replies on top in Mac
In today’s tutorial I wil explain how you can download a video from Facebook. This tutorial is intended for users who download videos for their private use. Remember, you shouldn’t publish someone else’s copyrighted work if you don’t have permission.
3 steps to download video from Facebook
Continue reading How to download video from Facebook
We all heard about Facebook data sharing controversy. I personally think that the best way to avoid situations like this is not to publish your private information online. Of course, easier said that done and many people, including myself, had put things there already and want to regain control of personal data.
Continue reading How to find out what Facebook knows about you
After using Windows PCs for almost 20 years I recently bought my first Mac. Here’s some information how to move smoothly from Windows PC to Mac.
This move can be a bit frustrating not to say painful, especially if you still use two operating systems. I still use Windows Desktop for my main work but started using MacBook for Ruby on Rails programming and when I need portable computer. What made matters worse was that I sometimes use the same keyboard for two different computers. But you can certainly do quite a few things to move from Windows to Mac less painfully. Here are some ideas and tricks I used that will help you.
Continue reading How to move from Windows to Mac