Google Accounts: Sign out of all devices

Privacy and Security are a big issue these past few years. Numerous laws have been passed to secure our private life and lifestyle. Facebook makes it easy for you to logout out of all your devices and make sure you’re not logged into another’s device.

Google, however, doesn’t have this at the time of writing. A quick search will give you an answer to delete active sessions from the browser.

Delete Active Gmail active sessions:

  • Open Gmail on a computer and scroll to the very bottom of the page below all of your messages.
  • Click or tap the Details link on the bottom right. It’s right next to a sentence that reads “Last account activity:
  • Choose the Sign out all other web sessions button.

Although, there is one way but it will require you to compromise.

Logout of all devices logged in to Google Accounts

  • Change your password
  • This will prompt all other devices to ask you to login again

Voila!

 How to Modify the Width of a Column in Google Spreadsheet

Google Spreadsheets is probably the go to spreadsheet application for most non-windows users. Windows users probably have their trusty Microsoft Excel spreadsheet application with them. Here are a few things on managing the width of columns on Google spreadsheets.

Lengthen the width of the column

  • Hover over the line between the columns
  • Click and drag the column to meet your desired width

Auto fit the width depending on the width of the content

  • Hover of the line between the columns
  • Double-click

 How to Add a Dropdown to a Google Spreadsheet

Google Docs are awesome and there are a lot of things to learn about them. Here is a tutorial on how to add a dropdown to Google Spreadsheet

Step by Step:

  • Select the cell or cells where you want to create a drop-down list.
  • Click Data and then Data Validation.
  • In Criteria, choose the option, List of items
  • Enter items, separated by commas and no spaces.
  • Click Save. The cells you have chosen will show a dropdown list of the items you created

Video Tutorial

 Heroku: Cannot run more than 1 Free size dynos

 Cannot run more than 1 Free size dynos.

This is a common error when you forget or cancel a connection to heroku when using commands like:

heroku run rake db:migrate
bc(language-bash). heroku run  rails c --app you_app_name

Check your sessions

You will need to check if you have any sessions running with:

$ heroku ps --app your_app_name
=== web (Free): bundle exec puma -C config/puma.rb (1)
web.1: up 2017/06/13 10:23:38 +0800 (~ 33m ago)

=== worker (Free): bundle exec sidekiq -c 5 -q mailers -q default (1)
worker.1: up 2017/06/13 10:23:19 +0800 (~ 33m ago)

=== run: one-off processes (1)
run.2943 (Free): up 2017/06/13 10:39:57 +0800 (~ 17m ago): rails c

Stop the session

We will need to stop the session so that we can create a new session which we can use.

heroku ps:stop run.2943 --app your_app_name
Stopping run.2943 dyno on your_app_name... done

Try to run your session

$ heroku run rails c --app your_app_name
Running rails c on your_app_name... up, run.9284 (Free)
Loading staging environment (Rails 4.2.8)
[1] pry(main)>

Done!