The Hour of Code is here

0:03   Hi, I'm Leigha, and I'm Tanya,
0:05   and we're lucky enough to be studying computer science.
0:08   We think it's terrible that 90% of schools don't teach it.
0:11   They definitely didn't offer it at my high school.
0:13   So we're trying to make this video to show that anybody can learn.
0:16   We want to get 10 million students to do the Hour of Code.
0:19   Hour of Code (repeats)
0:26   How do you get him to get to the sunflower?
0:28   He needs to do some actions.
0:30   I got it ... YAY!
0:31   Oh! (laughs)
0:33   And then we'll run it and see what happens
0:34   Haha, that's amazing!
0:36   Yeah! There we go!
0:39   That's pretty easy. -You just wrote your first program
0:40   I wrote it? -Yeah!
0:42   This is the code that you just wrote -Very awesome.
0:45   I thought, like, code was like,FBI-hacker symbols and stuff.
0:49   A little bit of problem solving a little bit of logic.
0:51   It's like instructions.
0:52   Programming is a lot easier today.
0:54   Don't just play on your phone, program it.
0:57   Alright! -Awesome!
0:58   How does someone go about getting a job?
1:00   Maybe, take an online class - find a class at a community college.
1:03   You can get one of the best paying jobs in the world.
1:05   I think medicine's moving into the whole computer age.
1:07   Technology touches every part of our lives.
1:09   If you can create technology, you can change the world.
1:12   So, we're excited that you are participating in today's Hour of Code.
1:15   We just did 2 lines of code.
1:17   3 lines of code!
1:19   4 lines,
1:19   7 lines,
1:20   5 lines,
1:20   25 lines of code.
1:23   I wrote 42 lines of code.
1:25   9 lines,
1:26   60 lines of code,
1:27   99 lines,
1:28   60 lines,
1:29   18 lines of code,
1:30   75 lines of code.
1:32   It doesn't matter how old you are,
1:33   Everybody can learn.
1:35   Hour of Code (repeats)
1:42   Whether you're a young man or a young woman;
1:45   whether you live in a city or a rural area,
1:47   everybody in this country should learn how to program a computer.
1:50   I just completed
1:51   the hour of code.
1:52   It's actually really easy to learn.
1:54   Girls should learn this too.
1:55   Understand that language that's going to be the future.
1:59   Anyone can learn computer science.
2:00   And you can learn too.
2:01   Jack Dorsey, Mark Zuckerberg, Bill Gates, all you all.
2:05   I'm Learning!
2:06   Give it a shot.
2:14   the Hour of Code is here
2:17   Spread it across the country
Transcripción : Youtube

PHP: Hola Mundo

NC > Computación > PHP

<!doctype html> 
 <html> <head> 
  <meta charset='utf-8'/> 
  <title>Hola Mundo</title> 
 </head> 
 <body> 
  <?php 
   echo 'Hola Mundo'; 
  ?> 
 </body> 
</html>

0.01

Linux : Cambiar grupo de usuarios de un archivo

NC > Computación > Linux

Para poder cambiar el grupo a un archivo se usa el comando chgrp :

$ chgrp nuevoGrupo archivo1

este comando asigna un nuevo grupo a "archivo1"

De manera recursiva es:

$ chgrp -R nuevoGrupo archivo1

este comando asigna un nuevo grupo a "archivo1" y de forma recursiva a todos los archivos contenidos en el.

  Es detalle de la forma recursiva es pués que no se puede cambiar el grupo a los archivos que fueron creados por otros usuarios, para corregir esto es necesario ejecutar el comando en modo root.

$sudo chgrp -R nuevoGrupo archivo1

  Para más información del comando "chgrp" ejecutar:

$ man chgrp

Links:

  1. https://es.wikipedia.org/wiki/Chgrp
  2. http://apuntes-para-no-olvidar.blogspot.com/2011/02/cambio-de-propietario-en-una-carpeta.html
  3. https://cool2k.wordpress.com/2008/08/16/hello-world/
  4. http://manpages.ubuntu.com/manpages/trusty/es/man1/chown.1.html
  5. http://xandrusoft.blogspot.com/2010/02/como-cambiar-grupo-de-archivos-en.html

0.10