nl.ai.malware.jpg

Pages of my friend's web sites were overwritten and inserted malicious javascript code. Google's alert message appeared on one of those sites, so I just thought someone reported the site as infectious by ill will.

I looked for tips to ged rid of it, and investigated suspicious files on the server. Then I found "log.php" which includes web shell function (and all crack tools) based on php. The script can hack files and database, and even brute force codes are inside it.

I guess it was infected via theme file of WordPress. A part of library files in the theme "arras", "timthumb.php" has vulnerability. They attacked it and inserted the code.

See also the site "Tips for removing website malware -- Redleg".

fbsdports.jpg

While installing Apache 2.2.21 in /usr/local/www/apache22, an error "/usr/local/build-1/libtool: not found" occurred.

You just need deinstall apr1, and reinstall apache22 again.

#pkgdb -F; portsclean -CDD; portsnap fetch update

# cd /usr/ports/devel/apr1
# make deinstall clean

# cd /usr/ports/www/apache22
# make install clean

mbp6,2.jpg

After updated to OSX 10.7.1 (Lion), My MacBookPro6,2 suddenly blackouts and crashes randomly, so much frequently. Console logs just tell some memory error and kind of NVRAM error like "BSD process name corresponding to current thread: kernel_task" or "BSD process name corresponding to current thread: Window Server".

I dug information about same problem, then I found someone resolved it by a temporary way. He used an app "gfxCardStatus" which can switch integrated graphic and discrete graphic manually. He stopped this panic by using only integrated graphic (Intel HD Graphics). Also in my environment, this problem was resolved by manually switching to integrated graphic, it disabled dual display though.

netatalk.png

MacOSX 10.7 Lion doesn't support old version of netatalk (2.0.x?). Lion won't mount older version of netatalk volume and an error occurred.

It needs to be updated to the latest version.
After the update, if CNID DB error occurred, ' cnid_metad_enable="YES" ' must be set in /etc/rc.conf, then restarting netatalk fixes this problem.

mpptumbr.jpg

I have left my tumblr interface almost default for a long time because I did not have much interest and fun on Tumblr. For my business demands, I changed the design of my tumblr blog page and added Like Button of Facebook in it.

For adding Like Button to each entry of Tumblr, "url" of og tag has not be set in head tag. It disturbs Like action for each entry. And "Send" fanction does not work correctly in each entry (I guess it is because of XFBML).

mobilesafari-bgimage-size.png

On iOS, Safari automatically resizes image size defined by CSS (background-image) to viewport size at the size of 900 pixel width x 2200 pixel height (and vice versa).

You need separate block elements which defined background image with CSS.

IE7S.png

There are lots of topics and tips for IE7 standalone, but just write it down to memorize for my trifle work.

Download IE7 installer from Microsoft site, and IE7 standalone program from Tredo soft. Unstuff IE7 install exe by any archive app which can open rar file, and run xmllitesetup.exe. This setup program update system.
Put IE7S.exe into decompressed IE7 installer folder. Then you can run IE7 by using IE7S.exe.

# Limitation: it can not access SSL page.

faxmodemproblem_on_osx.png

I still use internal FAX modem of MacOSX, but I sometimes faced a sending problem after Leopard. Apple reported this problem. It says turn off receive option in System Preferences, or reboot system after turning off receive option.

This is not so useful solution, they should fix it even if it is for minor users like me.

transmit4+macfuse.png

Tranmit4 integrated with MacFuse.

This integrateion let you feel smooth on seemlessly mounting FTP server in your Finder.
I like also the icon of mounted volume. genarated by Transmit4, but do not like the menu icon on the right side of menu bar.

finder.png

I have used Path Finder almost for Cut & Paste in file browsing, but I found defaults command for adding cut & paste to MacOSX Finder.

$ defaults write com.apple.finder AllowCutForItems -bool yes
$ defaults write com.apple.finder AllowPasteForItems -bool yes
$ killall Finder

I like several convenient functions of Path Finder which are hidden or Finder.app doesn't have. Path Finder is sometimes unstable and I have to refresh its file browser after files are created of edited. This malfunction were irritating me so often.

This commands are so useful for me to discard Path Finder and switch back to default Finder.app.

I misunderstood this. It only moves a file into .Trash. And Paste doesn't work.

Then, later, I found another little utility "pathsnagger" for alternate fuction of Path Finder.
It enables copying file path in context menu.