Recent Open-Source Posts from Tech Monger:///feeds/open-source/2021-04-30T17:47:40.093035ZWerkzeugExecutable But Not Readable Script - Linuxhttps://techmonger.github.io/83/executable-but-not-readable2021-04-30T17:47:40.093035Z2021-04-30T17:20:15.805314ZTech Monger<p class="lead">Many time you want to allow other Linux users to execute your code but restrict them from reading or writing it. Below we will show you unix trick where you can make binary file <em>non readable to users but allow execution</em> by adding <code>setuid</code> to your file.</p>
Amazon Redshift ODBC Connection Linuxhttps://techmonger.github.io/81/redshift-odbc-linux2021-04-30T17:06:00.744922Z2020-11-04T13:12:52.316376ZTech Monger<p class="lead">
In this tutorial, we will download & Install ODBC driver for the Amazon Redshift Database in Redhat Linux. We will make ODBC entry which will help us connect to the AWS Redshift.
RHEL Install GIT LFS Installationhttps://techmonger.github.io/80/git-lfs-rhel2020-11-04T13:08:43.939390Z2020-11-04T12:56:17.414803ZTech Monger<p class="lead">
<abbr title="GIT Large File System">GIT LFS</abbr> may not be shipped inside redhat <abbr title="Extra Packages for Enterprise Linux ">EPEL</abbr> repository. We will learn how to install it manually using rpm package from the official release page.
Linux AWS Command Line Interface Installationhttps://techmonger.github.io/79/aws-cli-linux2020-11-03T17:53:50.426761Z2020-11-02T16:52:13.370421ZTech Monger<p class="lead">
While working with Amazon Web Services (AWS) it is essential to have command line utility installed on the machine to perform the administration or development activities. Below we will find steps for the AWS CLI Installation on Linux.
Check ODBC Connectivity from Pythonhttps://techmonger.github.io/78/odbc-test-pyodbc2020-11-03T17:08:45.194955Z2020-11-02T16:52:05.869541ZTech Monger<p class="lead">If you are connecting to the <abbr title="Open Database Connectivity">ODBC</abbr> database then it is necessary to test connection before creating ODBC data source inisde <code>ODBC.INI</code> file. Below we will create simple python script which initiate ODBC connection with details provided inside ODBC.ini file and output if connection is working or failing.</p>
Postgres ODBC with Mutual SSL in Informaticahttps://techmonger.github.io/77/odbc-ssl-postgres2020-11-02T17:50:04.895595Z2020-07-01T14:36:42.511620ZTech Monger<p class="lead">Encryption has become security norm and communicating with databases on insecure network should not be an exception to this norm. In this tutorial we will learn how to connect to postgres database using ODBC connection which is configured to use 2 way SSL connection.</p>
SOLVED : Authentication refused: bad ownership or modes for directoryhttps://techmonger.github.io/76/key-based-ssh-error2019-12-06T17:52:58.536626Z2019-12-06T17:49:47.662642ZTech Monger<p class="lead">
If you have setup key based authentication between two different servers for SSH or SFTP then you might face issues while initiating SSH connection. Below we will see how to solve these issues by considering different failure vectors. We assume that you have already setup <code>authorized_keys</code> based keyless ssh login.
Informatica Postgres Connection Issues and Solutionhttps://techmonger.github.io/72/informatica-postgres-odbc2020-11-02T17:50:48.726545Z2019-05-15T18:29:32.982927ZTech Monger<p class="lead">
If you are trying to connect postgres database from informatica using ODBC entry then you might face issues with odbc connection details. Below we will discuss common pitfalls and fixes.
Redis Remote Connection Configurationhttps://techmonger.github.io/71/remote-connection2019-03-06T19:09:42.019114Z2019-03-06T19:09:10.351904ZTech Monger<p class="lead">If you want to access redis database from remote client or even server then you would need to configure redis to accept remote connection by binding server IP Address.</p>
Password Based Authentication for Redis https://techmonger.github.io/70/redis-password2019-03-06T19:12:24.760033Z2019-03-04T18:21:03.662040ZTech Monger<p class="lead">By default redis server does not require password for connection but it allows configuration to <a href="/71/remote-connection/" title="Redis Remote Connection">accepts remote connections</a> which is potential security risk. If your redis server accept connections from remote client then it is of <em>utmost importance</em> to have password based authentication configured for your redis instance. Below we will check the configuration changes required to set password and secure our redis setup from an unauthorized access.
</p>
Custom Validation Messages with WTFormshttps://techmonger.github.io/64/wtf-custom-validation-hack2018-11-11T09:18:28.423182Z2018-11-11T07:56:08.911691ZTech Monger<p class="lead">
While using WTF or Flask-WTF for the form validation you would often find yourself adding custom validation messages according to the requirement of your web application. You can always use WTF's <code>ValidationError</code> API however in this tutorial we will show you clever hack to add validation messages during page rendering. We will show <a href="#example">example code</a> with <a href="/tag/flask" title="Flask Tutorials">flask</a> but you can use this method with any other framework which is using WTF for form validation.