Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,148,605 members, 7,801,755 topics. Date: Thursday, 18 April 2024 at 10:02 PM |
Nairaland Forum / DualCore1's Profile / DualCore1's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 371 pages)
Webmasters / How Stuff Works: Regular Expressions by DualCore1: 6:25pm On Sep 02, 2017 |
Regular expressions (RegEx) are quite handy in matching strings (or characters). As a developer, you would likely have to get your hands dirty with RegEx every now and then especially when you're working with complex form validations, .htaccess URL rewriting...yada yada. The whole thing looks scary at first glance... some RegEx combinations will get you thinking you're looking at a password with 100% strength. You could choose to use one of the many online RegEx generators (and get the job done) or if you like to know what happens under the hood... let's say you like to know how the wheel works without having to reinvent it, then you should follow the link below to the best RegEx tutorial I have seen on the internet. I have included my personal notes on this subject below. P.S: The link is not mine, it is just a very good resource to learn RegEx Link https://regexone.com/lesson/introduction_abcs Personal Notes (expect typos, they are my notes ) Quantifiers + = at least one * = zero or more ? = zero or one {N} = sequence of N characters {2,3} = sequence 2 or 3, {min, max} $ = ending with ^ = starting with Metacharacters \d matches digits 0-9 \D matches any non-digit characters \w matches any alphanumeric character \W any non-alphanomeric character \s matches any whitespace character \S matches any non-whitespace character . matches any single character [abc] matches only one of a, b or c [^abc] matches any single character that is not a or b or c [0-9] will match any single digit in the range of 0 - 9 [^a-d] will match any single character that's not in the range of a to d () grouping and nested grouping can be done with parenthesis | aka pipe will match different routes 2 Likes |
Properties / Re: Man Smiling Outside His Flooded Home In Lagos (Photos) by DualCore1: 2:27pm On Jul 25, 2017 |
lordkit400: It didn't get up to his chest. In the photo with the water level at his chest, he is in a partial squatting position |
Family / Re: Wedding Night: House Or Hotel, Which Is Preferable? by DualCore1: 6:21am On Jun 14, 2017 |
.
|
Politics / Re: Patience Jonathan At Rivers Golden Jubilee Women's Day (Photos) by DualCore1: 10:50pm On May 11, 2017 |
3 full pages and nothing has been said about what Wike's wife is putting on (gele on suit). I guess na me dey weird so am not saying anything about it. **flies away 2 Likes |
Webmasters / Re: Anyone With An Idea Should Tell Me Why by DualCore1: 5:25pm On May 03, 2017 |
When saving the file from Nairaland, add .jpg to the filename. If you cannot alter the filename when saving it, save it anyway and rename the file adding .jpg at the end. 1 Like |
Travel / Re: Sienna Hits Lexus Jeep In Sapele, Delta State (Photos) by DualCore1: 8:59pm On Mar 24, 2017 |
shevchenko: "Unilliterate" uncle wey go school. It is "Jeep" not "jeep". ..Just my 2 Kobo, from an illiterate. 1 Like |
Webmasters / Re: Paypal USD For Sale @ 400 Naira/usd by DualCore1: 5:34pm On Mar 08, 2017 |
teemy:Transaction completed, thank you for your trust. |
Webmasters / Re: Paypal USD For Sale @ 400 Naira/usd by DualCore1: 1:02pm On Mar 05, 2017 |
ibietela2:Yes boss |
Business / Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by DualCore1: 7:41pm On Mar 03, 2017 |
. |
Webmasters / Re: Pls Help!! Body { Margin-right;} Doesnt Work!!!.. by DualCore1: 12:00pm On Mar 03, 2017 |
Bootstrap! |
Webmasters / Re: Paypal USD For Sale @ 400 Naira/usd by DualCore1: 9:50am On Mar 03, 2017 |
RealLordZeus:Transaction completed. $50 Namecheap top up. Thank you. 1 Like |
Webmasters / Re: Paypal USD For Sale @ 400 Naira/usd by DualCore1: 11:41pm On Mar 02, 2017 |
Hehehehe1:That would be 80k. Same conditions in my previous post apply. If you're okay with this please call 08038138483 to proceed. |
Webmasters / Re: Paypal USD For Sale @ 400 Naira/usd by DualCore1: 11:39pm On Mar 02, 2017 |
RealLordZeus:That would be 20k. Mode of payment is bank transfer. Funds will be sent to you the moment payment is received. Please ensure your Paypal account is verified, with no issues. I am not responsible for those funds once they leave my account. As said earlier my Paypal account is business verified, been in use since 2011 with in/out monthly transactions. If this all looks good by you please call 08038138483 to proceed, if it doesn't feel right don't proceed . RealLordZeus:My Profile Time registered: December 27, 2007 Time spent online: 4 months & 11 days Last seen: 11:28pm View My posts (11769) | View My topics (177) Section Most Active In: Webmasters 1 Like |
Webmasters / Paypal USD For Sale @ 400 Naira/usd by DualCore1: 9:04pm On Mar 02, 2017 |
Available for sale is Paypal USD @ 400 Naira per USD. Will transfer to only verified Paypal account. Funds are from a verified business Paypal account. Kindly call 08038138483 during working hours or drop a measage here, if interested. Edit:Topic modified to better fit the thread's purpose. 1 Like |
Webmasters / Re: Is This Specs Of Laptop Good For Web Development And Design? by DualCore1: 4:09am On Nov 28, 2016 |
This spec is not suitable for the following reasons. 12.1" screen. For web development/design you need a bigger screen size to be comfortable. Look for a spec from 15.6" and above. That screen size also means the laptop may have a smaller than usual form factor, which will also mean the keypad will be minimal, this is also not suitable for coding. You need a good keypad that is well spaced and has a large right "shift" key because you will be using that key a lot, and blindly too so your pinky finger or the one just before it needs to be resting comfortably on that right "shift" key. Same goes for the "Enter" and "Backspace" keys.... Ensure these 3 keys on the right hand side of your keypad are larger than the others. The small form-factor of the laptop also means the keypad won't have a dedicated numeric keypad area, while this is not a necessity it can really help your productivity for number crunching activities in coding and quick calculations. 4GB Ram: This is okay for a start but if you are considering using this for professional web development as a full stack developer, you won't be comfortable with 4GB. As a full stack dev you will at the least have the following programs running Coding IDE of choice Browser of choice LAMP/WAMP/XAMP Photo editing software of choice Most of these apps are resource intensive. Before making this post I had to do a check on my laptop's performance. RAM presently being used by the apps I am running is 4.64 GB. I have 2 browsers, IDE, Adobe Fireworks, Evernote, Thunderbird and a few non-resource intensive utilities running. In summary, in my opinion this spec is for business people who are always on the go. It has great battery life and a very slim and compact design. You can actually use this spec for a start and upgrade to a suitable laptop in the near future but I will not advice you do that. It is usually a nightmare for your fingers when you switch to a different laptop with a different keypad orientation/layout. It isn't even cost effective in the long run. 1 Like |
Celebrities / Re: Elsie Okpocha Shows Off Her Perfumes by DualCore1: 5:21pm On Nov 21, 2016 |
Captainbells:Others are knock offs as you no know their names abi. Sharpest. 1 Like |
Jobs/Vacancies / Re: Why Should I Hire You? What To Say In Your Interview by DualCore1: 7:11am On Sep 11, 2016 |
"Because (insert biggest competitor's name) is waiting to hire me. They are aware I am here and are waiting for my call. So the question should be "why would you want to lose money?". No one sells their greatest asset to a direct competitor, oh well except you're Arsene Wenger.... Hey do you like football?...." .....convert the interview to premiere league discussion.... make una laff the whole ball matter out then ask...."so is Monday a good time to start here?". 1 Like |
Phones / Re: A Nairalander Unboxes His Brand New BB OS 7.1 Device by DualCore1: 2:04pm On Sep 09, 2016 |
Unboxing is the unpacking of new products, especially high tech consumer products, where the process is captured on video and uploaded to the web. Source: https://en.wikipedia.org/wiki/Unboxing |
Webmasters / Re: Paypal Now Converts Dollar To Naira At 338 Naira by DualCore1: 2:44am On Sep 08, 2016 |
From a Naira Mastercard: ==== Dear Valued Customer, Declined Card Transaction: DCC Restriction Thank you for using your GTBank Naira MasterCard. Please be informed that your transaction with the details below could not be completed because you have selected the DCC payment option (Dynamic Currency Conversion) that allows you to pay in Naira, which has been temporarily restricted on all our cards. Please reattempt the transaction and select the currency of the country you are transacting in. Card Number : Account Number : Merchant Name : PAYPAL *** Amount : USD7.75 (NGN2944.84) Date : *** ==== |
Webmasters / Re: what do u think should be the asking price for this domain?? by DualCore1: 10:21am On Aug 26, 2016 |
Webmasters / Re: I Just Completed 4 Years In Website Development With 100 Websites. by DualCore1: 10:48pm On Aug 16, 2016 |
Congrats Let us pray: BEGIN Our pages, who are in public_html, Hello be thy name. Thy alerts come. Thy previewing be done On IE as it is on Chrome and Firefox Give us this day our daily CRON jobs and forgive us our undeclared functions as we forgive clients who want Facebook for 10k. Lead us not into frustration but deliver us from clients who dunno what they want. For thine is the layout, the user experience, and the business logic Looping foreach'er forever. Return true COMMIT 1 Like |
Webmasters / Site Owners And Webhosts, How Do You Backup? by DualCore1: 4:56pm On Aug 12, 2016 |
The need for backups can be over emphasized. So let's share ideas on how you as an end user or as a webhost treat your backups. P.S: No bashing, no need to call out any webhost as a result of any experience, no adverts too. Just ideas to help us all. 1 Like |
Webmasters / Re: WHOGOHOST: Why I Will Never Use A Nigerian Host Again by DualCore1: 4:51pm On Aug 12, 2016 |
hostkobo: This idea is nice and I think will be effective for the hosting customers. But when dealing with backing up an entire server which may likely have TBs of data, one has to be getting a storage server. I think end users have to also do their homework with backups. Maybe a new thread should be created to enlighten end users to the various backup options they can use on their own end. Discussing it here will just keep bumping this thread which many end users and whogohost itself would want to see behind them as they move forward. Edit: I have created a thread. Feel free to drop your suggestions there for everyone to learn from. https://www.nairaland.com/3284697/site-owners-webhosts-how-backup 3 Likes |
Politics / Re: Okoporo In Port-Harcourt Flooded After 2-Hour Rain by DualCore1: 4:44pm On Aug 12, 2016 |
RD road... When you're renting a house there factor in the frequent maintenance of the components that make up legs of your car. Now that's the actual cost of the rent. If you don't have a car, no fear... the Keke pilots there have phD in "RD road navigational studies". The irony is that a considerable strip of the bad road is walled by Shell RA. There should be a Guiness world book of records entry for going above 5 km/h on RD road. |
Webmasters / Re: WHOGOHOST: Why I Will Never Use A Nigerian Host Again by DualCore1: 4:14pm On Aug 12, 2016 |
web4africa:I agree with your suggestion. Even, if there is a lot of disk space to play with one can keep several retentions on the same server and could rsync two retentions every weekend to a different server. Investing in backups can easily seem like a waste of time if nothing terrible ever happens year in year out. Its like insurance. However one never really knows when it will happen so one just has to keep paying the "hosting insurance" as it were. While I feel sorry for the affected customers, I wont be quick to change host if I was an affected customer. Businesses that get hit as a result of negligence are unlikely to continue in that negligence, they sit up and take transparent measures to reassure their customers that a recurrence will never happen. 5 Likes |
Webmasters / Re: WHOGOHOST: Why I Will Never Use A Nigerian Host Again by DualCore1: 3:59pm On Aug 12, 2016 |
abhosts:Thanks for your response. A few points to note as you reflect on the response you have made and any other future responses to my posts. 1. All my posts are made as my personal opinion based on my professional experience and passion for whatever I do. So when you read my post, kindly do so bearing in mind that I am an individual, not respresenting any commercial entity. 2. Your nick suggests you are in the webhosting industry and as such your views here are going to be seen as those endorsed by and representing the host service provider "abhosts". It will be in the best interest of "abhosts" to treat its posts on public forums very sensitively. If I was a potential customer or even an existing customer of "abhosts" I will begin to be in fear as your response speaks volumes about the practices of "abhosts" and if it could be endorsing this bad practice here, I fear for its customers. 3. Whether you know it or not, any posts made with this your handle will be representing the ideas of "abhosts" and you have everything to lose while I actually have nothing to lose cuz I come to you and everyone else as an individual and I will always be this way. Hoping things have been placed in clearer perspective now, let me go back to this comment of yours abhosts: See excerpts from Whogohost's site
My response to two of you: DualCore1: Have a lovely weekend ahead. 25 Likes 1 Share |
Webmasters / Re: WHOGOHOST: Why I Will Never Use A Nigerian Host Again by DualCore1: 7:38am On Aug 12, 2016 |
Na wa... this industry just had to be dragged deeper into the mud by those who should be upholding it. More food for the "go for foreign host" band. Only one server crashed All data lost, and backups lost too 9 years in operation with funding Tell the above 3 lines to any level III server admin and he will be outraged. Bottom line You only need to be in the webhosting business 1 year to know the benefits of taking backups and placing them on another server (most likely in a different datacenter, if possible). If you've been in the industry for 9 years, there is no doubt you know this so it is just a matter of negligence and wanting to maximize profit and cut running costs by not acquiring storage servers for backups. I appeal to all webhosts out there operating in Nigeria to take backups seriously. Backups should never reside on the same server you are backing up. Also, do not rely on the cPanel backup transport feature that should transport your backups to the storage server, sometimes it shows up as completed but it doesn't move anything. You may just ditch cPanel entirely and create your own RSYNC utility to sync your backups with an offsite server daily. A good backup tool for cPanel is cPremote (it is about 5 USD per month per server). Get an offsite storage server for your backups. If you don't want to spend money on getting a storage server, pair your production servers into what I will call "backup clusters". Server A should hold backup for server B and server B should hold backup for server A. This will only be effective if both servers are not in the same datacenter. Please get good server hardware, don't go for cheap. If you are running your own servers, there's no reason you shouldn't be on a Software RAID at the minimum. Server issues come in different variants and forms but the important thing is ensuring you eliminate any single point of failure. cPanel DNS cluster is a must if you have more than one server. Also, stop promising these clients heaven and earth. If you cannot offer a service for free and stay sustainable, don't promise them they will get it at no added cost. Put a price on it. When cars have accidents or fail, I don't know why people don't say all cars are bad. When one service provider fails in this industry, people attack the industry and not the provider. 32 Likes 6 Shares |
Family / Re: My Mother-In-law Visits Too Often, How Do I Deal With That? Please Help by DualCore1: 3:23pm On Aug 11, 2016 |
Widen your underpants (boxers) radius to include the whole house (parlor, kitchen, etc). Useful link: http://www.urbandictionary.com/define.php?term=underpants%20radius Na joke o Sorry about your issues. Consider the suggestions given and see which ones are feasible. |
Car Talk / Re: Lagos State Govt Please Remove This Obstruction by DualCore1: 9:05pm On Aug 06, 2016 |
egift:Nice one, which 3 people would you like to join you? Name them, make we contact them for you. 2 Likes |
Webmasters / Re: What Is The Difference Between Web Design And Web Development? by DualCore1: 8:01am On May 28, 2016 |
If we had 1 year added to the life expectancy of a Nigerian for every time a question like this has been asked. Life expectancy for don move from 50 years to 900 years Last year it was asked, this year it has been asked, next year it will be asked, in 2026 it will be asked... I'm wondering when exactly this silly question will stop being asked and the energies channeled into actually learning to build web applications. What is Google there for? Person go dey ask wetin be difference between driver and pilot over and over again until cars start to fly (yes they will) and you see you spent your lifetime asking a silly question (worse still, you ended up neither knowing how to drive nor fly). 1 Like |
Sports / Any Restraining Order For Man City Players On Iheanacho? by DualCore1: 6:11pm On May 01, 2016 |
I don't understand the "drama" that happens whenever Iheanacho scores. His team mates dont celebrate with him. If he's fortunate, he gets a pat on the head by the player closest to him. For every goal Iheanacho scores, I ask in my head.... is this how Aguero will be treated if he was the one that scored? Abi goal don dey get levels? As it stands the score is 4:2 in favor of Southampton but this is looking more like SOU 4:2 IHE |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 371 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 61 |