tag:blogger.com,1999:blog-14645575271876753552024-02-19T03:58:19.312+02:00rstetsAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-1464557527187675355.post-33835848458571040652013-08-30T16:57:00.006+03:002013-08-30T17:00:39.885+03:00Список залізяк<br />
<ul>
<li><a href="http://arduino.cc/en/Main/ArduinoBoardUno">Arduino Uno</a></li>
<li><a href="http://arduino.cc/en/Main/ArduinoBoardNano">Arduino Nano v3</a></li>
<li><a href="http://arduino.cc/en/Main/ArduinoBoardMega2560">Arduino Mega 2560</a></li>
<li><a href="https://www.sparkfun.com/products/10039">CAN-Bus Shield</a></li>
<li><a href="http://dx.com/p/arduino-compatible-2-channel-relay-shield-module-138600">Motor Driver Shield</a></li>
<li><a href="http://dx.com/p/arduino-sensor-shield-v4-0-66849">Sensor Shield</a></li>
<li><a href="http://dx.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299">Bluetooth Module</a></li>
<li><a href="http://dx.com/p/jy-mcu-5v-3v-iic-uart-spi-level-4-way-converter-module-adapter-178286">GPIO Level Converter (для комунікаціЇ Ардуіно з Распбері Пай)</a></li>
<li><a href="http://dx.com/p/gy-521-mpu6050-3-axis-acceleration-gyroscope-6dof-module-blue-154602">3-Axis Acceleration Gyroscope</a></li>
<li><a href="http://dx.com/p/i081203-5-channel-tracking-module-board-blue-160602">5-Channel Tracking Module Board</a></li>
<li><a href="http://dx.com/p/arduino-line-hunting-sensor-module-118057">Line Hunting Sensor</a></li>
<li><a href="http://dx.com/p/hc-sr04-ultrasonic-sensor-distance-measuring-module-133696">Ultrasonic Sensor</a></li>
<li><a href="http://dx.com/p/mini-prototype-printed-circuit-board-breadboard-for-arduino-5-pcs-148443">Prototype boards</a></li>
<li><a href="http://dx.com/p/breadboard-jumper-wires-for-electronic-diy-70-cable-pack-80208">Jumpers</a></li>
<li>Купка радіодеталей (резистори, діоди, конденсатори, світлодіоди, мікроконтролери PIC та AVR і т.п.)</li>
<li>Паяльник</li>
<li>Мультиметр</li>
</ul>
Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-21676209591042661512013-08-30T16:20:00.002+03:002013-08-30T16:20:53.537+03:00Trello<br />
Створив борд на трелло: <a href="https://trello.com/b/NZR13B6a/diy-group">https://trello.com/b/NZR13B6a/diy-group</a><br />
<br />
Пишіть свої мила в приват кого додати.Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-65080650429843274012013-08-30T14:18:00.000+03:002013-08-30T14:59:24.492+03:001 вересняЗ вересня хочу почати наші заняття з Arduino.
Тому маю кілька запитань для учасників:
<div id="surveyMonkeyInfo" style="width:400px;font-size:10px;color:#666;"><div><iframe id="sm_e_s" src="http://www.surveymonkey.com/jsEmbed.aspx?sm=gPb9jBjwkLHyderPhcHrxw_3d_3d" width="400" height="600" style="border:0px;padding-bottom:4px;" frameborder="0" allowtransparency="true" ></iframe></div>Create your free online surveys with <a href="http://www.surveymonkey.com/">SurveyMonkey</a> , the world's leading questionnaire tool.</div>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-30335544937969195802013-08-09T15:20:00.002+03:002013-08-30T14:21:44.687+03:00"Годі сину. Повертаймось до роботи"
<b>CHANGES:</b><br />
<br />
<ul>
<li>From now on this blog will be in ukrainian (Відтепер блог вестиметься українською)</li>
<li>Більшість постів буде присвячена експериментам з Ардуіно (Arduino)</li>
<li>Старатимусь (але не обіцяю) писати звіт про кожен проведений дослід</li>
</ul>
<br />
<br />
<b>TODO:</b><br />
<br />
<ul>
<li>В планах заснувати щотижневі зустрічі тривалістю не більше години для колективних експериментів з Ардуіно (не раніше вересня).</li>
<li>Ці зустрічі я також буду анонсувати тут, а також намагатимусь звітувати про зроблене.</li>
</ul>
<br />
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0Львів, Львівська область, Україна49.839683 24.02971700000000549.6758095 23.706993500000006 50.0035565 24.352440500000004tag:blogger.com,1999:blog-1464557527187675355.post-312020858176712452011-04-21T10:36:00.005+03:002011-04-21T11:07:50.603+03:00Me learning Java.Recently I've started learning some new webdev tricks in Java.<div>The guy in charge of Java competency group at Lohika — <a href="http://zenyk.com">Zenyk Matchyshyn</a>, has gave me a task</div><div>— 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.</div><div><br /></div><div>Though I had some experience of using Hibernate and Spring container in some distant past, I was really impressed by Maven2.</div><div><br /></div><div>So I've finished the task a while (about two or three months) ago </div><div><a href="https://github.com/rstets/simple-blog-servlet/tree/milestone1">https://github.com/rstets/simple-blog-servlet/tree/milestone1</a></div><div><br /></div><div>...and got a new one — do the same but using Spring MVC.</div><div><br /></div><div>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 <a href="http://www.springsource.org/roo">Spring Roo</a> — which is another great tool from Java world I've got acquainted with.</div><div><br /></div><div>Btw, if anyone needs to use an entity name that has a plural different than -s — use @RooPlural annotation, e.g.:</div><div></div><blockquote><div><br /></div><div>@RooPlural("BlogEntries")</div><div>class BlogEntry ...</div><div><br /></div><div></div></blockquote><div>So after two month of work I've finally got some time to get back to Java.</div><div>To be continued...</div>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-44650994936545581112010-03-05T00:13:00.002+02:002010-03-05T00:37:26.575+02:00Using monit to watch delayed_job on railsI'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:<br /><br />check process delayed_job with pidfile /home/me/myapp/shared/pids/job_runner.pid<br />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<br />stop program = "/usr/bin/env HOME=/home/me RAILS_ENV=staging /home/me/myapp/current/script/delayed_job stop" as uid me and gid mygroupAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-55583251255240161252010-02-11T01:40:00.002+02:002010-02-11T01:41:58.876+02:00bash_historyhistory | awk {'print $2'} | sort | uniq -c | sort -rn | head<br />59 sudo<br />58 ls<br />41 svn<br />23 cd<br />18 cap<br />17 pyramid_dir<br />16 rake<br />16 nano<br />14 rm<br />13 script/pluginAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-56731158185708968672009-03-27T22:26:00.004+02:002009-03-27T23:00:08.526+02:00useful links on pxe netbooting<a href="http://unattended.sourceforge.net/advanced.php#netboot">http://unattended.sourceforge.net/advanced.php#netboot</a><br /><a href="http://gparted.sourceforge.net/livepxe.php">http://gparted.sourceforge.net/livepxe.php</a><br /><a href="http://www.debian-administration.org/articles/478">http://www.debian-administration.org/articles/478</a><br /><a href="https://help.ubuntu.com/community/Installation/QuickNetboot">https://help.ubuntu.com/community/Installation/QuickNetboot</a><br /><br />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"<br /><br /><span style="font-weight: bold;">packages installed:</span> <a href="apt:dhcp3-server">dhcp3-server</a>, <a href="apt:pxe">pxe</a>, <a href="apt:tftpd-hpa">tftpd-hpa</a><br /><span style="font-weight: bold;"><br />netboot image:</span> <a href="http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/netboot.tar.gz">http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/netboot.tar.gz</a><br /><br />ubuntu netboot menu from image above modified to contain items from "unattended" and "gparted"<br /><br />and this one, of course <a href="http://syslinux.zytor.com/wiki/index.php/PXELINUX">http://syslinux.zytor.com/wiki/index.php/PXELINUX</a>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-57637620811436871132009-03-06T00:10:00.003+02:002009-03-06T01:01:35.206+02:00How to use your city map to add streets to openstreetmap1. we need a scanned hi-res bitmap image of a map<br />2. go to <a href="http://labs.metacarta.com/rectifier/">http://labs.metacarta.com/rectifier/ </a>and upload your map<br />3. you will see two map viewers: left - your image; right - reference map<br />4. click "+" sign at the right side of reference map viewer and pick a map provider (I've chosen google satellite)<br />5. set 5-6 control markers on both maps (I've added seven)<br />6. from a drop-down menu below reference map select linear or quadratic fit (seems to me that linear is faster but less accurate)<br />7. click "warp!"<br />8. download and install <a href="http://josm.openstreetmap.de/">josm</a> or "sudo apt-get install josm"<br />9. start josm. go to "edit"->"preferences"->"plugins" (fifth tab from top, the one with a plug)<br />10. find and check "wmsplugin". apply settings. restart josm.<br />(if everything is fine, next time you start josm it has to have "WMS" menu item in main menu)<br />11. go to <a href="http://www.openstreetmap.org/">openstreetmap</a> and find the place you want to add streets to and copy the "permalink" url, e.g.<br /><a href="http://www.openstreetmap.org/?lat=49.54782&lon=25.59045&zoom=15&layers=B000FTF">http://www.openstreetmap.org/?lat=49.54782&lon=25.59045&zoom=15&layers=B000FTF </a><br />(don't forget to sign up at <a href="http://www.openstreetmap.org/">OSM</a> otherwise you won't be able to save your edits online)<br />11a. in josm go to "edit"->"preferences"->"network" (second tab) and enter your OSM username and password.<br />12. in josm go to "file"->"download from OSM"->"Bounding Box" and paste the above url into text box signed "URL from www.openstreetmap.org"->"ok"<br />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)<br />14. go to "WMS"->"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)<br />15. now you get a new layer called "rectifier id=74". click "Data Layer" to see it on top of image layer.<br />16. add some streets.<br />17. "file"->"upload to OSM"<br />18. according to osm wiki - results will show up in a few days<br /><br />and that's it.Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-32478999987519334872009-01-22T16:07:00.004+02:002009-01-22T16:31:27.663+02:00Flash Switcher Ubuntu IssuesThere's a really useful firefox extension for flash/flex developers called <a style="font-weight: bold;" href="http://www.sephiroth.it/firefox/flash_switcher/">Flash Switcher</a> there are win, mac and linux version of it so I decided to try it in Ubuntu.<br />The way it works is really simple:<br />- 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.<br /><br />First thing I decided to do is to add a few more:<br />1) current ubuntu's "flashplugin-nonfree" lib (that's the one playing sound through pulseaudio so I really need it)<br />2) and flashplugin developer version (the one that allows debugging you know)<br /><br />for that I've created two more folders at extension's path:<br /><span style="font-weight: bold;">~/.mozilla/firefox/<profile-id>.default/extensions/flash_switcher@sephiroth.it/plugins/linux/ </profile-id></span>(the folder containing linux flash plugins of different versions)<br /><br /><span style="font-weight: bold;">10.0 dev </span>and <span style="font-weight: bold;">10.0 ubuntu </span><br />and copied the libflashplugin.so to each one (debug version is at adobe's site and the ubuntu's is in <span style="font-weight: bold;">/usr/lib/flashplugin-nonfree</span>)<br /><br />Next thing I've been confused by was that the extension didn't switch anything according to <span style="font-weight: bold;">about:plugins </span>flash plugin was still version 10:<br />By default, the extension uses <span style="font-weight: bold;">~/.mozilla/plugins</span> dir to write the flash plugin lib to, but... there is a symbolic link to <span style="font-weight: bold;">/usr/lib/flashplugin-nonfree/libflashplugin.so </span>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 <span style="font-weight: bold;">/usr/lib/flashplugin-nonfree </span>writable<span style="font-weight: bold;"> </span>and set it a "Firefox Plugins Directory" in flash switcher's settings. That fixed the issue.<span style="font-weight: bold;"><br /></span>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-13621172812257272009-01-09T12:31:00.000+02:002010-02-06T05:07:07.497+02:00<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FzaUB1jmzmI&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/FzaUB1jmzmI&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p><br /><br /><br /><p><a href="http://www.quotile-sequencer.com">http://www.quotile-sequencer.com</a></p><br /><br /><p><a href="http://www.glitchds.com/quotile-new-pc-midi-sequencer-written-in-processing/">http://www.glitchds.com/quotile-new-pc-midi-sequencer-written-in-processing/</a></p>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-66709320964874041892008-12-03T18:57:00.003+02:002008-12-03T19:08:07.159+02:00automatic keyboard layout convertion tool<a href="http://www.xneur.ru/wiki/Downloads">kxneur (gxneur)</a><br />useful for those who often forgets to switch keyboard layout.Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-58153834002717288712008-09-09T15:58:00.006+03:002008-09-09T16:29:49.927+03:00host lookup problems and hacky solutionsI got this really weird problem today: x apps couldn't connect XMing host saying <span style="font-weight: bold;">"cannot connect to X server"</span>.<br />After some trials & errors - I defined that linux box can't resolve "localhost" host and its own local hostname "ninja"...<br /><span style="font-weight: bold;">/etc/nsswitch.conf</span> shows:<br /><span style="font-weight: bold;">hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4</span><br />(files go first)<br /><span style="font-weight: bold;">/etc/hosts</span> is all right too...<br /><br /><span style="font-weight: bold;">nslookup</span> shows that it tries to resolve localhost and ninja using dsl isp nameservers<br /><span style="font-weight: bold;">ping</span> shows "<span style="font-weight: bold;">unknown host 'localhost'</span>" 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:<br /><br />1) first of all, I turned off some pppoe up and down scripts that rewrite<span style="font-weight: bold;"> /etc/resolv.conf</span>:<br /># these must be chmoded to non-executables<br /># ip-up script uses <span style="font-weight: bold;">run-parts</span> that runs all the <span style="font-style: italic;">executable</span> files<br /><span style="font-weight: bold;">sudo chmod -x /etc/ppp/ip-up.d/0000usepeerdns</span><br /><span style="font-weight: bold;">sudo chmod -x /etc/ppp/ip-up.d/0dns-up</span><br /><span style="font-weight: bold;">sudo chmod -x /etc/ppp/ip-up.d/dns-totd</span><br /># I think these can be left executable, but just to be sure...<br /><span style="font-weight: bold;">sudo chmod -x /etc/ppp/ip-down.d/0000usepeerdns</span><br /><span style="font-weight: bold;"> sudo chmod -x /etc/ppp/ip-down.d/0dns-up</span><br /><span style="font-weight: bold;"> sudo chmod -x /etc/ppp/ip-down.d/dns-totd</span><br /># after <span style="font-weight: bold;">poff</span> and <span style="font-weight: bold;">pon dsl-provider</span> resolv conf remains the same (see 2) so it worked<br /><br />2) <span style="font-weight: bold;">/etc/resolv.conf</span> was looking this way before:<br /><span style="font-style: italic;">nameserver 195.5.46.12</span><br /><span style="font-style: italic;">nameserver 195.5.46.10</span><br /><span style="font-style: italic;">search local.lan</span><br />these values were set automatically on dsl link up<br />I changed it to this:<br /><span style="font-style: italic;">nameserver 192.168.1.2</span><br /><span style="font-style: italic;">#nameserver 195.5.46.12</span><br /><span style="font-style: italic;">#nameserver 195.5.46.10</span><br /><span style="font-style: italic;">#search local.lan</span><br />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)<br /><br />3) <span style="font-weight: bold;">bind9</span> 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:<br />- opened bind config file in editor<br /><span style="font-weight: bold;">sudo nano /etc/bind/named.conf</span><br />- added "ninja" zone to it<br /><span style="font-style: italic;"></span><span style="font-style: italic;">zone "ninja" {</span><br /><span style="font-style: italic;"> type master;</span><br /><span style="font-style: italic;"> file "/etc/bind/db.ninja";</span><br /><span style="font-style: italic;">};</span><br />- added zone definition file <span style="font-style: italic; font-weight: bold;">/etc/bind/db.ninja </span><span style="font-weight: bold;"></span>mentioned<span style="font-style: italic; font-weight: bold;"> </span><span style="font-weight: bold;"></span>above<br /><span style="font-weight: bold;"></span><br /><span style="font-weight: bold;">sudo nano /etc/bind/db.ninja</span><br />;<br />; BIND data file for local loopback interface<br />;<br />$TTL 604800<br />@ IN SOA ninja. root.ninja. (<br /> 2 ; Serial<br /> 604800 ; Refresh<br /> 86400 ; Retry<br /> 2419200 ; Expire<br /> 604800 ) ; Negative Cache TTL<br />;<br />@ IN NS ninja.<br />@ IN A 192.168.1.2<br /><br /><br />and it pings.<br /><br />P.S. XMing is alive againAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-62120041232452105912008-09-08T17:23:00.002+03:002008-09-08T17:34:14.083+03:00"global" domain name with dynamic ipRecently, 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).<br />finally I've found <a href="http://www.dnsexit.com/">http://www.dnsexit.com/</a> 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 itAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-57195039089235502392008-08-31T03:57:00.001+03:002008-08-31T03:58:46.511+03:00PortfolioMy portfolio will be <a style="font-weight: bold;" href="http://rstets.name/">here</a> someday. It's never late to startAnonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-61042747999339079212008-08-18T16:34:00.005+03:002008-08-18T17:18:28.516+03:00Sending sound from Windows to LinuxAfter fighting with ALSA for some time to make sound from two sound cards work<br />1) built-in NVidia HDA<br />2) M-Audio Delta (Audiophile) 2496<br />I almost gave it all up and removed M2496 hoping that built-in will work fine - I was wrong.<br />As I can see it now - There is no "simple" solutions in Linux, like reboot and see what happens :)<br />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.<br /><br />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.<br />First success was to run paplay on windows connected to pulseaudio server on linux - that was fun, but not useful.<br />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:<br />1. <a href="http://www.clingman.org/winesd/">WinESD 0.3</a> 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)<br />2. <a href="http://www.linuxfan.dk/index.php?page=code">ESD output plugin for Winamp 2/3</a> - 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.<br /><br />here are my pulse configuration files<br /><span style="font-weight: bold;">/etc/pulse/default.pa</span><br /><br /><blockquote>#!/usr/bin/pulseaudio -nF<br /># NVidia<br /># ALSA<br />add-autoload-sink output module-alsa-sink sink_name=output device=hw:0<br />add-autoload-source input module-alsa-source source_name=input device=hw:0<br /><br /># Load several protocols<br />load-module module-native-protocol-unix<br />load-module module-zeroconf-publish<br /><span style="font-weight: bold; font-style: italic;">#these two lines below allow ESD/PA clients to connect</span><br /><span style="font-weight: bold; font-style: italic;"># auth-anonymous=1 is not very safe,<br /># but firewall doesn't let strangers in</span><br />load-module module-esound-protocol-tcp auth-anonymous=1 <span style="font-weight: bold; font-style: italic;"></span><br />load-module module-native-protocol-tcp auth-anonymous=1<br /><br /># Make some devices default<br />set-default-sink output<br />set-default-source input</blockquote><br />run: <span style="font-weight: bold;">sudo pulseaudio --system=1 --high-priority=1 -D</span><br />to start pulseaudio as a system-wide daemon.<br /><br />in winamp:<br />1) select esd out plugin<br />2) in esd out plugin options enter:<br />host: <span style="font-weight: bold;">ninja.local</span> (my linux box host)<span style="font-weight: bold;"><br /></span>port: 16001 (it was there by default)<span style="font-weight: bold;"><br /></span>password: (nothing, auth-anonymous, remember?)<span style="font-weight: bold;"><br /></span>3) ok, close, play<br /><br />Look ma, no wires :)))<br /><br />p.s. I am going to put m2496 back in<br /><span style="font-weight: bold;"></span>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-10326054195380249262008-08-14T19:48:00.002+03:002008-08-14T20:10:03.586+03:00How to open an URL in firefox running on another VTI have a ubuntu linux box at home. It works as a router, firewall and a local server (web, dns, ntp, ssh)<br />But except that it's it has kde3.5 running - mostly, I listen music from it, while I work in windows xp. I use <a href="http://www.straightrunning.com/XmingNotes/">Xming</a> 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.<br /><br />I open konsole from kicker in windows and type:<br /><span style="font-weight: bold;">who<br /></span><span style="font-style: italic;">me :0 2008-08-14 03:57</span><span style="font-weight: bold;"><br /></span>(which<span style="font-weight: bold;"> </span>means my display in linux is :0)<br /><span style="font-weight: bold;"><br />export DISPLAY=:0</span><br /><span style="font-weight: bold;"><br />firefox http://whatever-url-i-need-to-open-in-linux/</span><br /><br />and voila.<br /><br />p.s. XMing's display is localhost:10.0 by default<br /><br /><span style="font-weight: bold;"></span>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-74534854202694517272008-08-14T16:18:00.004+03:002008-08-14T16:32:45.905+03:00Switching CLI input language in Ubuntu Linux1. open ~/.bashrc for editing: <span style="font-weight: bold;"><br />nano ~/.bashrc<br /></span><br />2. add some aliases at the bottom of .bashrc file<span style="font-weight: bold;"><span style="font-weight: bold;"></span>:<br />alias ua="setxkbmap ua"<br />alias сш="setxkbmap us"<br /><br /></span>3. save (Ctrl+o), exit nano (Ctrl+x) and reload .bashrc:<br /><span style="font-weight: bold;">source ~/.bashrc</span><br /><span style="font-weight: bold;"><br /></span>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-22097132697400079952008-08-10T16:55:00.002+03:002008-08-10T17:00:51.642+03:00before / after<span style="font-weight: bold;">before</span><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-BJDNvf6oVI4AJ3P7YBnZJt4J7ylN-gsbGI5OJVlVFPwCq16jfV15l0xBfnJj2R2hUOnM84-yXJ7RIQyyIc8SrUP4FVvp2v-eutdjUrh-5vDL31FwqDNNnR5mDicjIOzmhRzulcjqwrd8/s1600-h/IMG_0056.JPG"><img style="margin: 0px 10px 10px 0px; clear: both; float: left;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-BJDNvf6oVI4AJ3P7YBnZJt4J7ylN-gsbGI5OJVlVFPwCq16jfV15l0xBfnJj2R2hUOnM84-yXJ7RIQyyIc8SrUP4FVvp2v-eutdjUrh-5vDL31FwqDNNnR5mDicjIOzmhRzulcjqwrd8/s320/IMG_0056.JPG" border="0" /></a><div style="clear: both; text-align: left;"><a href="http://picasa.google.com/blogger/" target="ext"><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" /></a></div><br /><span style="font-weight: bold;">after</span><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCkzstXzfqQak8u4Pr4cxTJDjue9AKXtsHb3scodaKex7Se6JcbtgjM_ucO93Y9KsZx5SUc0ftwy556fvw6KjYp_pxI1vR7JRuvv5L5_5VgUq8FoDPUldkHD7RuKhsgajrElDHVXMuLCN/s1600-h/DSC01419.JPG"><img style="margin: 0px 10px 10px 0px; clear: both; float: left;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCkzstXzfqQak8u4Pr4cxTJDjue9AKXtsHb3scodaKex7Se6JcbtgjM_ucO93Y9KsZx5SUc0ftwy556fvw6KjYp_pxI1vR7JRuvv5L5_5VgUq8FoDPUldkHD7RuKhsgajrElDHVXMuLCN/s320/DSC01419.JPG" border="0" /></a><div style="clear: both; text-align: left;"><a href="http://picasa.google.com/blogger/" target="ext"><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" /></a></div>Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0tag:blogger.com,1999:blog-1464557527187675355.post-23433209763906033292008-08-10T16:42:00.002+03:002008-08-10T16:46:28.991+03:00blogspotting. camelspotting. etcCaution! Don't get blind looking at the bright side of life all the time.Anonymoushttp://www.blogger.com/profile/08215510714209682111noreply@blogger.com0