Archives for Software Dev - Page 24
Calling wordpress shortcodes from within PHP code
I was looking for a way to display my linked in profile in the sidebar. template needed to be edited – but I wasn’t sure how to call the shortcode…
List Items–Vertical Spacing
The margin-bottom attr accomplishes this. margin-bottom: 8px; Since you don’t need the spacing on the last list item,li:not(:last-child) { margin-bottom: 5px; }
PHP–JSON object to array
The trick was to pass in ‘true’ to the This returns an associative array instead of an object.$json_string = ''; $jsondata = file_get_contents($json_string); $obj = json_decode($jsondata,true); echo ‘<pre>’; print_r($obj);
Gmail send mail as – Functionality not enabled message
While I could RECEIVE email on multiple accounts using gmail’s business email (about $5/mo as of current date), I was unable to send email using different accounts (I was only…
To Domain Join or Not
The risk of domain joining your servers is that if a port scanner (aka hacker) can find an open Netbios port, you would have compromised that server and also the…
Containerization of Legacy Apps
Recently, I was tasked with devising a strategy for transferring legacy apps (running on Windows 2003 and older) Containerization Strengths A technique for packaging a service, application or job. Shares…
Hub Spoke diagram in Visio
On the File menu, point to New, point to Business, and then click Marketing Charts and Diagrams. From Marketing Diagrams, drag a Circle-spoke diagram shape onto the drawing page. Choose…
load balancers general SSL
Load balancers are ubiquitous. Most of us encounter them as the internet facing part of a server farm (usually a web server farm). Server Farms One of the most commonly…
Dual Factor in ASP.NET and Azure AD
On-Premises Application – MFA as built-into the application To perform a multi-factor authentication for on premise applications, you need your application to redirect authentication to a service (MFA service) that…
High level architecture versus High level design
Architecture and design are closely related. Architecture is more abstract and is geared towards strategy, structure and purpose. High Level Design is more hands-on and geared towards implementation and practice.