SmartFB is a free SQL client for Interbase and Firebird made for internal / educational use. As we think it will be useful we decided to make it available for download. It is in “beta” version, but I think it could be useful, so you can download it from the following links: – Download Windows…
Leggi tutto
Primo test di porting database alla versione Firebird 3.0 che è la versione ufficialmente afficancata ai pacchetti di distribuzione standard di Ubuntu nella versione LTS attuale 18.04. Le differenze tra la versione 3.0 di FB e le precedenti sono moltissime. Ma i passaggi sono abbastanza semplici per effettuare il porting dalle versioni precedenti alla attuale…
Leggi tutto
Add class to checkbox
1 2 3 4 5 6 7 |
<div id="checkboxList"> <div><input type="checkbox" value="1" class="myChk"> Value 1</div> <div><input type="checkbox" value="2" class="myChk"> Value 2</div> <div><input type="checkbox" value="3" class="myChk"> Value 3</div> <div><input type="checkbox" value="4" class="myChk"> Value 4</div> <div><input type="checkbox" value="5" class="myChk"> Value 5</div> <div> |
Create a function to return a JSON string
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
function arrayChk(){ var arrAn = []; var m = $('.myChk'); var arrLen = $('.myChk').length; for ( var i= 0; i < arrLen ; i++){ var w = m[i]; if (w.checked){ arrAn.push( { "myVal" : w.value } ); console.log(w.value ); } } var myJsonString = JSON.stringify(arrAn); //convert javascript array to JSON string console.log( 'result' + myJsonString); alert(myJsonString); return myJsonString; } |
Here an example https://jsfiddle.net/a3owjh85/1/
Setting date time daemon and timezone of my locale on my ubuntu 18.04 servers: Install NTP daemon:
1 |
sudo apt install ntp |
Configure your locale time zone by checking the list:
1 |
timedatectl list-timezones |
In my case:
1 |
sudo timedatectl set-timezone Europe/Rome |
Welcome to VR6 @ Synaptica Farm VR6 is a fully customized Dell R740XD dual Xeon performance server for high performance in the KVM Virtualization System. Higher performance less core (on 18 per processor) more frequency (plus 3Ghz) memory RDIMM ECC 2666GHz … less virtual machine but faster. Why VR6? Each production server in Synaptica has…
Leggi tutto
Mountin a drive formatted with MacOSX HPFS or HPFS+ on ubuntu 18.04: https://superuser.com/questions/84446/how-to-mount-a-hfs-partition-in-ubuntu-as-read-write/365270?newreg=cde50df4baf84d50886f6a49f3d57acd