A great resource for bash coding conventions (the PDF is also available as an attachment to the blog post).
http://lug.fh-swf.de/vim/vim-bash/StyleGuideShell.en.pdf → Continue reading “Bash Style Guide and Coding Standard”
Principal Software Engineer/Architect, motorcyclist, drummer, and artist
A great resource for bash coding conventions (the PDF is also available as an attachment to the blog post).
http://lug.fh-swf.de/vim/vim-bash/StyleGuideShell.en.pdf → Continue reading “Bash Style Guide and Coding Standard”
If you want to set up yum.conf to talk to repos via a proxy server AND you have an @ sign in your user name or password, try replacing the @ with the url encoded equivalent of ‘%40’→ Continue reading “Yum Proxy Configuration with an @ (at) Character in Your User Name or Password”
Ah, Windows. It still has it’s old, quirky, you-just-can’t-wait-for-MicroSoft-to-go-out-of-business charm.
But seriously, if you are having trouble adding a printer on a Samba share on a Linux host try the following:
Should you find yourself in a situation where you want to call a function (or method) that accepts JSON data parameters that you want to actually print to the browser to be invoked on some sort of callback (onchange, onclick, etc).
Given the following function:
doSomething(JSONparam) {
// Something happens in here . . .
}
Here is the syntax for rendering an onclick link that is generated in JavaScript and then output to the DOM:
var $markup = ‘<a → Continue reading “Syntax for Dynamically Generating JSON in JavaScript to be Output to HTML”