Skip to main content

category: Code Samples

Code SamplesConfigurationsLinuxWindows

Accessing Microsoft ODBC data sources in Linux

Developing web apps cross platform can be a pain sometimes, as the drivers used in Windows are typically not available (by default anyway) in linux. For example, if you are using perl based software in linux, and you need to connect to a Windows database (for example, MSDE 2000 or SQL Server) There are two […]

SMSSend is a program used to send SMS messages over the network via command line in linux. It is licensed unto the GNU General License. I recently aimed to integrate this into Zabbix remote monitoring software. I had a hell of a time finding the software because its original page, here, has some sort of […]

C++ Compiler

I you are trying to compile software on a new system, and you get this error: checking how to run the C++ preprocessor… /lib/cpp configure: error: C++ preprocessor “/lib/cpp” fails sanity check See `config.log’ for more details. Then you need to install the gcc-c++ compiler: # yum install gcc-c++ or # sudo apt-get install gcc-c++ […]

I recently had a problem where I was opening a browser window from an e-mail client. After taking a survey, I wanted a button to close this same window. In IE, it was fine to simply use window.close(); to close the window. However, Firefox, the evil genius that it is, will not let you do […]

I am using the Visual.Syntax code highlighting plugin by Matthew Delmarter. There were some code highlighter plugins out there, but they were all pretty complicated and the output was fancier – a little too fancy. I wanted something simple to copy/paste from and Visual.Syntax won the day for me. iG:Syntax Hiliter is a close second […]

  • 1
  • ...
  • 3
  • 4