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
// el argumento View es necesario cuando el método es invocado desde el view. | |
public void invocar (View view) { | |
startActivityForResult(new Intent(this, Invocado.class), PEDIDO_DE_MENSAJE); | |
} |
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
;; install: web-mode | |
;; popup | |
;; yasnippet | |
;; js-doc | |
;; ;; can't get used to spanish keyboard ;_; | |
;; (global-set-key (kbd "M-;") 'beginning-of-buffer) | |
;; (global-set-key (kbd "M-:") 'end-of-buffer) | |
;; full screen |
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
create new identity for ssh | |
http://superuser.com/questions/232373/how-to-tell-git-which-private-key-to-use |
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
using UnityEngine; | |
using System.Collections; | |
public class Bullet : MonoBehaviour { | |
public float Speed = 1; | |
public float LifeTime; | |
private float _age; | |
void Start () { |
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
eldiario.es | |
http://m.eldiario.es/hojaderouter/internet/libertad_de_expresion-internet-Naciones_Unidas-resolucion_0_535096845.html |
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 | |
# INCORRECTO | |
# esto es lo primero que intenté, pero estaba leyendo los argumentos | |
# como si fueran una palabra, como encerrados entre comillas D: | |
# eso es malo! pdfjam -h mostrará que acepta los nombres de | |
# varios pdfs que unirá, así que creerá que toda la lista de | |
# argumentos que le pasé es el nombre de un archivo pdf D: |
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 | |
# $@ contiene todos los argumentos pasados al script (es un array) | |
# $* !== $@, porque cuando le pasas al script un argumento entre comillas, | |
# Si ejecutamos el script: ./pass-arguments.sh "a b c": | |
# $@ lo leerá como un item de su array. "a b c" está en $@[0] | |
# $* lo leerá como tres items de su array. a está en $*[0] | |
echo "The arguments are: ""$@"; | |
echo "printing'em one by one..." |
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 | |
# thanks to Ocaso Protal! http://stackoverflow.com/questions/14704274/how-to-write-shell-script-for-finding-number-of-pages-in-pdf | |
n_pages=$(pdfinfo $1 | grep Pages | awk '{print $2}'); | |
page_width=$(pdfinfo $1 | grep "Page size" | awk '{print($3)}'); | |
page_width=$(echo "$page_width/2" | bc); | |
odd_file="tmp-$1-odd.pdf"; | |
even_file="tmp-$1-even.pdf"; |
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
Es una página web en la que los estudiantes pueden explorar los archivos de varios ``casos históricos'', luego de leer cartas, ver fotografías, y explorar todo tipo de ``evidencias'', deberán responder a varias preguntas planteadas, respecto al contexto, sucesos y modo de vida de la época. | |
Las respuestas a estas preguntas no siempre serán obvias, muchas veces estarán ocultas implícitamente en detalles que podrían pasar desapercibidos por los jugadores. Por esta razón, es necesario que el jugador explore la evidencia, y preste mucha atención a todos los pequeños detalles.(Swan y Hofer, s.f.) | |
Debido a que el jugador concluye la respuesta a las preguntas planteadas, es mucho más probable que el aprendizaje sea significativo.(CommonSense, s.f.) |
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
(defun purge-pdf () | |
(interactive) | |
(progn | |
(goto-char 1) | |
;; párrafos a salto auxiliar | |
(while (search-forward-regexp "\\([.\)]\\)\\($\\)\\([^\-]\\)" nil t) | |
(goto-char (match-end 0)) | |
(insert "ZOMGZALIENZ")) | |
;; saltos dentro del párrafo | |
(goto-char 1) |