Všetky príspevky miro

for cycle in .bat for copying multiple dll

@echo off
SET Target=%1
SET Source=%2

ECHO Copying Spgen assemblies to bin directory…
ECHO XCOPY.EXE %Source% %Target%SharedSpgen /R /Y
XCOPY.EXE %Source% %Target%SharedSpgen /R /Y

for /r %~dp2 %%g in (*.dll) do XCOPY.EXE %%g %Target%SharedSpgen /R /Y

If ErrorLevel 1 GoTo ErrorHandler

GOTO Done
:ErrorHandler
ECHO ERRORS executing post-build steps for Spgen project
Set ErrorLevel=1
:Done

add contacts to autocomplete in outlook 2010

ja som to riesil akurat teraz. Urobil som jednak to, ze v "Contacts" kde mam v "My Contacts" zalozku "Contacts" a "Suggested Contacts" tak som skopiroval vsetky Contacts do Suggested.

A potom dalsia fajn vec je klavesa ctrl+K pri pisani mena, ctrl+k mi automaticky doplni vhodne meno

www.howtogeek.com/howto/microsoft-office/manage-your-outlook-email-address-auto-complete-list/

running MSVC 2008 Express Debug app on customer PC

 http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/4c2bcfca-e0f0-4d27-9ad2-4cd282cc6ed0

The easiest way to do it is to copy the contents of the following folders to your program folder (the same folder you have your debug executable in)


For Visual C++ 2005:


C:program filesMicrosoft Visual Studio 8VCredistDebug_NonRedistx86


For Visual C++ 2008:


C:program filesMicrosoft Visual Studio 9.0VCredistDebug_NonRedistx86


if using the VC/MFC Feature Pack for VC++ 2008 you must also define the following two defines near the top of your stdafx.h:


#define _BIND_TO_CURRENT_MFC_VERSION 1

#define _BIND_TO_CURRENT_CRT_VERSION 1

And:
http://msdn.microsoft.com/en-us/library/aa985618.aspx

 

Asus wl500b into lan radio

OpenWrt na Asus wl 500b

* first upgraded firmware to 1.8.2.4 from asus web
* then downloaded install cd for router from asus web. Unfortunately only for windows and did not work through wine. Had to run it on windows machine.
* used ‚upgraded firmware‘ utility to upload this image:
openwrt_8_09_2-brcm-2.4-squashfs.trx
* now I can login to it through web  (login root, password empty), and configure basic stuff (ip, name, password)
* Then I logged in through ssh root@192.168.1.1
Linux 2.4.35.4 #12 Tue Dec 29 15:30:20 UTC 2009 mips unknown

* Installed basic packages through ‚opkg install <balicky>‘

* snd-usb-audio did not work well, heard only sharp noise, so I went by:
https://forum.openwrt.org/viewtopic.php?id=13131
and I uninstaloval kmod-usb-audio
installed kmod-alsa
and did rmmod snd-usb-audio
then sound replay worked through:
wget -q -O – http://live.slovakradio.sk:8000/FM_128.mp3 | madplay -o /dev/sound/dsp –
wget -q -O – http://live.slovakradio.sk:8000/FM_128.mp3 | madplay –

Linky:
http://linuxgazette.net/166/ziemann.html
http://blackhole.sk/topicopenwrt-asus-wl-500gp
http://wiki.openwrt.org/doc/howto/basic.config
http://wiki.openwrt.org/doc/howto/usb.essentials
http://wiki.openwrt.org/doc/howto/usb.overview
http://wiki.openwrt.org/doc/techref/opkg
https://forum.openwrt.org/viewtopic.php?id=13131
http://www.fedorafaq.org/basics/#startonboot

2011-05-22 00:32:51
To start the internet radio replay automatically when machine powers on, into file /etc/rc.local I added one line:
wget -q -O – http://live.slovakradio.sk:8000/Slovensko_128.mp3 | madplay – &

2011-05-22 22:05:31
http://mightyohm.com/blog/2008/10/building-a-wifi-radio-part-1-introduction/

Detailed steps how to build whole radio with a box, controls and display

configure, LDD, using so library

error while loading shared libraries: cannot open shared object file: Error 40
(link to it is wrong, ll on it)

error while loading shared libraries: cannot open shared object file: No such file or directory
( it is not in the system, add it)

so you want to use .so library from internet.
first – library is probably not stored in system path.
use ‚locate thatlib.so‘. If nothing is printed – it is not in the system.
Add it:

sudo ln -s $PWD/libmylib.so.666 /usr/lib/libmylib.so

then fix up the locator:

sudo updatedb

and test locator

locate libmylib.so

you can also try to see if its dependencies are met:

ldd libmylib.so

That’s it.

Project list

what was done, what is planned.

2011-02-07 10:00:32
Biturn – started as ‚Conv‘ for forums.qhimm.com and evolved into viewer and converter of 2D + 3D graphics. C++, MFC, GTKMM, OpenGL, Visual C++ 6-2008, KDevelop

years 1998 – 2005 active, 2005-2010 scarce updates

2011-02-07 11:11:42
timestamp duplicator

program for (Brett?) guy who is modding some racing game. Program can copy time attributes from files and directories at one location to the same files/directories at target location. Prints out stats about the process.

Paid project, ~ 60e
c++, win32api, vs2008express, GTKMM

2011-02-08 14:46:50
unmass

Unpacker for various game archives. Active 1998-2005, started as FF7 LGP unpacker.

recently in 2011 updated for packing feature for Metal Gear Solid.
Non-commercial, C++, Visual Studio, MFC

2011-02-08 14:47:58
Leviathan

3D model viewer of monster database of game Final Fantasy 7.
OpenGL, MFC, Visual Studio

2011-02-08 14:50:15
Burza

program for small flea market cash-machine. Finished  30%. Going to be sold and one free version for MC Srdiecko. Started in 2010, not finished.

– printing
– xls/oof/pdf support
– gtkmm

2011-02-08 14:54:57
web projects

mirex, RNR list, simple message board – html,php,sql
trashbin – user file storage, autopurge; php
tery – project documentation, DokuWiki

erbbk – maintenance, typo3
mcsrdiecko.sk – install, updates, everything – WordPress
materinaduska – same as mcsrdiecko.sk

k-list kyberia – php, curl

2011-02-08 14:58:05
Tery

long developed game project. 2002 and still running. Not much of releases, only few. At this time no active members beside me. Still active.
tery.mypage.sk

SDL, FMOD, KDevelop, Visual Studio

web clicky thingy without refresh

[09:22] <mirex> Hi. I know html and php. And now I’m looking for a way how to create a clickable thing on my webpage, that would ‚act‘ without changing current page. Like clicking a vote button in a poll, and poll refreshes with outcomes, without refreshing the page.
[09:23] <mirex> How is such thing done? What technology do I have to use? By that click I want to modify file on filesystem or a record in a mySql db.
[09:24] <Wonko> ajax
[09:28] <Wonko> in short – you issue a http request in javascript, this triggers a PHP script which does something and sends an answer, usually XML or JSON; and than you process that answer with JavaScript to apply the necessary changes to the current page
[09:28] <Wonko> there are frameworks to help you with that, e.g. jQuery

multiplatform printing resources, not finished

Printing multiplatform:

http://www.google.sk/search?q=codeproject+c%2B%2B+printing+postscript
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/gui/print/postscript.cpp
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/gui/print/
http://www.dreamincode.net/forums/topic/194320-win32-api-printer-tutorial-using-gdi-functions/
http://www.google.sk/search?q=printing+ps+file+windows
http://www.dfanning.com/tips/ps_printing_windows.html
http://www.lerup.com/printfile/

project ideas

automaticka pozicovna knih

presklenna vitrina, cez ktoru bude vidno policu s chrbtami knih kde bude vidno nazvy. Vitrina bude zatvorena. Otvoritelna bud za poplatok mincou, alebo po autorizacii kartou ( pridelenou, alebo nejakou RFID priradenou kartou – autobusova, ?obciansky? )
senzor ktory bude odosielat alebo aspon zbierat udaje – cas otvorenia, cas zatvorenia, kamera ?

2010-08-26 07:52:53
histori-map

3d mapa mesta s roznymi vrstvami – budovy / farebne rozlisenie podla typu budovy / points of interest / fotografie mesta / inzinierske siete
bude mozne zmenit datum pohladu a vtedy sa zmenia aj data na mape.
Musi byt pravidelne updatovane bud obcou, alebo zaplatenym servisom, alebo dobrovolnikmi.

Podobne by to mohlo byt pouzite aj na podniky, kde by bolo vidiet kde su inzinierske siete a podobne.

2010-10-17 04:12:39
‚Mozog‘
Program ktory by vedel rozlozit vetu, porozumiet otazke (porozumiet vyrazom o case (‚teraz‘, ‚zajtra‘,’kedy‘), mieste(‚tu‘,’mesto‘,’garaz‘,’letisko‘), objektoch(‚ja-uzivatel‘,’ty-pocitac‘,’vlak‘) ) a vedel by zlozit odpoved na otazku.

Odpovede na otazky typu:
"kolko je hodin"
"aka je vonku teplota"
"kolko obyvatelov ma puchov"
"ako daleko je do londyna"
"kolko mas rokov"

Nieco ako pocitac ‚lode‘ v novsich star trekoch. Program by sa mal dat napojit na syntatizator reci, a na rozpoznavanie reci, tym padom by sa dal ovladat hlasom.

2010-11-16 07:25:23
este ku History-map
– pouzitie v meste ako informacny kiosk
– velke ikonky navigacie – prelet nad mestom so zvyraznovanim zaujimavych objektov. Engine bude upravovat pohyb sam tak, aby bol pohyb nie uplne volny, ale hlavne plynule pekny
– ikonka chodze – z aktualneho umiestnenia (treba uchovat v stroji kde sa nachadza) ukaze moznosti dopravy (vozidlom,chodzov) a trasu na urcene miesto (pamatihodnost, obchod, urad)
– hladanie objektov – najde pamiatky, obchody, grafitty spoty, bicyklo-trasy
– ikonka hodin – moznost zmena roku a videnie historickeho vzhladu mesta
– pekne fotografie mesta – lokalizovane v 3d priestore, historicke alebo sucasne – sem bude navigacia viac navadzat.

2010-11-18 09:38:45
X-ray view
Projektova dokumentacia o stavbe na mieste.
PDA+GPS+ lokalizacne zariadenia + senzory na zistovanie naklonu a pohybu = X-Ray view. Podla toho kde si a ktorym smerom sa pozeras by si videl na displayi dokumentaciu. Mohol by si tak vidiet ake kable a trubky su schovane v stene, rozmery stien, co je za stenami atd.
– zoomovanie, pozastavenie obrazu, ovladanie pohybu OSD bez senzorov
– prepinanie rezimov (ako daleko vidno, co vsetko vidno)

Burza libs – printing and xls/ods multiplatform

Project that allows you to layout page in postscript : http://www.unifont.org/lasi/

Example how to print postscript in windows:
http://cybertiggyr.com/psw/
http://cybertiggyr.com/psw/print-postscript.c

How to print on unix – cups:
http://www.cups.org/doc-1.1/spm.html#1_1

excel read/writer:
http://www.codeproject.com/KB/office/ExcelFormat.aspx

OOo library ?
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Working_With_Spreadsheet_Documents

2010-11-18 09:53:27
http://www.libxl.com/ – excel

2011-02-08 09:55:00
printing to PDF:

http://libharu.sourceforge.net/
http://podofo.sourceforge.net/about.html