Tag Archives: Software Sagacity

Creating a GUI with Powershell

PowerShellThe Powershell scripting language helps extend Windows batch files by providing a fully functional programming language and the capability to natively run .Net code.  By leveraging the .Net Windows Forms DLLs, Powershell can rise to even greater heights, leaving the command prompt and giving users a graphical interface.
Continue reading

RSS Twitter LinkedIn Facebook Email

Automatically Securing a Web Folder

SecurityWeb applications often store dynamic data in folders together with the application. From WordPress to Magento, many open source apps default to intermingling the data with the application folder structure. Although this provides a simpler deployment and ease of installation for newcomers, it also provides a significant security loophole for exploit by hackers.
Continue reading

RSS Twitter LinkedIn Facebook Email

Changing Photo Color from the Command Line – ImageMagick

ImageMagick

In graphics applications, it is occasionally necessary to perform the same operation on a large number of files.  Instead of performing the operations manually in Photoshop, the computer can often be used to automatically do the work through batch scripting.  By leveraging a command-line program called ImageMagick, most batch photo operations can be scripted for automated processing.
Continue reading

RSS Twitter LinkedIn Facebook Email

Automatic Solution Packaging with the C# Preprocessor

PreprocessorThe C# preprocessor, although much less powerful than the C or C++ preprocessors, still provides the ability to enable or disable lines of code based on project-level flags. In addition, when combined with external PowerShell scripts, the C# preprocessor can be used to automatically spin custom C# solutions with subsets of the target code. This can be particularly useful when providing two versions of the source code, for instance a 32-bit and 64-bit version, or when creating custom source code adaptations for different applications.
Continue reading

RSS Twitter LinkedIn Facebook Email

How to Convert HMTL to PDF using PowerShell

PowerShellMicrosoft PowerShell is an incredibly flexible batch scripting engine – essentially the Swiss Army knife of Windows programming. Although the language itself is derivative of Batch files, it gains significant capability through .NET integration. PowerShell scripts can access SQL databases, execute shell commands, parse file and directory structures, and perform I/O, mostly through one-line commands.
Continue reading

RSS Twitter LinkedIn Facebook Email

PowerShell – Will It Be The End of VBScript?

PowerShellWith the growing popularity of Microsoft PowerShell – the new batch scripting language from Microsoft, it seems that VBScript was dealt yet another blow in one of it’s last vanguards, the server admin scripting space.
Continue reading

RSS Twitter LinkedIn Facebook Email