- /etc/postfix/master.cf
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
#!/usr/bin/env python | |
import numpy as np | |
from sklearn import grid_search | |
from sklearn import cross_validation as cv | |
from sklearn.svm import SVC | |
from sklearn.cross_validation import StratifiedKFold | |
from sklearn.decomposition import PCA | |
loadData = lambda f: np.genfromtxt(open(f,'r'), delimiter=',') |
fix () { | |
for x in * | |
do | |
mv -- "$x" `echo "$x" | iconv -f utf8 -t ascii//TRANSLIT | tr '[:upper:]' '[:lower:]' | sed 's/[^-.a-zA-Z0-9]\+/-/g' | sed 's/[-]\+/-/g'` 2> /dev/null | |
done | |
} | |
fixDirs () { | |
fix | |
for x in * |
%% run in Octave: | |
%% source 'imgfft.m' | |
filename = 'image.jpg'; | |
img = imread(filename); | |
img2=double(img); | |
img3= (img2(:,:,1)+img2(:,:,2)+img2(:,:,3))/3; |
; $Id$ | |
name = Disable Request new password | |
description = Disable 'Request new password' functionality | |
core = 6.x | |
package = "Other" | |
version = "6.x-0.1" |
<script type="text/javascript"> | |
<!-- | |
try { $('.Image')[0].outerHTML=''; } catch(err) {}; | |
--> | |
</script></p> | |
<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> |
import sqlite3 | |
conn = sqlite3.connect('c:\\Users\\Martin\\AppData\\Local\\Nokia\\Nokia Data Store\\DataBase\\MDataStore.db3') | |
for i in conn.iterdump(): | |
print(i) |
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() |
<html> | |
<body> | |
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> | |
<script language="javascript"> | |
mouseOverTime = 0; |
using HDF5, JLD | |
# https://www.dropbox.com/s/o4ys5z3p7ogircd/characterSetMappingTables.jld?dl=0 | |
@load "c:\\Users\\Martin\\Downloads\\MAPPINGS\\characterSetMappingTables.jld" | |
function printEncodings() | |
for mappingTable in sort(collect(keys(characterSetMappingTables))) | |
println(mappingTable) | |
end | |
end |