Visual Studio: File type xxx conflicts with imported type: xxx Visual Studio: File type xxx conflicts with imported type: xxx

March 26th, 2008

I like to use my own User Controls and Web Controls in my web projects, and when I was building the current one on a lovely morning at 4am, Visual Studio 2005 bombed me with 365 warnings (one for each day of the year:))  stating there’s a type conflict in my project. What the hell?:)

I really hate errors and warning messages, so I checked what happened:  when i created a web control in my project, and dropped the control to a webpage in design view, visual studio 2005 added the /bin/projectname.dll as a reference to the project itself - and when i was building, the two dlls (the old and the new) had the same types. the solution was to remove the self-reference…

update: i found the same error reported on Microsoft Connect.

Create an ISO image under Ubuntu Create an ISO image under Ubuntu

March 26th, 2008

The other day I tried to create an ISO under Ubuntu, finally I found out how:

mkisofs --cap -o myVolume.iso /home/balint/archive

With cdrecord, you can write it to disk, and if you want to eject the disk (as i did with my slot-loader drive):

cdrecord -eject myVolume.iso

New outfit for techblog New outfit for techblog

March 26th, 2008

I took some time on the Easter-weekend, and redesigned the blog css to be similar to the skaelede.hu main page.
After some tweeking, it was working superb on all OS X browsers, but when i watched the site under Windows, IE simply got mad from the semi-transparent alpha-blending which i use on the homepage as well - without error: but here it simply ate up all CPU, and you were forced to quit the browser. A big sorry to everyone who saw this error :D

Restore OS X Tiger’s bootloader Restore OS X Tiger’s bootloader

November 1st, 2007

If you ever found yourself sitting in front of a dead Hackintosh system (for example another operating system’s boot loader invaded it’s Master Boot Record (MBR) like Linux’s GRUB, and keeps telling like: Error 13: Invalid or unsupported executable format.), and would like to use it in it’s original way, follow the steps below:

1) get yourself a 10.4.8 bootable (Intel) DVD

2) boot from it and press F8, and type -s to enter single user mode

3)  type:
fdisk -e /dev/rdisk0
flag 2
update
write
quit

reboot

Mrtg on Ubuntu Mrtg on Ubuntu

May 24th, 2007

I’ve added MRTG to Cron, but later I found that it is not running. Checking the logs, and found the following:
<code>
ERROR: Creating templock /var/lock/mrtg/_etc_mrtg.cfg_l_3723: No such file or directory at /usr/bin/mrtg line 1757
</code>

The folder doen not exist, so <code>mkdir -m 0755 /var/lock/mrtg</code>…

mount a Windows share with Samba on Ubuntu mount a Windows share with Samba on Ubuntu

May 8th, 2007


mount -t smbfs //10.1.1.99/folder /mnt/mymount -o lfs,username=administrator,password=xxxxxx

the parameter lfs is to disable Samba’s 2G filesize limit, so you can copy huge files over as well.

Archives Archives

May 7th, 2007

Do not edit this page

restore JFS filesystem under Ubuntu restore JFS filesystem under Ubuntu

May 7th, 2007

today, a 5 disk SATA raid5 array misteriously went to ‘beeping mode’, it was unable to mount the JFS partition, however the ext3 root partition worked (thank God!) so we’ve needed to do the following:

apt-get install jfsutils
fsck.jfs -a -f /dev/sda2 -j /dev/sda2

Resume a download with wget Resume a download with wget

April 19th, 2007

wget -c http://the-failed-download-s.url

Change locale on Ubuntu to make MC usable with a non utf-8 capable terminal Change locale on Ubuntu to make MC usable with a non utf-8 capable terminal

April 12th, 2007

I like to use OpenSSH for Windows on my XP box, but unfortunately it does not understand utf-8.
Ubuntu, however forces utf-8.


balint@s-xxx:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

All we need to do is to remove the ‘.UTF-8′ from all listings, by inserting the following lines into our .bashrc (or the configuration file of the shell we use):


export LANG=en_US
export LC_ALL=en_US