Resultats de text complet:
- hibernate
- te-mapping-3.0.dtd"> <hibernate-mapping> <class name="Employee" table="employee"> <meta attribute... ntains the employee detail. </meta> <id name="id" type="int" column="id"> <generator class="native"/> </id> <property name="firstName" column="first_name" type="string"/> <property name="lastName" column="last_name" type=
- java_sqlite
- " + rs.getInt("id") + ", " + rs.getString("name")); } </code> ==== Exemple, mostrar dades de SQ... md.getColumnLabel(cntCol); String name = rsmd.getColumnName(cntCol); int... System.out.println(" " + label + ", " + name + ", " + type); } // Mos... getColumnType(cntCol); String name = rsmd.getColumnName(cntCol);
- django_mongo
- lt': { 'ENGINE': 'djongo', 'NAME': 'db-name', } } Si la vostra base de dades no es troba a localhost o està protegida, també ... ': { 'ENGINE': 'djongo', 'NAME': 'your-db-name', 'ENFORCE_SCHEMA': False, 'CLIENT': { 'host':
- java_lectura_escriptura_xml
- able"> <student id="id_e00"> <name>Maria</name> <surname>Longstorm</surname> <age>18</age> <course>1B<... udent> <student id="id_e01"> <name>John</name> <surname>Bluefield</surname> <age>17</age> <course>1B</
- opendata_pandas
- elf.nom_temporada class Meta: verbose_name_plural = 'Lligues' class Jugadora(models.Model)... al} - {self.nom}' class Meta: verbose_name_plural = 'Jugadores' class Partit(models.Model)... elete=models.CASCADE, related_name="partits_local",null=True,blank=True) visitan... elete=models.CASCADE, related_name="partits_visitant",null=True,blank=True) llig
- integracio_de_django_amb_react
- Customer**: customer_id (IntegerField) i customer_name (CharField(200)) * **Account**: account_id (Int... = models.IntegerField(default=0) customer_name = models.CharField(max_length=200) def __str__(self): return self.customer_name class Account(models.Model): acc... stomer fields = ('customer_id', 'customer_name') </file> 7. Ara és el moment de crear les vistes
- ansible
- de superusuari. * Argument **-m** o **- -module-name** i **-a**: * Si no s’especifica aquest argu... ar un grup admin $ ansible ansible1 -m group –a “name=admin state=present” -b </code> * **user**: per... r crear un usuari: $ ansible ansible1 -m user -a "name=anasanz group=admin create_home=yes" -b</code> ... ls mesos de l’any. $ ansible ansible1 -m cron -a "name='exemple' weekday=2 hour=4 minute=0 job='/script.
- django_auth
- h.urls")), path("accounts/profile/", profile, name="profile"), ] </file> Això ens configurarà les rutes: <code> accounts/login/ [name='login'] accounts/logout/ [name='logout'] accounts/password_change/ [name='password_change'] accounts/password_change/done/ [name='pass
- django_lliga
- lete=models.SET_NULL, related_name="events_fets") equip = models.ForeignKey(Equi... lete=models.SET_NULL, related_name="events_rebuts") detalls = models.TextField(n... elete=models.CASCADE, related_name="partits_local") visitant = models.ForeignKey... elete=models.CASCADE, related_name="partits_visitant") lliga = models.ForeignKey
- syntax @wiki
- l characters are not allowed. You can use [[some:namespaces]] by using a colon in the pagename. You can use [[some:namespaces]] by using a colon in the pagename. For details about namespaces see [[doku>namespaces]]. Linking to a specific section is possible, too. Just add the section na
- dockeritzacio_aplicacions_symfony
- ONY_DATABASE_USER=alumne - SYMFONY_DATABASE_NAME=paraules_db volumes: - './paraules:/app... és hi hauran dos serveis nous funcionant. <code> NAME COMMAND SERVICE ... 6cd179e:/app# php bin/console make:entity Class name of the entity to create or update (e.g. TinyGnome... lly or by re-running this command. New property name (press <return> to stop adding fields): > paraul
- cluster_hardware_amb_pacemaker_i_corosync
- 255.255.0 gateway 172.16.84.2 dns-nameservers 172.16.84.2 1.1.1.1 8.8.8.8 # Xarxa d'adm... addresses: - 192.168.1.20/24 nameservers: addresses: [4.2.2.2, 1.1.1.1] v... configuration node { # Hostname of the node name: node1 # Cluster membership node identifier n... configuration node { # Hostname of the node name: node1 # Cluster membership node identifier n
- docker
- CREATED STATUS PORTS NAMES 1cf40af37371 httpd "httpd-foreground" ... ATED STATUS PORTS NAMES af672fa8016d hello-world "/hello" ... rt 8000 de la màquina //host//. $ docker run --name amadeus -d -p 8000:80 httpd {{ docker5.png?direc... -v /path/to/data:/docker/path'': $ docker run --name maria1 -v ~/mysql1:/var/lib/mysql -e MARIADB_ROOT
- docker-multicontainer
- la BD estigui engegada abans): $ docker run --name mi-sql --network xarxa_dades -d -e MYSQL_DATABASE... b:/var/lib/mysql mariadb:latest $ docker run --name mi-wordpress --network xarxa_dades -d -e WORDPRES... _HOST=mi-sql -v web:/var/www/html -e WORDPRESS_DB_NAME=wp-db -e WORDPRESS_DB_USER=wp-user -e WORDPRESS_D... image: 'mariadb:latest' container_name: mi-sql restart: always env
- flask_basic
- Flask'' A continuació afegim ''app = Flask (%%__name__%%)'' Importar la classe Flask és estrictament ... trolador.py**: <file python controlador.py> if __name__ == '__main__': app.run('127.0.0.1', 5000, d... a classe Flask vam afegir com a argument "**%%__%%name%%__%%**"? Doncs el condicional el que fa és compr... rolador.py> from flask import Flask app = Flask(__name__) @app.route('/') def inici(): return 'Aque