Published
in the Other section,
on 9 September 2014
Introducing ottens.js inspired by Kevin’s great talk at
aKademy script that does to your web page what should have been done
a long time ago. Just call the function when your page has been
loaded.
function ottensize() {
var html = document.body.innerHTML;
html = html.replace('hacking', 'crafting');
html = html.replace('hacked', 'crafted');
document.body.innerHTML = html;
}
If you like to keep your project-related files on your desktop for
easy access, you might have kept links to them in different folders
which you placed in a folder view.
Now, it is much easier, just link them to the activity they belong
to, and set the folder view to display it.
Published
in the Prog C++ section,
on 14 August 2014
If you are not a fan of using an online source code searching tool
like lxr.kde.org, but are still tired of grepping for a particular class
or function in the KDE Frameworks (and other projects as well), you
might find the GNU Global tool quite useful.
It is similar to ctags and cscope, but IMO it works nicer.
You can index your desired project (or everything at once) simply by
calling gtags in the project’s root. Later, in order to
incrementally update the tags files, you can just call
global -u.
global
There are a few options when searching already indexed source tree
that I find most useful:
no options at all :) - searches for the specified symbol
definitions
-r - searches for usages of the specified symbol
--result grep - apart from listing the contained files,
also prints out the line contents.
For other available options, just check out the man page.
All plugins from the old activity manager are ported to the new
version.
This means that one of the most requested features is coming back -
you will be able to set custom keyboard shortcuts for individual
activities as soon as Plasma 5.1 comes out.
Also, the system settings module for configuring activities is back
to its full glory (modulo one little visual issue).