Archive for the ‘twitter’ Category

Ruby On Rails: Writing something to the log.

Ruby on Rails has build in features for writing to you application log file. You can directly use the logger object for this purpose. Following line when it is executed will print “Hello world” to you log file. logger.info ‘Hello world’ You can use different log levels fatal, error, warn, info, debug . logger.error ‘Hello [...]

Read the rest of this entry »

Ubuntu avahi-daemon creates problem resolving FQDNs ending with .local

I have started to use .local dns extension for my local network. After changing my complete network configuration I realized that some of my Ubuntu machines can resolve the FQDNs ending with .local (Ex: testhost.digitalpains.local ) correctly. ali@advance17:/home/ali$ ping testhost.digitalpains.local ping: unknown host testhost.digitalpains.local   ali@advance17:/home/ali$ ping testhost PING testhost.feasiblesolutions.local (192.168.7.2) 56(84) bytes of data. [...]

Read the rest of this entry »

Size matters, keep your BizTalk Map Project small

Whenever a map contains a scripting functoid that uses inline language like c#, BizTalk Map assembly is created in memory. The object in memory is not deleted until the Biztalk service is restarted. This means every mapping operation causes the whole assembly to be loaded into memory. That’s why we must keep maps and schemas in a [...]

Read the rest of this entry »

My Favorite Maven Links

Formal Apache Maven site AvaJava Web Tutorials‘ Maven category. Really useful web site, teaches common maven configurations and tasks with screenshots and short explanations Maven: The Definitive Guide published by O’Reilly. It’s free and you can read full content of the book from the website. Both, html and pdf versions are available. Tweet This Post

Read the rest of this entry »

Mobile Telephone eavesdropping.

As the mobile phones get smarter, they became an integral part of our life and very tempting attack vector. Today I red an article Voice Encryption: 9 out of 10 Products are Worthless (Technical Description) it is a nice example of with a little bit of creativity how easily you can bypass an expensive security [...]

Read the rest of this entry »

Automatic Security Updates on Ubuntu.

There are different options for automatically updating your server. At this article we will use the unattended-upgrades package. We will start with installing the unattended-upgrades package. kok@fhome:~$ sudo apt-get install unattended-upgrades After installing the unattended-upgrades package we need to add  the text below to the  /etc/apt/apt.conf.d/10periodic file. APT::Periodic::Update-Package-Lists “1″; APT::Periodic::Download-Upgradeable-Packages “1″; APT::Periodic::AutocleanInterval “5″; APT::Periodic::Unattended-Upgrade “1″; [...]

Read the rest of this entry »

What is my problem with Biztalk FTP Adapter?

My problem is BizTalk Ftp Adapter’s inability to run in 64-bit mode… Actually, this is one of the problems of the ftp adapter but I won’t write about it in this entry, I can live with it…. Out-of-the box Ftp Adapter receive location deletes files from the remote ftp site so it requires write permission [...]

Read the rest of this entry »

Joomla “JFolder::create: Could not create directory Warning! Failed to move file.” error

If you are having this error message either your web user doesn’t have write rights to your installation folders or Path to Temp-folder server parameter is pointing to a wrong location. In my case it was the second. After I changed my Path to Temp-folder parameter problem is solved. You can change this parameter from [...]

Read the rest of this entry »

My Performance Notes for Biztalk Server 2006 R2

I want to share some of my notes about Biztalk Server 2006 performance in terms of programming and configuration. This is just a startup and I will try to share my future findings about Biztalk performance in this entry. I also put some related links at the end of the entry for detailed information. Change [...]

Read the rest of this entry »

Configuring Yum To Work With Proxy Server

Most of the  production servers  has limited connectivity to the Internet. If they have any connectivity then probably it  will be through a forward proxy server. If your server is behind the proxy server, then you need to provide proxy server details in /etc/yum.conf.. The proxy setting must specify the proxy server as a complete [...]

Read the rest of this entry »