Resultats de text complet:
- hibernate
- localhost:3306/hibernate hibernate.connection.username=DB_USER hibernate.connection.password=DB_PASSWORD... 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"/>
- 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
- java_lectura_escriptura_xml
- able"> <student id="id_e00"> <name>Maria</name> <surname>Longstorm</surname> <age>18</age> <course>1B</course> </student>
- java_sqlite
- stem.out.println("BBDD driver: " + meta.getDriverName()); } System.out.println("BBDD SQLite con... " + rs.getInt("id") + ", " + rs.getString("name")); } </code> ==== Exemple, mostrar dades de SQ... md.getColumnLabel(cntCol); String name = rsmd.getColumnName(cntCol); int type = rsmd.getColumnType(cntCol); Sy
- django_mongo
- lt': { 'ENGINE': 'djongo', 'NAME': 'db-name', } } Si la vostra base de dades no es troba a localhost o està protegida, també ... u d'omplir la informació del CLIENT com HOST, USERNAME, PASSWORD, etc. DATABASES = { 'default': { 'ENGINE': 'djongo', 'NAME': 'your-db-name', 'ENFORCE_SCHEMA': F
- cluster_hardware_amb_pacemaker_i_corosync
- er 00:0c:29:da:2f:f7 brd ff:ff:ff:ff:ff:ff altname enp2s0 inet 172.16.84.139/24 brd 172.16.84.25... er 00:0c:29:da:2f:0b brd ff:ff:ff:ff:ff:ff altname enp3s0 4: ens256: <BROADCAST,MULTICAST> mtu 1500 ... er 00:0c:29:da:2f:01 brd ff:ff:ff:ff:ff:ff altname enp26s0 </file> <tabbox després dels canvis> <f... er 00:0c:29:da:2f:f7 brd ff:ff:ff:ff:ff:ff altname enp2s0 inet 172.16.84.11/24 brd 172.16.84.255
- 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
- syntax @wiki
- square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. [[doku>pagename|Wiki pagenames]] are converted to lower
- 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
- ansible
- de superusuari. * Argument **-m** o **- -module-name** i **-a**: * Si no s’especifica aquest argu... ervidors: <code> $ ansible ansible1 -a hostname </code> * Per veure la quantitat de RAM i la ... 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>
- django_test
- sa.com', 'admin123') # ens loguem amb username (o amb email, segons es configuri) login = self.client.login(username='admin',password='admin123') self.assertT... cia fallarà login = self.client.login(username='admin',password='admin123') # no fem ass... s els tests login = self.client.login(username='admin',password='admin123') self.assertT
- pdo
- // si falla executa el catch try { $hostname = "localhost"; $dbname = "mundo"; $username = "admin"; $pw = "admin123"; $pdo = new PDO ("mysql:host=$hostname;dbname=$dbname","$username","$pw"); } catch (PD
- 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
- docker_swarm
- _port, guest: 5000, host: 5000 manager.vm.hostname = "manager" manager.vm.synced_folder ".", "/v... manager.vm.provider "virtualbox" do |vb| vb.name = "manager" vb.memory = "1024" end en... work, ip: "10.100.199.20#{i}" worker.vm.hostname = "worker0#{i}" worker.vm.synced_folder "."... orker.vm.provider "virtualbox" do |vb| vb.name = "worker0#{i}" vb.memory = "1024"
- nodejs_express
- age.json'' ha de ser semblant a aquest: { "name": "myApp", "version": "1.0.0", "descripti... ode html> <form action="/checklogin"> <input "name"="username"> ...</code> les dades s'enviaran a la pàgina ''checklogin'' (action) dins la URL aproxi... així:<code>http://elmeudomini.com/checklogin?username=manolo</code> i podrem accedir via ''req.query.us