Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • 久违的油价

    Posted on November 26th, 2014 Sean Add comments

         今天加油,吃惊的看着油价半天不敢相信。上次享受类似的经历,貌似要回到2009年

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    7 views
  • iPhone Airdrop Wirelessly Share with “Contacts Only” Option

    Posted on October 25th, 2014 Sean Add comments

         If you have an AirDrop-capable iPhone, but can not detect any other devices when turn on the AirDrop with “Contacts Only” option, please following the steps below:

    1. Make sure your iPhone and the iDevice you want to connect are all AirDrop-capable. (No kidding, only iPhone 5 or later, iPad (4th generation or later), iPad mini, iPod touch (5th generation) are AirDrop-capable, other iDevice won’t work even you have iOS 7 upgraded)
    2. Add a new contact with name “me” (if you don’t have one), and add your iCloud email to this contact, make sure change the type of email field to be “iCloud” (very important).
    3. Repeat step 2 for the destination device with the owner’s iCloud email
    4. Swipe up from the bottom of your screen to show Control Center, tap AirDrop, choose “Contacts Only” option
    5. Find the content you are going to share from apps such as Photos, Safari, Contacts
    6. Tap the content you want to share, then tap “share” or the icon , you should be able to find the iDevice from your contacts
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    11 views
  • 内存卡十年

    Posted on July 8th, 2014 Sean Add comments

         Micro SD卡,十年间从M变成了G,真不知道是快还是慢。

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    4 views
  • jQuery $.ajax()/$.get() function always get same value for IE

    Posted on June 19th, 2014 Sean Add comments

         When I was trying to use jQuery $.ajax() or $.get() function retrieve some random value from the server side, it’s working fine on firefox or chrome, but not IE. The server side code like below (written in ASP.NET MVC):

         The client side code:

         I’m supposed to get a random number every time I click the link, but in IE, always same one returned. Regarding Craic Computing’s Blog, that’s because IE will cache the value first returned, and trade rest requests as identical by default, so it won’t update the value since the request URL never change.
         To fix this issue, just disable cache in the jQuery function as following:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    16 views
  • 五月八日散记

    Posted on May 8th, 2014 Sean Add comments


    高高兴兴上班来,
    一夜回到解放前。
    遥望蜀道千重路,
    身遮泪巾佯笑颜。

  • 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
    Loading...Loading...
    7 views