Category Archive: Tech

Jul 26

Paint is not being deleted

So on the 25th of this month Microsoft came out with some details about the Windows 10 Fall Creators Update and one of the items mentioned was paint. now i have been seeing some people going that paint is being deleted but just to clear oen thing up, Paint isn’t being removed….yet I think people …

Continue reading »

Jul 11

iniFile.class Released

for a while when i was building my automation scripts if i wanted settings they would either be a hardcoded array in the script of a .txt that i would load into an array…or explode into an array…ok i just used arrays. i had used ini file briefly for other projects but when i learned …

Continue reading »

May 23

_autoBase.class Released

autoBase is a PHP Class i built for use in Selenium Server and it designed to work with my Portable Selenium Setup. the idea was that a bunch of Selenium functions i used were always such long ass lines so i created a bunch of wrapper functions to not only make the called lines shorter …

Continue reading »

May 21

Selenium – Screenshotting the ENTIRE page

Selenium already has a screenshot function but there’s a problem with it. it takes a screenshot of what you see in the window. when i did some Selenium Test Scripts a couple years back for Rivers i wanted to build them so that if an error appeared, unless the tests were dependent on one test …

Continue reading »

May 12

Selenium – Select drop down option by Frontend Text

one of the annoying things i found in Selenium is that when working with a drop down you needed to know the value of the open you wanted to select which oftern is different from the value the user will see. if you was testing and you wanted to make sure that a front end …

Continue reading »

Apr 20

csvReports.class Released

csvReports is a PHP class i built when i was doing report/query analysis at SFG. the purpose of the class is to generate Comma Separated Value files (.csv) which Microsoft Excel would them load up as a spreadsheet. the main thing is that because the header is set in the class and each row is …

Continue reading »

Apr 08

Multi Tag Pages in WordPress

When you’re on a website that’s running WordPress there is a page for listing posts by tag. generally you see this when you click a tag and the url becomes something like www.mysite.com/tag/mytag. well there is a way to have more than 1 tag in this for greater filtering. there is infact 2 things you …

Continue reading »

Apr 04

_commonLib.class Released

commonLib is a PHP class i built to assist in a lot of my work which contains a bunch of functions i use, alot. so rather than copy and pasting them into new scripts i created a class for them because i love OO Programming and also since i use these functions in other classes …

Continue reading »

Feb 07

Padding string without loops

So if we wanted to pad a string in PHP with a prefix or suffix generally we would need to do this now obviously if we were adding a suffix we’d skip $added and just append the original string (if we didn’t want to keep it). however for shits and giggles say we didn’t want …

Continue reading »

Jan 02

How to store a var_dump

one thing i really like about PHP is var_dump, a nice little function that outputs what an object is regardless of type, including classes which shows what data is private and protected. when i need to debug a language one of the first things i look for is a equivalent. but sometimes the var_dump either …

Continue reading »

Older posts «