Daily Archives: December 31, 2012

25 Computer Networking Tips and Tricks

network1324548

Running a home network is pretty essential in this day and age.

Thankfully, modern hardware and software has reduced the complexities of configuring networks down to a few setup screens, and the relevant hardware often comes free with an Internet connection.

If you have multiple computers, the chances are they’re already talking to each other, either through wires or wirelessly. However, while your home network might be up and running, optimising it takes some doing. Follow our simple tips to extract the last drop of juice from your network hardware.

1. Change channel number

Wireless routers operate on a fixed channel. Since most routers ship with a pre-selected channel, the wireless signal may interfere with other routers in the vicinity that are operating on the same channel.

Changing the wireless channel from the factory default is a good starting point if your wireless signal strength is poor.

2. Give the router space to breathe

The biggest advantage of a wireless router is that it can penetrate doors and walls – but that doesn’t mean you can just stuff it next to a wall or cordless telephone, or use it as a stand for your stack of DVDs. Treat it with respect.

Try to keep it in a central location, away from other wireless devices; make sure it’s not in direct sunlight; lift it off the carpet; and ensure its vents and air holes aren’t covered.

3. Improve reception

Try as you might, you’ll find it’s sometimes not possible to put the router in a good spot. One way around the problem is to buy a router with multiple antennas and point them in a variety of directions covering your home.

Alternatively, if you’ve already got a router, check whether it’s possible to upgrade its antennas to something stronger. However, don’t get disheartened if your router doesn’t have any antennas. A wireless repeater compatible with your router is a perfect solution.

4. Use WEP

Running an unsecured network will earn you brownie points from neighbours and hackers with cars, but that’s about it. Wireless routers support a variety of encryption methods, such as WPA and WEP, but these aren’t enabled by default.

WPA2 is the most secure method at the moment, but before deciding on an encryption method, make sure your network cards and adapters support it as well. Bear in mind that older machines – and games consoles such as the Nintendo DS – don’t support WPA.

5. Restrict access to specific PCs

If you really don’t want to use encryption, you can force your router to only connect to specific PCs. Your router identifies each computer by the unique MAC address of its network gear. Feed it a list of MAC addresses to connect to and you save yourself the trouble of entering a password each time you log in.

The disadvantage is that you’ll have to add the MAC address of any new computer before it can get on your network – which is probably a more annoying way of getting things done.

6. Disable SSID broadcast

All wireless routers have a Service Set Identifier (SSID) that identifies them to network computers. Routers from the same manufacturer generally ship with the same SSID; ‘Netgear’ or ‘Cisco’, for example.

You should first change the SSID to something unique to set your router apart from those of your neighbours. Then, once all your hardware has been set up, it’s better to turn off broadcasting the SSID altogether. This ensures your router isn’t displayed in the list of available networks, and won’t be a target for potential hackers.

7. Keep the firmware updated

Router manufacturers keep working on firmware, even after hardware has been shipped. In addition to tweaks in the user interface, new versions might make better use of the various components in the router, or add extra features.

Just like with an operating system, it’s a good idea to upgrade the firmware of the router regularly – check the manufacturer’s website for a new version. In the good old days, there was the risk of a botched firmware upgrade bricking your router, but it’s a lot safer today.

8. Familiarise yourself with the router manager

All routers ship with a browser based manager. To use many of the tips in this article, you’ll have to log in to this interface – try typing 192.168.1.1 into your web browser for the most common location.

It’s a good idea to familiarise yourself with the various options and settings you can tweak from within this software. Many routers also have detailed documentation that’s updated regularly, so hunt out the latest manual online.

9. Check your connections

There’s nothing more irritating than receiving a ‘cannot connect to remote machine’ error. To ensure a solid connection, use Ethernet cables where possible. It’s also a good idea to check the connection between the two PCs with the ping command.

To do this, simply open a command line and type, for instance, ping 192.168.1.2. You’ll need to replace the address given here with that of your target machine. Ping works identically on Windows, Mac and Linux.

10. Forward ports

Many servers and applications – for example, file-sharing software, FTP servers and music-streaming servers – need to serve people outside the network. These applications accept connections on specific ports.

With port forwarding – check your router’s interface – you can poke holes in your router and ask it to direct incoming traffic on a particular port (or, if you wish, a range of ports) to a specific computer that’s on the network.

11. Change DNS providers

DNS is what fetches you a website by translating the human-friendly address, such as www.pcplus.co.uk, into a bunch of machine-friendly numbers. It also displays the ‘404 page not found’ error, corrects misspelt URLs and finds the fastest route to a web server that hosts the site you want to visit, along with lots of other cool things.

Generally, it’s up to the ISP to put up a DNS server. However, there are other free services as well, including the likes of OpenDNS and Google Public DNS.

12. Use USB adapters

These days, it’s difficult to find a laptop or notebook without a built-in wireless module, but if you’ve used one, you’ll know that they can’t always be relied upon. Network cards with antennas are the best option, but they’re really only suitable for desktops.

If you really need both mobility and assurance, make sure you get a USB adapter. Most of them ship with a Windows driver, but many work out-of-the-box on Linux as well.

13. Enable Dynamic DNS

The Dynamic DNS feature enables you to connect to your computer remotely. Back in the day, when real-estate on the web was expensive, it was a wonderful option to show off your HTML skills and host your own website.

Now, by associating your dynamic IP address with a domain name, DDNS enables you to connect to the internet-exposed home computer from anywhere in the world. In addition to enabling the feature on your router, you’ll also have to register with a dynamic DNS provider, such as DynDNS.org.

14. Save power with Wake-on-LAN

What’s the point of keeping a print server on when there’s nothing to print? The smart way to save energy is to use the Wake-on- LAN feature of the network card. Thanks to this, you can put the machine to sleep after it’s been configured to wake upon detecting network activity.

15. Encrypt your online activity

With the range of snooping tools now available, it isn’t safe to do anything online without covering your footprints. There are lots of tools that promise to encrypt your online activity, making it completely unintelligible to anyone who might be listening in.

16. Get a Firewall distro

You can configure a firewall on a Windows or Linux machine, and there are also a bunch of third-party software firewalls available. However, building a firewall isn’t easy. If you’re serious about putting one up, download a dedicated firewall distro, such as Ebox.

17. Install the software

Ebox is distributed as a Live CD ISO and there are VirtualBox/VMWare images as well. It’s based on Ubuntu Server 8.04. You can also pull in Ebox packages to a standard Ubuntu Server 10.04 installation. You can find it atwww.ebox-platform.com.

18. Configure settings

Ebox can be adapted flexibly to your network. You can use it to restrict services that can be accessed and slice the network to keep some areas more secure than others. The distro runs a browser-based interface for adding, removing and configuring the components.

19. Filter content

Besides the firewall, intrusion detection (via Snort) and filtering content (via DansGuardian) are two other highlights of the distro. DansGuardian can also plug into the ClamAV antivirus scanner and filter content based on known virus signatures.

20. Exploit other features

In case you’re still not satisfied, Ebox can also act as a gateway and provide a host of other services. It bundles various applications that enable you to turn your network into a VPN, host XMPP chat sessions or run a Postfix mail server, a Squid web proxy and more.

21. Turn on UPnP

Universal Plug and Play helps smart devices that support UPnP to discover each other without any user intervention. Once turned on from within your router, UPnP enables a compatible infrared device, a Blue tooth phone or a Fire-Wire camera to see and talk to each other.

22. Write files remotely

The most logical use of a network is to share files. This is the job of the SMB protocol. Thanks to it, you’ll be able to write files to a remote network share via Network Neighbourhood. On Linux, the SMB protocol is implemented by Samba.

23. Share printers remotely

In addition to sharing files, SMB can be used to share printers attached to a Windows machine. Once configured via the Windows Control Panel, a printer can be used to accept print orders or even be managed from a remote machine, irrespective of its operating system.

24. Format shareable partitions as FAT

PCs running Windows can easily see each other and share files. For Linux or Mac machines, ensure the partitions are formatted with the FAT file system. Create them as Samba shares and they’ll show up under Network Neighbourhood.

25. Plug in USB drives

Once, if you wanted to share files on the network, a network-attached-storage, or NAS, device was the best bet. Not any more. New routers enable you to plug in one or more USB devices that are automatically accessible by all the users connected to the router.

(282)

Top Sites To Find All The Serials You Need Read more

The list below gives you some really cool sites that can provide you with the cracks , serials , and keygens for any software you would ever need. If you want to crack your copy of Windows 7 and activate it then download Windows Loader. Also see our Downloads section for all cracked and full version download.

(190)

30 Sites To Help You Open Doors To a New Career

apply jobs online

Lately it seems like everyone is getting laid off and those who have been able to hold their jobs are worried sick. We have been hit with layoffs for quite a while now and with that job insecurity has started taking toll on some people. However, most people don’t realize the possibilities that lie ahead of them. There are hundreds and thousands of jobs that are waiting given you have the skills, talent and most of all desire to succeed.

We have compiled a list of 30 sites where you can find your next dream job. Whether you want to work online or offline, full-time or part-time we are sure you will find something that will fit your needs. Blogger, designer, programmer, doctor, lawyer whatever it is that you are interested in there is something for everyone. There are opportunities out there and those opportunities are looking for eligible applicants, just like you.

 

note : description for most of these sites are taken directly from their about page to give a better picture of what the site has to offer.

  1. Hound : Hound shows its members jobs from every employer website it can find in the United States and throughout the world. It is the most powerful job-search engine in existence and powers several job boards. Recruiters use Hound to track down potential jobs for their clients.

image

  1. CareerBank : CareerBank.com is the leading online career center for the accounting, finance, mortgage, insurance and banking community. CareerBank.com provides job posting and candidate search tools for employers. The site also provides resume posting, job search and career development resources for job seekers.

image

  1. Elance : With the largest network of certified technology and creative talent, Elance helps businesses succeed by connecting them with the people they need to get work done. Elance facilitates the entire work process from hiring to collaboration to payment.

image

  1. TrueCareers : Job search and career advice site where millions of degreed professionals find jobs with the companies that value them.

image

  1. Odesk : oDesk is the marketplace for online workteams, with the best business model for both buyers and providers. Our unique approach guarantees that an hour paid is an hour worked while also guaranteeing that an hour worked is an hour paid.

image

  1. JobsInTheMoney : JobsintheMoney.com, a Dice Holdings company, is a leading career website for accounting and finance professionals in the United States. Search for accounting jobs and finance jobs and apply online.

image

  1. JobCentral : JobCentral National Labor Exchange is a service of DirectEmployers Association (DEA), a nonprofit consortium of leading U.S. corporations, in alliance with the National Association of State Workforce Agencies (NASWA).

image

  1. Fresho : Fresho.com is a superior online job search engine that was launched in January 2008. Our goal is to provide a comprehensive list of job search tools to help match qualified applicants to employers.

image

  1. Krop : Fortune 500 brands and the world’s most familiar companies use Krop and its Network to locate, reach and recruit first-class talent. Some of the companies that use Krop are-GUCCI, Facebook, Forbes, Motorola, ABC News, Turner Broadcasting, The New York Times, Apple, Playboy Ent., HBO, Adobe, NFL, AOL, Nike, Google, etc.

image

  1. SimplyHired : Simply Hired is a vertical search engine company based in Silicon Valley, and we’re building the largest online database of jobs on the planet. Our goal is to make finding your next job a simple yet effective, enjoyable journey.

image

  1. Snag a Job : SnagAJob.com has been hooking up America’s hourly workforce with great hourly jobs. Now, more than 10 million registered job seekers later, we’re the nation’s largest job site for part-time and full-time hourly jobs.

image

  1. Get a Coder : Coders can view posted projects to decide which ones they are qualified to bid on. You can also provide buyers information about the type of work you can do. The buyer chooses the winning bid and if you are the chosen coder, you can begin the work, complete the job and get paid.

image

  1. JobBankUSA : JobBankUSA has grown to be one of the Internet’s largest and best-known online recruiting sites. Since 1995 JobBankUSA.com has provided services to over 5 million job seekers, hiring managers, recruiters and human resource professionals.

image

  1. CollegeRecruiter : For candidates, CollegeRecruiter.com features include hundreds of thousands of entry level job posting ads (on-line help wanted ads), a School Finder feature which matches those interested in continuing their education with hundreds of traditional and on-line schools, and tens of thousands of pages of employment-related articles, blogs, and Ask the Experts questions and answers.

image

  1. Guru : For Freelancers, Guru.com offers the opportunity to market to a global audience with minimal costs. Innovative features, such as an online Video Profile, give Freelancers a cutting edge platform to highlight their skills and experience to attract new business and retain repeat customers.

image

  1. Workopolis (Canada) : Canada’s biggest job search site where you can search for a job, post a current job opening or check out the resources for information, advice, and other articles and resources.

image

  1. MarketingJobs : MarketingJobs.com lists marketing and sales related jobs from all over the United States. If you are into marketing or sales this is your hub.

image

  1. Developers : IT professionals can create a job profile and then receive emails regarding jobs posted that match their profile. The site is limited to programming and computer positions.

image

  1. CareerBuilder : As the U.S.’s largest online job site, CareerBuilder.com put over 1.6 million jobs in front of poised job seekers wherever they are – at home or work – in print and on the Internet. More than 23 million unique visitors come to the site every month to check out opportunities in every industry, field and job type.

image

  1. FlipDog : FlipDog is a great place to find jobs and advance your career. Whether you’re looking for a new job or researching employment opportunities, FlipDog allows you to quickly search and find the information you need most. And since FlipDdog is powered by Monster you’ll have access to the largest database of jobs and the most helpful career development tools.

image

  1. FreshWebJobs : As a registered job seeker you will be able to save and mark job postings on FreshWebJobs. Use the FWJ Bookmarklet to add job postings from other sites, keeping them centralized and organized in one place.

image

  1. NoAgenciesPlease : The name says it all. This site offers fee free direct recruitment for new media freelancers.

image

  1. Sologig : Sologig gives you instant access to quality employers looking exclusively for independent talent. Unlike other websites for independent professionals, Sologig never charges you project fees. Additionally, there’s no bidding on Sologig. You choose which projects you are interested in and negotiate pricing directly with the employer.

image

  1. Monster : The leading global online network for careers, connecting the most progressive companies with the most qualified career-minded individuals. Monster is committed to leading the market by offering innovative technology and superior services that give consumers and businesses more control over the recruiting process.

image

  1. QuintessentialCareers : Quintessential Careers is the ultimate career, job, and college site, offering comprehensive free expert career and job-hunting advice (through articles, tools, tips, samples, and tutorials), as well as links to all the best job sites. Special sections for teens, college students, and all other job-seekers (by industry, geography, and job-seeker type) make this site a comprehensive resource for all.

image

  1. AuthenticJobs : Authentic Jobs is a targeted destination for standards-aware designers and developers and the companies seeking to hire them.

image

  1. BloggerJobs : Are you a professional blogger or freelance writer looking into paid blogging opportunities? Blogger jobs can post your resume and links to existing bodies of work if you get in touch with us through our contact form.

image

  1. FreelanceSwitch Job Board : A very popular blog with over 30K readers also offers a job board where you can look for freelance jobs and get in touch with potential clients.

image

  1. Problogger Job Board : The ProBlogger Job Board is where bloggers looking for jobs and companies looking for bloggers to hire meet. If you’re looking to hire a blogger the ProBlogger Job Board is a place to find them.

image

  1. Yahoo! Hot Jobs : Find a job, post your resume, research careers at featured companies, compare salaries and get career advice on Yahoo! HotJobs. Start your job search now on Yahoo! HotJobs – thousands of jobs listed daily.

image

Additional Resources (Career Related Blogs For Tips and Advice)

There are thousand more sites that help you find and apply jobs online, but we think the ones we have listed above should pretty much cover jobs in every possible field.

(703)

37 Tested PHP, Perl, and JavaScript Regular Expressions

A regular expression, also called regex or regexp for short, is simply a piece of code that matches a pattern. Mastering regular expressions can be a difficult chore, and if you don’t need them all of the time, the syntax is tricky enough to make the task frustrating or slow as you will constantly need to use a reference sheet.

In order to save you time, I’ve compiled a list of PHP, Perl, and JavaScript regular expressions for common use cases that have been tested and are ready to go. This isn’t a regular expression tutorial or even a reference; you can think of it more as a cheatsheet for when you just need the regex but don’t want to put a lot of time into relearning regular expressions.

If you’re looking for regex tutorials or regex resources, you can find them at the end of the page as well as some additional regex resources.

Perl and PHP Regular Expressions

PHP regexes are based on the PCRE (Perl-Compatible Regular Expressions), so any regexp that works for one should be compatible with the other or any other language that makes use of the PCRE format. Here are some commonly needed regular expressions for both PHP and Perl. Each regex will be in string format and will include delimiters.

All Major Credit Cards

This regular expression will validate all major credit cards: American Express (Amex), Discover, Mastercard, and Visa.

  1. //All major credit cards regex
  2. ‘/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6011[0-9]{12}|622((12[6-9]|1[3-9][0-9])|([2-8][0-9][0-9])|(9(([0-1][0-9])|(2[0-5]))))[0-9]{10}|64[4-9][0-9]{13}|65[0-9]{14}|3(?:0[0-5]|[68][0-9])[0-9]{11}|3[47][0-9]{13})*$/’

Alpha-Numeric Characters

Test for alpha-numeric characters with this regexp.

  1. //Alpha-numeric characters only
  2. ‘/^[a-zA-Z0-9]*$/’

Alpha-Numeric Characters With Spaces

Test for alpha-numeric characters and spaces with this regexp.

  1. //Alpha-numeric characters with spaces only
  2. ‘/^[a-zA-Z0-9 ]*$/’

Alphabetic Characters

This regex will test for alphabetic characters only (upper and lowercase).

  1. //Alphabetic characters only
  2. ‘/^[a-zA-Z]*$/’

American Express Credit Card

Verify Amex credit cards with this regexp.

  1. //Amex credit card regex
  2. ‘/^(3[47][0-9]{13})*$/’

Australian Postal Codes

If you need to verify Australian Postal Codes, use this regular expression.

  1. //Australian Postal Codes
  2. ‘/^((0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-9][0-9]{2}))*$/’

Canadian Postal Codes

Tests for valid Canadian Postal Codes.

  1. //Canadian Postal Codes
  2. ‘/^([ABCEGHJKLMNPRSTVXY][0-9][A-Z] [0-9][A-Z][0-9])*$/’

Canadian Provinces

Evaluate Canadian province abbreviations with this regular expression.

  1. //Canadian Province Abbreviations
  2. ‘/^(?:AB|BC|MB|N[BLTSU]|ON|PE|QC|SK|YT)*$/’

Date (MM/DD/YYYY)

Validate the calendar date in MM/DD/YYYY format with this regex. Optional separators are spaces, hyphens, forward slashes, and periods. The year is limited between 1900 and 2099.

  1. //Date (MM/DD/YYYY)
  2. ‘/^((0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)?[0-9]{2})*$/’

Date (YYYY/MM/DD)

Validate the calendar date in YYYY/MM/DD format with this regex. Optional separators are spaces, hyphens, forward slashes, and periods. The year is limited between 1900 and 2099.

  1. //Date (YYYY/MM/DD)
  2. ‘#^((19|20)?[0-9]{2}[- /.](0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01]))*$#’

Digits

This regex will test for digits (whole numbers).

  1. //Digits only
  2. ‘/^[0-9]*$/’

Diner’s Club Credit Card

Test and verify Diner’s Club credit card numbers with this regexp.

  1. //Diner’s Club credit card regex
  2. ‘/^(3(?:0[0-5]|[68][0-9])[0-9]{11})*$/’

Emails

This email regex is not fully RFC5322-compliant, but it will validate most common email address formats correctly.

  1. //Email regex
  2. ‘/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4})*$/’

IP Addresses

Test IP Addresses with this regular expression.

  1. //IP address regex
  2. ‘/^((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$/’

Lowercase Alphabetic Characters

This regex will test for lowercase letters.

  1. //Lowercase letters only
  2. ‘/^([a-z])*$/’

MasterCard Credit Card

Verify MasterCard credit card numbers with this regex.

  1. //MasterCard credit card numbers
  2. ‘/^(5[1-5][0-9]{14})*$/’

Passwords

Test for a strong password with this regex. The password must contain one lowercase letter, one uppercase letter, one number, and be at least 6 characters long.

  1. //Password regex
  2. ‘/^(?=^.{6,}$)((?=.*[A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z]))^.*$/’

Phone Numbers (North American)

This regex will validate a 10-digit North American telephone number. Separators are not required, but can include spaces, hyphens, or periods. Parentheses around the area code are also optional.

  1. //Phone number regex
  2. ‘/^((([0-9]{1})*[- .(]*([0-9]{3})[- .)]*[0-9]{3}[- .]*[0-9]{4})+)*$/’

Social Security Numbers

If you need to validate US Social Security Numbers, use this regular expression

  1. //SSN regex
  2. ‘/^([0-9]{3}[-]*[0-9]{2}[-]*[0-9]{4})*$/’

UK Postal Codes

This regexp verifies UK Postal Codes.

  1. //UK Postal Codes regex
  2. ‘/^([A-Z]{1,2}[0-9][A-Z0-9]? [0-9][ABD-HJLNP-UW-Z]{2})*$/’

Uppercase Alphabetic Characters

This regex will test for uppercase letters.

  1. //Uppercase letters only
  2. ‘/^([A-Z])*$/’

URLs

This URL regex will validate most common URL formats correctly.

  1. //URL regex
  2. ‘/^(((http|https|ftp)://)?([[a-zA-Z0-9]-.])+(.)([[a-zA-Z0-9]]){2,4}([[a-zA-Z0-9]/+=%&_.~?-]*))*$/’

US States

Validate all 2-letter US State abbreviates with this regular expression.

  1. //US States regex
  2. ‘/^(?:A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O [HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])*$/’

US ZIP Codes

This regexp verifies US ZIP Codes, with an optional 4 number ZIP code extension.

  1. //US ZIP Codes regex
  2. ‘/^([0-9]{5}(?:-[0-9]{4})?)*$/’

Visa Credit Card

Verify Visa credit card numbers with this regex.

  1. //Visa credit card numbers
  2. ‘/^(4[0-9]{12}(?:[0-9]{3})?)*$/’

JavaScript Regular Expressions

The JavaScript version of regex is a slightly different flavor than the PCRE variety, so I’ve included those regexes in a separate section.

All Major Credit Cards

This regular expression will validate all major credit cards: American Express (Amex), Discover, Mastercard, and Visa. Note that it is not quite as precise as its counterpart Perl and PHP regex.

  1. //All major credit cards JavaScript regex
  2. ‘^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6011[0-9]{12}|3(?:0[0-5]|[68][0-9])[0-9]{11}|3[47][0-9]{13})$’

Alpha-Numeric Characters

Test for alpha-numeric characters with this regexp.

  1. //JavaScript alpha-numeric characters only
  2. ‘^[a-zA-Z0-9]+$’

Alphabetic Characters

This regex will test for alphabetic characters only (upper and lowercase).

  1. //JavaScript Alphabetic characters only
  2. ‘^[a-zA-Z]+$’

Canadian Postal Codes

Tests for valid Canadian Postal Codes.

  1. //JavaScript Canadian Postal Codes
  2. ‘^[ABCEGHJKLMNPRSTVXY][0-9][A-Z] [0-9][A-Z][0-9]$’

Date (MM/DD/YYYY)

Validate the calendar date in MM/DD/YYYY format with this regex. Optional separators are spaces, hyphens, forward slashes, and periods. The year is limited between 1900 and 2099.

  1. //JavaScript Date (MM/DD/YYYY)
  2. ‘^(0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)?[0-9]{2}$’

Date (YYYY/MM/DD)

Validate the calendar date in YYYY/MM/DD format with this regex. Optional separators are spaces, hyphens, forward slashes, and periods. The year is limited between 1900 and 2099.

  1. //JavaScript Date (YYYY/MM/DD)
  2. ‘^(19|20)?[0-9]{2}[- /.](0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])$’

Digits

This regex will test for digits (whole numbers).

  1. //JavaScript digits only
  2. ‘^[0-9]+$’

Emails

This email regex is not fully RFC5322-compliant, but it will validate most common email address formats correctly.

  1. //JavaScript email regex
  2. ‘^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}$’

Passwords

Test for a strong password with this regex. The password must contain one lowercase letter, one uppercase letter, one number, and be at least 6 characters long.

  1. //JavaScript Password regex
  2. “(?=^.{6,}$)((?=.*[A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z]))^.*”

Phone Numbers (North American)

This regex will validate a 10-digit North American telephone number. Separators are not required, but can include spaces, hyphens, or periods. Parentheses around the area code are also optional.

  1. //JavaScript phone number regex
  2. ‘^(([0-9]{1})*[- .(]*([0-9]{3})[- .)]*[0-9]{3}[- .]*[0-9]{4})+$’

URLs

This URL regex will validate most common URL formats correctly.

  1. //JavaScript URL regex
  2. ‘^((http|https|ftp)://)?([[a-zA-Z0-9]-.])+(.)([[a-zA-Z0-9]]){2,4}([[a-zA-Z0-9]/+=%&_.~?-]*)$’

US ZIP Codes

This regexp verifies US ZIP Codes, with an optional 4 number ZIP code extension.

  1. //JavaScript US ZIP Codes regex
  2. ‘^[0-9]{5}(?:-[0-9]{4})?$’

Regex Tutorials

While this page doesn’t go in depth on how to learn regular expressions, I will point you to some tutorials so that if you need to modify any of the above regexes or create your own, you’ll be able to do so.

Regex Resources And Reference Sheets

There are a number of different regex cheat sheets, libraries, testers, and other resources around the web. Here are just a few of them.

(612)

8 Ways to Make Money Online

I absolutely believe the “average” person can make legitimate income online. I believe it because I’ve done it myself. At the beginning of 2010 I was not making any significant money online. Less than two years later, my husband quit his job and my online income now supports us. (My current income streams are listed on my Tools I Use page if you’re interested.)

 

Make money online

The crucial first step

If you want to make money online, my first recommendation is to start a blog or website. Let it serve as your internet home and branch out from there. Your own site is a must these days if you want to work online. Not sure how to do that? No problem, here’s my step by step guide: How to Start a Blog or Website.

Once you’ve got yourself set up with a site, it’s time to work. And when I say work, I mean it. Making money online is not a way to get rich quick. If anyone tells you differently, be extremely skeptical. Still, you can do it!

1. Turn your skill(s) into a service online.

If you have a skill (who doesn’t?), why not offer your services via the internet (a.k.a. virtually)? From counseling to administrative assistance to design to consulting and anything in between, thousands of people (myself included) are taking advantage of the internet to grow viable businesses from home. I highly, highly, highly recommend The Bootstrap VA: The Go-Getter’s Guide to Becoming a Virtual Assistant, Getting and Keeping Clients, and More!, an ebook by Lisa Morosky. This ebook blew my mind; it’s loaded with tips, resources and step-by-step instruction. It’s a steal at $12.99–it’s like a college course! Seriously, if you’re thinking about offering a service online, do yourself a favor and make this your first business investment.

2. Generate income directly from your site.

Niche blogs or websites are sites that offer some sort of helpful or entertaining information to a highly-targeted group of people. Sometimes it involves doing keyword research to find out what people are searching for in the search engines and tailoring your site to be the go-to place for that search.

If you have a highly-specialized interest with accompanying expertise you can share your knowledge and generate income from it. How? Advertising or affiliate marketing.

The absolute best tool for keyword research is Market Samurai. I know, because I’m a paying customer. If you want to see how it works, check out their very informative tutorial videos. Highly recommended.

3. Sell on Etsy.

Are you crafty? Consider selling on Etsy. You can set up your own shop for free and it’s simple to get started. It’s not so simple to stand out from the crowd, so that’s likely to be your biggest challenge. Here are some tips on how to market your shop.

4. Write for someone else.

The advantage of writing for other sites is that you get to be a part of something that’s already established. Also, you don’t have to worry about the technical aspects of running and maintaining your own site.

5. Are you a photographer? Illustrator?

Why not sell your photos on a site like iStockphoto? SomeGirl has an excellent series about how to become an iStockphoto seller. A significant portion of her family’s income comes from selling photos.

6. Like to travel?

This is clearly not for everyone, but I throw it out there because I think it’s cool and it demonstrates the freedom of working online. If you have the flexibility to travel, be a guide for The Lonely Planet like Gayle who lives in Ghana. Speaking of travel, more and more people are becoming “Location Independent” meaning, their home is wherever they feel like going next. Check out Lea & Jonathan’s story.

7. Create and sell your own tangible products (not necessarily the handmade kind).

If you have an idea for a product you’d like to sell but aren’t sure where to start, this couple tells you how they started selling wedding linens online. Their Online Store Tutorials are particularly helpful.

8. Write a book. Better yet, write an ebook.

Many bloggers have dreams of being published authors. Many have indeed accomplished that goal and their blogs were a major catalyst in doing so. If that’s you, then write and write well. Get involved in online writing communities like National Novel Writing Month(NaNoWriMo). Follow a blogger like Rachelle Gardner, a literary agent who explains the ins and outs of getting published the “traditional” way. I also recommend following Michael Hyatt, former CEO of Thomas Nelson (the biggest Christian publisher as of 2010). If that doesn’t work for you and you’d like to self-publish, try Lulu or CreateSpace (from Amazon).

But don’t overlook ebooks! Their popularity is on the rise and they are simple to create. I turned down a traditional book deal in favor of self-publishing. My ebook, Tell Your Time, started out as an experiment and has turned into something I never imagined. I’ve sold thousands of copies and counting. This has turned into one of my biggest income streams. Check out my How to Write an Ebook series to see how I did it and all the steps involved.

(457)

All The Cheat Sheets That A Web Developer Needs

No matter how good  programmer you are, you can`t memorize everything. It often happens to spend more time searching for a particular library, tag or declaration, than implementing it on our code.  To ease your work I have gathered here some of the most important cheat sheets that you will ever need. Do you have any suggestions?

HTML Cheat Sheet

 

CSS Cheat Sheets

Adobe Flash Cheat Sheets

 

ASP Cheat Sheets

PHP Cheat Sheets

MySQL Cheat Sheets

JavaScript Cheat Sheets

jQuery Cheat Sheets

Unicode Cheat Sheets

XML Cheat Sheets

mod_rewrite and .htaccess Cheat Sheets

Also, you should check out these 25 Neat CSS3 and Javascript plugins that come hand in hand with these cheat sheets.

(387)

Skyfall Passes $1B at Global Box Office

skyfall-poster

The new James Bond film Skyfall has passed the $1 billion mark at the global box office, making it only the third film this year to join that club behind The Avengers and The Dark Knight Rises.

The film is now in 14th place at the all time worldwide box office, right behind The Dark Knight. Skyfall is also the highest-grossing Bond film of all time (not adjusted for inflation).

In addition, Sony Pictures announced that Skyfall is the highest-grossing film at the worldwide box office in the studio’s history. It’s also the highest-grossing UK release of all time.

Skyfall has so far made $289.6 million domestically and another $710.6 million internationally for a current total of $1,000,200,000.

(169)