- Cambiar contraseña de Administración
- Filtrar acceso de impresora por red
- Desactivar la impresión a color
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
#!/bin/bash | |
# | |
# name : setupsiatic | |
# description : Prepara una SIATIC paso por paso usando puntos del documento colaborativo | |
# author : Raúl Tierno | |
# creation : 09062017 | |
# last modification : 09062017 | |
# uso : setupsiatic a19 | |
# install : Save in /usr/local/sbin/ | |
# suggestion : Use after install official image of SIATIC 64Bits |
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
#!/bin/bash | |
# | |
# Crea un fichero /etc/pkgsync/musthave con la lista de paquetes instalados de forma | |
# intencionada en el sistema. | |
# Normalmente lo utilizamos para mantener el mismo software instalado en una serie de máquinas | |
# mediante pkgsync, aunque también podríamos usarlo para clonar los paquetes instalados en otra | |
# máquina con dpkg --set-selections. | |
##!/bin/bash | |
# | |
# Crea un fichero /etc/pkgsync/musthave con la lista de paquetes instalados de forma |
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
# SOURCE Bashstyling (https://gist.github.com/raultm/c68dca2d076273f569b51653503ead05) | |
source <(curl -s https://gist.githubusercontent.com/raultm/c68dca2d076273f569b51653503ead05/raw) | |
h1 "Vamos a preparar el router wifi de una SIATIC" | |
info "Indica nombre del aula. Será el SSID de la Wifi. Ej: a19, Infolab, Aula24: " | |
read AULA | |
info "Indica la contraseña del router. Busca en la lista el correo subject:\"[SIATIC] Punto acceso wifi\" del 27/01/16 " | |
read -s -p "Password: " ROUTERPASS |
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 class GoalUseCaseImpl implements GoalUseCase{ | |
private Match match; | |
private Squad squad; | |
Callback callback; | |
ApplyIncidentUseCase applyIncidentUseCase; | |
private int minute; | |
private int second; | |
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
# Montar unidad | |
fdisk -l # Listar unidades montables | |
mkdir /path/to/mount # Creamos carpeta donde vamos a montar unidad | |
mount -t [type] [/path/to/device] [/path/to/mount] # De la información de los dos comandos anteriores ya podemos montar |
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
<?php | |
namespace App\Test\TestCase\Custom; | |
use Cake\TestSuite\TestCase; | |
class DemoTest extends TestCase { | |
public function testDemo(){ | |
$this->assertEquals(1, 1); | |
} |
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
<?php | |
$this->University->Behaviors->load('Containable'); | |
$containArray = array( | |
'Course' => array( | |
'Group' => array( | |
'Studen' => array( | |
'Marks' | |
) | |
) | |
) |
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
// No DI | |
public class Car{ | |
private Motor motor; | |
public Car(){ | |
motor = new ElectricMotor(); | |
} | |
} |