View Readme.txt
Patch for Ubercart hidden checkout error
Uc_cart version: 6.x-2.15
Drupal version: 6.38
Ubercart hidden checkout error:
No error message appeared when the database connection error occurred.
The drupal user wasn't created and the customer received only one email (below) with the account settings but the username was empty.
The order remained in the state "in checkout".
View characterSetMappingTables.jl
using HDF5, JLD
@load "c:\\Users\\Martin\\Downloads\\MAPPINGS\\characterSetMappingTables.jld"
function printEncodings()
for mappingTable in sort(collect(keys(characterSetMappingTables)))
View touchtest.html
<script src="//"></script>
<script src="//"></script>
<script language="javascript">
mouseOverTime = 0;
View gist:444619fbdec82864a025
import sqlite3
import json
conn = sqlite3.connect('c:\\Users\\Martin\\AppData\\Local\\Nokia\\Nokia Data Store\\DataBase\\MDataStore.db3')
data = {}
cursor = conn.execute("select * from contact")
rows = cursor.fetchall()
getRowData = lambda r : ' '.join([x if x else '' for x in r]).strip()
View gist:fdc3462e62b039a910c4
import sqlite3
conn = sqlite3.connect('c:\\Users\\Martin\\AppData\\Local\\Nokia\\Nokia Data Store\\DataBase\\MDataStore.db3')
for i in conn.iterdump():
View gist:2b219d7684b73692c96f
<script type="text/javascript">
try { $('.Image')[0].outerHTML=''; } catch(err) {};
<p><a href="#" onclick="Lightbox.start(
$('#galleria-content ul.galleria li a:eq(0)')[0]);
return false;"><img src="/sites/default/files/posli_to_dal2.jpg" style="float: left;"/></a></p>
View gist:8248935

Postfix SMTP authentication and Dovecot SASL

  • /etc/postfix/
  smtp      inet  n       -       -       -       -       smtpd
  submission inet n       -       -       -       -       smtpd
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
; $Id$
name = Disable Request new password
description = Disable 'Request new password' functionality
core = 6.x
package = "Other"
version = "6.x-0.1"
View imgfft.m
%% run in Octave:
%% source 'imgfft.m'
filename = 'image.jpg';
img = imread(filename);
img3= (img2(:,:,1)+img2(:,:,2)+img2(:,:,3))/3;
View gist:7741936
fix () {
for x in *
mv -- "$x" `echo "$x" | sed 's/[^-.a-zA-Z0-9]\+/-/g'` 2> /dev/null