<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1464557527187675355</id><updated>2011-07-07T23:27:46.457+03:00</updated><category term='linux'/><category term='flash'/><category term='setxkbmap'/><category term='netinstall'/><category term='dynamic dns'/><category term='howto'/><category term='monit'/><category term='keyboard input language'/><category term='modestmaps'/><category term='bash'/><category term='Java'/><category term='hardy'/><category term='kde'/><category term='openstreetmap'/><category term='misc'/><category term='x'/><category term='firefox'/><category term='keyboard layout'/><category term='xming'/><category term='hello world'/><category term='dns'/><category term='netboot'/><category term='*nix'/><category term='rails'/><category term='josm'/><category term='windows'/><category term='metacarta'/><category term='nslookup'/><category term='Spring'/><category term='ubuntu'/><category term='maps'/><category term='basics'/><category term='flash switcher'/><category term='pxe'/><title type='text'>rstets</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-31202085817671245</id><published>2011-04-21T10:36:00.005+03:00</published><updated>2011-04-21T11:07:50.603+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><title type='text'>Me learning Java.</title><content type='html'>Recently I've started learning some new webdev tricks in Java.&lt;div&gt;The guy in charge of Java competency group at Lohika — &lt;a href="http://zenyk.com"&gt;Zenyk Matchyshyn&lt;/a&gt;, has gave me a task&lt;/div&gt;&lt;div&gt;— to create a simple Ajax blog with REST API and JSON as data transfer format — and a set of technologies to use on that task: Maven2, Servlet API 2.5, Hibernate, Spring IoC.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Though I had some experience of using Hibernate and Spring container in some distant past, I was really impressed by Maven2.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So I've finished the task a while (about two or three months) ago &lt;/div&gt;&lt;div&gt;&lt;a href="https://github.com/rstets/simple-blog-servlet/tree/milestone1"&gt;https://github.com/rstets/simple-blog-servlet/tree/milestone1&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;...and got a new one — do the same but using Spring MVC.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I've been trying to find some Maven2 project archetype for Spring MVC, but nothing good was out there, until Zenyk gave me a hint to dig into &lt;a href="http://www.springsource.org/roo"&gt;Spring Roo&lt;/a&gt; — which is another great tool from Java world I've got acquainted with.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Btw, if anyone needs to use an entity name that has a plural different than -s — use @RooPlural annotation, e.g.:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;@RooPlural("BlogEntries")&lt;/div&gt;&lt;div&gt;class BlogEntry ...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;So after two month of work I've finally got some time to get back to Java.&lt;/div&gt;&lt;div&gt;To be continued...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-31202085817671245?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/31202085817671245/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=31202085817671245' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/31202085817671245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/31202085817671245'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2011/04/me-learning-java.html' title='Me learning Java.'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-4465099493654558111</id><published>2010-03-05T00:13:00.002+02:00</published><updated>2010-03-05T00:37:26.575+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='monit'/><category scheme='http://www.blogger.com/atom/ns#' term='rails'/><title type='text'>Using monit to watch delayed_job on rails</title><content type='html'>I've been fighting for some time to successfully start/stop the delayed_job deamon ('daemons' gem) via monit from under another user and this is what I've ended up with:&lt;br /&gt;&lt;br /&gt;check process delayed_job with pidfile /home/me/myapp/shared/pids/job_runner.pid&lt;br /&gt;start program = "/usr/bin/env HOME=/home/me RAILS_ENV=staging /home/me/myapp/current/script/delayed_job start" as uid me and gid mygroup&lt;br /&gt;stop program = "/usr/bin/env HOME=/home/me RAILS_ENV=staging /home/me/myapp/current/script/delayed_job stop" as uid me and gid mygroup&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-4465099493654558111?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/4465099493654558111/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=4465099493654558111' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/4465099493654558111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/4465099493654558111'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2010/03/using-monit-to-watch-delayedjob-on.html' title='Using monit to watch delayed_job on rails'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-5558325125524016125</id><published>2010-02-11T01:40:00.002+02:00</published><updated>2010-02-11T01:41:58.876+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='*nix'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><title type='text'>bash_history</title><content type='html'>history | awk {'print $2'} | sort | uniq -c | sort -rn | head&lt;br /&gt;59 sudo&lt;br /&gt;58 ls&lt;br /&gt;41 svn&lt;br /&gt;23 cd&lt;br /&gt;18 cap&lt;br /&gt;17 pyramid_dir&lt;br /&gt;16 rake&lt;br /&gt;16 nano&lt;br /&gt;14 rm&lt;br /&gt;13 script/plugin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-5558325125524016125?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/5558325125524016125/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=5558325125524016125' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5558325125524016125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5558325125524016125'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2010/02/bashhistory.html' title='bash_history'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-5673115818570896867</id><published>2009-03-27T22:26:00.004+02:00</published><updated>2009-03-27T23:00:08.526+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netboot'/><category scheme='http://www.blogger.com/atom/ns#' term='netinstall'/><category scheme='http://www.blogger.com/atom/ns#' term='pxe'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>useful links on pxe netbooting</title><content type='html'>&lt;a href="http://unattended.sourceforge.net/advanced.php#netboot"&gt;http://unattended.sourceforge.net/advanced.php#netboot&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gparted.sourceforge.net/livepxe.php"&gt;http://gparted.sourceforge.net/livepxe.php&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.debian-administration.org/articles/478"&gt;http://www.debian-administration.org/articles/478&lt;/a&gt;&lt;br /&gt;&lt;a href="https://help.ubuntu.com/community/Installation/QuickNetboot"&gt;https://help.ubuntu.com/community/Installation/QuickNetboot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;by "compiling" together these 4 articles above - I've got a netboot server that allows to install  Ubuntu or run it in rescue mode (used it twice to restore grub), install WinXP-SP3, run gparted live "cd"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;packages installed:&lt;/span&gt; &lt;a href="apt:dhcp3-server"&gt;dhcp3-server&lt;/a&gt;, &lt;a href="apt:pxe"&gt;pxe&lt;/a&gt;, &lt;a href="apt:tftpd-hpa"&gt;tftpd-hpa&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;netboot image:&lt;/span&gt; &lt;a href="http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/netboot.tar.gz"&gt;http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/netboot.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ubuntu netboot menu from image above modified to contain items from "unattended" and "gparted"&lt;br /&gt;&lt;br /&gt;and this one, of course &lt;a href="http://syslinux.zytor.com/wiki/index.php/PXELINUX"&gt;http://syslinux.zytor.com/wiki/index.php/PXELINUX&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-5673115818570896867?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/5673115818570896867/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=5673115818570896867' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5673115818570896867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5673115818570896867'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2009/03/useful-links-on-pxe-netbooting.html' title='useful links on pxe netbooting'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-5763762081143687113</id><published>2009-03-06T00:10:00.003+02:00</published><updated>2009-03-06T01:01:35.206+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maps'/><category scheme='http://www.blogger.com/atom/ns#' term='modestmaps'/><category scheme='http://www.blogger.com/atom/ns#' term='openstreetmap'/><category scheme='http://www.blogger.com/atom/ns#' term='josm'/><category scheme='http://www.blogger.com/atom/ns#' term='metacarta'/><title type='text'>How to use your city map to add streets to openstreetmap</title><content type='html'>1. we need a scanned hi-res bitmap image of a map&lt;br /&gt;2. go to &lt;a href="http://labs.metacarta.com/rectifier/"&gt;http://labs.metacarta.com/rectifier/ &lt;/a&gt;and upload your map&lt;br /&gt;3. you will see two map viewers: left - your image; right - reference map&lt;br /&gt;4. click "+" sign at the right side of reference map viewer and pick a map provider (I've chosen google satellite)&lt;br /&gt;5. set 5-6 control markers on both maps (I've added seven)&lt;br /&gt;6. from a drop-down menu below reference map select linear or quadratic fit (seems to me that linear is faster but less accurate)&lt;br /&gt;7. click "warp!"&lt;br /&gt;8. download and install &lt;a href="http://josm.openstreetmap.de/"&gt;josm&lt;/a&gt; or "sudo apt-get install josm"&lt;br /&gt;9. start josm. go to "edit"-&gt;"preferences"-&gt;"plugins" (fifth tab from top, the one with a plug)&lt;br /&gt;10. find and check "wmsplugin". apply settings. restart josm.&lt;br /&gt;(if everything is fine, next time you start josm it has to have "WMS" menu item in main menu)&lt;br /&gt;11. go to &lt;a href="http://www.openstreetmap.org/"&gt;openstreetmap&lt;/a&gt; and find the place you want to add streets to and copy the "permalink" url, e.g.&lt;br /&gt;&lt;a href="http://www.openstreetmap.org/?lat=49.54782&amp;amp;lon=25.59045&amp;amp;zoom=15&amp;amp;layers=B000FTF"&gt;http://www.openstreetmap.org/?lat=49.54782&amp;amp;lon=25.59045&amp;amp;zoom=15&amp;amp;layers=B000FTF &lt;/a&gt;&lt;br /&gt;(don't forget to sign up at &lt;a href="http://www.openstreetmap.org/"&gt;OSM&lt;/a&gt; otherwise you won't be able to save your edits online)&lt;br /&gt;11a. in josm go to "edit"-&gt;"preferences"-&gt;"network" (second tab) and enter your OSM username and password.&lt;br /&gt;12. in josm go to "file"-&gt;"download from OSM"-&gt;"Bounding Box" and paste the above url into text box signed "URL from www.openstreetmap.org"-&gt;"ok"&lt;br /&gt;13. you will get a "Data Layer" containing streets (make sure the "layers" pane is visible and use "select tool" to check out street names)&lt;br /&gt;14. go to "WMS"-&gt;"Rectified Image...". enter your metacarta image id (just the number, e.g. if your map is located at http://labs.metacarta.com/rectifier/map/74, you enter 74)&lt;br /&gt;15. now you get a new layer called "rectifier id=74". click "Data Layer" to see it on top of image layer.&lt;br /&gt;16. add some streets.&lt;br /&gt;17. "file"-&gt;"upload to OSM"&lt;br /&gt;18. according to osm wiki - results will show up in a few days&lt;br /&gt;&lt;br /&gt;and that's it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-5763762081143687113?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/5763762081143687113/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=5763762081143687113' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5763762081143687113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5763762081143687113'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2009/03/how-to-use-your-city-map-to-add-streets.html' title='How to use your city map to add streets to openstreetmap'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-3247899998751933487</id><published>2009-01-22T16:07:00.004+02:00</published><updated>2009-01-22T16:31:27.663+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='flash switcher'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Flash Switcher Ubuntu Issues</title><content type='html'>There's a really useful firefox extension for flash/flex developers called &lt;a style="font-weight: bold;" href="http://www.sephiroth.it/firefox/flash_switcher/"&gt;Flash Switcher&lt;/a&gt; there are win, mac and linux version of it so I decided to try it in Ubuntu.&lt;br /&gt;The way it works is really simple:&lt;br /&gt;- after installing the extension you get a flash icon in status bar with a menu listing your current flash plugin version and two more from the plugin's local repository - those are 7.0 and 9.0 by default. You set the "Firefox plugins directory" in settings to tell the extensions where is your flash plugin located. Each time you change flash plugin version - it gets rewrited by the version you chose from extension's menu.&lt;br /&gt;&lt;br /&gt;First thing I decided to do is to add a few more:&lt;br /&gt;1) current ubuntu's "flashplugin-nonfree" lib (that's the one playing sound through pulseaudio so I really need it)&lt;br /&gt;2) and flashplugin developer version (the one that allows debugging you know)&lt;br /&gt;&lt;br /&gt;for that I've created two more folders at extension's path:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;~/.mozilla/firefox/&lt;profile-id&gt;.default/extensions/flash_switcher@sephiroth.it/plugins/linux/ &lt;/profile-id&gt;&lt;/span&gt;(the folder containing linux flash plugins of different versions)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10.0 dev &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;10.0 ubuntu &lt;/span&gt;&lt;br /&gt;and copied the libflashplugin.so to each one (debug version is at adobe's site and the ubuntu's is in &lt;span style="font-weight: bold;"&gt;/usr/lib/flashplugin-nonfree&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;Next thing I've been confused by was that the extension didn't switch anything according to  &lt;span style="font-weight: bold;"&gt;about:plugins &lt;/span&gt;flash plugin was still version 10:&lt;br /&gt;By default, the extension uses &lt;span style="font-weight: bold;"&gt;~/.mozilla/plugins&lt;/span&gt; dir to write the flash plugin lib to, but... there is a symbolic link to  &lt;span style="font-weight: bold;"&gt;/usr/lib/flashplugin-nonfree/libflashplugin.so  &lt;/span&gt;named @flashplugin-nonfree or something like that which overrides the lib placed into .mozilla/plugins dir by the flash switcher extension... so I decided to fix it in a bit inappropriate way - I made  &lt;span style="font-weight: bold;"&gt;/usr/lib/flashplugin-nonfree &lt;/span&gt;writable&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;and set it a "Firefox Plugins Directory" in flash switcher's settings. That fixed the issue.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-3247899998751933487?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/3247899998751933487/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=3247899998751933487' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/3247899998751933487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/3247899998751933487'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2009/01/flash-switcher-ubuntu-issues.html' title='Flash Switcher Ubuntu Issues'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-1362117281225727</id><published>2009-01-09T12:31:00.000+02:00</published><updated>2010-02-06T05:07:07.497+02:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/FzaUB1jmzmI&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/FzaUB1jmzmI&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;hl=en&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.quotile-sequencer.com"&gt;http://www.quotile-sequencer.com&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.glitchds.com/quotile-new-pc-midi-sequencer-written-in-processing/"&gt;http://www.glitchds.com/quotile-new-pc-midi-sequencer-written-in-processing/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-1362117281225727?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/1362117281225727/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=1362117281225727' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/1362117281225727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/1362117281225727'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2009/01/httpwww.html' title=''/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-6670932096487404189</id><published>2008-12-03T18:57:00.003+02:00</published><updated>2008-12-03T19:08:07.159+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='keyboard layout'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard input language'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>automatic keyboard layout convertion tool</title><content type='html'>&lt;a href="http://www.xneur.ru/wiki/Downloads"&gt;kxneur (gxneur)&lt;/a&gt;&lt;br /&gt;useful for those who often forgets to switch keyboard layout.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-6670932096487404189?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/6670932096487404189/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=6670932096487404189' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6670932096487404189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6670932096487404189'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/12/automatic-keyboard-layout-convertion.html' title='automatic keyboard layout convertion tool'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-5815383400271728871</id><published>2008-09-09T15:58:00.006+03:00</published><updated>2008-09-09T16:29:49.927+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dns'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='nslookup'/><category scheme='http://www.blogger.com/atom/ns#' term='hardy'/><title type='text'>host lookup problems and hacky solutions</title><content type='html'>I got this really weird problem today: x apps couldn't connect XMing host saying &lt;span style="font-weight: bold;"&gt;"cannot connect to X server"&lt;/span&gt;.&lt;br /&gt;After some trials &amp;amp; errors - I defined that linux box can't resolve "localhost" host and its own local hostname "ninja"...&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/etc/nsswitch.conf&lt;/span&gt; shows:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4&lt;/span&gt;&lt;br /&gt;(files go first)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/etc/hosts&lt;/span&gt; is all right too...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;nslookup&lt;/span&gt; shows that it tries to resolve localhost and ninja using dsl isp nameservers&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ping&lt;/span&gt; shows "&lt;span style="font-weight: bold;"&gt;unknown host 'localhost'&lt;/span&gt;" or something like that - why doesn't it use hosts file? I still don't know... after some time on linux community forums I've decided to fix it my way and here is how I did it:&lt;br /&gt;&lt;br /&gt;1) first of all, I turned off some pppoe up and down scripts that rewrite&lt;span style="font-weight: bold;"&gt; /etc/resolv.conf&lt;/span&gt;:&lt;br /&gt;# these must be chmoded to non-executables&lt;br /&gt;# ip-up script uses &lt;span style="font-weight: bold;"&gt;run-parts&lt;/span&gt; that runs all the &lt;span style="font-style: italic;"&gt;executable&lt;/span&gt; files&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo chmod -x /etc/ppp/ip-up.d/0000usepeerdns&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo chmod -x /etc/ppp/ip-up.d/0dns-up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo chmod -x /etc/ppp/ip-up.d/dns-totd&lt;/span&gt;&lt;br /&gt;# I think these can be left executable, but just to be sure...&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo chmod -x /etc/ppp/ip-down.d/0000usepeerdns&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; sudo chmod -x /etc/ppp/ip-down.d/0dns-up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; sudo chmod -x /etc/ppp/ip-down.d/dns-totd&lt;/span&gt;&lt;br /&gt;# after &lt;span style="font-weight: bold;"&gt;poff&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;pon dsl-provider&lt;/span&gt; resolv conf remains the same (see 2) so it worked&lt;br /&gt;&lt;br /&gt;2) &lt;span style="font-weight: bold;"&gt;/etc/resolv.conf&lt;/span&gt; was looking this way before:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nameserver 195.5.46.12&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nameserver 195.5.46.10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;search local.lan&lt;/span&gt;&lt;br /&gt;these values were set automatically on dsl link up&lt;br /&gt;I changed it to this:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nameserver 192.168.1.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#nameserver 195.5.46.12&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#nameserver 195.5.46.10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#search local.lan&lt;/span&gt;&lt;br /&gt;I have to mention that I have bind9 up and running successfully as a local dns server for a few months (so I won't be describing bind9 setup here)&lt;br /&gt;&lt;br /&gt;3) &lt;span style="font-weight: bold;"&gt;bind9&lt;/span&gt; has a "localhost" zone already configured so at this point I could already ping localhost alright. I needed to be able to ping "ninja" hostname, so here's what I did:&lt;br /&gt;- opened bind config file in editor&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo nano /etc/bind/named.conf&lt;/span&gt;&lt;br /&gt;- added "ninja" zone to it&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;zone "ninja" {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    type master;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    file "/etc/bind/db.ninja";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;};&lt;/span&gt;&lt;br /&gt;- added zone definition file &lt;span style="font-style: italic; font-weight: bold;"&gt;/etc/bind/db.ninja &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;mentioned&lt;span style="font-style: italic; font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;above&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo nano /etc/bind/db.ninja&lt;/span&gt;&lt;br /&gt;;&lt;br /&gt;; BIND data file for local loopback interface&lt;br /&gt;;&lt;br /&gt;$TTL    604800&lt;br /&gt;@    IN    SOA    ninja. root.ninja. (&lt;br /&gt;               2        ; Serial&lt;br /&gt;          604800        ; Refresh&lt;br /&gt;           86400        ; Retry&lt;br /&gt;         2419200        ; Expire&lt;br /&gt;          604800 )    ; Negative Cache TTL&lt;br /&gt;;&lt;br /&gt;@    IN    NS    ninja.&lt;br /&gt;@    IN    A    192.168.1.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and it pings.&lt;br /&gt;&lt;br /&gt;P.S. XMing is alive again&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-5815383400271728871?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/5815383400271728871/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=5815383400271728871' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5815383400271728871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5815383400271728871'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/09/host-lookup-problems-and-hacky.html' title='host lookup problems and hacky solutions'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-6212004123245210591</id><published>2008-09-08T17:23:00.002+03:00</published><updated>2008-09-08T17:34:14.083+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='dynamic dns'/><title type='text'>"global" domain name with dynamic ip</title><content type='html'>Recently, I've started to want a globally-accessible, dedicated domain name for my linux box, instead of the one dyndns services give, e.g. yourhost.dyndnsservice.domain etc - so I've registered an .info domain for 2 bucks (there was some promotion so I got lucky) at godaddy and began to look for a way to bind it my linux box - it turned out that my current dyndns service wants about $25 for that (a bit too much I guess).&lt;br /&gt;finally I've found &lt;a href="http://www.dnsexit.com/"&gt;http://www.dnsexit.com/&lt;/a&gt; which does it for free. you need to sign up, add your domain, set their nameservers in domain control panel as registrar's website, setup dynamic ip client to update and that's it&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-6212004123245210591?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/6212004123245210591/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=6212004123245210591' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6212004123245210591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6212004123245210591'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/09/global-domain-name-with-dynamic-ip.html' title='&quot;global&quot; domain name with dynamic ip'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-5719503908923550239</id><published>2008-08-31T03:57:00.001+03:00</published><updated>2008-08-31T03:58:46.511+03:00</updated><title type='text'>Portfolio</title><content type='html'>My portfolio will be &lt;a style="font-weight: bold;" href="http://rstets.name/"&gt;here&lt;/a&gt; someday. It's never late to start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-5719503908923550239?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/5719503908923550239/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=5719503908923550239' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5719503908923550239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/5719503908923550239'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/portfolio.html' title='Portfolio'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-6104274799933907921</id><published>2008-08-18T16:34:00.005+03:00</published><updated>2008-08-18T17:18:28.516+03:00</updated><title type='text'>Sending sound from Windows to Linux</title><content type='html'>After fighting with ALSA for some time to make sound from two sound cards work&lt;br /&gt;1) built-in NVidia HDA&lt;br /&gt;2) M-Audio Delta (Audiophile) 2496&lt;br /&gt;I almost gave it all up and removed M2496 hoping that built-in will work fine - I was wrong.&lt;br /&gt;As I can see it now - There is no "simple" solutions in Linux, like reboot and see what happens :)&lt;br /&gt;So I've decided to setup and run system-wide pulseaudio daemon - after trying and reading forums it helped - I have sound from apps that use ALSA, I have volume control from pa applet and support for esd/pulseaudio network clients.&lt;br /&gt;&lt;br /&gt;Next thing I've decided to try is passing sound from windows to linux - so I could walk around with my laptop and playing winamp or foobar or anything and the sound went from speakers plugged into my linux box.&lt;br /&gt;First success was to run paplay on windows connected to pulseaudio server on linux - that was fun, but not useful.&lt;br /&gt;Next, I've search for some kind of pa client audio output driver for Win, nothing of that kind yet exists (I will learn programming windows drivers some day, but until then I use google search ;) but there are ESD clients for windows:&lt;br /&gt;1. &lt;a href="http://www.clingman.org/winesd/"&gt;WinESD 0.3&lt;/a&gt; which is claimed to be a pre-ALPHA so be afraid :) I've installed it, but it requires reboot which I haven't done yet (I use hibernation in windows, because I don't like to start all those useful apps over and over again every day - so I guess I will reboot it later)&lt;br /&gt;2.  &lt;a href="http://www.linuxfan.dk/index.php?page=code"&gt;ESD output plugin for Winamp 2/3&lt;/a&gt; - which I use right at this moment to stream music from my winamp on windows to pulseaudio server on linux - sounds nice and smooth, no glitches, no delays.&lt;br /&gt;&lt;br /&gt;here are my pulse configuration files&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/etc/pulse/default.pa&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/usr/bin/pulseaudio -nF&lt;br /&gt;# NVidia&lt;br /&gt;# ALSA&lt;br /&gt;add-autoload-sink output module-alsa-sink sink_name=output device=hw:0&lt;br /&gt;add-autoload-source input module-alsa-source source_name=input device=hw:0&lt;br /&gt;&lt;br /&gt;# Load several protocols&lt;br /&gt;load-module module-native-protocol-unix&lt;br /&gt;load-module module-zeroconf-publish&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#these two lines below allow ESD/PA clients to connect&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;# auth-anonymous=1 is not very safe,&lt;br /&gt;# but firewall doesn't let strangers in&lt;/span&gt;&lt;br /&gt;load-module module-esound-protocol-tcp auth-anonymous=1 &lt;span style="font-weight: bold; font-style: italic;"&gt;&lt;/span&gt;&lt;br /&gt;load-module module-native-protocol-tcp auth-anonymous=1&lt;br /&gt;&lt;br /&gt;# Make some devices default&lt;br /&gt;set-default-sink output&lt;br /&gt;set-default-source input&lt;/blockquote&gt;&lt;br /&gt;run: &lt;span style="font-weight: bold;"&gt;sudo pulseaudio --system=1 --high-priority=1 -D&lt;/span&gt;&lt;br /&gt;to start pulseaudio as a system-wide daemon.&lt;br /&gt;&lt;br /&gt;in winamp:&lt;br /&gt;1) select esd out plugin&lt;br /&gt;2) in esd out plugin options enter:&lt;br /&gt;host: &lt;span style="font-weight: bold;"&gt;ninja.local&lt;/span&gt; (my linux box host)&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;port: 16001 (it was there by default)&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;password: (nothing, auth-anonymous, remember?)&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;3) ok, close, play&lt;br /&gt;&lt;br /&gt;Look ma, no wires :)))&lt;br /&gt;&lt;br /&gt;p.s. I am going to put m2496 back in&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-6104274799933907921?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/6104274799933907921/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=6104274799933907921' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6104274799933907921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/6104274799933907921'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/sending-sound-from-windows-to-linux.html' title='Sending sound from Windows to Linux'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-1032605419538024926</id><published>2008-08-14T19:48:00.002+03:00</published><updated>2008-08-14T20:10:03.586+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='x'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='xming'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>How to open an URL in firefox running on another VT</title><content type='html'>I have a ubuntu linux box at home. It works as a router, firewall and a local server (web, dns, ntp, ssh)&lt;br /&gt;But except that it's it has kde3.5 running - mostly, I listen music from it, while I work in windows xp. I use &lt;a href="http://www.straightrunning.com/XmingNotes/"&gt;Xming&lt;/a&gt; to run kicker (kde3 "taskbar"). Sometimes I really need to open an URL in my linux box session (not in xming's session) and there's a funny way to do it.&lt;br /&gt;&lt;br /&gt;I open konsole from kicker in windows and type:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;who&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;me    :0           2008-08-14 03:57&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;(which&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;means my display in linux is :0)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;export DISPLAY=:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;firefox http://whatever-url-i-need-to-open-in-linux/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and voila.&lt;br /&gt;&lt;br /&gt;p.s. XMing's display is localhost:10.0 by default&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-1032605419538024926?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/1032605419538024926/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=1032605419538024926' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/1032605419538024926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/1032605419538024926'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/how-to-open-url-in-firefox-running-on.html' title='How to open an URL in firefox running on another VT'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-7453485420269451727</id><published>2008-08-14T16:18:00.004+03:00</published><updated>2008-08-14T16:32:45.905+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='keyboard layout'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard input language'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='setxkbmap'/><category scheme='http://www.blogger.com/atom/ns#' term='basics'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Switching CLI input language in Ubuntu Linux</title><content type='html'>1. open ~/.bashrc for editing: &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;nano ~/.bashrc&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;2. add some aliases at the bottom of .bashrc file&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;:&lt;br /&gt;alias ua="setxkbmap ua"&lt;br /&gt;alias сш="setxkbmap us"&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;3. save (Ctrl+o), exit nano (Ctrl+x) and reload .bashrc:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;source ~/.bashrc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-7453485420269451727?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/7453485420269451727/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=7453485420269451727' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/7453485420269451727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/7453485420269451727'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/switching-cli-input-language-in-ubuntu.html' title='Switching CLI input language in Ubuntu Linux'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-2209713269740007995</id><published>2008-08-10T16:55:00.002+03:00</published><updated>2008-08-10T17:00:51.642+03:00</updated><title type='text'>before / after</title><content type='html'>&lt;span style="font-weight: bold;"&gt;before&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_d8hWRbQ_Rok/SJ7zWWNiIUI/AAAAAAAABKE/SfGsRGnmm-0/s1600-h/IMG_0056.JPG"&gt;&lt;img style="margin: 0px 10px 10px 0px; clear: both; float: left;" alt="" src="http://4.bp.blogspot.com/_d8hWRbQ_Rok/SJ7zWWNiIUI/AAAAAAAABKE/SfGsRGnmm-0/s320/IMG_0056.JPG" border="0" /&gt;&lt;/a&gt;&lt;div style="clear: both; text-align: left;"&gt;&lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;img src="http://photos1.blogger.com/pbp.gif" alt="Posted by Picasa" style="border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" align="middle" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;after&lt;/span&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_d8hWRbQ_Rok/SJ70MDdkrWI/AAAAAAAABKM/MDovA3EdGnU/s1600-h/DSC01419.JPG"&gt;&lt;img style="margin: 0px 10px 10px 0px; clear: both; float: left;" alt="" src="http://1.bp.blogspot.com/_d8hWRbQ_Rok/SJ70MDdkrWI/AAAAAAAABKM/MDovA3EdGnU/s320/DSC01419.JPG" border="0" /&gt;&lt;/a&gt;&lt;div style="clear: both; text-align: left;"&gt;&lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;img src="http://photos1.blogger.com/pbp.gif" alt="Posted by Picasa" style="border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" align="middle" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-2209713269740007995?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/2209713269740007995/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=2209713269740007995' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/2209713269740007995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/2209713269740007995'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/before-after.html' title='before / after'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_d8hWRbQ_Rok/SJ7zWWNiIUI/AAAAAAAABKE/SfGsRGnmm-0/s72-c/IMG_0056.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1464557527187675355.post-2343320976390603329</id><published>2008-08-10T16:42:00.002+03:00</published><updated>2008-08-10T16:46:28.991+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='misc'/><category scheme='http://www.blogger.com/atom/ns#' term='hello world'/><title type='text'>blogspotting. camelspotting. etc</title><content type='html'>Caution! Don't get blind looking at the bright side of life all the time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1464557527187675355-2343320976390603329?l=rstets.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rstets.blogspot.com/feeds/2343320976390603329/comments/default' title='Дописати коментарі'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1464557527187675355&amp;postID=2343320976390603329' title='0 коментарі(в)'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/2343320976390603329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1464557527187675355/posts/default/2343320976390603329'/><link rel='alternate' type='text/html' href='http://rstets.blogspot.com/2008/08/blogspotting-camelspotting-etc.html' title='blogspotting. camelspotting. etc'/><author><name>rstets</name><uri>http://www.blogger.com/profile/08215510714209682111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_d8hWRbQ_Rok/SJ7ty7KP0vI/AAAAAAAABJg/iY2tAalyLp8/s1600-R/1588613.gif'/></author><thr:total>0</thr:total></entry></feed>
