Generated by All in One SEO v4.9.9, this is an llms.txt file, used by LLMs to index the site. # Anton Perez Enterprise Cloud & Platform Leader | DevSecOps & AI Automation | US–PH Operations ## Sitemaps - [XML Sitemap](https://antonperez.com/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [Writing](https://antonperez.com/blog/) - [How I actually use AI tools (and why I stopped using one tool for everything)](https://antonperez.com/2026/04/26/how-i-actually-use-ai-tools-and-why-i-stopped-using-one-tool-for-everything/) - I stopped forcing one AI tool to do everything. Here's the honest, day-to-day workflow I actually use instead. - [Benchmarks Tell You the Ceiling](https://antonperez.com/2026/06/27/benchmarks-tell-you-the-ceiling/) - Benchmarks tell you the ceiling, not the floor. What actually matters is how a model holds up across a long, messy, real task. - [I do my best thinking after 10 pm](https://antonperez.com/2026/05/26/i-do-my-best-thinking-after-10-pm/) - My best thinking shows up after 10pm — when the noise stops, the inbox stops, and the ideas finally have room. - [Yahoo! Open Strategy](https://antonperez.com/2008/10/08/yahoo-open-strategy/) - Check out Yahoo! Developer Network's Y!OS at: http://developer.yahoo.com/yos/intro/ - [Disable mobsync.exe on Windows Vista](https://antonperez.com/2008/10/13/disable-mobsyncexe-on-windows-vista/) - What is it? mobsync.exe belongs to Internet Explorer. It synchronize offline web pages, and edited offline documents, calendars, and email messages. Why disable it? I found it to be CPU consuming and a non-essential, so disabling it was a necessity. How do I disable it? 1. Disable Offline Files (Control Panel > Offline Files. 2. - [Copy PuTTY sessions to another computer](https://antonperez.com/2008/10/14/copy-putty-sessions-to-another-computer/) - Very straightforward to do. 1. From Run execute: regedit /e "%userprofile%\desktop\putty-registry.reg" HKEY_CURRENT_USER\Software\Simontatham 2. Copy and open putty-registry.reg on the computer you want the saved sessions added to. That's it! - [WordPress for iPhone](https://antonperez.com/2009/01/09/wordpress-for-iphone/) - My recent acquisition of an iPhone has simplified my digital world tremendously. I found myself using my laptop less as the iPhone has most of the capabilities I need - email, surfing, Facebook, IM, etc. The only missing capability or app was an easy way to post to my blog, which I haven't posted to - [Create custom ringtones for the iPhone with your Mac](https://antonperez.com/2009/01/10/create-custom-ringtones-for-the-iphone-with-your-mac/) - I found instructions on how to create ringtones via iTunes, but found an easier way using GarageBand. These instructions, BTW, only work on a Mac. I'm not going to include the nitty-gritty details, but all you have to do is: 1. Open GarageBand (4.11) and iTunes (7.5 and up). 2. Drag-and-drop the song you want - [How-to: Sync an iPhone with two (or more) computers](https://antonperez.com/2009/01/24/how-to-sync-an-iphone-with-two-or-more-computers/) - I found this how-to so one can sync his/her IPhone with two or more computers. It's a hack, but it works. Check it out: http://tinyurl.com/6hxteg. - [Why I charge a lot for a website](https://antonperez.com/2009/07/15/why-i-charge-a-lot-for-a-website/) - Googling "web design price" returns so many price variations it would drive anyone -- especially a newbie freelance web designer/developer -- up the wall. It's not funny. You'll see prices like "$299 for a 4-6 page website," $350 a homepage & $75/page," etc. This is cheap, but usually they're also ugly because these websites use - [Perfect song for summer](https://antonperez.com/2009/07/16/perfect-song-for-summer/) - [Free Burning software](https://antonperez.com/2009/10/01/free-burning-software/) - Gone are the days where one would need to pay for "burning" software (i.e. burn CDs, MP3s, etc.) ... now you can download it for free! So without further adieu, here are two that I recommend: Burnaware - a free CD, DVD, Blu-ray Disc burning software. It is ideal for users with basic disc burning - [Best DNS servers to use](https://antonperez.com/2009/10/05/best-dns-servers-to-use/) - To know which DNS servers would be the best/fastest one based on your location (IP address), visit the following website: http://dnsserverlist.org/ Note: I used to use 4.2.2.3 and 4.2.2.4. It's basically a site that dynamically updates a listing of thousands of fast and slow DNS servers, and [simply] visiting it will give you your top - [Funny video of thermal imaging camera at the airport](https://antonperez.com/2009/10/07/funny-video-of-thermal-imaging-at-the-airport/) - [Funny video of "Don't judge too quickly"](https://antonperez.com/2009/10/07/funny-video-of-dont-judge-too-quickly/) - [Fix iPhone OS 3.0 battery charging problems](https://antonperez.com/2009/10/07/fix-iphone-os-3-0-battery-charging-problems/) - I found this article on how to fix OS 3.0 battery issues with your iPhone. I have yet to try it, but it looks promising. Check it out at and let me know how it worked for you. - [Tech video: "We are living in exponential times"](https://antonperez.com/2009/10/08/tech-video-we-are-living-in-exponential-times/) - [Filipino song "Buloy" sang by an American](https://antonperez.com/2009/10/09/filipino-song-buloy-sang-by-an-american/) - American singing a Filipino/Tagalog song. Very impressive -- his voice is even better than the original singer! - [Hilarious video of "The Greatest Prank Call Ever"](https://antonperez.com/2009/10/22/hilarious-video-the-greatest-prank-call/) - [Bible books categorization](https://antonperez.com/2009/11/10/bible-books-categorization/) - Adding this as personal reference... LawGenesis, Exodus, Leviticus, Numbers, Deuteronomy HistoryJoshua, Judges, Ruth, 1 Samuel, 2 Samuel, 1 Kings, 2 Kings,1 Chronicles, 2 Chronicles, Ezra, Nehemiah, Esther PoetryJob, Psalms, Proverbs, Ecclesiastes, Songs ProphetsIsaiah, Jeremiah, Lamentations, Ezekiel, Daniel,Hosea, Joel, Amos, Obadiah, Jonah, Micah, Nahum, Habakkuk,Zephaniah, Haggai, Zechariah, Malachi Gospels and ActsMatthew, Mark, Luke, John, Acts LettersRomans, - [How-to: Delete undeletable files and folders](https://antonperez.com/2009/11/10/how-to-delete-undeletable-files-and-folders/) - I'm sure you've encountered one of these error messages, one way or another: Cannot delete file: Access is denied There has been a sharing violation. The source or destination file may be in use. The file is in use by another program or user. Make sure the disk is not full or write-protected and that - [Should I learn Python 2.x or Python 3.x](https://antonperez.com/2010/03/17/should-i-learn-python-2-x-or-python-3-x/) - Googling this didn't really help me decide, but after stumbling on an interview by O'Relly with Guido van Rossum, the creator of Python, I decided to go with Python 3.x. Here's what he said that set my mind: If you're learning Python for the first time, 3.0 is a great way to learn the language. - [Downloadable Python 3.1.1 Docs](https://antonperez.com/2010/03/22/downloadable-python-3-1-1-docs/) - As of now, only the Python 2.6.5 Documentation is published for download on the python.org website; however, I was interested in downloading Python 3.1.1's Documentation. After some searching, I found it; so sharing it to the world. It's at: http://www.python.org/ftp/python/doc/3.1.1/. (I personally chose the "python-3.1.1-docs-pdf-letter" and it printed fine.) Happy Coding! - [My chosen Bible reading plan](https://antonperez.com/2010/03/23/my-chosen-bible-reading-plan/) - In hopes of finally reading the whole bible, I started following this plan on January 5, 2010, which will end on January 5, 2011. I'm sharing it in case others need one to follow. Life Journal Bible Reading Plan (1 year) Joyful reading and God bless! - [Nice list of the top 20 free iPad apps](https://antonperez.com/2010/04/07/grc-security/) - Found this nice list for the top 20 free iPad apps on CNET … wish I had one, but I’m gonna wait, maybe till generation 2. =0) Go here: http://reviews.cnet.com/2300-3126_7-10003039.html?s=0&o=10003039&tag=mncol;page - [GRC = Security](https://antonperez.com/2010/04/08/grc-security-2/) - I’ve known about grc.com for a long time, but just today visited the site again after a while. Steve Gibson is like Tiger Woods when it comes to security. So, if you’re into this kind of stuff like me, need tools, or just want to become more knowledgeable in that area, give this site a - [Can be can be?](https://antonperez.com/2010/04/13/can-be-can-be/) - Their QA department needs some work … spell-check would’ve done the trick. =0P - [Google indexes your tweets](https://antonperez.com/2010/04/14/google-indexes-your-tweets/) - Just read that “tweets” on Twitter are now being indexed by Google. This means that our entries are no longer thrown into the world of “can't-get-it-back.” Scary? I think so. So, be careful what you put on there, especially, incriminating ones (i.e. don’t put work-related info that can get you fired). UPDATE 5:15 PM: Apparently, - [How to install or remove fonts in Windows](https://antonperez.com/2010/04/15/how-to-install-or-remove-fonts-in-windows/) - To install a font, follow these steps: Click Start, and then click Run. Type the following command, and then click OK: %windir%\fonts On the File menu, click Install New Font. In the Drives box, click the drive that contains the font that you want to add. Note The floppy disk drive is typically drive A - [Laptop reliability study of the most sturdiest brands](https://antonperez.com/2010/04/26/laptop-reliability-study-of-the-most-sturdiest-brands/) - Here’s an article on lifehacker (via SquareTrade) that shows the ratings between brands. So far, Asus and Toshiba are the most reliable. - [Adobe Acrobat/Reader alternative](https://antonperez.com/2010/04/29/adobe-acrobatreader-alternative/) - PDFs are the de facto standard, and if you’re like me, you won’t pay for Adobe Acrobat nor want to use Adobe Reader as it’s too slow. So what do you do? Use free apps that will take care of these tasks. Here are two that are essential: 1. Foxit PDF Reader – a free, - [Open Source Version Control software list](https://antonperez.com/2010/05/07/open-source-version-control-software-list/) - Here’s a list of open source version control software that I found helpful -- I opted for Git and TortoiseGit. - [Choosing the best Six Sigma training provider](https://antonperez.com/2010/05/07/choosing-the-best-six-sigma-training-provider/) - Important points to consider: 1. Make it fit your budget 2. Will they just train you or will they train AND certify you? 3. Are they accredited … if so RUN AWAY! 4. What about the course content? Read more here [via sixsigmaonline.org]. - [How to enable concurrent RDP connections in Windows 7](https://antonperez.com/2010/05/13/how-to-enable-concurrent-rdp-connections-in-windows-7/) - Concurrent RDP connections means multiple users can use the computer at the same time, without kicking one or the other out; this normally is only available on a Windows Server OS, such as Windows 2003 Server. I just followed the instructions from this site on my home PC (running Windows 7 Ultimate) and it looks - [Free POP3 access to Yahoo! Mail](https://antonperez.com/2010/05/13/free-pop3-access-to-yahoo-mail/) - POP3 access is currently only available if one upgrades to Yahoo! Mail Plus. There is a work-around, however … simply change your account time zone/preferred content to Asia and POP3 will be enabled. More details here. Happy POPing! - [Avira AntiVir Personal update failing solution](https://antonperez.com/2010/05/15/avira-antivir-personal-update-failing-solution/) - I’ve noticed the update failing more often for about a month … googling it mentioned that it was due to Avira’s server being overwhelmed. So I was patient, updated manually each time, but it just became too tedious -- tried this command, too, after reading it from a moderator in a thread in the Avira - [How to enable multiple concurrent RDP sessions in Windows 7](https://antonperez.com/2010/05/15/how-to-enable-multiple-concurrent-rdp-sessions-in-windows-7/) - Posting for archival purposes [via Blogsdna]. 1. Download Concurrent Sessions enabler file 2. Once downloaded, extract the files into a directory (for the purposes of this guide, it will be assumed that the files have been extracted to the folder C:\Win7RDP ) 3. Open Windows Explorer to the above folder 4. Right Click on “install.cmd” - [Easy jailbreaking of iPhone 3G](https://antonperez.com/2010/05/16/easy-jailbreaking-of-iphone-3g/) - I did it using Spirit on a Mac. It's definitely easier now than the iPhone OS 2.x era -- that is, no more of setting the phone in "Restore mode" and running a bunch of commands. This time it was as easy as downloading, running the app, and clicking the "Jailbreak" button, which, by the - [Installing Google Chrome for multiple user accounts](https://antonperez.com/2010/05/16/installing-google-chrome-for-multiple-user-accounts/) - On Windows 7 (and most likely Vista), installing Google Chrome only installs it for the current user. If you'd like all your users to have access to Chrome on a single install, install Google Pack from an administrator’s account. - [How to install Subversion on hostmonster.com](https://antonperez.com/2010/05/19/how-to-install-subversion-on-hostmonster-com/) - After hours and hours of trying different methods, the steps below are what worked for me. Many thanks to the geeks out there who wrote up steps like these, these, and these to get it up and running -- it was invaluable for me to get it working on my mine. Okay, the first thing - [Christian parent pledge](https://antonperez.com/2010/05/19/christian-parent-pledge/) - Taken from Pastor Dudley Rutherford … posting for archiving. 1. Each day I will spend as least as much time with my child as I do with my TV. 2. Each day I will share at least one fun-filled learning experience with my child. 3. Each day I will affirm my child as a person. - [Change the default programming language in VS.NET](https://antonperez.com/2010/05/19/change-the-default-programming-language-in-vsnet/) - 1. Choose Tools -> Import and Export Settings... 2. Select Reset All Settings and click Next 3. Select whether you would like to save the current settings and click Next 4. Select the settings you want to use and click Finish - [Find out what your country is the best at](https://antonperez.com/2010/05/20/find-out-what-your-country-is-the-best-at/) - Click the image below to find out what your country is best at … pretty interesting. - [PAC-MAN on Google’s home page](https://antonperez.com/2010/05/21/pac-man-on-googles-home-page/) - In honor of PAC-MAN’s 30th birthday, Google today put up the classic PAC-MAN game on their home page. Pretty cool, as one will forgot what he/she was searching for and end up playing. =0) - [Most Common ASP.NET Support issues](https://antonperez.com/2010/05/24/most-common-asp-net-support-issues/) - Below is a summary of the “two top things that cause trouble in production ASP.NET web sites,” per Scott Hanselman, which he obtained from deep within Microsoft Developer Support. Go here to read the complete article. #1 Issue - Configuration Seems the #1 issue in support for problems with ASP.NET 2.x and 3.x is configuration. - [Google Chrome out of beta for Windows, Mac, and Linux](https://antonperez.com/2010/05/25/google-chrome-out-of-beta-for-windows-mac-and-linux/) - Nice to know that Chrome is finally out of beta … I’ve been using it since November/December of ‘08 and haven’t looked back. Read more here. - [BP’s “Top Kill'” strategy to stop the oil leak](https://antonperez.com/2010/05/26/bps-top-kill-strategy-to-stop-the-oil-leak/) - Read the press release. - [Kid smoking a cigarette](https://antonperez.com/2010/05/26/kid-smoking-a-cigarette/) - What the heck?! This is depressing. - [Windows 7 Services modified and stopped](https://antonperez.com/2010/05/28/windows-7-services-modified-and-stopped/) - Adding this for reference, in case, I need to activate/revert on my workstation. Application Experience Computer Browser Desktop Window Manager Session Manager (for Aero theme) Diagnostic Policy Service Distributed Link Tracking Client IP Helper Offline Files Portable Device Enumerator Service Protected Storage Remote Registry Server SSDP Discovery Tablet PC Input Service TCP/IP NetBIOS Helper UPnP - [How to fix a corrupted Windows 7 profile](https://antonperez.com/2010/06/14/how-to-fix-a-corrupted-windows-7-profile/) - Log on with newly created administrative account. Delete C:\Users\%username% Delete C:\Users\TEMP Delete the registry key matching your SID from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList Check the value of ProfileImagePath so the system will your correct profile. Restart once again and login with your own account. - [34 low-speed Chinese car accidents](https://antonperez.com/2010/06/14/34-low-speed-chinese-car-accidents/) - [Playing in the dirt makes you smarter](https://antonperez.com/2010/06/14/playing-in-the-dirt-makes-you-smarter/) - Apparently, yes, it does … according to this article (which is below for archival purposes). If you need yet another good reason to convince yourself or your kids to go outside and get your hands in the dirt, here it is: new research reveals that a bacterium in the soil not only lowers depression and - [Fix to "The handle is invalid" error when ASP.NET writes to the Eventlogs](https://antonperez.com/2010/07/12/fix-to-the-handle-is-invalid-error-when-asp-net-writes-to-the-eventlogs/) - Have you ever come across the error below with one of your ASP.NET web apps that is trying to write to the Eventlogs? If so, read on... By default the ASPNET user cannot access the existing eventlogs categories. To resolve this, you must set the permissions in the Eventlog key in the registry: Launch RegEdit. - [Tips on how to prolong your laptop battery life](https://antonperez.com/2010/07/19/tips-on-how-to-prolong-your-laptop-battery-life/) - This applies to any device that uses lithium ion batteries (i.e. laptops, smartphones). Battery For lithium ion batteries, you do not need to discharge them fully and recharge constantly. Since they don't have the same "memory" as older nickel-metal hydride batteries, it is actually better to discharge a lithium ion only partially (10 to 20%) - [Get file version remotely using PowerShell](https://antonperez.com/2010/07/22/get-file-version-remotely-using-powershell/) - PS C:\> gc servers.txt | foreach { [system.diagnostics.fileversioninfo]::getversioninfo($_) } - [Avoid poisoned milk made from China or Taiwan](https://antonperez.com/2010/07/23/avoid-poisoned-milk-made-from-china-or-taiwan/) - I received this email from my aunt, title “Food Inc. China.” Posting it here for archival purposes. ------- Make sure you read to the very end -- very interesting -- perhaps the best way to tell where things are made… China milk poisoning incidents make everyone afraid to look at the daily news report. Everyday, - [Reference for jsSHA](https://antonperez.com/2010/07/28/reference-for-jssha/) - jsSHA - A JavaScript implementation of the complete Secure Hash Standard family (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) by Brian Turek About ------------------------- jsSHA is a javaScript implementation of the complete Secure Hash Algorithm family as defined by FIPS PUB 180-2 (http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf) With the slow phasing out of MD5 as the standard hash to use - [Hash class using System.Security.Cryptography](https://antonperez.com/2010/07/29/hash-class-from-system-security-cryptography/) - Adding for archival purposes… using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; namespace Classes { public class Hash { public Hash() { } #region Hash Choices /// The wanted hash function. public enum HashType : int { /// MD5 Hashing MD5, /// SHA1 Hashing SHA1, /// SHA256 Hashing SHA256, /// SHA384 Hashing SHA384, - [Tamara Lowe does her little motivational rap](https://antonperez.com/2010/08/05/tamara-lowe-does-her-little-motivational-rap/) - [Cheapest days to shop online reference](https://antonperez.com/2010/08/16/cheapest-days-to-shop-online-reference/) - Archiving via Yahoo! Shine. Mondays: Best for buying men’s and women’s dress pants. The average sale is about 48 percent off. Mondays: Also great for purchasing sunglasses. The average discount is 55 percent. Tuesdays: Best for buying men’s apparel. The average discount is 42 percent. Wednesdays: Find lowest prices on shoes. The average discount is - [Field Test for iPhone Signal Strength Returns in iOS 4.1](https://antonperez.com/2010/09/09/field-test-for-iphone-signal-strength-returns-in-ios-4-1/) - Archived from Mac Observer. When Apple released iOS 4.1 for iPhone Wednesday, the company once again included a utility that allows you to measure your signal strength on your device, a utility that that had been available before the release of iOS 4, but was not included when iOS 4 was introduced earlier this year. - [Essential Windows tools](https://antonperez.com/2007/03/29/essential-windows-tools/) - I'm actually a Mac and Linux convert, but use a Windows PC [for work] on a daily basis. And as all of you may know, Windows doesn't provide a lot of the "essential" and/or "nice-to-have" tools out-of-the-box (which I think are essential) compared to OS X and Linux. Why another list? Why not? So here's - [iptables script](https://antonperez.com/2007/04/04/iptables-script/) - I've been running Fedora Core 1 for about, hmm...5 years(?) on my little 'ole work-horse server, but this reliable/stable OS has started showing its age. Repository issues, keeping software and everything else up-to-date. Ugh. =0( I was initially sold on installing RHEL ES 4 (I had the disks already), but my server had problems with the "transferring image to - [Yumex to the rescue!](https://antonperez.com/2007/04/07/yumex-to-the-rescue/) - Yumex is a yum extender that provides a GUI for package management. So why am I writing about it, well, read on... I had written recently about my upgrading from Fedora Core 1 to Fedora Core 6, and one major, annoying issue I encountered was with the yum updates. I encountered approximately 5 conflicts and about 2 dependency - [Too much in your mind, mind map it!](https://antonperez.com/2007/04/08/too-much-in-your-mind-mind-map-it/) - With the coming of the information age, comes information overload. If you're like me who reads constantly to keep up with technology, your mind can get overloaded with so much - acronyms, concepts, theories, how-tos - you name it. So the question is: what do you do with all that information stored in your mind - [GTD anyone?](https://antonperez.com/2007/04/09/gtd-anyone/) - I read an article about GTD (Getting Things Done by David Allen) a few months ago but shoved it aside; however, with so many projects demanding my time recently, I started looking into it again (read: need better time management). I have just barely started using Allen's system, but have found it to be SO - [SideStep.com: What technology used?](https://antonperez.com/2007/04/10/sidestepcom-what-technology-used/) - My sister's been shopping around for airline tickets to go to Asia without any luck. So, the geekness in me felt the need to help her out. Scanning through some blogs I read regularly, I came across SideStep.com. It is one of the "newer" travel websites that search a lot of other websites' flight information, which got me - [Password-Protecting your pages with .htaccess](https://antonperez.com/2007/04/11/password-protecting-your-pages-with-htaccess/) - If you develop websites or adminster them, you've probably been asked or required to password-protect parts of a website. So, to help you out, here’s a quick how-to in Apache using .htaccess: Open a terminal window and navigate to the folder or page(s) you'd like to add a password requirement. Once there, type the following: - [Windows PowerShell script to check for specific hotfix](https://antonperez.com/2007/04/12/windows-powershell-script-to-check-for-specific-hotfix/) - I was asked by our IT department to write something that would check if a specific Windows Update hotfix was installed on a number of servers (they gave me list), and they wanted it ASAP. So, I thought, hmm...this is the perfect opportunity to give Microsoft's new scripting tool, Windows PowerShell, a try. I tip - [Microsoft did right with Windows Live Writer (Beta)](https://antonperez.com/2007/04/13/microsoft-did-right-with-windows-live-writer-beta/) - My blog/site has been running for 17 days and it's been quite a ride so far. And throughout my writing and posting, I've been using Microsoft's beta version of Windows Live Writer. I must say, it's very easy to use and has a plugin feature like Firefox and WordPress. Here's a screenshot: There are, of - [Essential OS X tools](https://antonperez.com/2007/04/15/essential-os-x-tools/) - Since my conversion to Mac OS X at home, I've been coming across and using some essential or must-have tools to get the most out of my Mac. Here's my list in no particular order: Firefox - Best browser by far! StuffIt Expander - Like WinRAR/WinZip in Windows. coconutBattery - Gives you definitive information about - [My condolences to the Virginia Tech families](https://antonperez.com/2007/04/17/my-condolences-to-the-virginia-tech-families/) - I just want to give my condolences and offer my prayers to the families of the Virginia Tech victims. Hoping you find peace during this difficult time. - [How to configure source control for Visual Studio](https://antonperez.com/2010/11/19/how-to-configure-source-control-for-visual-studio/) - [Web Service Reference in Visual Studio 2010](https://antonperez.com/2011/03/04/web-service-reference-in-visual-studio-2010/) - If you’ve used Visual Studio 2008 or 2010, you’ll notice that Web Reference is no longer there (like in VS 2005 and previous), instead, you see Service Reference –- actually, it’s STILL there, just hidden! So, what’s the difference? Well, according to this post: Add Web Reference is the old-style, deprecated ASP.NET webservices (ASMX) technology - [Hello world!](https://antonperez.com/2007/03/27/hello-world-2/) - Whatta day, whatta day! I write my first post with a fresh outlook, hopeful that this blog will be a venue to share, be creative, and maybe come across career opportunities. =0) So, HELLO WORLD! - [The power of ‘$’ in Windows](https://antonperez.com/2007/03/30/the-power-of-in-windows/) - The $ character not only exudes money and power, but is also useful in many dynamically-typed languages, such as Perl and Windows PowerShell. I won't be discussing it's use in any of these languages, but rather, how you can take advantage of it in one powerful way: To share a folder in "steath-mode." Here's how: - [Add text highlighting in ASP.NET 2.0 GridView](https://antonperez.com/2007/04/02/add-text-highlighting-in-aspnet-20-gridview/) - I built an ASP.NET 2.0 web application [for the company I work for] that streamlined the deployment process to our production environment. It processed, tracked, archived, and notified automatically on each step of the deployment process. So with that in mind, I'll be showing you how to add text highlighting in a GridView; for example, - [Blogs and Wikis: Why just now?](https://antonperez.com/2007/04/06/blogs-and-wikis-why-just-now/) - Man, I am really enjoying having my own blog and wiki. It's so addicting! And how I wish I had started a lot sooner. I can't even imagine how much data I would've logged and shared if I had started sooner. Oh, well...it's alright, the good thing is I've already started. No use on sulking - [Put your Mac to sleep via e-mail](https://antonperez.com/2007/04/14/put-your-mac-to-sleep-via-e-mail/) - You're at work, with no remote control access/capability to your Mac at home, brown-outs are occurring, and you forgot to plug it into a power strip due to some unknown reason last night. What do you do? Well, read on... With some preparation, you can take advantage of Apple's Mail's rules feature to run an AppleScript - [Microsoft Outlook 2007 update/patch available](https://antonperez.com/2007/04/16/microsoft-outlook-2007-update-patch-available/) - I've been using Outlook 2007 (and the Microsoft Office Enterprise 2007 suite) a little over 2 months now, and if you're like me you've noticed how slow it is compared to Outlook 2003. Microsoft has known about it and has finally released an update/patch, so install it when you get the chance. BTW, you'll need to validate your copy - [IE Tab for Firefox](https://antonperez.com/2007/04/17/ie-tab-for-firefox/) - If you're security-conscious, you always try use Firefox for anything browser-related, right? There are times, however, when you need to test something you're building, e.g., web application, in Internet Explorer. Well, thanks to the Mozilla Developers community, specifically to PCMan (Hong Jen Yee), you can use IE Tab and avoid the need to launch IE. - [Where’s the disk monitoring?](https://antonperez.com/2007/04/18/wheres-the-disk-monitoring/) - I was doing research on a development project I'm currently working on and encountered this error on a developer-resource website (anonymous to prevent any legal action): Fig. 1.1 - ASP.NET 2.0 Error: Not enough disk space Googling for "disk monitoring tools" came up with a TON of results. The lesson to learn from this: Monitor - [OS X Leopard will not be released at WWDC in June](https://antonperez.com/2007/04/19/os-x-leopard-will-not-be-released-at-wwdc-in-june/) - I've been running Tiger OS X on my MacBook Pro since I got it and because I'm an early-adopter type of person, I'm pretty excited to install and check out Leopard (new toy!). Unfortunately, due to Apple's push of the iPhone, Leopard won't be released at the WWDC this coming June. Instead it will be some time in October. WWDC - [Google Quick Search Box in OS X](https://antonperez.com/2011/03/04/google-quick-search-box-in-os-x/) - Just in case you didn't know, Google has the Google Quick Search Box for OS X, which if you're like me, is something I have to have to work efficiently. Get it here: http://www.google.com/quicksearchbox/ - [Get rid of those pesky Windows startup programs](https://antonperez.com/2007/04/20/get-rid-of-those-pesky-windows-startup-programs/) - Numerous companies over the years have joined the computer-industry bandwagon and have added their own quick launch and/or startup shortcuts of their applications in Windows. Though their intent is good, it most of the time results in system slowdowns and user unproductivity. What happens is system resources, i.e., memory, are used unnecessarily that could otherwise be - [C# to VB.NET translator available online](https://antonperez.com/2007/04/21/c-to-vbnet-translator-available-online/) - I'm not sure if this will work with the upcoming C# 3.0; however, give it a go if you have the need to convert your C# code to VB. I personally prefer programming in C# since I'm used to the C-like syntax. Click here to access the page. Thanks to Alex Lowe's AspAlliance ASP.NET website for putting - [Mac OS X verbose mode on boot](https://antonperez.com/2007/04/22/mac-os-x-verbose-mode-on-boot/) - If you, like me, come from a strong Linux background and have recently migrated to Mac OS X, then I think you’ll really find this tip helpful. As you may know, the OS X boot sequence details is hidden from the user by default; you basically only see the Apple logo and a load status - [Get a finalized spec as much as possible](https://antonperez.com/2007/04/23/get-a-finalized-spec-as-much-as-possible/) - If you develop software or web apps, you've most likely experienced working off of an incomplete spec. I have, and it's tremendously frustrating when all the work you've developed so far needs to be changed all of sudden because you followed the spec! So here are some points to keep in my mind and push - [Try Ruby online](https://antonperez.com/2007/04/24/try-ruby-online/) - Ruby has been getting a lot of praise for a while now, so I decided to give it a try. I was surprised to find so many resources already out there, and one I think worth mentioning is this website. Ruby is a programming language from Japan (available at ruby-lang.org) which is revolutionizing the web. - [How to POP3 in C#](https://antonperez.com/2007/04/25/how-to-pop3-in-csharp/) - Here's an excellent how-to on using POP3 in your C# apps. I've used it successfully.The Pop3 class derives from the System.Net namespace:public class Pop3 : System.Net.Sockets.TcpClient And the class consists of the following fields and methods:public ArrayList List()public class Pop3Messagepublic void Connect(string server, string username, string password)public void Disconnect()public Pop3Message Retrieve(Pop3Message rhs)public void Delete(Pop3Message rhs)private void Write(string message)private - [What to check when encountering Exchange user name and password errors](https://antonperez.com/2007/04/26/what-to-check-when-encountering-exchange-user-name-and-password-errors/) - A C# web app I'm developing requires pulling (and deleting already read e-mails) from an Exchange 2003 server. I used the POP3 code that I actually shared/posted about yesterday; however, I was getting this error, though I had the correct user name and password: -ERR Logon failure: unknown user name or bad password. It was - [Memorable and reliable DNS servers you can use](https://antonperez.com/2007/04/27/memorable-and-reliable-dns-servers-you-can-use/) - My area is "owned" by Comcast, now Time Warner, when it comes to cable TV and Internet services. Unfortunately, their DNS servers have become unreliable numerous times over the years. With that in mind, I'd like to share memorable IP addresses of DNS servers that I use that I have found to be very reliable. - [Yoggie, a miniature security firewall appliance solution](https://antonperez.com/2007/04/30/yoggie-a-miniature-security-firewall-appliance-solution/) - A friend and coworker of mine, Arthur Freyman, told me about a miniature device that provides all the security you'll ever need out-of-the-box. It's called Yoggie. Reading the specs and services it provides is so far pretty good - and not surprising, it runs Linux under the covers. Just think how cool it would be - [Use another SMTP server with Postfix](https://antonperez.com/2007/05/01/use-another-smtp-server-with-postfix/) - Over the weekend, I finally installed and configured my own e-mail server. What a challenge that was! I'm successfully running Postfix, Dovecot, Spamassassin, Amavisd-new, ClamAV, SQLgrey, and Squirrelmail. I, however, encountered problems sending to Gmail. It returned with the following message: host gmail-smtp-in.l.google.com[64.233.163.27] said: 550-5.7.1 [76.170.212.236] Our system has detected an unusual amount of unsolicited - [Bad-Behavior MediaWiki Plugin Fix](https://antonperez.com/2007/05/03/bad-behavior-mediawiki-plugin-fix/) - If you use MediaWiki to power your wiki, you've probably heard of the Bad-Behavior plugin to help fight spam. Bad Behavior is a set of PHP scripts which prevents spambots from accessing your site by analyzing their actual HTTP requests and comparing them to profiles from known spambots. It goes far beyond User-Agent and Referer, - [Creating a self-signed cert](https://antonperez.com/2007/05/04/creating-a-self-signed-cert/) - If you need to support or serve your website using SSL, but only for personal purposes, such as a webmail, you've probably come across the problem of creating your own server certificate. Secure Sockets Layer (SSL), are cryptographic protocols which provide secure communications on the Internet for such things as web browsing, e-mail, Internet faxing, instant messaging - [Automatically redirect to HTTPS with .htaccess](https://antonperez.com/2007/05/07/automatically-redirect-to-https-with-htaccess/) - I caught the flu last week that's why I haven't been posting regularly. =0( Anyway, I wrote previously on how to password-protect a website/page, but in this post I'll show you how to redirect a user automagically to HTTPS. All you need to do is add the following in the .htaccess file (I'll be using - [Live HTTP Headers plugin for Firefox](https://antonperez.com/2007/05/10/live-http-headers-plugin-for-firefox/) - Have you ever had the need to watch and inspect HTTP headers in real time while pages are being downloaded from the Internet? If you develop web applications or sites, I'm sure you have. If so, check out the Live HTTP Headers plugin for Firefox. Not only will it capture what's currently being downloaded, but - [Accessing specific event logs on a remote server](https://antonperez.com/2007/05/11/accessing-specific-event-logs-on-a-remote-server/) - An old friend and classmate of mine, Zahid Faisal, wanted to know how to access/read event logs on a remote server using Windows PowerShell. I thought it was an interesting challenge, so after some research and playing around I found that you can make use of the WMI objects to do this. Follow along to - [Auto backup solution for your MySQL databases](https://antonperez.com/2007/05/16/auto-backup-solution-for-your-mysql-databases/) - I use MySQL as my database server, and thankfully, it's been reliable and easy to use. A qualm I have, however, is that it doesn't include a daily backup feature, unlike Microsoft SQL Server. The good thing is that the open source community has seen this problem and created a solution for it: AutoMySQLBackup. (You can - [Your personal regex coach and more](https://antonperez.com/2007/05/17/your-personal-regex-coach-and-more/) - If you've worked on text parsing projects - or an app that needed it - then you know what regular expressions are. It truly has been a lifesaver for me on many, many occassions. If, however, you haven't dealt with it before, here's some background on it: According to Wikipedia, in computing, a regular expression - [Browse the web anonymously](https://antonperez.com/2011/03/07/browse-the-web-anonymously/) - On top of using “private browsing” or “incognito” mode, check out Tor to keep your presence anonymous over the Internet pipelines. You can definitely use an anonymizer site, but the interface of Tor is way better. Tor offers an installer bundle or a “just-copy-and-execute” bundle. I’ve been using it along with the Firefox add-on for - [Phish-safe Firefox](https://antonperez.com/2007/05/09/phish-safe-firefox/) - Phishing is serious business, so a while back I looked around for safeguards to assist me while browsing. In computing, phishing is a criminal activity using social engineering techniques.[1] Phishers attempt to fraudulently acquire sensitive information, such as usernames, passwords and credit card details, by masquerading as a trustworthy entity in an electronic communication. eBay - [Fix for undeletable user-defined Squirrelmail folder](https://antonperez.com/2007/05/14/fix-for-undeletable-user-defined-squirrelmail-folder/) - I run my own mail server and use Squirrelmail to facilitate webmail access using HTTPS. I encountered problems trying to delete a folder that I created as part of a test to find out if things were working correctly: ERROR : Could not delete "Archive" Given: Invalid mailbox name SquirrelMail is a Webmail application started by Nathan - [Free Windows PowerShell course book](https://antonperez.com/2007/05/15/free-windows-powershell-course-book/) - The Schweizer IT Professional and TechNet Blog is sharing a free Windows PowerShell course book that they've translated to English. The book seems to be pretty good. From their blog entry: Due to its great popularity, we have decided to translate the Windows PowerShell course book to English. So if your mother tongue is not - [Let the seat guru help you out](https://antonperez.com/2007/05/21/let-the-seat-guru-help-you-out/) - I haven't been blogging due to my hectic schedule for the past week. Most time-consuming is the preparation and shopping I had to attend to for my trip to the Philippines to see my ill grandfather. I've been confirmed to fly on Eva Air via Taipei, Taiwan - and...I found a resource that will be - [Yum on RHEL4](https://antonperez.com/2007/06/14/yum-on-rhel4/) - First off, apologies for not have posting anything in the last few weeks. I just got back from Manila, Philippines to visit my ill grandfather (read: father). He made it, but is still weak. I love you lolo! Anyway, I personally run Red Hat Enterprise Linux 4 at work for any *nix tasks, and in this post - [Safari browser in Windows](https://antonperez.com/2007/06/19/safari-browser-in-windows/) - Apple has finally released a version of Mac Safari that runs on Windows. The look and feel emulates the OS X version pretty good; however, I've given up on it [and back to using Firefox]. There's a lot of bugs that need to be fixed! For example, on dual LCD Safari will not maximize on - [XP Run commands](https://antonperez.com/2007/06/21/xp-run-commands/) - Here's a list of commands you can run from the XP Run command prompt. Enjoy! Accessibility Controlsaccess.cpl Add Hardware Wizardhdwwiz.cpl Add/Remove Programsappwiz.cpl Administrative Toolscertmgr.msc Character Mapcharmap Check Disk Utilitychkdsk Clipboard Viewerclipbrd Command Promptcmd Component Servicesdcomcnfg Computer Managementcompmgmt.msc Date and Time Propertiestimedate.cpl DDE Sharesddeshare Device Managerdevmgmt.msc Direct X Control Panel (If Installed)directx.cpl Direct X Troubleshooterdxdiag Disk - [Password Chart](https://antonperez.com/2007/06/21/password-chart/) - Just in case you want to make use or take advantage of "hard to hack" passwords, use the Password Chart as your compass. You'll probably want to use some sort of password manager to auto-fill for you. ;0) Go here to check it out. Ciao! - [Ajax applications with PHP](https://antonperez.com/2007/06/21/ajax-applications-with-php/) - It's about time that the open source community take on Ajax. Check out xajax. Ajax, or AJAX, is a web development technique used for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web - [A comprehensive router password database](https://antonperez.com/2007/06/22/a-comprehensive-router-password-database/) - If you like (or are required) to help/assist people with their wireless router needs, you've probably had the need to reset and reconfigure them many, many times. The problem, however, is that most of time time you don't have the admin username and password to do so; you ask them if they have their user manual - [Bind an XMLDataSource to a GridView control](https://antonperez.com/2007/06/27/bind-an-xmldatasource-to-a-gridview-control/) - On one of my ASP.NET 2.0 projects, I had to use an XML file as the data source for a GridView control. The problem was that I had never used this method before. But after doing some research, I found it to be very similar (and straightforward) to binding to a database - with the - [Top 10 Development Mistakes](https://antonperez.com/2007/06/28/top-10-development-mistakes/) - I found this list in the Redmond Developer News newsletter, and believe it's worth mentioning/posting here...because as we all know, there are far too many software development projects that end in abject failure (whether a simple internal app or a massive commercial system). Here are the top 10 that made the list: 1. Never committing - [Outlook 2007 IMAP auto purge option](https://antonperez.com/2007/06/28/outlook-2007-imap-auto-purge-option/) - Just in case you encounter problems permanently deleting e-mails in Outlook 2007 on an IMAP server, make sure you have the Purge items when switching folders while online option checked (see screenshot below). What happened was when I tried deleting e-mails, the e-mails would just have a strikethrough line, but would still be present in - [VI global search and replace](https://antonperez.com/2007/06/29/vi-global-search-and-replace/) - In case you need to search and replace text globally within vi, here's the command to do so: :1,$s/old/new vi is a free software screen-oriented text editor computer program written by Bill Joy in 1976 for an early BSD release. Peace! \m/ - [Resetting Primary Key counter in SQL Server](https://antonperez.com/2007/07/02/resetting-primary-key-counter-in-sql-server/) - To reseed/reset the IDENTITY column of an SQL Server table, run the following in Query Analyzer or SQL Server Management Studio: DBCC CHECKIDENT (Table_Name, RESEED, 1) Peace! - [Simple mortgage calculator](https://antonperez.com/2007/07/05/simple-mortgage-calculator/) - Here's a link to an online mortgage calculator. Hope this helps... - [Run Linux apps on Windows or OS X with Lina](https://antonperez.com/2007/07/07/run-linux-apps-on-windows-or-os-x-with-lina/) - This month a California-based startup plans to release an application that will allow Windows, Mac, and Linux users to run Linux binaries without any modifications. Lina is a Linux virtual machine that allows users to run applications with the native look of their host operating system. It also lets you install applications with a mouse-click, - [Free online management resouce library](https://antonperez.com/2007/07/09/free-online-management-resouce-library/) - A extensive online library regarding management and leadership for non-profit and for-profit organizations. - [An extensive examination of data structures in .NET](https://antonperez.com/2007/07/11/an-extensive-examination-of-data-structures-in-net/) - Check out this great article by Scott Mitchell regarding data structures in .NET 2.0. It's a six-part series that pretty much covers all that you'll need to know. It goes like this: Part 1: An Introduction to Data StructuresPart 2: The Queue, Stack, and HashtablePart 3: Binary Trees and BSTsPart 4: Building a Better Binary Search TreePart - [Import mail and contacts into Gmail](https://antonperez.com/2011/03/10/import-mail-and-contacts-into-gmail/) - I just recently switched to using Gmail as my universal e-mail for manageability purposes, which means (1) I can now send e-mail using my Yahoo! or Hotmail account within Gmail and (2) All my e-mails in Yahoo! and Hotmail is now archived in my Gmail account. I was able to accomplish #1 easily by adding - [StumbleUpon if you’re bored](https://antonperez.com/2007/06/22/stumbleupon-if-youre-bored/) - When you get bored and need a break from your development or IT-related work, use StumbleUpon. It's a Firefox add-on that can - and will probably - renew your perception of the Internet. From StumbleUpon's website: Channel surf the internet with the StumbleUpon toolbar to find great websites, videos, photos and more based on your - [Ten must-have tools every developer should download](https://antonperez.com/2007/07/09/ten-must-have-tools-every-developer-should-download/) - Here's an excellent article by James Avery discussing the must-have tools every developer should have in their toolbox arsenal. Just to summarize: NUnit to write unit tests NDoc to create code documentation NAnt to build your solutions CodeSmith to generate code FxCop to police your code Snippet Compiler to compile small bits of code Two - [MIT OpenCourseWare](https://antonperez.com/2007/07/10/mit-opencourseware/) - I found this while stumbling...Apparently, MIT is offering a ton of free courses, i.e., Electrical Engineering and Computer Science, that their students actually take! Anyone can go through the course, but you won't get credit for it. In any case, it's pretty cool. Here's the link. - [IntelliAdmin Network Administrator](https://antonperez.com/2007/07/13/intelliadmin-network-administrator/) - Network Administrator is a nifty little tool for IT Administrators in small to medium-sized environments. So, what can it do you ask? Well, according to the publisher of this tool, it can: Validate installation of 2007 Daylight Saving Patch. It can detect ours, and Microsoft's patch Push out and apply 2007 Daylight Saving patch to - [Microsoft’s Web Application Stress tool](https://antonperez.com/2007/07/17/microsofts-web-application-stress-tool/) - It's a tool that provides you an easy way to simulate large numbers of users against your web app, which makes it possible for one to make intelligent decisions about hardware and software load incurred by your application and how much traffic a given machine or group of machines can handle. In case you need - [$1.99 domain registration at Yahoo!](https://antonperez.com/2007/07/20/199-domain-registration-at-yahoo/) - Yahoo! once again is offering the $1.99 domain registration deal. Check it out here. - [Researchers hack into iPhone via Web](https://antonperez.com/2007/07/23/researchers-hack-into-iphone-via-web/) - Yowza! The iPhone can be hijacked? Tsk, tsk, tsk...not good, but not surprising either. Nowadays, more and more companies try to release more while downplaying quality - quantity over quality, which is a shame. I'm not saying all corporations do this, but in general, yes they do. Apple should've spent more time testing this kinda - [PowerShell Cheat Sheet](https://antonperez.com/2007/07/27/powershell-cheat-sheet/) - A handy cheat sheet I found on one of the MSDN Blogs. - [How to find the service pack version installed on SQL Server](https://antonperez.com/2007/08/02/how-to-find-the-service-pack-version-installed-on-sql-server/) - Run and execute the following query; it doesn't matter what database and/or table you're in: select @@VERSION If executed successfully, you should get something like below, which shows that SP2 is installed. Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build - [VMWare Fusion](https://antonperez.com/2007/08/07/vmware-fusion/) - I've been using Parallels Desktop for Mac since it's beta days, and have been pretty happy with it until now. The biggest qualm I have (with the version I currently have: version 2) is the lack of an appropriate video card driver; playing as well as using it for graphically-intensive games and applications is not - [Note taking the mind mapping way in meetings](https://antonperez.com/2007/08/11/note-taking-the-mind-mapping-way-in-meetings/) - Here's a great article on mind maps, specifically, how you can make use of it in meetings. Enjoy! - [BumpTop desktop](https://antonperez.com/2007/08/13/bumptop-desktop/) - I'm not sure if you've seen this or heard about it, but this is quite impressive: Interact by pushing, pulling and piling documents...on your computer's desktop interface. Wow! I'm still digesting (read: thinking/analyzing) how this will affect the computer world. So, just check out the website and video. BumpTop is a fresh and engaging new - [TED: Ideas worth spreading](https://antonperez.com/2007/08/15/ted-ideas-worth-spreading/) - You should check out TED. It's a website that allows users to watch conference talks from the world's most fascinating thinkers and doers. In fact, I just watched an interesting video Google founders, Sergey Brin and Larry Page, gave: tidbits on how Google runs and innovates. TED stands for Technology, Entertainment, Design. It started out (in 1984) as - [Read a file with bash](https://antonperez.com/2007/08/16/read-a-file-with-bash/) - I had to test our download servers at work right away, i.e., HTTP vs HTTPS, which required downloading a large number of files. A file list was given to me to work with, like so: /download/integrations/file1.exe/download/us/update/patch/file1.exe/download/us/cab/file1.exe So I decided to use the bash shell to read each line and run wget quick and dirty. Here's the - [Free Windows screen capture app](https://antonperez.com/2011/03/10/free-windows-screen-capture-app/) - It’s called ScreenHunter…simple to use and it’s free! Here’s some more details: - [Delete unused SMTP servers in OS X](https://antonperez.com/2007/08/17/delete-unused-smtp-servers-in-os-x/) - I had numerous unused SMTP servers in my Apple Mail list, so I decided to tidy up and found the following steps do it (yeah!): Access the Finder menu and navigate to Go to Folder and type /Library/Scripts/Mail Scripts/.Look for Manage SMTP Servers.scpt and open it. (This should open the Script Editor.) Hit the Run - [Import your OS X address book contacts into Gmail](https://antonperez.com/2007/08/19/import-your-os-x-address-book-contacts-into-gmail/) - Have you ever wondered how to do this, well...look no further as I'll show you. It's simple really. All you have to do is download AddressBook2CSV Exporter from Antonio Lore's website. After installing it, simply do the export, and then import into Gmail, which basically needs a CSV file; however, be forewarned...if some fields are - [Unlocking the IPhone](https://antonperez.com/2007/08/24/unlocking-the-iphone/) - 9/6/07 1:34 PM Update: For software-only unlocking, all features will be available except for Visual Voice mail (which is an exclusive AT&T feature). You've probably read or heard about the race [of many hackers] to unlock the IPhone...well, interestingly a 17-year old named George Holtz of Glen Rock, NJ confirmed that he did unlock it. - [Check in your SharePoint Images](https://antonperez.com/2007/10/05/check-in-your-sharepoint-images/) - I wrote up an internal how-to/policy for the company I work for, which had text and some images that weren't showing up. Googling and looking through the options for the document didn't help. After going through it some more, I found that you need to check in all items [in the Document Center] before it - [Cool Software Digg-like](https://antonperez.com/2007/10/09/cool-software-digg-like/) - Intel apparently just launched a Digg-like site where users can rate software startups/companies. Interesting... The CoolSW site is an online community of people passionate about software. Members can post information about an interesting new software company and, more important, the community votes on whether they think a software company is, well, "cool." Companies that receive - [How HDMI works](https://antonperez.com/2007/10/02/how-hdmi-works/) - The High-Definition Multimedia Interface (HDMI) is a licensable audio/video connector interface for transmitting uncompressed, encrypted digital streams. HDMI is more than a port on the back of a TV (and the often expensive cable that fits inside). It's a set of rules for allowing high-definition electronic devices to communicate. Read more about it here. - [How to enable or disable Quick Launch in Windows 7](https://antonperez.com/2011/03/17/how-to-enable-or-disable-quick-launch-in-windows-7/) - Just adding this for archival purposes… http://www.sevenforums.com/tutorials/888-quick-launch-enable-disable.html - [Submitting bugs through BugzScout](https://antonperez.com/2007/08/27/submitting-bugs-through-bugzscout/) - I was tasked to develop a proxy-like web interface wherein our company's Marketing group didn't have to go to Fogbugz directly. To facilitate this, I wrote an ASP.NET Web Application that submits/POSTs to Fogbugz's supplied ScoutSubmit.asp. FogBugz is a complete project management system for software teams. Designed by Joel Spolsky of Joel on Software fame, - [Project Workflow humor](https://antonperez.com/2007/09/27/project-workflow-humor/) - To continue the humor of my Bug Fix Bingo post, here's another illustration to show you how (software) project workflows currently work these days... =0) - [Vista Service Pack 1 details](https://antonperez.com/2007/08/29/vista-service-pack-1-details/) - Microsoft today released details about the upcoming first service pack (SP1) for Vista. They say it features security upgrades, improved performance, and support for emerging (read: new) hardware and standards. It doesn't look like it will be released to the general public yet, but only to a moderate sized audience. They say it will be - [Learning Python, Linux, Java, Ruby and more with Tutorial Videos](https://antonperez.com/2007/08/29/learning-python-linux-java-ruby-and-more-with-tutorial-videos/) - I'm kicking off my Python journey once more, hopefully, now with depth. And came across this website - thanks to Anton Sipos - called ShowMeDo, that I believe can enhance your learning through videos. Take it easy. - [AMD or Intel](https://antonperez.com/2007/09/02/amd-or-intel/) - Most people I know favor AMD processors over Intel. I myself have tried both and like AMD more - other than the Intel Core Duo on my Mac, which I'm very happy with. =0) I'm posting an excerpt that I read on The Register regarding AMD's less power-hungry processor (over Intel): Computer performance consulting firm - [Apple cuts 8GB iPhone price](https://antonperez.com/2007/09/05/apple-cuts-8gb-iphone-price/) - 9/7/07 9:52 AM Update: Apple Gives $100 Store Credit to iPhone Customers For the iPhone fans out there, the 8 GB is now - get this...$399 from $599. The 4 GB, on the other hand is now $299, which Apple will be taking off the market (buy it while supplies last). This sucks for the - [Apple’s upcoming iPod touch](https://antonperez.com/2007/09/05/apples-upcoming-ipod-touch/) - Gadgets, gadgets; don't you love 'em? Apple (read: Steve Jobs) has apparently made official the new, upcoming iPod, labeled iPod touch. It practically looks and works like an iPhone except for the phone features, e.g., "flick through your photos", "slide to unlock," etc., although the lower "main" icons seem to be on top of a - [iGoogle vs. My Yahoo!](https://antonperez.com/2007/09/07/igoogle-vs-my-yahoo/) - I've had my Yahoo! screen name since the mid 90s and my Google screen name since its beta days. Both of of them allow you to customize your own, personalized home page Web 2.0 style. That is AJAX technologies and support for gadgets/widgets is available and extensively used for a more superior, less lag time - [CLR has been unable to transition from COM context for 60 seconds](https://antonperez.com/2007/09/09/clr-has-been-unable-to-transition-from-com-context-for-60-seconds/) - I was debugging an inherited multi-project WinForms application (from my co-worker and friend, Genaro Quismorio) today and came across this error twice (below), which was frustrating, annoying and very unproductive. This error occurred while stepping through a breakpoint [Debug.Break] in my WinForms code while looking for a bug. One fix I found on Google was - [Seven interesting computer facts](https://antonperez.com/2007/09/11/seven-interesting-computer-facts/) - Here are seven "did you know" interesting computer facts (info consolidated from the CIO website): 1. What's the closest computer to the North Pole? National Oceanic and Atmospheric Administration's Pacific Marine Environmental Laboratory Webcam #1, A NetCam XL, made by StarDot Technologies. 2. What's the farthest computer from Earth? NASA's Voyager satellite computes at the edge - [VMWare’s Open Virtual Machine Tools](https://antonperez.com/2007/09/13/vmwares-open-virtual-machine-tools/) - Nice! VMWare recently released an open source version of its very popular virtual machine tools. It's currently housed on Sourceforge, known as Open Virtual Machine Tools. The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user - [BigBelly to the rescue](https://antonperez.com/2007/09/16/bigbelly-to-the-rescue/) - I watched a segment (on the Science channel) about BigBelly, a solar-powered trash compacting garbage bin that's currently being used in some areas of New York. Built and developed by Seahorse Power Company and priced around $4,500, it crushes garbage based on some algorithm into eighth of its size when needed; thus, reducing the frequency - [Sync iCal with Google Calendar](https://antonperez.com/2007/09/20/sync-ical-with-google-calendar/) - As a Mac user at home and a Windows user at work, I had looked for a solution to sync my iCal calendar with my Google Calendar. I did find some ways to do it, such as taking advantage of iCalshare publishing, but never found one that did a two-way sync - that is, changes - [Open command prompt in a specific folder](https://antonperez.com/2007/09/23/open-command-prompt-in-a-specific-folder/) - I had to find another way to open the command prompt in a specific, working folder, and the Windows Key + R, type cmd keystroke was no longer efficient. Thankfully, there's a way around this - two ways, actually...so here they are: Method #1 - Add a Registry Key Open regedit. (If you don't know - [VS.NET 2005 Web Application Projects vs. Web Site Projects](https://antonperez.com/2007/09/25/vsnet-2005-web-application-projects-vs-web-site-projects/) - In the first release of Microsoft Visual Studio 2005, Microsoft introduced a new web application model called the Web Site Project for C#, which had many differences with the old model. Riots ensued, and in VS 2005 SP1 they were forced to introduce the Web Application Project for C# that worked much the way the - [Fix for IE crash when opening docs in SharePoint](https://antonperez.com/2007/09/26/fix-for-ie-crash-when-opening-docs-in-sharepoint/) - We use Microsoft Office SharePoint Server 2007 for sharing and collaborating between departments at work; it's been working fine except when IE (both v6 and v7) would, most of the time, crash when opening a document, i.e., IE would just exits abnormally. After some investigation, I found that the issue seems to happen when you - [Bug Fix Bingo](https://antonperez.com/2007/09/26/bug-fix-bingo/) - Just in case your (or company's) software development life cycle needs fixing... =0) - [OS X Leopard finalized](https://antonperez.com/2007/10/10/os-x-leopard-finalized/) - Nice! A source tells AppleInsider that Mac OS X 10.5 Leopard is now "finalized," and that Apple has begun to provide Leopard-related support training materials to its support staff. Go here for details. And if you want to read more about the new features, go here. - [Various SQL JOIN reference](https://antonperez.com/2007/10/10/various-sql-join-reference/) - One of the trickiest things about learning SQL is mastering how various JOIN statements differ in the ways they combine data from multiple data tables. There are three types of joins: inner, outer, and cross. In addition, there are three types of outer joins: left, right, and full. It can be frustrating trying to keep them - [How-to: Bypass a WSUS server](https://antonperez.com/2011/03/17/how-to-bypass-a-wsus-server/) - As long as you have administrative access on your work computer, all you have to do is change the following key to ‘0’ (from ‘1’): UseWUServer under the following location in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU Hope this helps someone out there. - [Apple directory of made-for-iPhone/iPod touch web applications](https://antonperez.com/2007/10/11/apple-directory-of-made-for-iphoneipod-touch-web-applications/) - Here's a nice, by category, directory that Apple put together featuring made-for-iPhone/iPod touch web applications. w00t! - [Easiest way to install IIS 7 on Vista](https://antonperez.com/2007/10/13/easiest-way-to-install-iis-7-on-vista/) - By default, IIS 7.0 is not installed on Windows Vista Business or Windows Vista Ultimate, but installing is pretty simple. You can do it via Windows Features in Advanced Options under Programs in Control Panel. However, there is an easier way: Step #1: Run the following command Open up the command prompt and paste the - [OS X Leopard upgrade for 10 bucks](https://antonperez.com/2007/10/16/os-x-leopard-upgrade-for-10-bucks/) - Apparently, Apple will sell you the v10.5 upgrade for $10 if you purchased your Mac computer after October 1, 2007. I guess they [Apple] learned a thing or two from the sudden iPhone price drop recently. Too bad I bought mine before that time. Man! Go here for details. - [OS X Leopard in 10 days](https://antonperez.com/2007/10/16/os-x-leopard-in-10-days/) - I just read that Mac OS X 10.5 Leopard will be released in 10 days for $129 ($199 for a family pack). You can now pre-order it via Apple's online store. The new features: Mac OS X v10.5 Leopard features a stunning new look across the entire system including a sleek new Dock with Stacks, - [Computer program detects author gender](https://antonperez.com/2007/10/17/computer-program-detects-author-gender/) - I read an excerpt at the Nature website by Phillip Ball, wherein a computer program, developed by Moshe Koppel and his colleagues, can guess/tell whether the author [of a book] was written by a man or a woman. It's algorithm (see below), says Ball, basically scans for keywords and syntax to accomplish this feat, and is surprisingly "around 80 - [Print Screen in Mac OS X under Parallels](https://antonperez.com/2007/10/19/print-screen-in-mac-os-x-under-parallels/) - If you're a Mac convert using Parallels to run Windows, you're probably wondering where the Print Screen (used for screen captures in Windows) OS X is. Well, unfortunately, there's no exact keyboard stroke for it; however equivalent; however, you can either use a third-party app like SnagIT, or go the smarter route by using the Windows built-in - [The complete guide to Mac/Windows Interoperability](https://antonperez.com/2007/10/19/the-complete-guide-to-macwindows-interoperability/) - Here's an excellent post from Lifehacker, the Geek To Live site, that shows you how to make Mac OS and Windows work together in harmony. It covers file sharing, file and application compatibility, file sync and system files, printer and fax sharing, running Windows on your Mac, remote server access, and finally iTunes and your - [SQL Injection-proof your integrated SQL search in ASP.NET 2.0](https://antonperez.com/2007/10/31/sql-injection-proof-your-integrated-sql-search-in-aspnet-20/) - I had forgotten to add SQL Injection prevention logic when I integrated and implemented a SQL search function for my employer's internal ASP.NET app. So in this post, I'm adding it for archival and sharing purposes. SQL injection is an attack in which malicious code is inserted into strings that are later passed to an instance of - [Vista's Windows Update not working in a domain](https://antonperez.com/2007/11/14/vistas-windows-update-not-working-in-a-domain/) - If you are using Windows Vista in a domain, you may find that Windows Update doesn't work (it will say something like "No updates available"). This is because when a computer is added into a domain, a registry key/policy is automatically added to connect to a WSUS server for updates. So to resolve the issue, - [Humanoid i-Sobot Toy](https://antonperez.com/2007/12/05/humanoid-i-sobot-toy/) - For $300, you can get a humanoid toy robot that can recognize spoken words and be controlled remotely. It has 17 motors that allows it to walk, somersault, and do karate chops. The Guinness World Records recognizes it as smallest humanoid robot in commercial production; i-Sobot went on sale in Japan, in white, and the - [Using Visual SourceSafe 2005 with Visual Studio 2010](https://antonperez.com/2011/03/18/using-visual-sourcesafe-2005-with-visual-studio-2010/) - You may notice that when you attempt to add your solution to a source control in Visual Studio 2010, that it only shows a TFS server as a choice. Don’t be alarmed, however, just: 1. Go to Tools > Options. 2. Click Show all settings if not checked, then go to Source Control. 3. Go - [Nissan to introduce world’s first Around View Monitor](https://antonperez.com/2007/10/12/nissan-to-introduce-worlds-first-around-view-monitor/) - Nissan Motor Co., Ltd will introduce the world’s first Around View Monitor, which offers the driver a bird’s eye view of the vehicle and its surroundings in real-time. Let's see how this pans out. Read more at Automotoportal.com. - [Air Canada's paperless mobile boarding pass](https://antonperez.com/2007/10/13/air-canadas-paperless-mobile-boarding-pass/) - You might be surprised to know that your mobile (cell phone) device may be the new airline boarding pass. It's an interesting concept, but I'm a bit skeptic about the security issues that this could have. As stated on Air Canada's website: Introducing a new and efficient way to improve your flying experience, from the - [ICANN tweaks root DNS server](https://antonperez.com/2007/11/06/icann-tweaks-root-dns-server/) - I read about it via The Register...ICANN set up a new IP address for one of the "root name servers," and is retiring the old address, i.e., from 198.32.64.12 to 199.7.83.42. They're apparently doing it for two reasons: For one, the old IP address wasn't officially under ICANN's control. But (two) more importantly, the organization wanted to - [OSX.RSPlug.A Trojan Horse](https://antonperez.com/2007/11/07/osxrspluga-trojan-horse/) - A company named Intego apparently found a malicious Trojan Horse that actually is harmful (OS X attacks and exploits were previously developed that lacked malicious power). According to Intego the Trojan Horse: ...disguises itself as a video codec that offers access to a pornographic video...and users attempting to install the codec receive a piece of malware - [Seagate hard drives ship with virus](https://antonperez.com/2007/11/13/seagate-hard-drives-ship-with-virus/) - Interesting...an undisclosed number of Seagate's Maxtor Basics Personal Storage 3200 units have shipped with a virus that steals passwords to online games, such as World of Warcraft. Identified as Virus.Win32.AutoRun.ah by Kaspersky Labs, the virus also deletes similar viruses and can disable virus detection software as well. The virus, which was loaded onto the Maxtor - [SQL Server Best Practices](https://antonperez.com/2007/11/14/sql-server-best-practices/) - For archival purposes, here's the location of a ton of white papers for best practices or SQL Server on the TechNet site. Best Practice is a management idea which asserts that there is a technique, method, process, activity, incentive or reward that is more effective at delivering a particular outcome than any other technique, method, - [Vista error: "Trust relationship between this workstation & primary domain failed"](https://antonperez.com/2007/11/14/error-trust-relationship-between-this-workstation-primary-domain-failed/) - My Vista lab box presented this error when I tried to login into my company's domain after several months of not doing so: Trust relationship between this workstation & primary domain failed I suspected my [Vista] installation was using cached domain information to login, which was the case and why it was being denied access. - [Visual Studio Team System 2008 now available](https://antonperez.com/2007/11/20/visual-studio-team-system-2008-now-available/) - For MSDN subscribers, you can now download VS Team System 2008 RTM on the MSDN site (x86 and x64 WoW - DVD). Have fun! - [PsTools communication errors](https://antonperez.com/2007/11/28/pstools-access-denied-error/) - My friend Anthony was getting "access denied" and "logon failure" errors when trying to to run psexec (from one of the PsTools suite) from an XP machine on a domain to an XP machine in a workgroup. It was something similar to: PsInfo 1.34 - local and remote system information viewerCopyright (C) 2001-2002 Mark RussinovichSysinternals - www.sysinternals.com - [Bill Gates: The skills you need to succeed](https://antonperez.com/2007/12/15/bill-gates-the-skills-you-need-to-succeed/) - Here's an interesting article that Bill Gates wrote for the BBC News web site, that talks about the skills one needs to succeed in any career. - [Web 2.0: Gray out the screen](https://antonperez.com/2007/12/18/web-20-grey-out-the-screen/) - This snippet grays out the screen and allows you to create a modal environment. A gray out is useful for creating a DHTML dialog box, or showing off a picture or video. While a gray out is active, most interactive elements on the page (links, etc.) are inactive - you've probably seen this on the - [Leaders vs. Followers](https://antonperez.com/2008/01/01/leaders-vs-followers/) - When leaders make a mistake, they say, "I was wrong."When followers make mistakes, they say, "It wasn't my fault." A leader works harder than a follower and has more time;a follower is always "too busy" to do what is necessary. A leader goes through a problem;a follower goes around it and never gets past it. - [Free Microsoft Press e-book offer](https://antonperez.com/2007/12/27/free-microsoft-press-e-book-offer/) - Just sign up with your Windows Live/Passport account and you can download all three e-books by Microsoft Press. It includes the following: Enjoy! - [Teach yourself programming in ten years](https://antonperez.com/2008/01/07/teach-yourself-programming-in-ten-years/) - Here's an interesting article that Peter Norvig wrote about how wanna-be programmers are in such a hurry in becoming a full-fledged "developer," buying into Teach Yourself in 21 days books and the likes. I've been developing/programming for a while now and to become a developer, a great one, you simply cannot take shortcuts. - [JibJab e-cards](https://antonperez.com/2007/12/24/jibjab-e-cards/) - Just thought I'd share this with you...it's a new kind of e-card that you can send to your loved ones. Funny flash videos, cartoon animations, and pictures. Post, share and store favorite jokes... Enjoy! - [Cut-and-paste not working via RDP](https://antonperez.com/2011/04/14/cut-and-paste-not-working-via-rdp/) - Cut-and-paste wasn’t working from me between my RDP session to an XP box from my Windows 7 box. Apparently, the problem was rdpclip.exe wasn’t running. So, if you come across the same issue, check for that process and turn it on if necessary via Run > type rdpclip. - [Comcast violated Net Neutrality](https://antonperez.com/2008/01/22/comcast-violated-net-neutrality/) - Since I am a Comcast/TimeWarner subscriber, I thought I'd pass this along so others can join in and fight corporations that violate Net Neutrality. Please fill out this petition. It is working, as stated on SaveTheInternet.com's website: Late last year Comcast was caught secretly inspecting Internet traffic and crippling users' ability to share files, download - [Yahoo's sign-in seal](https://antonperez.com/2008/01/30/yahoos-sign-in-seal/) - Yahoo! recently implemented a new feature called "sign-in seal," which pretty much is like what banks and credit card websites have already been using, but smarter. The feature, basically, is meant to help prevent phishing attacks. It is apparently smart enough in that it spans browsers and survives cookie deletions by way of cookie-like Flash - [Yahoo! to be Microsoft's](https://antonperez.com/2008/02/01/yahoo-to-be-microsofts/) - For $44.6 Billion, Microsoft wants Yahoo!. If this happens, Google will now have a rival in its level and the Yahoo! and MSN messenger clients will be united, which is better for us. They're saying the next company Microsoft will (aim to) purchase is AMD. We'll see... - [Comcast pays Americans to oppose net neutrality](https://antonperez.com/2008/02/27/comcast-pays-americans-to-oppose-net-neutrality/) - "Comcast is now paying Americans to believe in deceptive ISPs." This is just low...no wonder why the economy is falling, mistrust is more prevalent, and morale overall is down in the U.S. Just read Comcast spokesman Charlie Douglas's statement: "As is common practice in Washington, we did pay a few people to stand in line - [Cold Boot encryption memory hack](https://antonperez.com/2008/02/21/cold-boot-encryption-memory-hack/) - I read an article wherein researchers from Princeton University cooled down memory to -58 degrees F which allowed them to examine the encrypted contents of the memory for as long as 10 minutes. Microsoft, however, says its unlikely. To be clear, encrypted data here is data that gets encrypted by apps like Vista's BitLocker or - [Microsoft virtual launch](https://antonperez.com/2008/02/27/microsoft-virtual-launch/) - You can check out the virtual launch for Visual Studio 2008, SQL Server 2008 and Windows Server 2008 here. You never know...Steve Ballmer may have another "developers, developers, developers" sweaty-armpit-speech. And why it's called Heroes Happen Here, I don't know. It's worth looking into though. - [Improve your vision and reduce computer eye strain](https://antonperez.com/2008/02/29/improve-your-vision-and-reduce-computer-eye-strain/) - Here's an excellent article on Reader's Digest's website chronicling 24 ways to improve your vision; thus, preventing computer eye strain. - [Create your own cross-platform backup server](https://antonperez.com/2008/02/14/create-your-own-cross-platform-backup-server/) - Here's an interesting read and how-to on LifeHacker.com showing you how to build a backup server that supports multiple OSes using Restore, which is open source and one that features a web admin-like page for backup management. - [The best free software](https://antonperez.com/2008/03/04/the-best-free-software/) - Check out PC Mags's comprehensive list of the best free software for your computer. It includes apps for Windows, Mac OS X, Linux, and mobile; also has some interesting hardware choices. - [Circuit City $10 off on $50](https://antonperez.com/2008/02/11/circuit-city-10-off-on-50/) - I always never buy anything without a coupon - especially when buying through the web - so with that in mind, here's one I found for Circuit City. (Take note that you'll need a store and transaction code from a previous receipt.) - [PowerShell: Rename file’s file extension](https://antonperez.com/2011/06/15/powershell-rename-files-to-lowercase/) - 1. Open PowerShell 2. CD into directory to work on 3. Execute the following command: get-childitem * -recurse | rename-item -newname { $_.name -replace ".txt",".bcp" } - [5 dangerous things you should let your kids do](https://antonperez.com/2008/01/10/5-dangerous-things-you-should-let-your-kids-do/) - Here's a presentation video by Gever Tulley, founder of the Tinkering School, on 5 dangerous things you should let your kids do; for example, let your children own a pocket knife, and let them play with fire. His argument is that when we allow our children to explore, it "will make them stronger and smarter - [Google Maps now enhanced with weather info](https://antonperez.com/2008/01/15/google-maps-now-enhanced-with-weather-info/) - Google is really a juggernaut, innovative, technology-making machine. It's Google Maps website now includes The Weather Channel to give consumers more info. Is that awesome or what?! To use the feature, simply click on the Google Maps' My Maps tab and select The Weather Channel feature to begin exploring. Below are some screenshots. - [Microsoft Customer Support calls back 10 years later](https://antonperez.com/2008/01/15/microsoft-customer-support-calls-back-10-years-later/) - You read the title right. A customer worried about Y2K had placed a call to Microsoft tech support 10 years ago, but only got a call back on 1/8/08. This is nuts! Here's the explanation: The customer called on 1/7/98, and the rep noted a call back for the next day. Unfortunately, however, rather than - [RIP Dr. Antonio P. Perez Sr., 1925-2008](https://antonperez.com/2008/01/16/rip-dr-antonio-p-perez-sr-1925-2008/) - My grandfather, who is like my father as he brought me up, passed away on January 16, 2008 at 12:30 PM. He was 82 years old, and is survived by his wife, Dra. Aurora Padolina-Perez, three children, and grandchildren. He was a kind, hard-working, inspiring person and brilliant physician. I will miss him terribly. Please - [Time stops at Grand Central](https://antonperez.com/2008/02/06/time-stops-at-grand-central/) - Check out this video - pretty cool. It was an event organized by a group called Improv Everywhere. - [Nine Inch Nails free music download](https://antonperez.com/2008/03/04/nine-inch-nails-free-music-download/) - I normally don't post anything that isn't technical, but 2008 may be a different year. It's probably about time to make it more personal - something that I've been itching to do since the very beginning of my blog/site. So here goes the first (I think) one of such posts. You can download via torrent - [Inefficiency of Philippine Consulate in Los Angeles](https://antonperez.com/2008/03/05/inefficiency-of-philippine-consulate-in-los-angeles/) - There was a need for me to obtain an affidavit and power of attorney document from the Philippine Consulate in Los Angeles for my upcoming 3-week trip to the Philippines. So on February 28, 2008, I went, filled out and paid the fees, and was told to come pick it up on March 3, 2008, - [Current @Home-like projects](https://antonperez.com/2008/03/05/current-home-like-projects/) - Here's an article I found on the Discover Magazine website that talks about 14 currently on-going @Home-like projects. Remember SETI@Home? Apparently, it's still going. - [Exponential aging from chronic stress](https://antonperez.com/2008/03/07/exponential-aging-from-chronic-stress/) - Sad thing what politics - or for that matter, jobs that cause unhealthy stress - can do to a man...take Tony Blair, for example. From the BBC, here are pictures of him, showing how he has aged in 10 years. Yes, he is successful; yes, he is wealthy, but whoa, he's aged a lot! In - [iPhone and Exchange](https://antonperez.com/2008/03/06/iphone-and-exchange/) - Interesting news from Apple (read: Steve Jobs): the iPhone now supports Microsoft Exchange. Pretty cool. Too bad I'm stuck in a 2-year contract. But it's okay, as I'd rather wait for the nth generation of the iPhone that I know will have more features and will have been tried-and-tested. Let's see how this pans out - [Cool sketch program from MIT](https://antonperez.com/2008/03/07/cool-sketch-program-from-mit/) - MIT calls it Assist Sketch Understanding System and Operation. As the video description states, you need to see it to understand it. Very cool... It's not a free program, but there is a free app called Phun that is somewhat similar. - [You're never too old to rock](https://antonperez.com/2008/03/09/youre-never-too-old-to-rock/) - Meet Buster Martin. At 101 years old, he's a rock star, a marathon runner, and a counselor to the young for FHM magazine. Check out this video where Pete Townsend's My Generation song is remaked. - [Third-person visualization for success](https://antonperez.com/2008/03/09/third-person-visualization-for-success/) - Here's a great article I highly recommend you read. It's only 3 paragraphs long, but is a must-read. What the article comes down to is when one visualizes his/herself from a third-person perspective (like watching a movie), he/she will more likely achieve greater things. - [Firefox Mouse Gestures add-on](https://antonperez.com/2008/03/10/firefox-mouse-gestures-add-on/) - If you want less movements to go back/forward, open/close tabs, and open links with your browser, you'll need to get this Firefox plugin called Mouse Gestures to do so. Personally, it's already cut wasted time at work. Here are the commons gestures I use: Closes tab or window: write L Back to previous page: write - [US, UK and friends have cyber-war party](https://antonperez.com/2008/03/10/us-uk-and-friends-have-cyber-war-party/) - From The Register: Business and government leaders from the US, UK and three other countries will spend much of this week simulating and defending against a large-scale cyber attack in an exercise designed to strengthen coordinated responses to what many perceive as a growing threat. The exercises are designed to sharpen and assess participants' ability - [PowerShell: Rename file to lowercase](https://antonperez.com/2011/06/15/powershell-rename-file-to-lowercase/) - 1. Open PowerShell 2. CD into directory to work on 3. Execute the following command: get-childitem * -recurse | rename-item -newname { $_.name.ToLower() } - [Virtual barber shop](https://antonperez.com/2008/04/19/virtual-barber-shop/) - Thanks to my son, Gelo. Amazing, realistic audio...not to mention the quality. Enjoy! - [Save YouTube videos into your iPod](https://antonperez.com/2008/04/23/save-youtube-videos-into-your-ipod/) - After 4 years, my trusty 4th gen 40gb iPod (grayscale) died on me. Thankfully, the Apple store is currently offering 10% off on new iPod's if you recycle your old one...So I got the 6th gen 80gb Classic and I love it! There are two things you'll need to download YouTube videos. I myself use - [Bill Clinton wondering what he got himself into](https://antonperez.com/2008/04/24/bill-clinton-wondering-what-he-got-himself-into/) - The picture below says it all. - [New iMac offers faster processors](https://antonperez.com/2008/04/28/new-imac-offers-faster-processors/) - Apple officially updated its iMac consumer desktop computer today, adding faster processors and a more powerful graphics option for the 24-inch model. For the processor, you can now choose between: 2.4GHz, 2.66GHz, 2.8GHz, or 3.06GHz Intel Core 2 Duo processor (special order). And the 24-inch model can now include either an ATI Radeon HD 2600 - [Windows XP SP3 delayed](https://antonperez.com/2008/04/29/windows-xp-sp3-delayed/) - As reported by Techwatch: according to a post on Microsoft's Windows XP SP3 forum by Chris Keroack, release manager for Windows serviceability, the delay is in place to "make sure customers have the best possible experience." - [Red face and bloodshot eyes when drinking alcohol](https://antonperez.com/2008/04/30/red-face-and-bloodshot-eyes-when-drinking-alcohol/) - I'm Filipino-American and feel cursed...when it comes to drinking alcohol. After a bottle of beer, my face turns red and my eyes are bloodshot. Since I can remember I've always been like this, and to tell you the truth, I feel embarrassed when it happens. This is why I like hanging out in dark places - [Convert YouTube videos into MP3](https://antonperez.com/2008/04/30/converti-youtube-videos-into-mp3/) - A few posts ago I showed how to Save YouTube videos into your iPod. But what if you simply want the audio? Well you're in luck. A website just popped up that allows you to do just that: FLV.TO It's easy and simple to use. 1. You can either enter the YouTube URL or upload - [I'm past my 6th month](https://antonperez.com/2008/05/01/im-past-my-6th-month/) - ...of not smoking. Wahoo! Congratulations to me! - [PowerShell: Deleting entire lines in a text file based on a partial string match](https://antonperez.com/2011/07/11/powershell-deleting-entire-lines-in-a-text-file-based-on-a-partial-string-match/) - PS C:\workspace> (gc “fileToParse.txt”) -notmatch "" | out-file "resultFile.txt" Note: , for example, “not". - [Sing Ken Lee](https://antonperez.com/2008/03/18/sing-ken-lee/) - I wonder why she didn't check out the lyrics either online or at a music store first? Anyway, enjoy! - [The first rule of programming: It's always your fault](https://antonperez.com/2008/03/21/the-first-rule-of-programming-its-always-your-fault/) - Interesting read of an article by Jeff Atwood. - [Fix for installation failure of KB946691 for Office 2k7](https://antonperez.com/2008/04/08/fix-for-installation-failure-of-kb946691-for-office-2k7/) - I use Microsoft Office 2007 Enterprise edition and recently saw this error in the System event log: Installation Failure: Windows failed to install the following update with error 0x8007006e: Update for the 2007 Microsoft Office System (KB946691). For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Microsoft's Support site says that the cause is - [Masquerade your e-mail address](https://antonperez.com/2008/04/04/masquerade-your-e-mail-address/) - The folks at Carnegie Mellon University created an application called MailHide that will assist you in masquerading your e-mail address from spammers. What it does is it only shows your e-mail address partially, like your...@domain.com. And if someone wants/needs to obtain your complete, true e-mail address, they can by solving two CAPTCHAs ((Completely Automated Public - [Philippines zip code directory](https://antonperez.com/2008/03/27/philippines-zip-code-directory/) - I've been shipping a lot of stuff to the Philippines lately and found myself needing the zip code I was sending to every time. Luckily, I found this site that, I think, someone out there may find useful. Have a good one. - [Car advertising wars](https://antonperez.com/2008/04/19/car-advertising-wars/) - [Real world website architectures](https://antonperez.com/2008/04/23/real-world-website-architectures/) - Here's an awesome website that presents the infrastructure (servers, DBs, etc.) of major sites like Google and YouTube. - [Windows XP SP3 unofficially available for download](https://antonperez.com/2008/04/24/windows-xp-sp3-unofficially-available-for-download/) - It's slated to be officially released on Monday, but you can get it from MajorGeeks and Softpedia if you can't wait. Proceed with caution though. =0) - [Top twenty programming languages](https://antonperez.com/2008/04/24/top-twenty-programming-languages/) - According to TIOBE Software, the following are the top twenty programming languages (as of April 2008): The table data above is part of the Programming Community Index, which measures the popularity of programming languages based on their web presence. Related article: Are C and C++ Losing Ground? - [Microsoft's forensic USB thumb drive](https://antonperez.com/2008/04/29/microsofts-forensic-usb-thumb-drive/) - Here's an interesting article on the Seattle Times website about a small plug-in device that Microsoft "quietly distributed to a handful of law-enforcement agencies." Dubbed the COFFEE (Computer Online Forensic Evidence Extractor), it contains "150 commands that can dramatically cut the time it takes to gather digital evidence, which is becoming more important in real-world - [A new generation of Tetris](https://antonperez.com/2008/04/29/a-new-generation-of-tetris/) - Who would've known Tetris could be played by real human-beings. - [Yahoo! not to be Microsoft's](https://antonperez.com/2008/05/04/yahoo-not-to-be-microsofts/) - I posted back in February 1, 2008 regarding the news of Microsoft's bid to acquire Yahoo! Well, that apparently has fallen apart, as Microsoft has officially retracted their offer. Read Microsoft Withdraws Proposal to Acquire Yahoo!. - [5 sources for free education on computer technology](https://antonperez.com/2008/05/07/5-sources-for-free-education-on-computer-technology/) - There are free online courses you can take to enhance your knowledge on computers and technology. So if you're interested, it's listed on the Education Portal. The sites, in summary, are: MIT, University of California at Berkeley, About.com, HP Learning Center, and Goodwill Community Foundation. - [The Restaurant](https://antonperez.com/2008/05/07/the-restaurant/) - Thanks to Will Chou, my friend and co-worker for sharing this. Enjoy! First, take the tram up to the start of the trail.Now follow the path.Be sure to hold on to the 'railing'.Keep an eye on the person in front of you.Be very careful when passing someone going in the opposite direction.Now just up a - [Happy PI day](https://antonperez.com/2008/03/14/happy-pi-day/) - At 1:59 PM today it will be PI Minute - 3/14 1:59: We're a lucky generation, as it'll be about 1,133 years and two months until the next PI day. - [Read PDF files on your iPod](https://antonperez.com/2008/05/08/read-pdf-files-on-your-ipod/) - With 4 steps, you can read PDF files on your iPod. To do so: 1. Open the PDF document in Adobe Reader and save it as a text file. 2. Upload the text file to either eBookhood.com (my first choice) or iPod Notes Packager to convert it to Notes format, then download the converted file - [MacFreePOPs 2.5 update available](https://antonperez.com/2008/05/28/macfreepops-25-update-available/) - If you're a Mac user that uses MacFreePOPs for your e-mail, you should download and install the latest update. It's here. Enjoy! - [PowerShell: Extracting certain lines in any file](https://antonperez.com/2011/10/28/powershell-extracting-certain-lines-in-any-file/) - I had quite a large file that I needed to parse, and the challenge was to extract certain lines that didn’t match a certain condition. The solution . . . PowerShell, like so: select-string -path filename -notmatch "criteria" | foreach {$_.line} | out-file -filepath filename -encoding ascii That’s it! - [Pledge to download Firefox 3 on download day](https://antonperez.com/2008/06/02/pledge-to-download-firefox-3-on-download-day/) - [Filipino Joke: Chinese Names](https://antonperez.com/2008/06/05/filipino-joke-chinese-names/) - Disclaimer: If you're not Filipino, you may not understand nor get the humor of this. If so, please move on. =0) Here are recently registered Chinese baby names born in the Philippines: Born during the night = Andy Lim Born blind = Kenneth Sy Born being swindled = Lino Co Born while cooking = Nilo - [The importance of volume in automated software testing](https://antonperez.com/2008/06/05/the-importance-of-volume-in-automated-software-testing/) - There's a good article called The Importance of Volume in Automated Software Testing for you load testing folks. - [Gas is too expensive](https://antonperez.com/2008/06/09/gas-it-too-expensive/) - Click on the image below to see how high gas prices is impacting the country. Holmes County, Miss. and and Wilcox County, Ala. are being hit the hardest with 15.6% and 16.0% respectively being spent on gasoline. Mono County, Calif. shows an average of $4.79 a gallon. I wonder how folks in Buffalo County, S.D. - [Firefox 3.0 record breaker sets the date](https://antonperez.com/2008/06/12/firefox-30-record-breaker-sets-the-date/) - Mozilla has finally set a date for the official launch of Firefox 3, which open sourcers hope will set a world record for most ever downloads in a day. Firefox 3.0 will be ready for download next Tuesday, June 17. But the big day, dubbed Download Day, could be delayed if a serious bug is - [Firefox 3.0 download certified](https://antonperez.com/2008/06/18/firefox-30-download-certified/) - Joining the millions of Firefox supporters on Download Day 2008, I've been certified! Wahoo! You can get yours here. Peace! - [Farewall Bill Gates](https://antonperez.com/2008/06/27/farewall-bill-gates/) - Today Microsoft Chairman Bill Gates finally bid farewell to his "baby" in an emotion-filled ceremony. You can check out his top ten greatest hits and misses of the Microsoft years and Bill Gates: Beginning to billionaire for more about him. Farewell big guy and good luck with your foundation! - [Visual Studio 2010 access denied on “Publish”](https://antonperez.com/2012/02/08/visual-studio-2010-access-denied-on-publish/) - I was getting the errors below when publishing to a file system: Connecting to C:\inetpub\wwwroot\webapp... Transformed Web.config using Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config. Copying all files to temporary location below for package/publish: obj\Debug\Package\PackageTmp. Publishing folder /... Unable to add 'Web.config' to the Web site. Unable to add file 'Web.config'. Access is denied. Publishing folder Account... Publishing folder - [The Internet's under the sea fiber optic cables](https://antonperez.com/2008/06/27/the-internets-under-the-sea-fiber-optic-cables/) - Here's a diagram (on the Guardian website) showing the fiber optic cables under the sea that connects the world together. Very interesting! - [Cook Adobong Manok American style](https://antonperez.com/2008/06/27/cook-adobong-manok-american-style/) - Disclaimer: If you’re not Filipino, you may not understand nor get the humor of this. If so, please move on. =0) Travis Kraft in...American Adobo. - [How-to: Uninstall PowerShell](https://antonperez.com/2008/06/30/how-to-uninstall-powershell/) - I'm posting this for archival purposes, as I had to figure it out myself... Windows PowerShell doesn't appear in Add/Remove Programs nor is there an uninstall shortcut in the Programs menu. So the way to do it uninstall is to check the Show updates option in Add/Remove Programs. Peace! \m/ - [How-to: Outlprnt error when printing from Outlook 2007 calender](https://antonperez.com/2008/07/01/how-to-outlprnt-error-when-printing-from-outlook-2007-calender/) - I tried printing an Outlook 2007 calender entry memo style for a meeting, but received this error: Unable to save the printer settings. Make sure the file C:\Document and Settings\username\Application Data\Microsoft\Outlook\Outlprint is not missing or write protected. I found a KB article pointing to a solution: KB253966; however, I found that in my profile I - [How-to: Unable to cast object Microsoft VisualStudio TestTools UnitTesting TestConfiguration](https://antonperez.com/2008/07/02/how-to-unable-to-cast-object-microsoftvisualstudiotesttoolsunittestingtestconfiguration/) - I was getting this error when running one of my unit tests: Unit Test Adapter threw exception: The type initializer for 'Microsoft.VisualStudio.TestTools.UnitTesting.TestConfiguration' threw an exception.Unable to cast object of type 'Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection' to type 'Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection'. The issue was due to a versioning problem in the .config file (I upgraded to VS 2008). The section that you'll - [Car Brands: Who owns what](https://antonperez.com/2008/07/25/car-brands-who-owns-what/) - Interesting list...check it out here. As examples: Toyota Motor Corporation Toyota also owns: 51% of Daihatsu, 20% of Fuji Heavy Industries (Subaru), and 6% of Isuzu. Nissan Motor Company (Japan) Renault owns 44% of Nissan. Nissan also owns: 15% of Renault. - [Brilliant boy concert pianist](https://antonperez.com/2008/07/28/brilliant-boy-concert-pianist/) - [Adding whitespace in your WordPress posts](https://antonperez.com/2008/08/04/adding-whitespace-in-your-wordpress-posts/) - Here's a how-to in adding whitespace in your Wordpress posts, as the WordPress system currently wipes them out: For a blank line: For a double blank line: For an indented beginning (or any other space formatting), format the text in a simple text editor, enclose it in the following code, then copy-paste the whole: - [Creating a favicon in WordPress](https://antonperez.com/2008/08/06/creating-a-favicon-in-wordpress/) - You've probably noticed some websites having an image in the address bar, like so: These are called favicons (short for "favorites icon") and in this post I'll show you how to add one into your website. Create an image you want to represent your website (most likely you already have a logo for your blog). - [WordPress plugin to create Google XML-Sitemaps](https://antonperez.com/2008/08/06/wordpress-plugin-to-create-google-xml-sitemaps/) - Here's a WordPress plugin that will create an XML-Sitemap that can greatly enhance your website's presence, which is supported by Ask.com, Google, Yahoo! and MSN Search. Here are also some links to help you with SEO (Search Engine Optimization) ranking: http://www.google.com/support/webmasters http://search.yahoo.com/info/submit.html http://about.ask.com/en/docs/about/webma... http://search.live.com/docs/submit.aspx Hope you find this post helpful. - [Computer nerd quotes](https://antonperez.com/2008/08/07/computer-nerd-quotes/) - I just had to post these computer nerd quotes. Once you [geeks] read them, it'll make sense. Never trust a computer nerd who doesn't have their own domain. Michael Horowitz User, n. The word computer professionals use when they mean idiot. Dave Barry Computer Science is no more about computers than astronomy is about telescopes. - [The stories behind each car brand's logo](https://antonperez.com/2008/08/08/the-stories-behind-each-car-brands-logo/) - Here's an interesting article by AutoLemming. "All brands of cars have a story, and logos are those that bear them in history. In this article we present the most popular auto logos of the world." For example: Toyota The Toyota logo contains three ellipses which represent the heart of the customer, the heart of the - [StumbleUpon database failure error](https://antonperez.com/2008/08/12/stumbleupon-database-failure-error/) - It seems StumbleUpon has recently been getting the "slashdot" effect: What's with the username-password info? And the ton of arrays? - [Gmail back in service after outage](https://antonperez.com/2008/08/12/gmail-back-in-service-after-outage/) - It seems the Gmail service went down today. And in response to a request for an explanation about the problem, Google sent the following statement to InternetNews.com: Since about 2 p.m. Pacific Time today, many Gmail users have been unable to access their email. We are very sorry for this interruption in service. The issue - [Disappearing car door](https://antonperez.com/2008/08/13/disappearing-car-door/) - Well, really, it's a door the retracts under (or into) the car frame. Check out this video and enjoy. - [WordPress adds support for Google Gears](https://antonperez.com/2008/08/13/wordpress-adds-support-for-google-gears/) - When I logged into my WordPress-driven website, I noticed a new link called Turbo on the top left: Clicking it brought this up: Like Google Docs and Remember the Milk, it essentially is using Google Gears to speed up page load time of WordPress’ images, scripts, and CSS files. So what is Google Gears? According - [Portable cell phone jammer](https://antonperez.com/2008/08/14/portable-cell-phone-jammer/) - I found this on the GeekAlerts website: Very cool but expensive - it's around $246! It, however, can be very useful when watching a movie in the theaters. - [Western Spaghetti stop motion video](https://antonperez.com/2008/08/15/western-spaghetti-stop-motion-video/) - A very well made stop motion video. Check it out to see what I mean. - [Farting preacher and his wife](https://antonperez.com/2008/08/15/farting-preacher-and-his-wife/) - This is most likely fake, but hilarious enough to show you all. And here's his wife: - [How to fit in a development team](https://antonperez.com/2008/08/18/how-to-fit-in-a-development-team/) - Here's a great article by James Carr on how today's software developer needs more than just whipping up code. The bottom line: Be a respectful team player. - [Intro to Google's Android](https://antonperez.com/2008/08/19/intro-to-googles-android/) - [My pragmatic programmer goals](https://antonperez.com/2008/08/27/my-pragmatic-programmer-goals/) - In light of Tip 8: Invest Regularly in Your Knowledge Portfolio in The Pragmatic Programmer: From Journeyman to Master, I'm adding/copying these bullet points [from the book] for archival and sharing purposes. Here goes: Learn at least one new language every year. Different languages solve the same problems in different ways. By learning several different - [PowerShell Pack](https://antonperez.com/2012/02/09/powershell-pack/) - In case you didn’t know, PowerShell has a pack that offers add-on goodies. Get it at: http://archive.msdn.microsoft.com/PowerShellPack/Release/ProjectReleases.aspx?ReleaseId=3341 - [“Cannot add duplicate collection entry of type…” error in IIS 7/7.5](https://antonperez.com/2012/02/09/cannot-add-duplicate-collection-entry-of-type-error-in-iis-77-5/) - I came across an “HTTP Error 500.19 – Internal Server Error” error when trying to access a static page on IIS 7 running on Windows 2008 Server. So, here’s what I did that fixed the issue: 1. Checked the event logs first and saw this: 2. Checked out the ISAPI Filters of the “Default Web - [Mineral oil submerged computer](https://antonperez.com/2008/08/16/mineral-oil-submerged-computer/) - This is nothing new, but believe it's still worthwhile to share. Enjoy! - [mDNSResponder errors on MacBook Pro](https://antonperez.com/2008/08/16/mdnsresponder-errors-on-macbook-pro/) - I've been encountering continious wifi connection issues for a while now (6 months at least), specifically, my MacBook Pro would lose connection but when I turn the Airport off then on it would be OK. So many, many months ago I did some research and found it to be due to the AirPort Extreme Update - [First preview of Google's Android phone](https://antonperez.com/2008/08/18/first-preview-of-googles-android-phone/) - I want one! I'll most likely forego the iPhone and get a Google phone instead - I mean I can make my own apps! Full control! - [Brain magic](https://antonperez.com/2008/08/26/brain-magic/) - Here's an entertaining video of "how our brains can fool our bodies" in Talks Keith Barry: Brain magic. The video is hosted on one of my favorite learning websites, TED. Enjoy! - [Earth Clock](https://antonperez.com/2008/08/28/earth-clock/) - Watch the world's population and environmental stats in (somewhat) real-time. Disclaimer: Found this through the EcoSource Blog and developed by Poodwaddle.com. [kml_flashembed movie="http://www.poodwaddle.com/earthclock.swf" height="350" width="440" /] - [Google Chrome](https://antonperez.com/2008/09/02/google-chrome/) - [First Google Android phone](https://antonperez.com/2008/09/03/first-google-android-phone/) - This could very well be the first Google (Android) phone. We'll have to wait and see. In any case, I can't wait! - [T-Mobile and Google Android phone](https://antonperez.com/2008/09/17/t-mobile-and-google-android-phone/) - I knew it! Now I won't have to switch to AT&T to get a cool phone. Wahoo! The handset made by HTC promises to reinvigorate the smart phone market and to provide a mobile application platform to rival Apple's iPhone. T-Mobile has made it official: It plans to introduce the first mobile phone running Google's - [Must-have iPhone traffic app](https://antonperez.com/2012/02/13/must-have-iphone-traffic-app/) - The built-in Apple Maps app is just lacking and annoying to use, don’t you think? Well, there’s an app I’ve been using called Waze and, so far, I’m impressed with how accurate it calculates and recalculates the ETA to your destination. On top of that, it’s smart enough to change it’s route based on traffic. - [American Idol: Symone Black](https://antonperez.com/2012/02/13/american-idol-symone-blavk/) - She's the woman who fell on stage during Hollywood Week Part 1. What are the writers/producers thinking? Yeah, I know such events create controversy, but kids are watching! Low blow, Fox . . . low blow . . . - [Windows 7 Media Center: Netflix "Authorization Failure" error](https://antonperez.com/2012/02/14/windows-7-media-center-netflix-authorization-failure-error/) - In case you're having an issue watching Netflix through Windows Media Center because of an "Authorization failure..." error, try the following (it worked for me): 1. Exit Media Center. 2. Open Internet Explorer and click Tools and then Internet Options. 3. Click the Delete button – check all of the check-boxes and then click the - [Unrecognized self-signed SSL certs](https://antonperez.com/2012/02/23/unrecognized-self-signed-ssl-certs/) - Found this on stackoverflow after I had issues with an SSL (self-signed) certificate on a client machine – it still didn’t work even after installing the cert via the browser. The fix, in addition to installing the actual certificate, was to add the Certificate Authority on the client machine. On the web server: Win+R, MMC, - [How to add box.net as a local drive](https://antonperez.com/2012/02/27/how-to-add-box-net-as-a-local-drive/) - 1. Press the Windows key + E or go to the Start menu, right-click on Computer and select Open. 2. Right-click on Computer again and select Add A Network Location, which will prompt the respective wizard. 3. Click Next on the welcoming screen. 4. Then select the second option, Choose a custom network location. And - [Google Voice voicemail set up on your iPhone](https://antonperez.com/2012/02/28/google-voice-voicemail-set-up-on-your-iphone/) - To activate Google Voice voicemail on your iPhone, dial the following: *004*1your_number# To deactivate and return to your carrier’s voicemail, dial the following: ##004# - [iPhone 4 fix when "Home" button not working](https://antonperez.com/2012/03/01/iphone-4-fix-when-home-button-not-working/) - I purchased my iPhone 4 around July of 2010, so it's almost 2 years old. It's been rock-solid until about a month ago when the "Home" button was working intermittently (i.e. pressing it didn't activate the phone); tried hard-resetting many times, doing restores, etc., without success. What fixed it was merely: 1. Get a dust - [Remotely reboot Linksys WRT54G](https://antonperez.com/2012/03/02/remotely-reboot-linksys-wrt54g/) - I had the need the reboot my Linksys WRT54G router remotely. Unfortunately, the web interface is not like DD-WRT where a reboot button is available; however, there IS a hidden page. 1. Login into the web admin page, which is by default: http://192.168.1.1. 2. Add reset.htm, as in http://192.168.1.1/reset.htm. 3. Click "Yes" to reboot. 4. - [Configure IIS to allow downloading .dat files](https://antonperez.com/2012/03/08/configure-iis-to-allow-downloading-dat-files/) - Note: This is for IIS 6.0. Open IIS Manager. Browse to the IIS Site or subfolder where the .DAT files are Right-click on that site or subfolder and select Properties Select the HTTP Headers tab Click on the MIME Types button In the extension box, type ".dat” In the MIME Type box, type "application/octet-stream" Click - [Excel: Insert multiple rows every other row](https://antonperez.com/2012/03/12/excel-insert-multiple-rows-every-other-row/) - The key is to use a macro. To do so, hit Alt+F11, then create a new macro and add the code below. Once added, select the worksheet you’d like to process, change the “17” below (1 if to process all rows), then run it. That’s it. Sub Insert_Blank_Rows() Dim Last As Integer, oRow As - [soapUI random data cheat sheet](https://antonperez.com/2012/03/14/soapui-random-data-cheat-sheet/) - Adding for my own archival purposes: Date - ${=String.format('%tF', new Date() + 1)} GUID – Guid_${=(int)(Math.random()*100000000)} - [iPad: Junos Pulse VPN connection problem fix](https://antonperez.com/2012/03/20/ipad-junos-pulse-vpn-connection-problem-fix/) - Using Junos Pulse with RDP, I was having “disallowed connection” issues when connecting to through the VPN at my work (via Juniper/Network Connect). Apparently, it wasn’t any config issues on my iPad, rather, my VPN account had to be included in the “Network Connect” role/group. So, if you’re having this issue, talk to your network/sys - [App/File Manager for iPhone, iPad and iPod](https://antonperez.com/2012/03/23/appfile-manager-for-iphone-ipad-and-ipod/) - Adding this for archival purposes (so I can refer to it in the future). I’ve used it and it works great and what’s nice about it is it’s a stand-alone, no-need-to-install, app. http://www.i-funbox.com/ Go get it! - [Switching Netflix account on Wii](https://antonperez.com/2012/03/25/switching-netflix-account-on-wii/) - Here are the steps that you need to do to switch the account. 1. From the Wii home screen click on round "Wii" (Options) button in bottom left corner 2. Click "Data Management" 3. Click "Save Data" 4. Click "Wii" 5. Find "Netflix Channel" (red square with letter N), click on it, select "Erase" and then confirm - [Reinvention of Rock, Paper, Scissors](https://antonperez.com/2012/04/12/reinvention-of-rock-paper-scissors/) - For the geeks out there. :) - [Twitter forbidden](https://antonperez.com/2012/04/12/twitter-forbidden/) - [Show hidden files on OS X Lion](https://antonperez.com/2012/07/24/show-hidden-files-on-os-x-lion/) - To enable hidden files/folders in finder windows: Open Finder Open the Utilities folder Open a terminal window Copy and paste the following line in: 1 defaults write com.apple.Finder AppleShowAllFiles YES Press return Now hold ‘alt’ on the keyboard and right click on the Finder icon Click on Relaunch - [Eclipse error when adding Python Lib on OS X Lion](https://antonperez.com/2012/08/01/eclipse-error-when-adding-python-lib-on-os-x-lion/) - When I tried creating my first PyDev project in Eclipse on OS X Lion, I was asked to configure my interpreter as it was not listed. And when I did the "Auto Config" option, it came be with the following error: "Error: Python stdlib not foundIt seems that the Python /Lib folder (which contains the - [Subclipse Error in Eclipse: "Failed to load JavaHL Library"](https://antonperez.com/2012/08/07/eclipse-on-os-x-lion-failed-to-load-javahl-library/) - Just in case you get the error above with Eclipse when accessing an SVN repository via Subclipse on OS X Lion, do the following: 1. Install MacPorts (make sure you have Xcode and the command line tools). 2. Run the following in terminal: sudo port install subversion-javahlbindings - [Completely remove Python 2.7 on OS X Lion](https://antonperez.com/2012/08/10/completely-remove-python-2-7-on-os-x-lion/) - Simple. Here are the steps: 1. Remove the Python 2.7 framework sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 2. Remove the Python 2.7 applications directory sudo rm -rf "/Applications/Python 2.7" 3. Remove the symbolic links in /usr/local/bin - [Automatically update locate DB in OS X](https://antonperez.com/2012/08/10/automatically-update-locate-db-in-os-x/) - Pretty straightforward, simply add the following in your .bash_profile: alias locate='if [ $((`date +%s`-`eval $(stat -s /var/db/locate.database); echo $st_mtime`)) -gt 3600 ]; then echo "locate: db is too old!">/dev/stderr; sudo /usr/libexec/locate.updatedb; fi; locate -i' Note: Run source ~/.bash_profile to reload. - [Uninstall HomeBrew on OS X Lion](https://antonperez.com/2012/08/13/uninstall-homebrew-on-os-x-lion/) - In the terminal: cd `brew —-prefix` rm -rf Cellar brew prune rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew rm -rf ~/Library/Caches/Homebrew - [Reset MySQL Password on OS X Lion](https://antonperez.com/2012/08/14/reset-mysql-password-on-os-x-lion/) - In case you forgot or didn't set the password for "root," do the following: 1. Create a file called mysql-init with the following entries (I placed mine in my home directory): UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; FLUSH PRIVILEGES; 2. Make sure mysqld is not running (i.e. terminal > ps -ef | grep mysql) 3. - [MySQL: "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)"](https://antonperez.com/2012/08/14/mysql-cant-connect-to-local-mysql-server-through-socket-tmpmysql-sock-38/) - To fix it, try the following: 1. In the terminal, run 'touch /tmp/mysql.sock'. 2. Restart mysql. - [Python: Send e-mail to multiple recipients using Gmail SMTP](https://antonperez.com/2012/08/16/python-send-e-mail-to-multiple-recipients-using-gmail-smtp/) - Below is the method I used.def SendEmail(content): gmailUser = 'me' password = 'password' recipients = ['you1', 'you2', 'you3' ] msg = MIMEMultipart('alternative') msg['Subject'] = 'Subject' msg['From'] = - [Free PDF to mobi or epub converter](https://antonperez.com/2012/08/16/free-pdf-to-mobi-or-epub-converter/) - I have a Kindle and love it, so archiving and sharing this awesome app. Cool thing is it's available on multiple platforms."calibre is a free and open source e-book library management application developed by users of e-books for users of e-books. It has a cornucopia of features divided into the following main categories." - [Zip and password-protect any file via OS X's Terminal](https://antonperez.com/2012/08/17/zip-and-password-protect-any-file-via-os-xs-terminal/) - Pretty simple -- just do the following:Open Terminal (Applications > Utilities > Terminal)CD to the directory with the file(s) to zip and password-protectType the following and wait: "zip -e archive.zip file1 file2"Note: I zipped my iPhoto Library, so I did "zip -re photos.zip Pictures/". The -r means recursive. - [Change hostname in OS X](https://antonperez.com/2012/08/20/change-hostname-in-os-x/) - From the terminal: sudo scutil --set HostName new_hostname.local. UPDATE: See Change computer name in OS X Yosemite instead. - [Playing with .jar files](https://antonperez.com/2012/08/20/playing-with-jar-files/) - For archival purposes.OperationCommandTo create a JAR filejar cf jar-file input-file(s)To view the contents of a JAR filejar tf jar-fileTo extract the contents of a JAR filejar xf jar-fileTo extract specific files from a JAR filejar xf jar-file archived-file(s)To run an application packaged as a JAR file (version 1.1)jre -cp app.jar MainClassTo run an application packaged as a JAR file - [Ways to check what SMTP server a Linux server is using](https://antonperez.com/2012/08/22/ways-to-check-what-smtp-server-a-linux-server-is-using/) - Quickest way to test is send yourself a blank email from the server, like so in terminal:mail -s "Test" address1@domain.com address2@domain.com < /dev/nullAnother way is and it will tell you what servers handle mail:host your_domain.com Hope this helps. - [Allow Tab key to indent block of code in TextWrangler](https://antonperez.com/2012/08/23/allow-tab-key-to-indent-block-of-code-in-textwrangler/) - After installing TextWrangler, I tried indenting a block of code by highlighting and hitting the Tab key -- didn't work. Apparently, by default, the setting is disabled. To change that behavior, go to Preferences > Keyboard and check "Allow Tab key to indent text blocks," as in the screenshot below. - [Scheduling a task on OS X Lion](https://antonperez.com/2012/08/23/scheduling-a-task-on-os-x-lion/) - After looking through a number of sources on how to schedule a task on OS X Lion, I found out using launchd was the best option, as it will run a missed task as soon as the computer turns on (unlike cron).Things you'll need to setup:1. Create a plist and place it in ~/Library/LaunchAgents. I - [Add color to iTerm and terminal on OS X Lion](https://antonperez.com/2012/08/23/add-color-to-iterm-and-terminal-on-os-x-lion/) - 1. Add the following to your .bash_profile: # Enables color in the terminal bash shell exportCLICOLOR=1# Sets up the color scheme for list exportLSCOLORS=gxfxcxdxbxegedabagacad# Sets up the prompt color (currently a green similar to linux terminal)export PS1='\[3[01;32m\]\u@\h\[3[00m\]:\[3[01;36m\]\w\[3[00m\]\$ '# Enables color for iTermexport TERM=xterm-color# Sets up proper alias commands when calledalias ls='ls -G'alias ll='ls -hl' 2. - [Fix for soapUI freezing on Mac OS X Lion](https://antonperez.com/2012/09/05/fix-for-soapui-freezing-on-mac-os-x-lion/) - soapUI-Pro-4.5.1 kept on freezing on me intermittently on my MacBook Pro. The cause of the problem is the jxbrowser browser component. To fix it, do the following: Close/kill soapUI /Applications/SmartBear/soapUI-Pro-4.5.1.app > Show Package Contents Edit /Applications/SmartBear/soapUI-Pro-4.5.1.app/Contents/Resources/app/bin/soapui-pro.sh Uncomment "JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true" Start soapUI Hope this helps. - [Mounting network folders using SSH on OS X Lion](https://antonperez.com/2012/09/08/mounting-network-folders-using-ssh-on-os-x-lion/) - It's easy as clapping your hands! Just get Macfusion and use the GUI to mount to any *nix-based systems. - [Create random 16-digit number with Groovy in soapUI](https://antonperez.com/2012/09/11/create-random-16-digit-number-with-groovy-in-soapui/) - It's easy as 1, 2, 3. Create a DataGen step with the following: Type = ScriptMode = Read Add the following script: long number = (long) Math.floor(Math.random() * 9000000000000000L) + 1000000000000000L That's it! - [Accepted boolean XML inputs](https://antonperez.com/2012/09/11/accepted-boolean-xml-inputs/) - Adding for archival purposes: http://xformsinstitute.com/essentials/browse/re45.php true, 1, false, 0 are valid. - [Pretty-print XML or jSon via the Terminal in OS X](https://antonperez.com/2012/10/10/pretty-print-xml-or-json-via-the-terminal-in-os-x/) - Simply copy the jSon or XML into your clipboard and then run one of the following: pbpaste | python -m json.tool > formatted.json For XML: pbpaste | xmllint --format - > formatted.xml - [soapUI: How to set an element value from a Groovy script](https://antonperez.com/2012/11/14/soapui-how-to-set-an-element-value-from-a-groovy-script/) - def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context);holder = groovyUtils.getXmlHolder("teststep_name#Request" );holder.setNodeValue( "//element", "value");holder.updateProperty(); - [Restarting a frozen Dock in OS X Lion](https://antonperez.com/2012/11/15/restarting-a-frozen-dock-in-os-x-lion/) - Open Applications > Utilities > Terminal > type killall Dock. Voila! - [Check memory usage of processes in sorted order in Linux](https://antonperez.com/2012/11/21/check-memory-usage-of-processes-in-sorted-order-in-linux-2/) - From the terminal, type: ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more - [Removing certain text in multiple filenames in OS X](https://antonperez.com/2012/12/04/removing-certain-text-in-multiple-filenames-in-os-x/) - I had a large number of ebooks that looked like the following: Walter%20Isaacson%20-%20Einstein_His%20Life%20And%20Universe.mobi And because I'm lazy, I looked for an automated way to clean all of them up. This is how: 1. Back up all your files in another directory2. Launch terminal3. Go to the directory you'd like to perform the changes4. Type: for - [soapUI Error: "ERROR:com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [oracle.jdbc.driver.OracleDriver]](https://antonperez.com/2012/12/10/soapui-error-errorcom-eviware-soapui-support-soapuiexception-failed-to-init-connection-for-drvr-oracle-jdbc-driver-oracledriver-connectionstring-jdbcoraclethinusernameservername152/) - I was encountering the following error in soapUI when one of the test steps was to check the database. com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [com.microsoft.sqlserver.jdbc.SQLServerDriver], connectionString [jdbc:sqlserver://server:port;databaseName=DB name;user=username;password=#####] The issue was because my soapUI installation didn't have the appropriate ODBC jar file. 1. Get it from Oracle 2. Place it in your $SOAPUI/bin/ext - [SVN Fix: Could not use external editor to fetch log message](https://antonperez.com/2012/12/11/svn-fix-could-not-use-external-editor-to-fetch-log-message/) - In case you encounter the following error using SVN -- on my Mac, for me: svn: E205007: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) optionssvn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no - [soapUI: Run each test suite with testrunner.sh](https://antonperez.com/2013/01/07/soapui-run-each-test-suite-with-testrunner-sh/) - I was encountering "permspace" "Out.Of.Memory" errors, and I believe it's because of a memory leak with the UI/Java. In any case, this worked for me: 1. Create a text file with the test suite names -- will automate this soon by "capturing" the names from the XML project file. 2. Loop through it via the - [soapUI: Set a value to NULL](https://antonperez.com/2013/01/15/soapui-set-a-value-to-null/) - Just do the following below. Add the following in the header, like so: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" And then: That's it! - [soapUI: One liner random number Groovy script](https://antonperez.com/2013/02/14/soapui-one-liner-random-number-groovy-script/) - Add the following in a Groovy Script step; for example, called "Random": context.randomValue = String.valueOf((int)(Math.random()*9999999)) Use in request like so: ${Random#result} - [soapUI: Dynamic timestamp](https://antonperez.com/2013/03/12/soapui-dynamic-timestamp/) - Add a property, e.g. currentTimestamp, then add the following: ${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(new Date())} It will create the date in this format: 2013-03-12T11:03:05 Happy SOAP'ing! - [Get a list of TestSuite names in soapUI via Groovy Script](https://antonperez.com/2013/06/12/get-a-list-of-testsuite-names-in-soapui-via-groovy-script/) - Add a Groovy Script test step and add the following: def project = context.testCase.testSuite.project; for (testSuite in project.testSuiteList) { log.info testSuite.name; } - [soapUI: Code snippet notes](https://antonperez.com/2013/07/17/soapui-code-snippet-notes/) - groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) inventorySummaryResponse = groovyUtils.getXmlHolder("getInventorySummary returns quantity 24#Response"); inventorySummaryResponse.declareNamespace("soapEnv", "http://schemas.xmlsoap.org/soap/envelope/" ); inventorySummaryResponse.declareNamespace("ns2", "http://service.unifiedinventory.inventory.ticketmaster.com/" ) inventorySummaryList = inventorySummaryResponse.getDomNodes("//inventorySummary"); int counter; for (inventorySummary in inventorySummaryList) { quantities = inventorySummary.getChildNodes(); for (quantity in quantities){ if (quantity.getNodeName() == "quantity") { for (place in quantity.getChildNodes() ) { if (place.getNodeName() == "place") { if (place.getAttributes().getNamedItem("availabilityStatusId").getNodeValue() == "1") - [How to install No-IP Linux Dynamic Update Client (DUC) on your Ubuntu 12.04 LTS](https://antonperez.com/2013/09/27/how-to-install-no-ip-linux-dynamic-update-client-duc-on-your-ubuntu-12-04-lts/) - Archiving from here. You will be able to install No-IP.com’s DUC in just a few minutes with terminal. Once you have opened up your terminal window you will need to login as the “root” user. You can become the root user from the command line by entering "sudo -s" followed by the root password on - [Install wget on OS X Mountain Lion](https://antonperez.com/2013/10/11/install-wget-on-os-x-mountain-lion/) - From the terminal, do the following: curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.tar.gz tar -xzvf wget-1.13.tar.gz cd wget-1.13 ./configure --with-ssl=openssl make sudo make install - [Apple Extreme 802.11ac: Allow DHCP renewal packets](https://antonperez.com/2014/03/15/apple-extreme-802-11ac-allow-dhcp-renewal-packets/) - I recently purchased an Apple Extreme 802.11ac router, as my trusty, old WRT54G running dd-wrt has finally died. I'm not too happy that this router doesn't support stateful packet inspection -- I need to know what my kids are viewing. Other than that, it's been super easy to setup. Anyway, my AT&T 3600HGV modem is - [XBMC: Source repos](https://antonperez.com/2014/04/11/xbmc-source-repos/) - Adding this for my own personal info. http://fusion.xmbchub.com - Los Movies http://install.mashupxbmc.com - MashUp http://code.google.com/p/anarchintosh-projects/wiki/HowToInstallTheRepository - Ice Films w00t! - [OS X: Corrupted locate database fix](https://antonperez.com/2014/04/23/os-x-corrupted-locate-database-fix/) - In case your locate database gets corrupted, run the following in the terminal: sudo /usr/libexec/locate.updatedb It'll take a while, but you should be running after the rebuild. - [Bypass Google Chrome's "Cannot connect to the real" error](https://antonperez.com/2014/06/11/bypass-google-chromes-cannot-connect-to-the-real-error/) - In case you encounter the error below in Chrome, but you're sure or okay with proceeding to the site, just type "proceed" while on the page and it should take you there. Cannot connect to the real ... Something is currently interfering with your secure connection to vcs.websys.tmcs. Try to reload this page in a - [Update rsync on OS X 10.9.3](https://antonperez.com/2014/06/05/update-rsync-on-os-x-10-9-3/) - Just in case you'd like to update rsync on your Mac -- for example, to do iPhoto incremental back ups -- you can do the following: Download the latest and greatest from http://rsync.samba.org/ftp/rsync/ Run the following command in a terminal window: ./configure && make && sudo make install That's it! Hope this helps. - [Oracle: How to select less or greater than with dates](https://antonperez.com/2014/06/26/oracle-how-to-select-less-or-greater-than-with-dates/) - Coming from a Microsoft/SQL Server world but now into Open Source/Oracle, I didn't know what the syntax was, so here's how: select * from table where column < to_date('6/21/2014 21:50:0','mm/dd/yyyy HH24:MI:SS'); select * from table where column > to_date('6/21/2014 21:50:0','mm/dd/yyyy HH24:MI:SS'); Hope this helps someone out there. Cheers! - [Homebrew: When it fails "brew update"](https://antonperez.com/2014/06/26/homebrew-when-it-fails-brew-update/) - I was getting this when I ran "brew update" after a long time: antonperez-mbpro:~ anton.perez$ brew update Checking out files: 100% (2942/2942), done. Error: undefined method `to_sym' for nil:NilClass Please report this bug: https://github.com/mxcl/homebrew/wiki/troubleshooting /usr/local/Library/Homebrew/cmd/update.rb:112:in `report' /usr/local/Library/Homebrew/cmd/update.rb:110:in `each_line' /usr/local/Library/Homebrew/cmd/update.rb:110:in `report' /usr/local/Library/Homebrew/cmd/update.rb:26:in `update' /usr/local/Library/brew.rb:87:in `send' /usr/local/Library/brew.rb:87 All I did was run it again and it worked. - [CXF logging via interceptors](https://antonperez.com/2014/11/03/cxf-logging-via-interceptors/) - In case you need to see what you're passing to a web service via CXF, add the following in you web client XML (i.e. cucumber.xml): - [Firefox: "You are not authorized to view this page" when connecting to intranet](https://antonperez.com/2014/11/07/firefox-you-are-not-authorized-to-view-this-page-when-connecting-to-intranet/) - In case you get the error below when connecting to your Windows-based intranet using Firefox, here's the fix: 1. In your toolbar, type "about:config 2. Search for "network.negotiate-auth.allow-insecure-ntlm-v1" and set it to "true 3. That's it. When you access the site, it will now ask you to enter your domain creds You are not authorized - [Android: Get rid of Recommended Apps in Notification on Galaxy device](https://antonperez.com/2014/11/10/android-get-rid-of-recommended-apps-in-notification-on-galaxy-device/) - Pretty straightforward; just do the following: Got to Settings Go to Application Manager Select the All tab Select PageBuddyNotiSvc Uncheck Show Notifications Voila! Reference: seo-michael. - [How to get information of your jobs in RunDeck](https://antonperez.com/2014/11/13/how-to-get-information-of-your-jobs-in-rundeck/) - Did you know RunDeck has an API so you can get information about your jobs? Here are a couple of examples: To check the system: /api/1/system/info To see jobs of a project: /api/1/jobs?project= More info at RunDeck API | Version 2. Cheers! - [How to copy file permissions from one to another](https://antonperez.com/2014/12/05/how-to-copy-file-permissions-from-one-to-another/) - chmod `stat -f %A srcFile` dstFile via Non Geek Recipes How to copy file permissions - nongeekrecipes.org. - [Java: Concatenate a string before the last occurrence of any character](https://antonperez.com/2014/12/10/java-concatenate-a-string-before-the-last-occurrence-of-any-character/) - private String addToString(String source, char separator, String toBeInserted) { int index = source.lastIndexOf(separator); if(index >= 0 && index < source.length()) return source.substring(0, index) + toBeInserted + source.substring(index); else return null; } - [Science concepts shown through GIFs](https://antonperez.com/2014/12/19/science-concepts-shown-through-gifs/) - Pretty cool gifs that'll help you understand concepts visually: 20 Gifs That Teach You Science Concepts In Seconds - [Highlight Text In Powerpoint: 5 Creative Ideas](https://antonperez.com/2015/02/01/highlight-text-in-powerpoint-5-creative-ideas/) - Archiving this link as I will definitely use need this in the future. Highlight Text In Powerpoint: 5 Creative Ideas. - [Fix for JAVA_HOME variable in OS X Yosemite](https://antonperez.com/2015/03/19/fix-for-java_home-variable-in-os-x-yosemite/) - In case you upgraded to OS X Yosemite and your JAVA_HOME variable in bash_profile no longer works, change/add the following: export JAVA_HOME=`/usr/libexec/java_home -v 1.7` Then, run source ~/.bash_profile and it should work from there. - [Change computer name in OS X Yosemite](https://antonperez.com/2015/04/01/change-computer-name-in-os-x-yosemite/) - In case you want to rename your computer name in Yosemite, here's what I did in the Terminal to do so: sudo scutil --set ComputerName sudo scutil --set HostName sudo scutil --set LocalHostName hostname -f - [chmod Shortcuts](https://antonperez.com/2015/04/13/chmod-shortcuts/) - Shortcut for 'u' = user; 'g' = group, and 'o' = others. chmod go=rx wordmatic chmod a=rwx calcmatic via chmod Shortcuts. - [When homebrew update fails](https://antonperez.com/2015/04/13/when-homebrewupdate-fails/) - For archival and reference purposes: cd $(brew --prefix) rm Library/Formula/argp-standalone.rb rm Library/Formula/cocot.rb git fetch origin git reset --hard origin/master brew update Note: You might need to do it with "sudo" - [The Only Trait You'll Need to Become a Great Programmer](https://antonperez.com/2015/05/29/the-only-trait-youll-need-to-become-a-great-programmer/) - I started reading “Clean Code” by Robert C. Martin (aka Uncle Bob) and wanted to share my thoughts on Chapter 1, aptly named "Clean Code.” Uncle Bob starts out showing what bad code is and what good code is. I won’t go much into bad code in this post other than a brief example below, and say - [Importing Apple Notes into Evernote](https://antonperez.com/2015/06/29/importing-apple-notes-into-evernote/) - Just copy and paste the following into the Script Editor and viola! tell application "Notes" set theMessages to every note repeat with thisMessage in theMessages set myTitle to the name of thisMessage set myText to the body of thisMessage set myCreateDate to the creation date of thisMessage set myModDate to the modification date of thisMessage - [Maven: How to only execute certain Cucumber tags](https://antonperez.com/2015/07/08/maven-how-to-only-execute-certain-cucumber-tags/) - I needed Maven to only run certain tests that had a specific tag (i.e., @regression). I couldn't easily find information via the Cucumber website, so I'm logging it her for archiving. Note: This command also works in Jenkins via the "Goals and options" section. clean install -Dcucumber.options="--tags @regression" - [osx - Command to unlock "Locked" files on OS X - Super User](https://antonperez.com/2015/07/16/osx-command-to-unlock-locked-files-on-os-x-super-user/) - chflags -R nouchg /PATH/TO/DIRECTORY/WITH/LOCKED/FILES/ Source: osx - Command to unlock "Locked" files on OS X - Super User - [Git: How to rename a branch](https://antonperez.com/2015/07/31/git-how-to-rename-a-branch/) - I created a branch that had the wrong ticket number and already pushed it to the repo, so I needed rename it and keep everything intact. Here's how: git branch -m old_branch new_branch # Rename branch locally git push origin :old_branch # Delete the old branch git push --set-upstream origin new_branch # Push the new - [Debugging the dreaded “SEVERE: Error listenerStart” and “SEVERE: Error filterStart” Tomcat error messages](https://antonperez.com/2015/07/31/debugging-the-dreaded-severe-error-listenerstart-and-severe-error-filterstart-tomcat-error-messages/) - The solution is to add a logging.properties file inside WEB-INF/classes with the following: org.apache.catalina.core.ContainerBase.[Catalina].level = INFOorg.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler Source: Debugging the dreaded “SEVERE: Error listenerStart” and “SEVERE: Error filterStart” tomcat error messages « Trifork Blog / Trifork: Enterprise Java, Open Source, software solutions - [Multiple git pull in one folder containing multiple repository](https://antonperez.com/2015/08/05/multiple-git-pull-in-one-folder-containing-multiple-repository/) - for REPO in `ls`; do (cd "$REPO"; git pull); done; Source: Multiple git pull in one folder containing multiple repository - [Export Evernote entries into Day One](https://antonperez.com/2015/08/17/export-evernote-entries-into-day-one/) - Script that will help you move to Day One from Evernote. I use Day One to do my brain-dumps. If you want to export Evernote Items to Day One, this AppleScript lets you select notes in Evernote and transfer a plain text version directly into Day One. Source: Export Evernote Items to Day One - [IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite](https://antonperez.com/2015/08/19/intellij-idea-pass-m2_home-to-the-ide-on-os-x-yosemite/) - I had issues in Yosemite with IntelliJ always complaining that it couldn't see my M2_HOME variable, even though I had it in my .bash_profile. Turns out that only works in the terminal. In any case, this worked -- I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist - [Installing Tomcat 7 on OS X Yosemite](https://antonperez.com/2015/08/20/installing-tomcat-7-on-os-x-yosemite/) - I needed to install Tomcat 7 on my new MacBook Pro running OS X Yosemite, and I knew I wanted to take advantage of Homebrew. As expected, it was a breeze. In your terminal, do "brew install tomcat7" Type "catalina start" Navigate to http://localhost:8080 In my case, I was running version 7.0.63 with Java 1.8.0.51. - [How to get admin access to Tomcat 7 on OS X Yosemite](https://antonperez.com/2015/08/20/how-to-get-admin-access-to-tomcat-7-on-os-x-yosemite/) - In continuing the path to learn more about Tomcat 7, I had to configured my local instance to give me admin access to the "Server Status," "Manager App," and "Host Manager" pages. It was actually quiet easy. In your terminal, go to /usr/local/Cellar/tomcat7/7.0.63/libexec/conf vim tomcat-users.xml Add the following: - [ActiveMQ error: "java.lang.RuntimeException: javax.jms.JMSException: Invalid version: 6, could not load org.apache.activemq.openwire.v6.MarshallerFactory"](https://antonperez.com/2015/08/24/activemq-error-java-lang-runtimeexception-javax-jms-jmsexception-invalid-version-6-could-not-load-org-apache-activemq-openwire-v6-marshallerfactory/) - I was working on a project that needed to send JMS messages to an Apache ActiveMQ broker that was running an older version, specifically, 5.4.x. It started failing with the error below when I switched to it, but had no issues when it was connecting to another broker running 5.9.0. java.lang.RuntimeException: javax.jms.JMSException: Invalid version: 6, - [My global .gitignore](https://antonperez.com/2015/08/24/my-global-gitignore/) - Adding my .gitignore file so I can look it up in the future. # Eclipse .classpath .project .settings/ # Intellij .idea/ *.iml *.iws # OS .DS_Store *.sw? # Maven log/ target/ And then configure Git to use it globally by: git config --global core.excludesfile ~/.gitignore Voila! - [Git: Create a duplicate branch of master](https://antonperez.com/2015/08/24/git-create-a-duplicate-branch-of-master/) - I worked on upgrading a web service from JDK 1.6 to JDK 1.8 and was successful (that's something I need to write a post on); however, I wanted to make sure I could revert back to pre-1.8 in case it breaks in production. The solution was to create a clone or duplicate of master before - [IntelliJ IDEA: Getting "Fetch failed. Fatal: Could not read from remote repository"](https://antonperez.com/2015/08/25/intellij-idea-getting-fetch-failed-fatal-could-not-read-from-remote-repository/) - In case you encounter this issue, do the following: 1. Preferences > SSH 2. Make sure SSH executable is set to "Native." (If already so, switch to "Built-in," apply it, then switch back to "Native.") 3. Happy fetching! - [Git cheat sheet](https://antonperez.com/2015/08/25/git-cheat-sheet/) - This is a post-in-progress. To revert local commit: git reset HEAD~1 To see what is about to be pushed: git diff --stat --cached origin/master To add to ignored files: git update-index --assume-unchanged Useful commands: git status git log - [IntelliJ IDEA: Create JUnit Test method code snippet shortcut](https://antonperez.com/2015/09/02/intellij-idea-create-junit-test-method-code-snippet-shortcut/) - I've been using IntelliJ over Eclipse for a while now, mainly because it feels newer and more tuned to develop with Maven-based projects. This is just me. Anyway, if you do TDD, you'll want to take advantage of IntelliJ's Live Templates. In this post, I'm writing about adding JUnit test code snippets, like so: @Test - [iTunes: Move backup location to an external hard drive](https://antonperez.com/2015/09/03/itunes-move-backup-location-to-an-external-hard-drive/) - I got a new MacBook Pro with a 256 GB SSD, so not enough storage to back up all of my family's iOS devices, to say the least. The solution was to back up to an external HDD. Here's how to do it: 1. With iTunes closed, open the terminal and cd to ~/Library/Application Support/MobileSync/ - [My Cydia Repo Sources](https://antonperez.com/2015/09/04/my-cydia-repo-sources/) - Add in /etc/apt/sources.list.d/cydia.list: deb http://apt.saurik.com/ ios/847.27 main deb http://repo666.ultrasn0w.com/ ./ deb http://cydia.myrepospace.com/ilexinfo/ ./ deb http://cydia.zodttd.com/repo/cydia/ stable main deb http://apt.xmodgames.com/ ./ deb http://repo.biteyourapple.net/ ./ deb http://repo.hackyouriphone.org/ ./ deb http://cydia.xsellize.com/ ./ deb http://sinfuliphonerepo.com/ ./ deb http://repo.insanelyi.com/ ./ deb http://apt.modmyi.com/ stable main deb http://apt.pwncenter.com/ ./ deb http://apt.thebigboss.org/repofiles/cydia/ stable main Ref for .debs: http://apt.saurik.com/debs/ - [iOS: apt-get command not found](https://antonperez.com/2015/09/05/ios-apt-get-command-not-found/) - In case you're into jailbreaking your iOS device(s) and like doing things via SSH, you'll want to install APT 6.0 Transitional in order to have apt-get for package management. Simply install it via Cydia! - [IntelliJ IDEA: Plugin to generate SerialVersionUID](https://antonperez.com/2015/10/12/intellij-idea-plugin-to-generate-serialversionuid/) - Easy as pie. 1. Go to: File > Settings > Plugins > Browse repositories > GenerateSerialVersionUID. 2. Install the plugin and restart. 3. Generate the ID by: Code > Generate > serialVersionUID or the shortcut. - [iOS: Remove broken and already-removed apps in Cydia Installed list](https://antonperez.com/2015/11/06/ios-remove-broken-and-already-removed-apps-in-cydia-installed-list/) - In case you installed a misbehaving app via Cydia, manually removed it using iFile or Filza, but can't seem to remove it from the "Installed" list/section, here's what you can do: 1. Using your preferred file manager -- in my case, Filza -- navigate to "/var/lib/dpkg/status" 2. View the app with "Text Editor" 3. Click - [SpringBoot: Making use of @Value properties from YAML files for Cucumber tests](https://antonperez.com/2015/11/06/springboot-making-use-of-value-properties-from-yaml-files-for-cucumber-tests/) - In case you use: 1. SpringBoot to build your web applications using Java 2. Test it with Cucumber 3. Use YAML files for configurable property values You can use the YamlPropertiesFactoryBean to make use of @Value for your test configuration. application.yml: myapp: base: url: some_url cucumber.xml (or application context .xml): Java code (snipped): @ContextConfiguration(locations = - [Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski's blog](https://antonperez.com/2015/11/06/running-and-debugging-clojure-code-with-intellij-idea-tomek-lipskis-blog/) - Source: Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski's blog - [rsync: Exact copy command](https://antonperez.com/2015/12/20/rsync-exact-copy-command/) - I purchased a new 4 TB external hard drive and backed up about 1 TB from an older 2 TB external. I wanted to preserve the dates and permissions, so rsync was perfect. Adding the command I used, so I can look it up next time. rsync -ravh Ref: http://www.tecmint.com/rsync-local-remote-file-synchronization-commands/ - [Cucumber-JVM: Running a @Before step only for certain scenarios](https://antonperez.com/2016/03/03/cucumber-jvm-running-a-before-step-only-for-certain-scenarios/) - You can make use Cucumber's @Before and @After to execute only for certain scenarios like the below. This is especially useful if you, say, wanted to make a (Mongo) DB connection for a few test scenarios. @Before("@mongo") public void beforeScenario() { // actions } @After("@mongo") public void afterScenario() { // actions } To complete the - [Mongo DB: Iterate through a MongoCollection](https://antonperez.com/2016/03/03/mongo-db-iterate-through-a-mongocollection/) - This is specifically for Mongo 3.x, where MongoCollection is preferred over DBCollection. Adding for personal archiving. MongoCollection mongoCollection = getMongoCollection(databaseName, collectionName); FindIterable documents = mongoCollection.find(eq(COLUMN, "lastName")) .sort(ascending("lastname")); for (Document document : documents) { ... } - [How to install jshell via Homebrew](https://antonperez.com/2016/03/04/how-to-install-jshell-via-homebrew/) - At the time of this writing, Java 9 is in beta. I installed because I wanted to check out jshell, Java's new REPL (read-evaluate-print-loop). On top of the below, I brew-installed jenv (a must for managing different JDK versions). $ brew install Caskroom/versions/java9-beta $ jenv add /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home $ jenv shell oracle64-9-ea $ java -version java - [Homebrew: How to install on OS X](https://antonperez.com/2016/03/05/homebrew-how-to-install-on-os-x/) - Since moving to OS X in 2011/2012 for work to do all my development, I've moved Homebrew to a must-have. Adding it here for archiving purposes. From a terminal: 1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. brew tap caskroom/cask The 2nd point is to install Homebrew Cask as well, which extends Homebrew's functionality. Now get - [Enable root in OS X Yosemite and El Capitan](https://antonperez.com/2016/03/05/enable-root-in-os-x-yosemite-and-el-capitan/) - I needed to do some file moving between users and noticed my admin account didn't have access, so I tried "su" and "sudo" without success. Apparently, like it Yosemite, root access is disabled by default. Here's how to enable it: 1. Open Directory Utility (I usually do it via CMD + spacebar, then type "dire") - [Cannot find setclasspath.sh when starting up Tomcat 7](https://antonperez.com/2016/03/18/cannot-find-setclasspath-sh-when-starting-up-tomcat-7/) - In attempting to start Tomcat 7 on my MacBook Pro on El Capitan, I was getting the following error: amp-macbook:Cellar anton$ catalina start Cannot find /usr/local/Cellar/tomcat7/7.0.63/libexec/bin/setclasspath.sh This file is needed to run this program I found the issue to be due to my CATALINA_HOME environment variable. To resolve this, just do the following from your - [Switching between multiple Java versions on OS X quickly](https://antonperez.com/2016/03/18/switching-between-multiple-java-versions-on-os-x-quickly/) - If you're a Java developer like me, you will need to work on various Java versions. If so, adding the following in your ~./bash_profile makes switching between versions a snap. (As of this writing, I'm running on OS X El Capitan.) alias java6='export JAVA_HOME=$(/usr/libexec/java_home -v 1.6);java -version' alias java7='export JAVA_HOME=$(/usr/libexec/java_home -v 1.7);java -version' alias java8='export - [Unpretty print a JSON file](https://antonperez.com/2016/04/05/unpretty-print-a-json-file/) - I needed a one-liner JSON payload, but only had the pretty-printed version. And, removing the whitespaces manually was NOT an option. It was super easy on a Mac; just do the following: In a terminal, install "jq" with brew like so brew install jq With your pretty-printed JSON in a file: cat prettyprinted.json | jq - [My custom bash prompt](https://antonperez.com/2016/04/06/my-custom-bash-prompt/) - I wanted more information in my bash prompt, such as date/time and the directory I was in. Here's what it looks like: And this is what I added in my ~/.bash_profile: PS1='${debian_chroot:+($debian_chroot)}\d \T > \[$(tput sgr0)\]\[3[01;32m\]\u@\h\[3[00m\] : \[3[01;34m\]\w\[3[00m\]\n\$ ' Run source ~/.bash_profile and enjoy. :) BTW, there's also a website that you can use to - [Maven Error: "Bare Repository has neither a working tree, nor an index"](https://antonperez.com/2016/04/14/maven-error-bare-repository-has-neither-a-working-tree-nor-an-index/) - I suddenly couldn't build a Maven project at work because of the error below.... Did some googling but didn't really find helpful info, other than that I was touching a "bare" repository. I thought about it for a second and realized that maybe my changing the artifact version in the pom had something to do with it - [Seven performance metrics for Java applications](https://antonperez.com/2016/04/15/seven-performance-metrics-for-java-applications/) - I came across this in this blog post and am adding it here as a checklist. It's a worthwhile list to have so you can understand how your Java app behaves in production. Response times and throughput Load Average Error Rates (and how to solve them) GC rate and pause duration Business Metrics Uptime and service - [Maven build error: "Caused by: java.io.IOException: Incompatible version 1007"](https://antonperez.com/2016/04/19/maven-build-error-incompatible-version-1007/) - I was encountering this error in Jenkins when it tried to build a project I was working on: Caused by: java.io.IOException: Incompatible version 1007. at org.jacoco.core.data.ExecutionDataReader.readHeader(ExecutionDataReader.java:127) at org.jacoco.core.data.ExecutionDataReader.readBlock(ExecutionDataReader.java:107) at org.jacoco.core.data.ExecutionDataReader.read(ExecutionDataReader.java:87) at org.sonar.plugins.jacoco.AbstractAnalyzer.readExecutionData(AbstractAnalyzer.java:134) at org.sonar.plugins.jacoco.AbstractAnalyzer.analyse(AbstractAnalyzer.java:107) The problem was due to a breakage/bug in the jacoco-maven-plugin. To fix, simply add a version in your pom.xml, like so: - [Tomcat 7: Where to put WAR files](https://antonperez.com/2016/06/22/tomcat-7-where-to-put-war-files/) - Tomcat 7 no longer "explodes" .war files like it used to; however, all you need to do is drop them into the /webapps folder and Tomcat will handle the rest. In my case, I installed Tomcat via Homebrew, so it'll be in /usr/local/Cellar/tomcat7/7.0.70/libexec/webapps. - [How to get to Amazon Chat](https://antonperez.com/2016/06/29/how-to-get-to-amazon-chat/) - Pretty straightforward. 1. Go to http://amazon.com 2. Scroll to the bottom and click "Help" 3. Click "Need More Help?" 4. Select the item in question 5. Select the issue and issue details 6. Click on "Chat" 7. Voila! - [Seven wastes of software development](https://antonperez.com/2016/07/26/seven-wastes-of-software-development/) - Perfect for analyzing why a ticket you worked on longer than expected, which usually always does! Check it out here! Quickly, though, they are: Partially Done Work Extra Features Relearning Handoffs Delays Task Switching Defects - [Maven error in OS X: "Maven already installed, it's just not linked"](https://antonperez.com/2017/04/19/maven-error-maven-already-installed-its-just-not-linked/) - If you use Homebrew on OS X and you come across the error below, just: $ rm -rf /usr/local/Cellar/maven $ brew install maven $ mvn -version That's it! $ brew install maven Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (caskroom/cask, caskroom/versions). Warning: maven-3.5.0 already installed, it's just not linked. - [Maven error with Java 6 on OS X: "Unsupported major.minor version 51.0"](https://antonperez.com/2017/04/19/maven-error-with-java-6-on-os-x-unsupported-major-minor-version-51-0/) - If you encounter the error below with Java 6 on OS X, make sure you're using Maven 3.2.5 or older. $ mvn Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) - [OS X: Setting system-wide environment variables](https://antonperez.com/2017/04/20/os-x-setting-system-wide-environment-variables/) - I believe up until Yosemite, I didn't have issues setting up environmental variables (i.e. JAVA_HOME) via my .bash_profile. As I upgraded, that no longer worked, so I found another way: use a custom .plist in your LaunchAgents folder: Go to ~/Library/LaunchAgents Add something like the below and then reboot, or unload-load it via launchctl unload - [Gatling: How to run simulations in another directory](https://antonperez.com/2017/07/10/gatling-how-to-run-simulations-in-another-directory/) - Adding here for archival purposes. To have Gatling use another directory for simulations (i.e. no need to copy them to the local Gatling folder), use the following: gatling --simulations-folder - [Bash script to check health checks of multiple servers](https://antonperez.com/2017/07/11/bash-script-to-check-health-checks-of-multiple-servers/) - I had to check over 20 servers to verify they were updated with a new build. The servers had a health check page that had this information along with whether the server was up-and-running. I wrote this quick-and-dirty bash script to do just that. for i in jetson1 jetson4; do for j in {1..10}; do - [Java code snippet: Enumeration to return String value](https://antonperez.com/2017/08/08/java-code-snippet-enumeration-to-return-string-value/) - I probably should be adding this kind of stuff on GitHub, but I'm lazy. :) public enum TokenType { TICKET("ticket"), UNKNOWN("unknown"); private String tokenType; TokenType(String tokenType) { this.tokenType = tokenType; } public String getTokenType() { return tokenType; } public boolean isTicket() { return this == TICKET; } public boolean isValidType() { return this == TICKET; - [How-to: Git Rebase](https://antonperez.com/2017/09/06/how-to-git-rebase/) - Adding here for my own purposes, but may be helpful to others. This rebases to master (or whatever branch) and then squashes all your commits into one commit! Sexy. :) > git fetch --all > git checkout [master] > git pull > git checkout [working branch name] > git merge-base HEAD [master] > git reset - [ASUS RT-AC68R Tuning](https://antonperez.com/2017/09/07/asus-rt-ac68r-tuning/) - I've had one of these bad boys for a couple of years and just tuned it, per the link below. Adding here for archival purposes. https://www.google.com/url?hl=en&q=https://www.rickygao.com.au/blog/tuning-the-asus-wireless-router-to-best-performance - [Java: One-liner check if you have the JCE Unlimited Strength Jurisdiction Policy](https://antonperez.com/2017/10/12/java-one-liner-check-if-you-have-the-jce-unlimited-strength-jurisdiction-policy/) - In case you installed the the "stronger" Java Crytography Extension, you can check with: $JAVA_HOME/bin/jrunscript -e 'print (javax.crypto.Cipher.getMaxAllowedKeyLength("RC5") >= 256);' - [My Understanding of the CAP Theorem](https://antonperez.com/2017/11/02/my-understanding-of-the-cap-theorem/) - With the technical landscape being distributed, you will have heard of the CAP Theorem, as it related to the systems that you work on to be 99.99999% up. These are my $0.02 on my understanding of the CAP Theorem. * Consistency - read/write guarantee between nodes * Availability - nodes respond and do no error - [DynamoDb Notes](https://antonperez.com/2017/11/03/dynamodb-notes/) - DynamoDb is a NoSQL database, which to me means it's schema-less, scales horizontally, and has incredible performance when accessing data via K/V pairs. I'm adding this here as writing about it helps me remember. Two types of primary key Partition key same as a primary key must be unique scalar attribute internally also known as - [Git: Syncing fork repo against upstream repo](https://antonperez.com/2017/11/06/git-syncing-fork-repo-against-upstream-repo/) - In case you need to make sure your forked repo is up-to-date with the original repo (i.e. /git/original/HelloWorld vs /git/anton/HelloWorld), here's what you need to do in your terminal: $ git remote -v $ git remote add upstream git@git.url.io:original/HelloWorld.git $ git remote -v $ git fetch upstream $ git checkout master $ git merge upstream/master $ - [Facebook: Shortcut to unliking Pages](https://antonperez.com/2017/11/22/facebook-shortcut-to-unliking-pages/) - I wanted to clean up my News Feed from no longer relatable Pages. I tried the "go-to-page-unlike" cycle, but it took waaay too long. So I found this trick: Go to https://www.facebook.com//allactivity Go to "Likes" Go to "Pages and Interests" Click the "Edit" icon and "Unlike" Or, you can go to: https://www.facebook.com//allactivity?privacy_source=activity_log&log_filter=likedinterests Hope this helps. \m/ - [Git: SSL certificate problem: unable to get local issuer certificate](https://antonperez.com/2018/02/13/git-ssl-certificate-problem-unable-to-get-local-issuer-certificate/) - In case you come across, this, run the following in a terminal window: git config --global http.sslVerify false Now go back to coding! - [Cross-platform SQL Client](https://antonperez.com/2018/05/19/cross-platform-sql-client/) - In case you're looking for a SQL client that is cross-platform, lightweight, and free SQL client, check out: I use it on a Mac. It's easy to use and feels "new." - [DNS Benchmark: Identify fastest DNS servers](https://antonperez.com/2018/07/07/dns-benchmark-identify-fastest-dns-servers/) - If you've been a techie for a long time, you'll know who Steve Gibson from GRC is. His tools are mostly built in Assembly, so it's rocket-fast. (One thing to note is they're only for Windows.) For this post, I'd like to share the tool I use to identify which DNS servers I should use, as - [IntelliJ Tips and Trics](https://antonperez.com/2018/07/09/intellij-tips-and-trics/) - This is just a dump of tip & tricks I found for IntelliJ, and will be a forever WIP. Find commented out code Find in path -> check Regex -> ^// - [Clean Code Book Summary](https://antonperez.com/2018/07/27/clean-code-book-summary/) - This is a summary of Robert C. Martin's Clean Code book. Once that contains a lot of gems that will make a coder efficient and with more sleep. Disclaimer: The below is not something I wrote; it was copied from here. I'm just adding it on my blog for personal reference. Thanks goes out to wojteklu - [Selenium: How to assert a WebElement that doesn't exist](https://antonperez.com/2018/08/27/selenium-how-to-assert-a-webelement-that-doesnt-exist/) - Just in case you need to assert that a WebElement doesn't exist, here's a code snippet that you can use. Java public int isElementPresent(String xpath) { return driver.findElements(By.xpath(xpath)).size(); } Cucumber @Then("^I expect to see the link On the page$") public void iExpectToSeeTheLinkOnThePage() { assertTrue(demoPage.isElementPresent() > 1); } - [Install sqlcmd on Mac OS X](https://antonperez.com/2018/09/10/install-sqlcmd-on-mac-os-x/) - In case you need to run SQL Server scripts from your Mac, do the following to install (NOTE: I use HomeBrew.): From the terminal, type: brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release ACCEPT_EULA=y brew install --no-sandbox msodbcsql mssql-tools You should see something like in the screenshot. Type "YES" if prompted and be on your way. Once done, type: - [Gatling How-To: Installation and Execution on OS X](https://antonperez.com/2018/09/11/gatling-how-to-installation-and-execution-on-os-x/) - This is here for my own reference, but may help others. I'm a software craftsman on a Mac, and I use Homebrew whenever possible. So, the info here relates to that. Prerequisite: Java must be installed (i.e. brew cask install java). Install Scala via Homebrew: brew install scala Optionally: Install Scala plugin in IntelliJ Download from https://gatling.io/download/ - [My .bash_profile](https://antonperez.com/2018/10/12/my-bash_profile/) - Don't know why I never added it here, so doing it now. alias ll="ls -al" alias src="cd ~/workspace/" alias ap="cd ~/workspace/git/antonperez/" alias readyapi="/Applications/ReadyAPI-2.5.0.app/Contents/java/app/bin/ready-api.sh" performGitOperations() { git fetch --all git checkout $1 git reset --hard origin/$1 git clean -fd } copom() { echo "[---------- START ----------]" if [ "$2" = "all" ]; then echo "-->> blwebdriver - [Funny definition for common HTTP status codes](https://antonperez.com/2018/10/18/funny-definition-for-common-http-status-codes/) - I saw this on my Twitter feed and can’t help but post it here! ? 404 - Can’t find it 401 - You’re not getting in 403 - Look, you’re in but you’re not allowed 500 - We screwed up 400 - You screwed up 200 - All is fine, carry on - [My Jacoco Maven Plugin POM config](https://antonperez.com/2018/12/19/my-jacoco-maven-plugin-pom-config/) - Adding it here so I can refer to it in the future. 0.8.2 0.95 0.95 org.jacoco jacoco-maven-plugin ${jacoco.version} default-agent prepare-agent default-report report default-check check BUNDLE BRANCH COVEREDRATIO ${min.branch.coverage} LINE COVEREDRATIO ${min.line.coverage} - [How to update nodejs on OS X](https://antonperez.com/2019/01/11/how-to-update-nodejs-on-os-x/) - Adding here as reference. node -v npm cache clean -f npm install -g n n stable\ node -v - [Git How-To: Squash commits in one line](https://antonperez.com/2019/06/19/git-how-to-squash-commits-in-one-line/) - Adding this here in case I need to refer to it in the future. git reset --soft HEAD~3 && git commit Where ~3 means squashing last 3 commits into one. - [Git: Command to fix corrupted repository](https://antonperez.com/2019/07/01/git-command-to-fix-corrupted-repository/) - I occasionally get fatal, such as: error: cannot lock ref 'refs/remotes/origin/AB-123': is at dffbe642f088781a5e485227927e141ddb73443a but expected e377921a6d00f4d4c0463774990e03343683177e Rebasing doesn't work, but if you do the following it will resolve it: git gc --prune=now This guarantees to remove all git garbage. NOTE: Make sure all your code has been committed before doing this. - [How to add environment variables in Mac OS X](https://antonperez.com/2019/12/19/how-to-add-environment-variables-in-mac-os-x/) - Adding here for reference (tried this in Mac OS X Mojave): # To set an environment variable, enter the following command: launchctl setenv variable "value" # To find out if an environment variable is set, use the following command: launchctl getenv variable # To clear an environment variable, use the following command: launchctl unsetenv variable - [Mac OS Catalina: "invalid active developer path" error](https://antonperez.com/2020/10/15/mac-os-catalina-invalid-active-developer-path-error/) - After upgrading to Catalina, I encountered the error below. Seems Xcode was no longer available. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Try the following in your terminal; otherwise, head to https://developer.apple.com/download/more/ and download Xcode manually. xcode-select --install - [The Seven Wastes of Software Development](https://antonperez.com/2021/01/15/the-seven-wastes-of-software-development/) - Based on Toyota's lean manufacturing, the same concepts apply to agile software development. They are: Partially Done Work: Work in Progress, e.g. Code not checked in, code not tested, test cases not executed, requirements analyzed but not developed, etc. Extra Features: features fully developed, tested and delivered to the end user, but was never used Relearning: Spending effort in learning - [Remote Development with Visual Studio Code](https://antonperez.com/2021/01/25/remote-development-with-visual-studio-code/) - I recently came across Windows Subsystem for Linux, as I've been a Mac and JetBrains Rider user since 2012. I discovered the Remote development extensions for VS Code and discovered how much of a gem it is. Here are the pages I went over to learn more about it (note this is a work-in-progress): Using - [iTerm2: Add Keystroke to move between words](https://antonperez.com/2021/04/08/iterm2-add-keystroke-to-move-between-words/) - On a Mac, I use iTerm2 as my default terminal due to the added features, such as auto-copy and the ability to split multiple terminals. One nuance was not having the ability to move between words (like in vim); however, I found the below how-to on Stack Overflow -- where else? :) Go to Preferences, - [GCloud: List roles a service account is a member of](https://antonperez.com/2021/09/07/gcloud-list-roles-a-service-account-is-a-member-of/) - GCloud command to list roles a service account is a member of: SERVICE_ACCOUNT=my-service-account@my-gcp-project.iam.gserviceaccount.com GCP_PROJECT=my-gcp-project gcloud projects get-iam-policy $GCP_PROJECT \ --flatten="bindings[].members" \ --format='table(bindings.role)' \ --filter="bindings.members:$SERVICE_ACCOUNT" Reference: https://jamiekt.wordpress.com/2019/06/13/use-gcloud-to-list-all-project-roles-that-a-service-account-is-a-member-of/ - [Homebrew: "Permission denied @ rb_file_s_symlink..."](https://antonperez.com/2021/12/07/homebrew-permission-denied-rb_file_s_symlinkpermission-denied/) - In case you encounter this error below when doing brew update: ==> Homebrew has enabled anonymous aggregate formula and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics have been recorded yet (nor will be during this `brew` run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: - [GitHub: The unauthenticated git protocol on port 9418 is no longer supported](https://antonperez.com/2022/05/03/github-the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported/) - GitHub recently improved security, so you may get the error below like I did when I tried to install oh-my-zsh on a new Mac. Anton.Perez@amp ~ % sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" Cloning Oh My Zsh... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more - [oh-my-zsh: Insecure completion-dependent directories detected](https://antonperez.com/2022/05/04/oh-my-zsh-insecure-completion-dependent-directories-detected/) - In case you encounter this error on installing oh-my-zsh, do the chmod commands below. ? ~ source ~/.zshrc [oh-my-zsh] Insecure completion-dependent directories detected: drwxrwxr-x 16 Anton.Perez admin 512 May 4 10:42 /usr/local/share [oh-my-zsh] For safety, we will not load completions from these directories until [oh-my-zsh] you fix their permissions and ownership and restart zsh. [oh-my-zsh] - [Tech Must-Reads and Resources](https://antonperez.com/2023/01/10/tech-must-reads/) - Writing this post to archive my must-reads, in no particular order. Note this is a living post/work-in-progress. Microservices Guide (martinfowler.com) The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win: Kim, Gene, Behr, Kevin, Spafford, George Clean Code: A Handbook of Agile Software Craftsmanship: Robert C. Martin: 9780132350884 The Pragmatic Programmer, 20th - [AI & ChatGPT Resources](https://antonperez.com/2023/01/16/ai-chatgpt-resources/) - AI and ChatGPT, specifically, is changing the face of technology. It's just mind-boggling and intimidating at the same time. Here are resources I've come across that I find useful: ChatGPT for Google - Chrome Web Store ChatGPT for Search Engines (chatonai.org) WebChatGPT - Chrome Web Store Talk to Books (google.com) - [Workaround for Homebrew: "terraform@0.12 has been disabled because it is not supported upstream!"](https://antonperez.com/2023/05/16/workaround-for-homebrew-terraform0-12-has-been-disabled-because-it-is-not-supported-upstream/) - I needed to install an older version of Terraform on my work Mac, but got this error: Error: terraform@0.12 has been disabled because it is not supported upstream! I tried to edit terraform@0.12 and tried to install without success. This is what worked: HOMEBREW_NO_INSTALL_FROM_API=1 brew install terraform@0.12 ? Source brew install terraform@0.12 Error: terraform@0.12 has - [Phishing: "There is an overdue payment under your name. Please, settle your debts ASAP."](https://antonperez.com/2023/10/17/phishing-there-is-an-overdue-payment-under-your-name-please-settle-your-debts-asap/) - I received the below phishing sextortion email below. Ignore it but make sure to run antivirus/malware/rootkit software. Hi!Sadly, there are some bad news that you are about to hear.About few months ago I have gained a full access to all devices used by you for internet browsing.Shortly after, I started recording all internet activities done - [Setting Up Linux Mint on Old MacBook Pro](https://antonperez.com/2023/10/29/setting-up-linux-mint-on-old-macbook-pro/) - Following steps fixes the problem. Removing bcmwl-kernel-source package, then reboot: sudo apt-get remove --purge bcmwl-kernel-source sudo reboot Installing new broadcom firmware: sudo apt-get install firmware-b43-installer Reload package. sudo modprobe -r b43 sudo modprobe b43 sudo rm /etc/apt/preferences.d/nosnap.pref sudo apt update sudo apt install snapd -y sudo snap install icloud-for-linux https://www.addictivetips.com/ubuntu-linux-tips/use-icloud-on-linux/ https://linuxstoney.com/how-to-install-snap-store-in-linux-mint-20-linux-mint-20-1/#:~:text=Install%20Snap%20Store%20in%20Linux%20Mint%2020%20and,4.%20Install%20Snap%20Store%20on%20Linux%20Mint%20 Set venv and tkinter - [Governance Comes First — Even When the Vendor Is Your Friend](https://antonperez.com/2026/02/26/governance-comes-first-even-when-the-vendor-is-your-friend/) - Every leader in a regulated environment eventually faces this. A vendor you trust — and genuinely enjoy working with — makes a mistake that impacts your systems, your customers, or your risk posture. The first instinct is to handle it quietly. Have a call. Align. Move forward. I've learned that instinct can be wrong. Trust ## Pages - [Home](https://antonperez.com/) - Anton Perez Enterprise Cloud & Platform Leader working at the intersection of US enterprise scale and Philippine financial services — increasingly focused on bringing AI and automation into how engineering teams build. Currently, Head of Cloud Engineering & Automation at one of the Philippines' largest banks. Working on cloud platform, DevSecOps, or engineering-capability challenges in - [Contact](https://antonperez.com/contact/) - Whether it's a question about cloud platform or DevSecOps work in regulated industries, an idea you want a second opinion on, or a longer advisory conversation — tell me what you're working on and I'll reply personally. - [About](https://antonperez.com/about/) - I'm Anton Perez — a cloud and DevSecOps leader working at the intersection of US enterprise scale and Philippine financial services. Today I'm Head of Cloud Engineering and Automation at one of the Philippines' largest banks. I lead the multi-cloud platform organization governing AWS, Azure, and GCP across 1,400+ repositories, in one of the region's - [Attribution](https://antonperez.com/attribution/) - Coming soon. - [Web Mail](https://biz247.inmotionhosting.com:2096/) - [Gallery](https://antonperez.com/gallery/) - [nggallery id="6"] ## Categories - [Uncategorized](https://antonperez.com/category/uncategorized/) - [Career](https://antonperez.com/category/career/) - [Blogging](https://antonperez.com/category/blogging/) - [Microsoft](https://antonperez.com/category/microsoft/) - [Tools](https://antonperez.com/category/tools/) - [ASP.NET](https://antonperez.com/category/aspnet/) - [Linux](https://antonperez.com/category/linux/) - [Security](https://antonperez.com/category/security/) - [Scripting](https://antonperez.com/category/scripting/) - [Productivity](https://antonperez.com/category/productivity/) - [Travel](https://antonperez.com/category/travel/) - [Deals](https://antonperez.com/category/deals/) - [Apache](https://antonperez.com/category/apache/) - [PowerShell](https://antonperez.com/category/powershell/) - [Entertainment](https://antonperez.com/category/entertainment/) - [Java](https://antonperez.com/category/java/) - [Apple](https://antonperez.com/category/apple/) - [AppleScript](https://antonperez.com/category/applescript/) - [Patches](https://antonperez.com/category/patches/) - [.NET](https://antonperez.com/category/net/) - [How-to](https://antonperez.com/category/how-to/) - [Web Development](https://antonperez.com/category/web-development/) - [General Development](https://antonperez.com/category/general-development/) - [Mail Server](https://antonperez.com/category/mail-server/) - [Networking](https://antonperez.com/category/networking/) - [Gadgets](https://antonperez.com/category/gadgets/) - [Database](https://antonperez.com/category/database/) - [Book Review](https://antonperez.com/category/book-review/) - [Resource](https://antonperez.com/category/resource/) - [UI](https://antonperez.com/category/ui/) - [New Technology](https://antonperez.com/category/new-technology/) - [QA](https://antonperez.com/category/qa/) - [News](https://antonperez.com/category/news/) - [Python](https://antonperez.com/category/python/) - [Ruby](https://antonperez.com/category/ruby/) - [Tutorials](https://antonperez.com/category/tutorials/) - [Hardware](https://antonperez.com/category/hardware/) - [Web 2.0](https://antonperez.com/category/web-20/) - [JavaScript](https://antonperez.com/category/javascript/) - [Music](https://antonperez.com/category/music/) - [Government](https://antonperez.com/category/government/) - [Personal](https://antonperez.com/category/personal/) - [Philippines](https://antonperez.com/category/philippines/) - [Living](https://antonperez.com/category/living/) - [Politics](https://antonperez.com/category/politics/) - [Graphics](https://antonperez.com/category/graphics/) - [Cars](https://antonperez.com/category/cars/) - [Health](https://antonperez.com/category/health/) - [WordPress](https://antonperez.com/category/wordpress/) - [Tweets](https://antonperez.com/category/tweets/) - [Google](https://antonperez.com/category/google/) - [iPhone](https://antonperez.com/category/iphone/) - [Christianity](https://antonperez.com/category/christianity/) - [iPad](https://antonperez.com/category/ipad/) - [Six Sigma](https://antonperez.com/category/six-sigma/) - [Antivirus](https://antonperez.com/category/antivirus/) - [Video](https://antonperez.com/category/video/) - [Kids](https://antonperez.com/category/kids/) - [jQuery](https://antonperez.com/category/jquery/) - [Email](https://antonperez.com/category/email/) - [IIS](https://antonperez.com/category/iis/) - [Books](https://antonperez.com/category/books/) - [Code Snippet](https://antonperez.com/category/code-snippet/) - [soapUI](https://antonperez.com/category/soapui/) - [Groovy](https://antonperez.com/category/groovy/) - [Samsung](https://antonperez.com/category/samsung/) - [Science](https://antonperez.com/category/science/) - [Apprenticeship](https://antonperez.com/category/apprenticeship/) - [Git](https://antonperez.com/category/git/) - [Maven](https://antonperez.com/category/maven/) - [Cucumber](https://antonperez.com/category/cucumber/) - [BDD](https://antonperez.com/category/bdd/) - [Tomcat](https://antonperez.com/category/tomcat/) - [Spring](https://antonperez.com/category/spring/) - [Shopping](https://antonperez.com/category/shopping/) - [AWS](https://antonperez.com/category/aws/) - [Social](https://antonperez.com/category/social/) - [Selenium](https://antonperez.com/category/selenium/) - [Cloud](https://antonperez.com/category/cloud/) - [AI](https://antonperez.com/category/ai/) ## Tags - [social](https://antonperez.com/tag/social/) - [Wii](https://antonperez.com/tag/wii/) - [Nintendo](https://antonperez.com/tag/nintendo/) - [Continious Integration](https://antonperez.com/tag/continious-integration/) - [Science](https://antonperez.com/tag/science/) - [Cucumber](https://antonperez.com/tag/cucumber/) - [Maven](https://antonperez.com/tag/maven/) - [Jenkins](https://antonperez.com/tag/jenkins/) - [java](https://antonperez.com/tag/java/) - [tomcat](https://antonperez.com/tag/tomcat/) - [git](https://antonperez.com/tag/git/) - [intellij](https://antonperez.com/tag/intellij/) - [apps](https://antonperez.com/tag/apps/) - [ios](https://antonperez.com/tag/ios/) - [journal](https://antonperez.com/tag/journal/) - [apple](https://antonperez.com/tag/apple/) - [os x](https://antonperez.com/tag/os-x/) - [yosemite](https://antonperez.com/tag/yosemite/) - [Entertainment](https://antonperez.com/tag/entertainment/) - [Cars](https://antonperez.com/tag/cars/) - [activemq](https://antonperez.com/tag/activemq/) - [jms](https://antonperez.com/tag/jms/) - [message bus](https://antonperez.com/tag/message-bus/) - [best practice](https://antonperez.com/tag/best-practice/) - [ssh](https://antonperez.com/tag/ssh/) - [productivity](https://antonperez.com/tag/productivity/) - [itunes](https://antonperez.com/tag/itunes/) - [backup](https://antonperez.com/tag/backup/) - [cydia](https://antonperez.com/tag/cydia/) - [repo](https://antonperez.com/tag/repo/) - [jailbreak](https://antonperez.com/tag/jailbreak/) - [intelli](https://antonperez.com/tag/intelli/) - [clojure](https://antonperez.com/tag/clojure/) - [testing](https://antonperez.com/tag/testing/) - [mongo](https://antonperez.com/tag/mongo/) - [homebrew](https://antonperez.com/tag/homebrew/) - [tools](https://antonperez.com/tag/tools/) - [brew](https://antonperez.com/tag/brew/) - [root](https://antonperez.com/tag/root/) - [el capitan](https://antonperez.com/tag/el-capitan/) - [bash](https://antonperez.com/tag/bash/) - [performance](https://antonperez.com/tag/performance/) - [monitoring](https://antonperez.com/tag/monitoring/) - [amazon](https://antonperez.com/tag/amazon/) - [shopping](https://antonperez.com/tag/shopping/) - [agile](https://antonperez.com/tag/agile/) - [development](https://antonperez.com/tag/development/) - [osx](https://antonperez.com/tag/osx/) - [software development](https://antonperez.com/tag/software-development/) - [gatling](https://antonperez.com/tag/gatling/) - [load testing](https://antonperez.com/tag/load-testing/) - [open source](https://antonperez.com/tag/open-source/) - [code](https://antonperez.com/tag/code/) - [asus](https://antonperez.com/tag/asus/) - [router](https://antonperez.com/tag/router/) - [security](https://antonperez.com/tag/security/) - [how-to](https://antonperez.com/tag/how-to/) - [dynamodb](https://antonperez.com/tag/dynamodb/) - [aws](https://antonperez.com/tag/aws/) - [facebook](https://antonperez.com/tag/facebook/) - [shortcuts](https://antonperez.com/tag/shortcuts/) - [sql](https://antonperez.com/tag/sql/) - [mac](https://antonperez.com/tag/mac/) - [dns](https://antonperez.com/tag/dns/) - [windows](https://antonperez.com/tag/windows/) - [best practices](https://antonperez.com/tag/best-practices/) - [selenium](https://antonperez.com/tag/selenium/) - [performance testing](https://antonperez.com/tag/performance-testing/) - [docker](https://antonperez.com/tag/docker/) - [funny](https://antonperez.com/tag/funny/) - [http](https://antonperez.com/tag/http/) - [codes](https://antonperez.com/tag/codes/) - [nodejs](https://antonperez.com/tag/nodejs/) - [xcode](https://antonperez.com/tag/xcode/) - [lean](https://antonperez.com/tag/lean/) - [containers](https://antonperez.com/tag/containers/) - [kubernetes](https://antonperez.com/tag/kubernetes/) - [vs code](https://antonperez.com/tag/vs-code/) - [terminal](https://antonperez.com/tag/terminal/) - [gcp](https://antonperez.com/tag/gcp/) - [gcloud](https://antonperez.com/tag/gcloud/) - [iam](https://antonperez.com/tag/iam/) - [github](https://antonperez.com/tag/github/) - [zsh](https://antonperez.com/tag/zsh/) - [must-reads](https://antonperez.com/tag/must-reads/) - [ai](https://antonperez.com/tag/ai/) - [chatgpt](https://antonperez.com/tag/chatgpt/) - [phishing](https://antonperez.com/tag/phishing/) - [cybersecurity](https://antonperez.com/tag/cybersecurity/) - [leadership](https://antonperez.com/tag/leadership/) - [career](https://antonperez.com/tag/career/) - [banking](https://antonperez.com/tag/banking/) - [deep work](https://antonperez.com/tag/deep-work/) - [AI tools](https://antonperez.com/tag/ai-tools/) - [Claude](https://antonperez.com/tag/claude/) - [LLM](https://antonperez.com/tag/llm/) - [governance](https://antonperez.com/tag/governance/) - [third-party risk](https://antonperez.com/tag/third-party-risk/) - [audit](https://antonperez.com/tag/audit/) - [linux](https://antonperez.com/tag/linux/) - [linux mint](https://antonperez.com/tag/linux-mint/) - [macbook](https://antonperez.com/tag/macbook/) - [hardware](https://antonperez.com/tag/hardware/) - [tutorial](https://antonperez.com/tag/tutorial/) - [production AI](https://antonperez.com/tag/production-ai/) - [personal AI](https://antonperez.com/tag/personal-ai/) - [multi-model](https://antonperez.com/tag/multi-model/) - [DevSecOps](https://antonperez.com/tag/devsecops/) - [Raspberry Pi](https://antonperez.com/tag/raspberry-pi/) - ["AI tooling"](https://antonperez.com/tag/ai-tooling/)