Skip to content

Instantly share code, notes, and snippets.

@DJarc
DJarc / MAIL de PHP
Created June 13, 2017 17:48 — forked from fmagrosoto/MAIL de PHP
Script personalizable en PHP para subir una imagen al servidor, reducir la imagen a un tamaño específico (configurable), crear un versión en miniatura y eliminar la versión original. Éste script utiliza las librerías de GD incluídas en PHP . Aunado a éste script he incluído una rutina para mostrar las imágenes subidas al directorio con dos links…
<?php
####
## Eliminar una imagen
####
if(isset($_GET['eliminar'])){
$archivo = $_GET['eliminar'];
$directorio = dirname(__FILE__);
if(unlink($directorio.'/'.$archivo)){
header("Location: cargarImagen.php?accion=eliminado");
@DJarc
DJarc / Full Stack JavaScript.md
Created November 22, 2018 17:58 — forked from royshouvik/Full Stack JavaScript.md
Learn Full Stack JavaScript Web Development for FREE using resources like YouTube, Udacity and NodeSchool
JavaScript resources, all free online. They're ordered in diffuculty from top to bottom.
http://jsforcats.com/
https://www.youtube.com/playlist?list=PLeL6uTxQ-uX_5BpOb2FDNgG6SxjCs59Kv
https://www.youtube.com/watch?v=hQVTIJBZook
https://www.khanacademy.org/computing/computer-science/algorithms
http://speakingjs.com/es5/index.html
http://eloquentjavascript.net/index.html
http://superherojs.com/
https://www.youtube.com/watch?v=8aGhZQkoFbQ