This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ redis-cli | |
> config set stop-writes-on-bgsave-error no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param args the command line arguments | |
*/ | |
public void createXmlFile(Document doc, String name, String Service, String Input, String Output | |
, String[] atr) throws Exception { | |
Element root = doc.createElement("composant"); | |
doc.appendChild(root); | |
Element element1 = doc.createElement("Nom_de_composant"); | |
root.appendChild(element1); | |
Text text1 = doc.createTextNode(name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void createXmlFile(Document doc, String name, String Service, String Interface, String Input1, String Input2, String Input3, String Output, String[] atr) throws Exception { | |
Element root = doc.createElement("composant"); | |
doc.appendChild(root); | |
Element element1 = doc.createElement("Nom_de_composant"); | |
root.appendChild(element1); | |
Text text1 = doc.createTextNode(name); | |
element1.appendChild(text1); | |
/* | |
Element element2 = doc.createElement("Keyword"); | |
root.appendChild(element2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!window.localStorage) { | |
window.localStorage = { | |
getItem: function (sKey) { | |
if (!sKey || !this.hasOwnProperty(sKey)) { return null; } | |
return unescape(document.cookie.replace(new RegExp("(?:^|.*;\\s*)" + escape(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*"), "$1")); | |
}, | |
key: function (nKeyId) { | |
return unescape(document.cookie.replace(/\s*\=(?:.(?!;))*$/, "").split(/\s*\=(?:[^;](?!;))*[^;]?;\s*/)[nKeyId]); | |
}, | |
setItem: function (sKey, sValue) { |