This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<templateSet group="JavaScript"> | |
<template name="iter" value="for each (var $VAR$ in $ARRAY$) { $END$ }" description="Iterate (for each..in) - JavaScript 1.6+" toReformat="true" toShortenFQNames="true"> | |
<variable name="ARRAY" expression="jsArrayVariable()" defaultValue=""array "" alwaysStopAt="true" /> | |
<variable name="VAR" expression="jsSuggestVariableName()" defaultValue=""o"" alwaysStopAt="true" /> | |
<context> | |
<option name="HTML_TEXT" value="false" /> | |
<option name="HTML" value="false" /> | |
<option name="XSL_TEXT" value="false" /> | |
<option name="XML" value="false" /> |
This file contains 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
#! /usr/bin/env python | |
import os | |
import psycopg2 | |
import MySQLdb | |
PG = { | |
'name' : 'moodle_rvt_sociales', | |
'user' : 'diegueus9', | |
'pass' : 'fuseki', | |
'host' : 'localhost', |