Textmate: Select Balanced HTML Tag

If you’re trying to select the balanced HTML tag or Enclosing Tag in Textmate there is an article here that talks about it.

http://subtlegradient.com/articles/2007/11/15/select-balanced-html-tag.html

Unfortunately the article does not give a link to download. Try this out instead:

 

https://github.com/subtleGradient/SelectStuff.tmbundle

How to install your new textmate bundle?

Basically just extract the file you download and then go into each of the folder and double click on the tmbundle files.

http://manual.macromates.com/en/bundles

Also check out the HTML5 bundle:

https://github.com/subtleGradient/HTML5.tmbundle

Posted in Tech Tips, Web Development | Tagged , , , , | 1 Comment

Japanese Phonetic Translator

I created a Japanese Phonetic Translator which allows you to type in english text and have it translated into Japanese characters and roman-ji (english) characters which will be pronounced phonetically.

This translator does not actually translate the language – it is a phonetic translator only. A good use (and original purpose) was to practice recognizing Japanese characters without learning Japanese – i.e. English words written in Japanese characters.

The characters can be written in Hiragana or Katakana.

Japanese Phonetic Translator

Posted in History, Etymology, Software | Tagged , , | 1 Comment

What is fseventsd?

fseventsd

Apple has many processes that run when using OS X. fseventsd is one of these. What does it do? Well, this is the “File system events daemon” – it is a system process that is responsible for handling changes to the file system.

You can find `fseventsd` in the activity monitor and also via `Terminal.app` by typing `ps aux`:

What is fseventsd?

What is fseventsd?

What does fseventsd do?

`fseventsd` writes file system event log files, and basically is used to monitor file system changes. A lot of programs (like CodeKit) can tie in / connect with `fseventsd` so that they can do things like recompile files automatically when they change. Dropbox uses `fseventsd` in order to monitor files that change so it can upload them.

What’s the kernel to do when 10,000 file system changes occur in two seconds (say, as part of some software installation) and the stupid, lazy userspace process that registered for file system notifications is now too preoccupied with other things and hasn’t pulled any notification events off its queue in the past three seconds? – arstechnica

There is a directory in the root called `/.fseventsd` which acts as a staging or buffer area. You will also notice a process called `fseventsd` if you open the activity monitor as mentioned above.

Is fseventsd bad?

If you are thinking about killing the `fseventsd` process or deleting the `fseventsd` folders, I would advise against it. These are required files and processes – and doing so may harm your system or crash your computer.

Posted in Mac | Tagged , | 1 Comment

Fix “pakcyberarmy.net” Website Hack

If you are seeing this code, your website has been hacked:

~ Call 911 y0u g0t Hacked by Pak Cyber Army ~ <=Shak=> ~

If your website has been hacked and the pakcyberarmy.net spam is showing up, this is how you can fix it:

This exploit usually only affects the root index file, perhaps that is index.html or index.php. Restore this file to a saved, earlier version, or rename it to something like index.txt or index.bak if you need to start from scratch.

You may also want to look at the file-modification time to see when the file was last modified to get some idea of when the attack occurred.

You should check the server logs and look for suspicious FTP activity, or unusually HTTP requests, especially ones with GET parameters or POST data.

You should also check your .htaccess file for rewrite rules which will be redirecting visitors.

If you have shell access run this command to see all files changes within the last 24 hours:

find ~ -mtime -24

You can change ~ to ~/www or the path to your web root as needed.

Posted in Tech Tips, Web Development | Tagged , | Leave a comment

Complete List of Constant Contact E-mail Templates

Here is a complete list of Constant Contact E-mail Templates (names and preview images) as of May 4th, 2011.

AsianAsian
ElegantElegant
Elegant IIElegant II
PlayfulPlayful
Playful IIPlayful II
Playful IIIPlayful III
Playful IVPlayful IV
SophisticatedSophisticated
Sophisticated IISophisticated II

Continue reading

Posted in Design | 1 Comment

Swype Beta Download

If your phone doesn’t have Swype you can proceed with the installation by downloading Swype below. If you have Swype preinstalled, you may want to check out this post about removing the factory installed version of Swype, otherwise the installer package probably won’t work.

If you need to grab the beta version of Swype, check out this link Swype Beta Download and you won’t have to go through the registration process.

Posted in Tech Tips | Leave a comment

Playstation Accounts Compromised – April 2011

Valued PlayStation Network/Qriocity Customer:

We have discovered that between April 17 and April 19, 2011, certain PlayStation Network and Qriocity service user account information was compromised in connection with an illegal and unauthorized intrusion into our network. In response to this intrusion, we have:

1) Temporarily turned off PlayStation Network and Qriocity services;

2) Engaged an outside, recognized security firm to conduct a full and complete investigation into what happened; and

3) Quickly taken steps to enhance security and strengthen our network infrastructure by re-building our system to provide you with greater protection of your personal information.

We greatly appreciate your patience, understanding and goodwill as we do whatever it takes to resolve these issues as quickly and efficiently as practicable.

Although we are still investigating the details of this incident, we believe that an unauthorized person has obtained the following information that you provided: name, address (city, state/province, zip or postal code), country, email address, birthdate, PlayStation Network/Qriocity password and login, and handle/PSN online ID. It is also possible that your profile data, including purchase history and billing address (city, state, zip), and your PlayStation Network/Qriocity password security answers may have been obtained. If you have authorized a sub-account for your dependent, the same data with respect to your dependent may have been obtained. While there is no evidence that credit card data was taken at this time, we cannot rule out the possibility. If you have provided your credit card data through PlayStation Network or Qriocity, to be on the safe side we are advising you that your credit card number (excluding security code) and expiration date may have been obtained.

For your security, we encourage you to be especially aware of email, telephone, and postal mail scams that ask for personal or sensitive information. Sony will not contact you in any way, including by email, asking for your credit card number, social security, tax identification or similar number or other personally identifiable information. If you are asked for this information, you can be confident Sony is not the entity asking. When the PlayStation Network and Qriocity services are fully restored, we strongly recommend that you log on and change your password. Additionally, if you use your PlayStation Network or Qriocity user name or password for other unrelated services or accounts, we strongly recommend that you change them, as well.

To protect against possible identity theft or other financial loss, we encourage you to remain vigilant to review your account statements and to monitor your credit or similar types of reports.

We thank you for your patience as we complete our investigation of this incident, and we regret any inconvenience. Our teams are working around the clock on this, and services will be restored as soon as possible. Sony takes information protection very seriously and will continue to work to ensure that additional measures are taken to protect personally identifiable information. Providing quality and secure entertainment services to our customers is our utmost priority. Please contact us at www.eu.playstation.com/psnoutage should you have any additional questions.

Sincerely,
Sony Network Entertainment and Sony Computer Entertainment Teams

Sony Network Entertainment Europe Limited (formerly known as PlayStation Network Europe Limited) is a subsidiary of Sony Computer Entertainment Europe Limited the data controller for PlayStation Network/Qriocity personal data

Part 2 – PSN Service Update – Some services have now been restored

Dear PlayStation®Network user:

As you may have heard, PlayStation®Network was suspended worldwide on 20 April 2011 following a criminal cyber attack on our servers. We’re pleased to say that we have now started restoring some PlayStation Network services. Over the coming days, more services will be back up and running and you should keep an eye on eu.playstation.com/psnlatest and PlayStation.Blog at blog.eu.playstation.com for the very latest developments.

Before you start using PlayStation Network again…

In restoring PSN, we have introduced a safety measure which means you will need to update your PlayStation Network account password before you can start using PSN again.

If you’ve got a Playstation®3, you can do this by updating to system software version 3.61 and then signing in to PlayStation Network from the XMB (XrossMediaBar) Menu. Find out more at eu.playstation.com/ps3psn. Otherwise, you can change your password by visiting https://store.playstation.com/login.gvm on your PC. It shouldn’t take more than a few minutes and if you’d lke more help you can follow the step by step guide at eu.playstation.com/psppsn.

Free games on us…

To thank you for your patience whilst PSN has been unavailable, we’ll be rolling out a Welcome Back programme for all PSN users shortly; this will include free games to download and a month’s free subsciption to PlayStation®Plus (or a free month for existing members). Once available, we’ll publish a full list of Welcome Back offers in your country at eu.playstation.com/welcomeback.

Again, we would like to thank you for your patience and support whilst our teams worldwide work to get PSN back up and running. Remember, for the very latest updates, you should visit eu.playstation.com/psnlatest, PlayStation.Blog at blog.eu.playstation.com and follow us on twitter.com/PlayStationEU.

We look forward to seeing you online soon,

The PlayStation Network team

Posted in Tech Opinion | Tagged | Leave a comment

Mrs.Turner Clarissa Ann

Got a spam e-mail from Mrs.Turner Clarissa Ann / Joe Crowley. Below is what the message said. Did you get one too? Leave a note in the comments below! :)

Good day, 

I am Mrs.Turner Clarissa Ann. I have an Offer that you will help 
me to handle and it will benefit you now and in the future. If you
are interested, kindly respond via mail: ([email protected])
to enable me forward you further information. 

Regards. 
Mrs.Turner Clarissa Ann
Posted in Marketing | Tagged | Leave a comment

WordPress: How to wp_enqueue_script jquery-ui / autocomplete

If you are trying to enqueue jquery’s autocomplete in wordpress, I’d suggest just using the remote version through google’s CDN / API site. You can deregister the jquery-ui with the first line of code, re-register it with the second line of code, and then activate it with the third line of code:

wp_deregister_script('jquery-ui');
wp_register_script('jquery-ui','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js',array('jquery'));
wp_enqueue_script('jquery-ui');

You may also want to enqueue the styles using something like:

wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); 

And more recently I found this project on GitHub which has some nice examples and code that may be more updated than the version included with wordpress:

https://github.com/dyve/jquery-autocomplete

Posted in Web Development | Tagged , , , | 4 Comments

Scam: Trademarkdns / HongKong NewName

Recently received this e-mail from HongKong NewName. Looks like they have a long history of trying to scam people. I would not reply to the e-mail. The bad english in the last line makes me think they would try and use the reply e-mail as a domain transfer authorization.

Did you get a similar e-mail? Leave a note in the comments below.

---------- Forwarded message ----------

From: services 
Date: Wed, Apr 27, 2011 at 5:17 AM
Subject: (yourDomainNameHere)

Dear Manager

We are HongKong NewName Net Service Limited, an Service 
organization of Internet in China.

On April 27, 2011, we received an application from Shanghai 
XingBang Electronics Co., Ltd.

requested (yourDomainNameHere) as their internet brand 
and China (CN) domain names. But after checking it, we 
find this name conflict with your company name or trademark. 
In order to deal with this matter better, it's necessary to send 
email to you and confirm whether this company is your distributor 
or business partner in United States?

Or is your company is authorized Bangni Distributors, Inc. 
to register these domain names?

Kind Regards,

Emma Lan
Customer Service Manager
HongKong NewName Net Service Limited
4A, Units 19/F, Far East Consortium Bldg.,
121 Des Voeux Road, Central, Hong Kong
Tel: 00852-8193 0858 | Fax: 00852-8193 2728
[email protected] | www.trademarkdns.com
Posted in Tech Tips | Tagged | 1 Comment