Difference between revisions of "User:Tstaerk"

Jump to: navigation, search
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
= My sites =
 +
* http://www.staerk.de/thorsten
 +
* http://www.linuxintro.org
 +
 +
= My bookmarks =
 +
* [[Talk:Development/Tutorials/D-Bus/Introduction]]
 +
* http://cia.vc/stats/author/tstaerk
 +
 +
= open a new repo =
 +
http://sysadmin.kde.org/svnaccount/repo-request.php
 +
 +
= legacy svn =
 +
I need to use
 +
svn co svn+ssh://tstaerk@svn.kde.org/home/kde/trunk/
 +
 +
= What I have done =
 +
* [[Getting Started/Build/KDE4]]
 +
* http://wiki.kde.org/tiki-index.php?page=ProgrammingTutorial%2Fdbus
 +
 +
= KnowHow =
 +
make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install
 +
 +
On suse, install into /usr/lib64 instead of /usr/lib => libsuffix, see http://bugs.scribus.net/view.php?id=6010
 +
 +
= Wiki2mindMap =
 
Here's how I draw a mindmap of this wiki:
 
Here's how I draw a mindmap of this wiki:
=Download all pages=
+
== Download all pages ==
 
  wget http://developernew.kde.org/Special:Allpages
 
  wget http://developernew.kde.org/Special:Allpages
 
  cat >spider<<EOF
 
  cat >spider<<EOF
 
  #!/usr/bin/perl
 
  #!/usr/bin/perl
 
  require HTML::LinkExtor;
 
  require HTML::LinkExtor;
  $p = HTML::LinkExtor->new(\&parse, "");
+
  \$p = HTML::LinkExtor->new(\&parse, "");
 
  sub parse {
 
  sub parse {
     my($tag, %links) = @_;
+
     my(\$tag, %links) = @_;
     my ($att, $url) = @{[%links]};
+
     my (\$att, \$url) = @{[%links]};
     print "$url\n";
+
     print "\$url\n";
 
  }
 
  }
  $p->parse_file($ARGV[0]);
+
  \$p->parse_file(\$ARGV[0]);
 
  EOF
 
  EOF
 
  chmod 777 spider
 
  chmod 777 spider
  
  ./spider Special:Allpages | grep "^/" | grep -v ":" | grep -v "?" | while read a; do wget "http://developernew.kde.org$a"; done
+
  ./spider Special\:Allpages | \
 +
grep "^/" | \
 +
grep -v ":" | \
 +
grep -v "?" | \
 +
while read a
 +
  do wget "http://developernew.kde.org$a"
 +
done
  
= Create a dot file =
+
  for file in $(ls --ignore="*:*")
  for file in $(ls --ignore="*:*"); do /bin/spider $file | grep "^/" | grep -v ":" | grep -v "?" | grep -v "Main_Page" | grep -v "Getting_Started$" | grep -v "/Contribute$" | grep -v "^/Projects$" | grep -v "^/Development$" | grep -v "^/Policies$" | grep -v "^/Projects$" | grep -v "^/Projects/NamingTheWiki$" | grep -v "^/Schedules$" | grep -v "^/favicon.ico$" | grep -v "/opensearch_desc.php$" | grep -v "^/$" | grep -v ".png$" | grep -v "^/Development/Tutorials$" | sed "s;^/.*/;;" | while read file2; do echo "$file -> $file2" ; done; done >datei
+
do ./spider $file | \
 +
  grep "^/" | \
 +
  grep -v ":" | \
 +
  grep -v "?" | \
 +
  grep -v "Main_Page" | \
 +
  grep -v "Getting_Started$" | \
 +
  grep -v "/Contribute$" | \
 +
  grep -v "^/Projects$" | \
 +
  grep -v "^/Development$" | \
 +
  grep -v "^/Policies$" | \
 +
  grep -v "^/Projects$" | \
 +
  grep -v "^/Projects/NamingTheWiki$" | \
 +
  grep -v "^/Schedules$" | \
 +
  grep -v "^/favicon.ico$" | \
 +
  grep -v "/opensearch_desc.php$" | \
 +
  grep -v "^/$" | \
 +
  grep -v ".png$" | \
 +
  grep -v "^/Development/Tutorials$" | \
 +
  sed "s;^/.*/;;" | \
 +
  while read file2
 +
  do echo "\"$file\" -> \"$file2\""
 +
  done
 +
done >datei
  
 
+
  echo "# to create a ps file use 'dot -Tps -o graph.ps graph.dot' (dot it part of the graphviz package)" > graph.dot
  duffman:~/developernew # echo "# to create a ps file use 'dot -Tps -o graph.ps graph.dot' (dot it part of the graphviz package)" > graph.dot
+
  echo "digraph \"Wikimap\" { " >> graph.dot
  duffman:~/developernew #  echo "digraph \"Wikimap\" { " >> graph.dot
+
  cat datei >>graph.dot
duffman:~/developernew # cat datei >>graph.dot
+
  echo "}" >> graph.dot
  duffman:~/developernew # echo "}" >> graph.dot
+
 
+
= Create a ps file =
+
 
  dot -Tps -o graph.ps graph.dot
 
  dot -Tps -o graph.ps graph.dot
 +
 +
= Eclipse as IDE =
 +
* http://javathreads.de/2008/07/subversion-unter-eclipse-ganymede-konfigurieren/
 +
* http://nienhueser.de/blog/?p=19

Latest revision as of 09:05, 3 November 2012

Contents

[edit] My sites

[edit] My bookmarks

[edit] open a new repo

http://sysadmin.kde.org/svnaccount/repo-request.php

[edit] legacy svn

I need to use

svn co svn+ssh://tstaerk@svn.kde.org/home/kde/trunk/

[edit] What I have done

[edit] KnowHow

make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install

On suse, install into /usr/lib64 instead of /usr/lib => libsuffix, see http://bugs.scribus.net/view.php?id=6010

[edit] Wiki2mindMap

Here's how I draw a mindmap of this wiki:

[edit] Download all pages

wget http://developernew.kde.org/Special:Allpages
cat >spider<<EOF
#!/usr/bin/perl
require HTML::LinkExtor;
\$p = HTML::LinkExtor->new(\&parse, "");
sub parse {
    my(\$tag, %links) = @_;
    my (\$att, \$url) = @{[%links]};
    print "\$url\n";
}
\$p->parse_file(\$ARGV[0]);
EOF
chmod 777 spider
./spider Special\:Allpages | \
grep "^/" | \
grep -v ":" | \
grep -v "?" | \
while read a
  do wget "http://developernew.kde.org$a"
done
for file in $(ls --ignore="*:*")
do ./spider $file | \
  grep "^/" | \
  grep -v ":" | \
  grep -v "?" | \
  grep -v "Main_Page" | \
  grep -v "Getting_Started$" | \
  grep -v "/Contribute$" | \
  grep -v "^/Projects$" | \
  grep -v "^/Development$" | \
  grep -v "^/Policies$" | \
  grep -v "^/Projects$" | \
  grep -v "^/Projects/NamingTheWiki$" | \
  grep -v "^/Schedules$" | \
  grep -v "^/favicon.ico$" | \
  grep -v "/opensearch_desc.php$" | \
  grep -v "^/$" | \
  grep -v ".png$" | \
  grep -v "^/Development/Tutorials$" | \
  sed "s;^/.*/;;" | \
  while read file2
  do echo "\"$file\" -> \"$file2\"" 
  done
done >datei
echo "# to create a ps file use 'dot -Tps -o graph.ps graph.dot' (dot it part of the graphviz package)" > graph.dot
echo "digraph \"Wikimap\" { " >> graph.dot
cat datei >>graph.dot
echo "}" >> graph.dot

dot -Tps -o graph.ps graph.dot

[edit] Eclipse as IDE


This page was last modified on 3 November 2012, at 09:05. This page has been accessed 10,735 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal