Archive

Archive for May, 2018

[tumblr] extract data from a specific post

Problem
There is a specific tumblr post whose content you want to extract. Say it contains an image that you want to grab (sample).

Solution
You can use the following API call (example):

post_url = "https://different-landscapes.tumblr.com/post/174158537319"

api_call = "https://api.tumblr.com/v2/blog/different-landscapes.tumblr.com/posts/photo?id=174158537319&api_key=YOUR_API_KEY"

The output is a JSON answer. For this you need an API key too.

The official API doc is here.

Categories: api Tags: ,

Ubuntu 18.04

I upgraded some of my machines to Ubuntu 18.04. It looks good and the installation went flawlessly. Here is a nice post with some post-installations tips: Things To Do After Installing Ubuntu 18.04 Bionic Beaver Linux.

I did the followings:

  • install Gnome Tweaks
  • place titlebar buttons to the left
  • Make workspaces static. Number of workspaces: 4.
  • Install the the Gnome shell extension TaskBar. With this I can see the running apps in a bottom panel.
  • Redefine the lock screen shortcut to Ctrl + Alt + L.
  • force Alt + TAB to switch only on current workspace (read more)
Categories: ubuntu Tags: , ,