Category: Development

Tool of the week: k4dirstat

comments Comments Off
By TeK, December 10, 2011 04:01



HeyHo, the disc is full, the disc is full…, but i found a great help:


KDirStat – Directory statistics.

Shows where all your disk space has gone
and helps you clean it up
.”




Installation in Debian and Ubuntu:

$  apt-get install k4dirstat



I think the screenshot says it all:

Every cube in the tree-map illustration represents a file or a directory. By their size its instantly visible where all the space is used up. You can click the big blocks to get a direct link to the file in the tree.

Share

Create favicon.ico on Linux in 2 links

By ZBog, August 14, 2011 19:24

1. Tutorial Image editing:

U can create the image as .png with the Gimp Software, here the tutorial:

http://egressive.com/tutorial/creating-a-multi-resolution-favicon-including-transparency-with-the-gimp

Drupal interface did not like the.ico format directly saved from GImp, did not appear so I have saved a .png in Gimp and converted …


2. Post Image converting:

Post about converting .png to .ico with the Terminal on Linux:

http://steve.kargs.net/hosting/create-a-website-faviconico-with-ubuntu-linux/

Designers: Dont Panic !

If the lines of code make bleed your eyes, but you still want to work with Open Source Software … work with Linux developer or

get Ubuntu Studio optimized for Graphic Design, then all the tools are already include into your Operative System.

In the case you have all the tools:

you ´ll need to go into the directory where you have the png

$ cd Documents/design/logo/

and use just the last line from the article

$ icotool -o favicon.ico -c favicon.png

Share

Amarok Remote for Android

By TeK, August 28, 2010 22:08

What a great tool!

Amarok Remote Screenshot

Amarok Remote Screenshot

This amarok plugin + Android App lets you control Amarok Mediaplayer over WLAn / …

I just wanted to start to code, but typed amarok into the market and: somebody did it already

Android Amarok Remote Homepage

just follow the install instructions – its done in 5 minutes, enjoy!

BugFIX:

rename the downloaded file to android.amarokscript.tar.gz or you cannot open it in amarok plugin manager!

Share

Viper Video Editor Review

By TeK, August 15, 2010 19:24

Kollege Helmchyn programmed a video editor in python: VIPER

It uses mplayer and mencoder to play and encode videoclips. this way, it reads almost every video codec and can create various outputs. The frontend is programmed in Python and TK GUI-lib. you can combine multiple videoclips in a timeline and select their length and in/out points.  it plays all those clips in preview windows – very nice TK video widget!

so far the interface is not complete and there are no effects or transitions built in. if you know mencoder/mplayer options, you can put your own filters by specifying  command-line parameters. i like the timeline, but there are no multiple layers and its not so easy to define the length and start/end points of the clips without seeing at which frames they will cut.

the export works very well and the dialog gives useful hints on the codecs and encoding options. It is already stable and you can use all functions of the interface.

this software is specially interesting for me, because i want a VJ player in python with mplayer, to trigger clips live on parties..  i go investigate the source code… :-)

Share

Timetracking Linux and Web Tools

By TeK, August 15, 2010 04:04

Here’s a comparison of some programs in debian/ubuntu repositories, that help to keep track of your worktimes

KTimetracker
This is in the Debian and Ubuntu repositories. it is programmed for the KDE window environment, but if you have all the KDE libraries already, just run this in a terminal:

wait! update first

it’s best practise to update the repositories before installing something, to get the latest versions:

sudo apt-get update

btw: sudo is only required in ubuntu, in debian type ‘su’ to get root access

sudo apt-get install ktimetracker

++
+ Nice and simple interface.
+ Timers
You can start and stop a timer when you begin and end a working session so you get the exact time.

+ It can even watch your desktops, including the virtual ones, so you can put all your work windows for example on desktop 2 and switching to 1 is enough to do something else and stop the counter. you will wonder about the short times it tracks (without mailchecks, etc.) !

must test the export..

For me this wins, because of the desktop tracking and  (sub) timers!


Gnome Time Tracker

Installation in Debian / Ubuntu:

sudo apt-get install gnotime

++
Nice interface with description and “diary” textfields. Nice list of projects and timers to count worktime on a daily basis are integrated.


Some things in the interface are broken or not understandable: export does not allow to select a file, maybe something must be created first?

Subprojects? must test..


Tine2.0 Web Groupware

++
Nice webinterface. Besides Todolist, Calendar, CRM and few more modules, a Time-tracking tool is built into this web groupware.

+ So called “Time-accounts” represent the different projects. You can add “time-sheets” to these projects for every session or ideally the hours of every day. There are filters to show only one project or a relevant period or user. You can save these filter options as a favorite view. That’s really cool and flexible! One problem is, that you cannot redefine the default favorite, which it show at first.

+ Tine can store € per hour, “billable” and more billing infos, so you it automatically calculates the full time and price of a project.


There is no counter to start and stop the session times. You can only enter the periods, after you finished the day work. Its useful to keep track of the works of a team, but if you want to track the exact times, you need another timer-software and enter the periods from there to tine  :-/

Must test:  Exports!   It ~should~ export .ods, which would be reaaaaally helpful to present the time-sheet to clients directly or put it in a bill! But maybe i have to fill a bug report on that..


eGroupware

Is a good, old PHP web groupware with many, many modules. The project module interface is not easy to understand, but when you get it, you can even use time counters online.

++
Many functions in the projects module,…


EGroupware is a huge system, only for timetracking you do not want to install it. There are many options to setup, specially if there is more than one user, it gets really complicated to give correct permissions to everyone.


OpenOffice Table with Formulars

still the easiest and best solution?

++
+ Table calculation software offers a nice overview with dynamic calculations: Press [F2] in a table cell and you can enter formulars for calculation. This way, you can, for example, enter exact minutes and get hours by [cell] * 60.

+ In OpenOffice Writer you can keep track of times in a simple table inside a odt text-office document. No need to use Calc, the Table calculation

Also the other programs offer ways to enter billing info like € per hour.


- Teamwork? Its not easy to work together on stupid office documents. They are practically always locked by other users ;-)

.odt file coming soon..

Share

Eco-sostenibile search engines

By ZBog, August 13, 2010 21:06

Snufu suggested Ecosia on this Blog

Search engine test

Ecosia.org

—————————-

I was looking  for:

(Gitschiner strasse 61)
At first it gave not such a good result compared to other search engines.

1.wrong result
2.wrong result
3.wrong result
4.wrong result
5.wrong result
6.ABC-ETech
robot portal:  http://www.pointoo.de/poi/Berlin/Abc-etech-775582.html
7.wrong result
8.ABC-ETech
www.abc-etech.de
robot portal: http://www.berlin.city-map.de/01110000/abc-etech
9.wrong result

but as second chance I searched a Blender Video Sequence Editor
The research gave better quality
then I decided to give a chance to Ecosia to be my eco “sucht-machine”
and I have installed the add-on for Mozilla many browsers are compatible

znout.com
I asked Znout the same questions :

(Gitschiner strasse 61)
gave medium results, also if reacts super-fast, the results are 7 matching on 10

(Blender video sequence editor)
full prestation fast and correct

But it anyway uses the google search engine.
———-
another one to test: Forestle.org

Share

search engine comparisation

By ZBog, August 13, 2010 02:50

I have let it run a question  “gitschiner strasse” in multiple search engine, just to check  REALLY  what was happening on a Berlin Address
and combine it with my curiosity to run a quality test

Google
————————————–

(Question:  Gitschiner 61)

1.Flow tech GmbH
beim “Silber Mitglieder” von einen SportVerein

http://www.mtv1860.de/handball/index.php?option=com_content&view=article&id=252&Itemid=147

2.Beim Robot-Portal: http://www.cylex-telefonbuch.de/suche/deutschland/bundesland-berlin/stadt-berlin/l-0049-plz–strasse-gitschiner%20str._name–s1_filter-0.html
ABC-ETECH Inh. Dietmar Brillski Elektrotechnik (0) 0 5
beim Robot-Portal: http://www.klicktel.de/branchenbuch/abc-etech-inh-dietmar-brillski-elektrotechnik,berlin,4617500,QOIVZNWW92A5C7.html
3.Zebra Comunication Gmbh
info@ethno-trade.de
ethno-trade.de
Beim Schlechte Evil Portal Pop up Bastards links:

http://web2.cylex.de/firma-home/zebra-communications-gmbh-2352671.html

4. http://www.firmendb.de/firmen/6302631.php
beim Robot-Firmen Portal with no firma signed in (:|)
5.K. Mumcu
beimbeim Robot telephone catalogue

Yahoo  ??
——————

( Gitschiner strasse 61)

1.The first, Top, search result is wrong give the number 91 – Buahahah -
2.wrong result : strasse nummer 94
3.  wrong result  94
4.“Dreieck Funkturm (motorway Hannover-Nürnberg), urban motorway to Tempelhofer Damm – Mehringdamm – Gitschiner Strasse – Skalitzer Strasse – Warschauer Straße “
5.wrong result
6.….

(Yahoo…Gitschiner 61)
1.Youtube- Miss Moth
2.wrong result
3.wrong result
4. Zebra comunication
5. Tutorial diversion (miss moth
6. wrong result
7. http://reinhold-friedl.de/
8.” JANUARY 24
REINHOLD FRIEDL / PHILIP SAMARTZIS / MICHAEL VORFELD – inside piano, prepared electric guitar, percussion, electronics
8P, new loft Christopher Dell
http://www.zeitkratzer.de for information
(culled from Sarah Wong – danke!) “beim: http://www.chaindlk.com/community/index.php?topic=3422.0
9. wrong result
10. Robot route Map

(Yahoo failed the exame)
Aaargh I have used YahOO()()00°° !!!  I M DOING ONLY FOR RESEARCH, CHILDREN DO NOT DO IT AT HOME!
————————————————————————————————–

—————–

Answers.com
—————–
(Gitschiner strasse 61)

1.FE61
Offünungyeit 19:30 (jeden 1. und 3. Do im Monat)
Beim a sharing english website, human generated content, It specify on the page that in berlin they spaces are legal

http://www.qype.co.uk/lists/610322-Squats-in-Berlin

2.Musicians: Christopher Dell (vibraphon), Christian Ramond (bass), Felix Astor (drums) www.christopher-dell.de
Recent CD: DRA: DRAREAL (edition niehler werft 2004)
Christopher Dell, c/o Institut für Improvisationstechnologie,
++49 (0)30 6167-5351, Fax ++49 (0)30 6167-5351, cd@christopher-dell.de
Beim: Bundeskonferenz Jazz (German Jazz Meeting) :http://www.bkjazz.de/index.php?id=78
3.[24/1/2009] Berlin, Germany
new loft, 8:00 pm, free entry
Christopher Dell, Gitschiner str. 61, 10969 Berlin
Beim musicianßs site http://www.reinhold-friedl.de/

http://ecosia.org

—————————-

(Gitschiner strasse 61)

1.wrong result
2.wrong result
3.wrong result
4.wrong result
5.wrong result
6.ABC-ETech
beim robot portal:  http://www.pointoo.de/poi/Berlin/Abc-etech-775582.html
7.wrong result
8.ABC-ETech
www.abc-etech.de
beim  robot portal: http://www.berlin.city-map.de/01110000/abc-etech
9.wrong result

Ask.com
———————————————–

(Gitschiner strasse 61)

BTW NOTICE: Cool simulated pop up setup to turn off the search bar on the top of the blank page results for ever, in cookie, its Css styled not external js nasty-popup

1.“    March 27th, 2010, Villa Newman (Gitschiner Str. 61), Berlin, MISS MOTH: “Home Tour – the Answers to Solutions”
March 13th, 2010, Villa Newman (Gitschiner Str. 61), Berlin, Launching MISS MOTH       ”
beim : http://www.tutorialdiversions.org/1.html
a.http://www.youtube.com/watch?v=Uuwg9Fv-LAI
b.http://www.youtube.com/watch?v=0ZLM6atqEJ0
c.http://www.myspace.com/mistressmoth
d.qype → Fe61
e.Edition Niehler Werft
Music Label

http://www.christopher-dell.de/enw.htm

Beim: http://rateyourmusic.com/label/edition_niehler_werft/

———————————–

NO results:
—–

(CC http://search.creativecommons.org/ )

———
(Amazon . Gitschiner strasse 61)

————
(de.wikipedia no results / similar results)

well those last search engines are empty but are the engines that we can fit into….. then we will fill theme;)

Share

Shell Basics Workshop Report n. 3/3 Juli 2010

By ZBog, July 27, 2010 03:24

>> nerdcafe Vetomat 26.7.2010        snufu/fuzzy speach, Zbog report
SHELL BASICS N°3

$ ncal -w

calendar for the current week (it shows the all month)

$ red

open a (strange) text editor in the terminal to go out: q + enter

$ mcedit filename

the famous midnight-command editor (apt-get install mc)

$ mc

clone of an oldschool filemanager

—————————-

$ tput

initialize a terminal

$ reset

query terminfo database
(clear the complete terminal window)

————————–

$ cp "source" "destination"

copy files in directory (is an automatic paste)
=======================================================================================

$ mkdir "name"

make directory “name”

$ ls -l

list all the files and folders in the directory

(-l)     use a long listing format
as the details mode in a location window

$ ls -l "directory-name"

is giving the list of the called directory

$ pwd

Print Working Directory
shows the actual folder content

$ cd ..

go one level up

$ if cd /somewhere; then date;

Only if there is cd folder called like so then show the date

$ echo mario > test/.secret

with the point on the new name it will create a hidden file that is  normally not shown in the interface and  in the command ls

$ ls -a

to recall a hidden file in a list  -a

$ echo /.*

will call also all the hidden files

./

it represents the current directory

../

it represents the parent directory
—————————

$ rm filename

remove file

$ rm /dir/

remove folder

$ rm -r foldername

empty the directory    (delete the files but keep the folder)
—————————-

$ set -x
$ set +x

set
start the behavior session
+
the commmand string is printed on screen before the execution
-
the command string session will not show anymore the command screen

$ echo foo | cat

“pipe echo foo into cat” write the info foo into the file and show the content (cat)
the 2 commands are connected to eatch other and have the same content

Report of Linux-works shell meeting in Vetomat 26.Juli.2010

Share

Shell Basics Workshop Report n. 2/3 Juli 2010

By ZBog, July 20, 2010 03:24

>> nerdcafe Vetomat 19.7.2010        snufu/fuzzy speach, Zbog report
SHELL BASICS N°2

$ nmap 192.168.1.0

scan the local subnet to check for available hosts – nmap returns all IPs of running machines in the specified subnet. 192.168.1.0-100 scans IPs 1-100.

(you ll need to apt-get install nmap)

$ uptime

Shows when the pc started; how many users; load average; how many processes are running

$ date

gives you back a date and time

$ ncal

to call the calendar

#

Comment sign
to insert a not exacutable text, frequently used for human comunication instead of the normal typing in the terminal that is readed by default as a command to the computer

*

is a jolly to ask for existing files/Directory for example

$ echo D*

gave:
Desktop Dokumente…
(every file with the D as first letter in the directory where we are located)

?
$ fsdsf?

if you dont remember the last letter of a data
for example fsdfz
the command returns the possible files you are searching
like the asterisc but applies only on the last letter in doubt

$

the dollar $ itself
means a variable

|

the pipeline | between commands is to add multiple commands without writing multiple lines in the terminal

""

are to consider the string as text

$ rm filename

removes files – take care there is no restore the file will be deleted!

$ clear

clean the monitor terminal from previous output lines

$ iwlist wlan0 scan

scan for avalaible networks with network interface wlan0 (the 1. wlan card,usually)

$ ps

programs running by everybody

$ ps aux

more info about the running programs

$ ps aux | less

pipe the processes output into “less” – just for easy reading

>

to redirect and copy the command output to another program

>>

append
attach the output left of >> to the end of the file right off >>
for example

$ echo hiho > foobar
$ cat echo >> foobar

will give as output
foobar

foobar

<
\

(escape) to take out special meaning and read the value as text
example echo “mb\”r*” gives the output
mb”r

true is 0
and frequently in programming it is the opposite: true is 1 !!

$ wc

words count

$ wc -l

wordcount –lines

Report of Linux-works shell meeting in Vetomat 19.Juli.2010

Share

Shell Basics Workshop Report n. 1/3 Juli 2010

By ZBog, July 15, 2010 03:20

>> nerdcafe Vetomat 12.7.2010        snufu/fuzzy speach, TKilla report
SHELL BASICS N°1

LinuxWorks workshop about Linux usage of the terminal.

Weekly appointment every Monday in Vetomat at 19:00. Scharnweberstrasse 35, F’hain, Berlin.

the “shell” is the program in the terminal,
–> Application –>Accessories —>Terminal
where you can run all the commands installed on the system
(the shell is called “bash” or “sh” or similar)

>> nerdcafe Vetomat 12.7.2010        snufu/fuzzy speach;  Tk report
SHELL BASICS N°1
———–

all lines in this text starting with $ can be executed in a terminal
watch the output of the commands!!  (almost) every error is written there!

useful commands:
TAB
Its enough to write few letters and use TAB key — multiple times –
to autocomplete the command!!

history:
arrow-up key     - goes back to the previous command
ctrl+r command    - search in command history

the format of the command is always:

commandname parameter1 parameter2 ..
programname -h          or
programname –help  for a long version

gives a short help and possible parameters of the command

$ man programname

manual of the program – RTFM – read this to know what it does ;)

$ apropos burn cd

tells which programs are doind the task

$ ssh user@hostname

login to another computer by console

$ screen -x

join a shared session (on another computer)
must be connected before to (ssh username@hostname)
screen runs multiple terminals (on a remote system) and you can switch between them

screen commands:
ctrl+a    a    - switch to another terminal
ctrl+a  ESC      - scroll with cursor keys

$ ls

list content of current directoy

$ ls -a

list –all: shows also hidden “.” dot-files (config files mostly)

$ less

shows 1 PAGE of output of a command  (contrast to “more” – that shows more :) )

$ echo hiho > foobar

write hiho into the variable “foobar”

$ cat myman</pre>
<pre>$ tom

outputs the name of the var

$ cd /
"change dir" to root-dir "/"
"/" is the whole system - including all discs/partitions

[c]$ cd    or  cd ~

“change dir” to your home dir “/home/yourusername/”,

$ echo foo > file1

write “foo” into a textfile file1

$ cat file1

print output of file1

$ head

show first lines of file

$ head -n 50

show first 50 lines of file

pipe command “>”

$ iwconfig > file1

write _standard_ output to file1

$ iwconfig > file1

write _serror_ output to file1 – “2″ is the code for error outputs

$ echo ritual > fileX

add lines to file

$ echo ritual2 >> fileX
$ echo ritual3 >> fileX

connect terminal to remote window system

$ ssh username@hostname

connect to another computer and executes commands there

$ ssh -X username@hostname

activate X11 windowing forward on other computer

$ username@hostname: firefox

starts for example firefox on the remote machine and shows it on your screen

$ mv    file1 newfile

move file1 to another

$ less filename

show content of a text file

Share
WordPress Open Source Blog System
SynOptX Lab Theme