woensdag 26 april 2017

find command: finding files with wildcards

Hoe de file: pythonmanual.pdf te vinden in de map ~/Downloads.
Ik heb dit probleem opgelost door naar de map Downloads te gaan:
$ cd Downloads

Dan de find command uitgevoerd:
$ find -name python\*.pdf
./pythonmanual.pdf

Voor meer informatie:
http://stackoverflow.com/questions/13423824/wild-cards-on-find-and-ls


vrijdag 21 april 2017

Creating multiple empty slides at once.


Create an additional slide. Then select both of the slides and copy them.

Paste those two slides underneath the two existing ones. Now you have four slides.
Copy them and paste them underneath the existing four etc. etc.

zaterdag 8 april 2017

How to update buku

How to update buku with a new tag? That can be done with this command:
buku -u 59 --tag git

-u stands for update.
59 stands for the link
--tag git adds the git tag to the link

Other examples of buku commands are:
buku --stag (this command gives all the tags used in buku)
buku -a (with this command you add a new link to buku)


zondag 2 april 2017

How to make a Table of Contents in LibreOffice


You can do it in two ways: manually or automatically.
In this text only the manual way is discussed.
These are the steps to be taken:

In the text itself you select and bookmark the headings that you want in the Table of Contents. (Select text/Insert/Bookmark)

Then add the text that you bookmarked to the Table of Contents. When you have done that,hyperlink the text of the table of content to the bookmarks (Insert/Hyperlink/Document/Target).

It should look like this:
Shave his belly with a rusty razor (this text is hyperlinked to the bookmark)

Put him in a longboat till his sober

Stick him in a barrel with a hosepipe on him

Put him in the bed with the captains daughter

And the original text:
What will we do with the drunken sailor
What will we do with the drunken sailor
What will we do with the drunken sailor
Early in the morning

Way hay and up she rises
Way hay and up she rises
Way hay and up she rises
Early in the morning

Shave his belly with a rusty razor (this text is bookmarked)

Shave his belly with a rusty razor
Shave his belly with a rusty razor
Early in the morning

Way hay and up she rises
Way hay and up she rises
Way hay and up she rises
Early in the morning

Put him in a longboat till his sober (this text is bookmarked)

Put him in a longboat till his sober
Put him in a longboat till his sober
Early in the morning

Way hay and up she rises
Way hay and up she rises
Way hay and up she rises

etc. etc.

Enlarging Libreoffice window completely with command

 You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.