Hello all, I have made some modifications on my raspberry pi. First of all I added radiators on processor, Ethernet-controller and voltage regulator. The second one, I cut the custom case for raspberry. At home I had only 9mm compressed paper. So I took an office knife and a ruler and started to measuring and cutting. This case consists of three layers (like a pie): which holds raspberry pi and one part which is used to attach raspberry to the VESA on my TV Then I painted case in black color. Th...
Ubuntu mono dark Psi/Psi+ roster iconset
Hello all, My friend SADM and me have made a Psi/Psi+ ubuntu mono dark(Ambiance)-styled roster icons. This icons based on "stellar" iconset. Download (stellar-mono-dark.jisp.zip) Sources (stellar-mono-dark-src.zip) How to add icons to Psi/Psi+ in Ubuntu: 1. Download iconset: cd ~ && wget /wp-content/uploads/2012/11/stellar-mono-dark.jisp_.zip 2. Copy to psi iconsets folder: sudo cp ~/stellar-mono-dark.jisp_.zip /usr/share/psi-plus/iconsets/roster/stellar-mono-dark.jisp 3. Restart...
How to determine if user connected to UltraVNC server
To check if user connected to UltraVNC server you should enable logging in ultravnc.ini: DebugMode=2 Then you just need to read log file and check if this file contains string "vnchttpconnect.cpp : HTTP client connected" for http connections and "vncclient.cpp : client connected" for VNC client connections. C# example that wait for incoming http or vnc connection during localTimeout period: bool isUserConnected = false; var startTime = DateTime.Now; localTimeout = 10000; do { using (var fileStre...
Synchronize opera tabs
Hello all, If you want to synchronize opened tabs in opera, you can notice that opera can't do this... I would like to introduce you Sync Open Tabs - extension for opera that synchronize opened tabs using Opera Link notes. You just need to install this extension, enter computer name and get opera link verifier code (see detailed instruction). This is first version, so it can contain bugs. If you find any bugs please inform me (drussilla7@gmail.com).
Sync Open Tabs
Sync Open Tabs Sync Open Tabs - is an opera extension that synchronize opened tabs between your computers. How it works: This extension uses Opera Link API to store opened tabs in opera notes. It creates folder in your notes, named "_sync-tabs" and puts one note per computer in this folder with following format: <User defined computer name> <url from tab#1> <url from tab#2> . . . <url from tab#n> It updates information about opened tabs every 10 seconds. Sources: g...
Raspbmc + LIRC GPIO Driver + XBMC
Hi all! On my Raspberry Pi I am using Raspbmc. I want to connect my TV remote control to the Raspberry. I am using Raspbmc Release Candidate 3. This version alredy has LIRC GPIO driver createdy by aron, so I skip part with compiling linux kernel and lirc with aron patches. I am using TSOP 4843. Connection: Vs ---> Pin 1 GND --> Pin 6 OUT --> Pin 12 (GPIO18) Add in /etc/modules: lirc_rpi Run in bash: sudo modprobe lirc_rpi Test GPIO driver: mode2 -d /dev/lirc0 You should see: spac...
Raspbmc + LIRC GPIO драйвер + XBMC
Привет всем! На своем Raspberry Pi я использую Raspbmc. Захотелось мне подключить к нему пульт он телевизора. На момент написания статьи я использовал Raspbmc Release Candidate 3. В этой версии уже была встроена поддержка LIRC GPIO драйвера от товарища aron’a, поэтому я пропущу часть с компиляцией ядра и lirc с патчами aron’a. Я использовал ресивер TSOP 4843. Подключил я его так: Vs ---> Pin 1 GND --> Pin 6 OUT --> Pin 12 (GPIO18) В /etc/modules добавил lirc_rpi В консоли выполнил sudo...
UltraVnc password encryption and decryption (C#)
Hello all! I had to deploy and configure UltraVnc server to the remote computers. For this purpose it was necessary to write UltraVnc password encryption method. Passwords stores in ultravnc.ini [ultravnc] passwd=<Encrypted password> passwd2=< Encrypted password > passwd - full control password passwd2 - read-only password Password must be no more than 8 characters long. Missing characters filled with null characters ('�'). Password is encrypted with DES + 2 symbols at the end of...
Шифрование и расшифровка паролей UltraVnc (C#)
Добрый день! Возникла необходимость деплоить и настраивать UltraVnc сервер на удаленных машинах. Для этого необходимо было написать шифратор паролей для UltraVnc. Пароли хранятся в файле ultravnc.ini [ultravnc] passwd=<Зашифрованный пароль> passwd2=<Зашифрованный пароль> passwd - пароль с полным доступом passwd2 - пароль с доступом только для чтения Пароль должен быть не больше 8-ми символов. Недостающие символы заполняются null символами ('�') Шифруется пароль алгоритмом DES, с доба...
C# аналог Perl Crypt::DES
Доброго времени суток! Довелось мне на днях написать метод генерации зашифрованного пароля для UlrtaVnc. Писать необходимо было на C#. Погуглив, нашел реализации алгоритма шифрования на Perl и Python. Шифруется все алгоритмом DES. На Perl это выглядит так: my $realkey = pack ('H16', "E84AD660C4721AE0"); my $cipher = Crypt::DES->new($realkey); my $password = "test"; my $cryptpass = $cipher->encrypt($password); Но вот с переводом данного кода на C# пришлось пово...