Photoshop. dreceres de teclat

Ctrl+N Crea nou document
Ctrl+O obrir document
Ctrl+W Tancar document actual
Ctrl+”+” Ampliar zoom sobre la imagen
Ctrl+”-“ Disminuir zoom sobre la imagen
Ctrl+0 Ajustar la imagen al tamaño de la pantalla
Ctrl+Z Deshacer
Ctrl+Alt+Z Deshacer paso hacia atrás
Tabulador Oculta o muestra los paneles (pudiendo dejar así la imagen a pantalla completa)
Ctrl+T Transformación libre
Ctrl+R Mostrar u ocultar reglas
Ctrl+Tab Desplazarse por imágenes abiertas en Photoshop
Alt+May+Ctrl+S Guardar para web (muy utilizado si tienes un blog)
F2 Cortar
F3 Copiar
F4 Pegar
F12 Volver
D y C Cambia entre los colores de fondo y predeterminado
H Herramienta Mano (ideal para mover la imagen cuando hemos aplicado zoom)
B Herramienta pincel
V Herramienta puntero
W Varita mágica
M Marco rectangular de selección
C Cortar
E Borrador
U Rectángulo
T Texto
J Pincel corrector
G Cubo de pintura
P Pluma
S  Tampón de clonar
O  Sobreexponer
Z Zoom



Para trabajar con Photoshop hay que saber dominar las capas. La importancia de las mismas hace que tengan una gran cantidad de atajos de teclado destinados a su manejo. Estos son algunos:

Shift+Ctrl+N Nueva capa
Shift+Ctrl+Alt+N Nueva capa sin cuadro de diálogo (crea una capa nueva sin mostrarnos el cuadro de diálogo para que le pongamos nombre)
Ctrl+J Nueva capa vía Copiar
Mayús+Ctrl+J Nueva capa vía Cortar
Ctrl+Shift+] La capa seleccionada pasa a la parte superior
Ctrl+Shift+E Combinar capas visibles
Ctrl+Alt+A Seleccionar todas las capas
Ctrl+I Invertir los colores de la capa
Q Activa la capa rápida
F7 Mostrar u ocultar ventana de capas
Ctrl+B Equilibrio de color (abre el cuadro de diálogo para modificar los ajustes de color)
Ctrl+U Tono/Saturación de color
Ctrl+Shift+U Desaturar color
Ctrl+Alt+I Cambiar tamaño de la imagen
Ctrl+M Ajuste de curvas de colores
Ctrl+L Ajustar niveles de colores
Ctrl+1 Ampliar al 100%


Firefox profile

Tots els canvis que feu a Firefox, com la pàgina d’inici, les barres d’eines que feu servir, les extensions que heu instal·lat, les contrasenyes desades i les adreces d’interès, es guarden totes en una carpeta especial anomenada perfil (C:\Users\urqte\AppData\Roaming\Mozilla\Firefox). La vostra carpeta de perfils s’emmagatzema en un lloc independent del programa Firefox de manera que, si alguna cosa va malament amb Firefox, la informació encara hi serà. També significa que podeu desinstal·lar Firefox sense perdre la configuració i no heu de tornar a instal·lar Firefox per esborrar la informació o per solucionar un problema.
Es pot consultar -> about:profiles

Coronavirus may infect up to 70% of world’s population, expert warns

Last Updated Mar 2, 2020 7:43 PM EST

Boston — The coronavirus death toll now tops 3,000 worldwide, with nearly 90,000 cases. But even those numbers are nothing compared to what could happen in the months ahead.

CBS News spoke to one of the country’s top experts on viruses, Marc Lipsitch from Harvard University, who cautions that 40-70% of the world’s population will become infected — and from that number, 1% of people who get symptoms from COVID-19, the disease caused by the coronavirus, could die. The virus can spread rapidly and people can transmit it before they know they are infected.

Lipsitch breaks down his findings in this extended conversation with CBS News. The following transcript has been lightly edited for clarity.

Jim Axelrod: So, the number that I think is grabbing a lot of people is this estimate: 40-70% of the world’s adult population could be infected.

Marc Lipsitch: Yes.

Axelrod: Accurate?

Lipsitch: That is a projection, so we will find out if it’s accurate as things go on. It is the best estimate that I’ve been able to make based on a combination of the mathematical models that we use to track and predict epidemics.

Axelrod: So in terms of addressing the numbers that may get people panicked, what can you tell us?

Lipsitch: Well, again, the “40-70%” is a proportion of the population — adult population infected. We know that some people who get this infection have no or almost no symptoms whatsoever. What we don’t know is how many there are like that.

Lipsitch: So say that’s half the people. Then the 1% or 2% that we’re seeing in the symptomatic people is cut down by half. Whatever the number is, it’s gonna take a toll. If it really does spread as widely as that projection says, and that’s what I think is likely to happen, then there are gonna be millions of people dying. And I don’t think there’s any way to get around that. And so I think there’s real reason for people to be concerned. I also think that we can turn that concern into actions that will make the situation better.

Axelrod: Just to clarify before we get into the actions, the 1% of people who are symptomatic, that fatality rate, that’s also not a straight mathematical equation. People over 65 may be more susceptible. People under 30 may be less susceptible, correct?

Lipsitch: So the susceptibility to symptomatic infection seems to go up strictly with age, and especially up at the very oldest ages. Among those who are symptomatic, the risk of dying goes up further. So it really is concentrated in those older age groups, the high risk.

Axelrod: You, who knows as much as anybody about this, are using words like “if” and “Well, we hope.” The fact is, we really just don’t know what to expect, do we?

Lipsitch: I think we have some bounds on what to expect. I think it is now almost inevitable that this will transmit in a global fashion and take a big toll on essentially the entire globe. I just don’t see any way around that given the number of places where we know about it and the number of places where we haven’t looked, and therefore, can infer that some of those places also probably have it.

Axelrod: When considering preparation, what should people be doing to prepare, aside from storing food or medicine? Mentally, what should people be doing to prepare?

Lipsitch: I think there’s a reasonable chance that public gatherings will be restricted either by legal authority — although I think that’s less likely — or by voluntary decisions of people. That includes church services and other forms of gathering in large groups.

Lipsitch: In terms of making things better and preparing, I think one thing we can do is, for business owners and those who are in charge of workplaces, to make it easier for people to stay home if they’re sick count sick days during this pandemic. On the individual level, that also means preparing oneself to stay home when sick in order to help prevent transmission to others.

Axelrod: I heard some people over the weekend just anecdotally saying, “Oh, SARS was supposed to be bad. Bird flu was supposed to be bad. The 2009 flu was supposed to be bad. And it wasn’t. I’m not gonna subscribe to the sky is falling. And this isn’t gonna be that bad.” You’re saying, “Time out, this actually is qualitatively different”?

Lipsitch: This is qualitatively different from SARS and MERS in the sense that it is ten times bigger than SARS already, or more and about ten bigger than SARS and it is way more widespread. And it’s clearly not under control in the way that SARS was at this point or near this point.

Axelrod: And for people tryin’ to get their arms around this right now, I think it’s a worthwhile question to ask you. Is this coronavirus an existential threat?

Lipsitch: This is not an existential threat. This is, qualitatively, it’s very much like a bad pandemic of influenza, which we experienced arguably twice or three times in the 20th Century. It’s worse than the one that we experienced in 2009. But none of those brought civilization close to its knees. They made things awful for a while.

Axelrod: And this won’t either?

Lipsitch: And this will not either.

No, the world is not ending

php instruccions d’us freqüent(1)

salt de línia: <br>   <?php echo “hello wold1 <br> hello world 2”;

– //es fa la conexió amb la BD
$conn= mysqli_connect(DB_HOST, DB_USER, DB_PWD, DB_NAME);

//s’escriu a la BD

$SQL =”UPDATE $taula SET castella=’$castella’ WHERE id= ‘$idx’ “;
$result = mysqli_query($conn,$SQL);

//llegir registres d’una taula de BD ( include(‘conexió&results.php’);

$conn= mysqli_connect(DB_HOST, DB_USER, DB_PWD, DB_NAME);// fa la conexió
$result = mysqli_query($conn,$SQL);//llegeix i carrega matriu
$num_results = $result->num_rows;

Llegir una fila d’una taula

DEFINE ('DB_HOST', 'localhost');
DEFINE ('DB_USER', 'root');
DEFINE ('DB_PASSWORD', 'beseit00');
DEFINE ('DB_NAME', 'polidic_eng');

$conn = @mysqli_connect (DB_HOST, DB_USER, DB_PASSWORD, DB_NAME)
OR die (‘Could not connect to MySQL:’ .mysqli_connect_error());
//echo “Host information: ” . mysqli_get_host_info($conn) . PHP_EOL;
$SQL = “SELECT * FROM parametres WHERE id=1 LIMIT 1”; //ordre mysql
$result = mysqli_query($conn,$SQL);//llegeix i carrega matriu
$camps = mysqli_fetch_assoc($result);
$fallades= $camps[‘compt_fallades’];
$total= $encerts + $fallades;
echo “encerts: $encerts, fallades:$fallades”;
$puntuacio= round(($encerts/$total)*10,2);

afegir un registre

$SQL = "INSERT INTO $_POST[taula](catala,castella,qualificador,aux)VALUES( '$catala','$definicio','$qualificador','$aux')";
if (mysqli_query($conn, $SQL)) {echo "New record created successfully";}