Search This Blog

Tuesday, December 31, 2013

Disable warning that iOS message app asks to disable airplane mode

Using iFile,
1. Edit /var/stash/Applications.xxxx/ (on my iPhone /Applications is linked to the correct .xxxx)
2. Change SBUsesNetwork~iphone from 20 to 2
3. Save
4. Respring


Wednesday, December 18, 2013

Mactex for USletter

Need to change the following file:


Change the default setting in the following way:

% Fixed for USletter paper size
  \ProcessOptions\relax  % process options in order of declaration!
\if y\@hf@dflt
% Fixed for USletter paper size
%  \setmarginsrb{35mm}{20mm}{25mm}{15mm}{12pt}{11mm}{0pt}{11mm}%

Wednesday, November 13, 2013

Cygwin email setup for gmail and send email using terminal

1. Run 'email-config' to setup Gmail for email

2. (echo "Message body"; uuencode attachment.jpg attachment.jpg) | email -s "title"

2. (echo "Message body"; uuencode attachment.jpg attachment.jpg) | email -c ~/email.custom.conf -s "title"

Friday, November 1, 2013

Print queue monitor sample

Wednesday, October 9, 2013

Good thing to have

1. Kinnect

- New user interface to manipulate a 3D object

2. Head Mount Display

- New user interface for 3D environment explorer

3. Google glass

- Voice user interface

4. Game controller

- New user interface to manipulate a 3D object

5. Remote controller

- New user interface to manipulate a 3D object

Sunday, July 21, 2013

Post on Blogspot using cURL with bash

The following bash-script posts an article in the blogspot.


# Authenticate
# Requires $GDATA_PASSWORD to be set as an environment variable.
G_AUTH_TOKEN=`curl 2>/dev/null \
    -d \
    -d Passwd=$GDATA_PASSWORD  \
    -d accountType=GOOGLE \
    -d source=curlExample \
    -d service=blogger \
  | grep '^Auth=' | cut -c 6-`

# Post on my blog.
curl -v --request POST -H "Content-Type: application/atom+xml" \
    -H "Authorization: GoogleLogin auth=$G_AUTH_TOKEN" \
    "" --data "@blog_post.xml"

The followings are the field specific for a user account and a blog. user account for a blog
$GDATA_PASSWORD: user password
YOUR_BLOGS_ID: blog id
blog_post.xml: data for upload

The following is an xml example to upload.

<entry xmlns="">  
  <title type="text">Knock knock</title>  
  <content type="xhtml">  
    <div xmlns="">  
      <p>Who's there?</p>  
      <p>Orange who?</p>  
      <p>Orange you glad you know how to post using curl?!? (lol!)</p>  
  <category scheme="" term="joke"/>  
  <category scheme="" term="curl"/>  

In this xml, category scheme defines labels.

Code formatter:

Friday, July 19, 2013

How to use 'wget' for ''

1. Export cookie for ''. Let's name it 'cookie.txt'.
2. Run the following code

wget -c --load-cookies cookie.txt "address to download" -O savefilename

Wednesday, July 17, 2013

Yamaha Zuma 2t oil

- Yamalube

2R - High performance 2-stroke blend
2W - Semi-synthetic formula for sport boats & waverunner, not recommended for 2-stroke land-use vehicles or outboard motors
2S - Semi-synhtetic base and additive 2-stroke engine oil
2M - Outboard semi-synthetic engine oil

2R is known for premix, while 2S for injection.

- AMSOil

Dominator Synthetic 2-Cycle Racing Oil

- Summary of 2-stroke oil

TC-W3 is an outboard specific oil, so not recommended for mopeds.
API-TC, based in the USA, is using metal-based, ash-producing additives.
JASO-FD and ISO-L-EGD would be best for mopeds.

Some JASO-FD and ISO-L-EGD injection type oils
Ipone Scoot City
Ipone Scoot Run

Thursday, June 27, 2013

_CrtIsValidHeapPointer(pUserData) assertion when compiling with /clr

The following explains how to resolve this issue when we are using unmanged code with managed one. Especially when we got an error in _CrtIsValidHeapPointer(pUserData), we can solve this issue by putting '__DllMainCRTStartup@12' in Force Symbol Reference in the Linker section/Input.

"I had a very similar problem with one of my mixed (managed and unmanaged) projects. I was using a Winforms with /clr specified for the GUI side calling into unmanaged code that at some point referenced a ATL header. Supposedly the winforms wizard configures the project by default to skip the CRT startup code when any ATL header file is detected and thus the reason for it crashing at the g_allocator initialization (this problem is not in the console /clr version). The fix below essentially reverses what the wizard does. On a side note, I included instructions below to obtain access to MSFTs symbols for use when debugging which helped me find this one, atleast to the point I knew what to search for in Google.

Link describing the problem

Anyhow here was what I had to do: add  __DllMainCRTStartup@12 in Force Symbols Reference section in the Linker section of the project settings.

VS2008 - To configure Symbol Server, open the symbol search path options dialog. (From the Tools menu, click Options. In the left pane of the Options dialog box, Open the Debugging node and click Symbols.) Add the following search path to the search list: Add a symbol cache directory to the symbol server cache text box. Click OK."


Saturday, June 8, 2013

DEV220JAN08.rar password

DEV220JAN08.rar is for MIO C220 crack. Sometimes, this file is encrypted by a password. Especially, the file downloaded from the following site is encrypted.

The password for the file is following:

Friday, May 17, 2013

Machine epsilon in Ray tracer

Because of inaccuracy of floating point calculation in computer system, ray-tracer could fail ray-intersection test. For instance, the calculated intersection point might lie below or above the actual surface. This problem makes self-intersection of secondary rays or overlap of geometries. In order to handle this problem appropriately, we usually add a small distance along the ray (rayepsilon in PBRT) or normal direction. However, it is also important to choose an epsilon value. H. Dammertz said that too small epsilon results i self-intersections of secondary rays, too large epsilon results in overlaps from the extended geometry.

Ray-tracing for transparent or translucent objects, it is important to trace rays not only the surface facing a camera, but also the surface hidden from the camera. Ray-tracer would fail to intersection test for the hidden surface which is very close to the surface which the rays already intersected. If we modeled the volume with some interfaces, outside will be air and inside will be a material. To check if the ray is within the volume, ray-intersection test will be important. When ray intersects the first surface, the ray will get into the volume. When the ray intersects the second surface, the ray will get out of the volume. When second surface is too close to the first surface, ray-tracer would fail to detect the intersection and regard the ray still within the volume, even though the ray already got out of the volume.

How do I handle this issue?


Monday, May 13, 2013

TELNET Starwars


Sunday, May 12, 2013

Useful torrent trackers

The pirate bay:

- Famous for large data and list

- Good ratio policy! It updates its ratio once a day, so I don't have to worry about ratio. In the middle of September 2009, the service is stopped suddenly. Demonoid posted that the site has a problem, so it is going to be recovered sooner or later.

- Dec 14, 2009, Demonoid is back!

- In Dec, 2010, it is moving to new place

- It's good for latest data and list.
- November 26, 2009, Mininova declared that they start limiting its activities to content distribution service. Therefore, large amount of data were gone. It means Mininova is no more useful!

- Torrent search engine. It has comprehensive information on many torrents tracker. But, I don't think it collects from every torrent tracker.

Eclipse productions:

- In this torrent, latest full metal alchemist can be found.

- In this torrent, most recent full metal alchemist can be found.

minglong BitTorrent Tracker:

- Tomodachi put its latest work on this tracker. Of course, most recent full metal alchemist can be found here.

Updated 2013/05/12


- Russian torrent tracker


Wednesday, May 1, 2013

Special effect for 3ds max and final cut

Wednesday, April 10, 2013

Writing shader for Mental Rray


Final Cut Pro

Overlay effect:

Realtime raytracing example

Useful articles:

Realtime raytracing with OpenCL

Realtime raytracing using DirectX 11

Sunday, February 24, 2013

iPad 2 32GB Wi-Fi 9.7in Black (MC770LL/A) great condition + smart cover and 2 cases

I am selling used iPad 2 32GB  Wi-Fi Black. Part No. is MC770LL/A, that are coming with a genuine Apple product RED smart cover and two great cases.

This iPad is in almost perfect condition, and hard to find any scratches. In addition, it is jailbroken, so you can install useful cydia apps, that you can't not download from iTune app store.

This one is coming with a genuine Apple product RED smart cover, an awesome Nedrelow book-looking case, and an amazingWater Field sleeve! See the following site:

Let's see some pictures!

If you have any problem to see the following pictures, please drop by here:

Perfect face, no scratch on it!

Great back! It has little wear out on back, but hard to notice!

iPad 2 32GB

 Working perfect and now restored to factory setting!

Default apps from factory setting! 

Jailbroken now, so you can install cydia apps!

Currently it has the latest iOS 6.1.2 with jailbreak. You can see that it has around 28GB available for you. Probably, iOS takes around 4GB.

You can see the side view of an iPad on the face of the box.

This iPad has 32GB flash memory inside, and you can see some technology spec here.

The model No. is MC770LL/A, and Wi-Fi 32GB black version.

 It will come with an genuine Apple red leather smart cover! It shows some dirt, because I used it for awhile.

 It's a product red leather one!

It will be in an official case also. 

The other side of the official box.

It is coming with great case which Nedrelow made. The case, which is called VOLUME, perfectly fits to iPad 2 but somewhat old now. More information, you can find out here:

Inside of VOLUME, you can feel that it is somewhat old now. But, it is still good. Magents is installed within the cover, so it is working like an Apple smart cover. If you close VOLUME, iPad will go to sleep. If you open VOLUME, iPad will wake up!

VOLUME is bound with buckram: the standard in durable library binding.

 It perfectly fit to iPad 2!

 When closed, it looks like a book!

 It has magnets inside, so it is working like a smart cover!

You can make it stand while you are watching movies or something! 

It looks like a book! Isn't it! The edges are somewhat bent, but it is still great!

It looks like a book, so other guys never imagine that it's iPad! 

You can make it stand while watching movies or something!

It is coming with a sleeve also. It is called iPad suede jacket from WaterField. You may find out some information here:

 It has a pocket on the other side, so that you can carry charger and cables.
 It perfectly fit to iPad 2 also!

It's a cool jacket!

I have two data cables. Unfortunately, they are not in cosmetically perfect condition, although they are working perfectly. I will give you a better one (upper). The other worse one will stay with me for my iPhone. :D Actually genuine Apple cables are notorious for their quality, especially around connectors. It may prove that these cables are genuine Apple products. :D

It is coming with a wall charger also!

They will be in the original box like when they came to me.

Sunday, February 17, 2013

Used Thinkpad X200

I am selling the used Thinkpad X200, that I bought in 2010.

Here goes the brief specification of the laptop.

CPU:Intel Core 2 Duo P8700/2.53 GHz (Dual-Core)
Memory: 4GB
HDD: 160GB 7200rpm (ST9160823AS)
OS: Windows 7 Professional
Display Type: 12.1 in TFT active matrix
Max Resolution: 1280x800 (WXGA)
Graphics Processor: Intel GMA 4500MHD Dynamic Video Memory Technology 5.0
Optical Drive: None

Here go the pictures of my x200. Any question will be welcome.

Any problem in watching the following pictures, please drop by

Picture with minimum backlight. You can see detail of the boddy.

Picture with maximum backlight.

I'm selling the used x200 I bought in 2010. The appearance is excellent.

Bottom is also great. Prodcuct SN, OS product key, and MAC address are hidden here.

English keyboard is in excellent condition.

Currently, Windows 7 Professional 64bit is running on this system, that has Core 2 Duo P8700 at 2.53GHz and 4GB main memory.

It has 160GB HDD, but 150GB show up Windows Explorer. Actual capacity you can use in this system is around 150GB. The actual capacity depends on OS or system. Please see

Currently ST9160823AS, Seagate Momentus 7200RPM HDD is installed. You can see a review of this HDD here:

The battery is still okay and lasts more than 3 hours, Thinkpad power manager said. Of course, it depends on how to use the system. If some software used CPU aggressively, the result would be different. Note that the battery cycle is 102. It has been recharged only 102 times.

Note that it is in excellent shape.

And it is running great.

No bad pixel found. Note that it can last more than 4 hours here. Of course, it depends on what program it is running.

No key is broken.

Recovery media in on desktop. Please keep this recovery media, because Thinkpad doesn't allow you to make another copy.

It is coming with the Waterfield sleeve, that was around $50.

It has a picket on the other side.

The sleeve perfectly fit the system.

The adapter is in perfect shape.

The official guide

Thinkpad x200, charger, official guide and sleeve are coming together.

They are going to be in the original box of Thinkpad.

The built-in webcam is working great! You can see my hand! :D

Currently, any bios password is disabled. If you want, you can set up in this menu later.

The official model name is 7454-CTO.

Windows 7 pro, that is coming with laptop, is a officially licensed Windows. Note that I recovered to factory default using the Thinkpad recovery media. The recovery partition is within the HDD, and its recovery disk image in in the desktop. Please, backup this recovery directory when you got this laptop. You will need this, if you want to upgrade your HDD or something.

Recovery partition is assigned to Q drive.

The recovery disk image in in the desktop.

Note that he official Windows 7 pro from Thinkpad has some extra programs for Thinkpad, which are not able to be found in other laptops.

Blog Archive