Other articles


  1. Python, FTPS and mis-configured servers

    Today's project involves automatically uploading electrical metering data to an FTPS server (explicit FTP over TLS, otherwise knowns as ESFTP). Shouldn't be a problem, since Python supports FTPS out of the box. Only it doesn't work. Here's the code:

    import ftplib
    ftp = ftplib.FTP_TLS('host', 'user ...
    read more
  2. Angular eats my default form values

    Today, AngularJS isn't doing what I expect. I've auto-generating a really long form in Django, and adding ng-model attributes so I can summarise the form. Unfortunately, Angular is overwriting my defaults. Here's a shortened example:

    <html>
        <head>
        </head>
        <body>
            <form ng-app="testApp" ng-controller="TestCtrl">
                <select name="colour ...
    read more

Page 1 / 4 »

blogroll

social