5. February 2014 16:55
/
Netzz
/
PostgreSQL
/
Comments (0)
Find C:\Program Files\PostgreSQL\9.3\scripts\runpsql.bat
Add at the beginning:
cmd.exe /c chcp 1252
27b1fa65-7883-431b-b65d-2079e32ef549|1|1.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
2. August 2013 19:53
/
Netzz
/
HTML . jQuery
/
Comments (0)
When you use CDN to load scripts and fonts from a page running in https you have to use https for every external url avoiding mixing content:
https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
https://fonts.googleapis.com/css?family=Open+Sans
You can also omit the http: from the url letting the browser use the same protocol of the page.
f5fad583-df4b-45cb-b7ed-2910937c4fc5|2|4.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
31. July 2013 15:04
/
Netzz
/
jQuery
/
Comments (0)
With jQuery you can manipulate XHTML documents and create HTML fragments.
But you can also create XML documents and serialize them to string:
var doc = $.parseXML('<?xml version="1.0" encoding="utf-8" ?><Root xmlns="http://www.w3.org/1999/xhtml" />');
var $Root = $(doc.documentElement);
$('<cmd>').appendTo($Root).attr('Upper', 'val').text('action');
var xml=(new XMLSerializer()).serializeToString(doc)
//var xml=$("<dummy>").append($Root.clone()).html();
$(document.body).text(xml);
To be sure attributes are not lowered you have to append the element to it's parent before setting attributes.
You can also create an XML fragment in the same way:
var doc = $.parseXML('<Root />');
var $Root = $(doc.documentElement);
$('<cmd>').appendTo($Root).attr('Upper', 'val').text('action');
var xml=(new XMLSerializer()).serializeToString(doc)
//var xml=$("<dummy>").append($Root.clone()).html();
$(document.body).text(xml);
a7ecf160-7c25-488c-8ba4-801dcfcb6adb|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
hMailServer is a good and free e-mail server for Windows. You can also integrate it with SpamAssassin to identify spam.
- Download SpamAssassin for Windows from Jam Software here
- Download NSSM here and save it in c:\Windows. Then type "nssm install SpamAssassin” in a console
- Select "spamd.exe" in SpamAssassin installation folder as application.
- Put these parameters in options field: -l -s spamd.log --round-robin
- Go to services control panel and start SpamAssassin
- Set options in hMailServer to use SpamAssassin
- Set up a new scheduled task to run sa-update.bat to automate the process of downloading and installing new rules and configuration
30c475c5-e790-437d-b8e1-6bdf0a958174|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04