This file contains 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 | |
//Edinson Carranza Saldaña | |
class CajaAhorro { | |
//Set attributes | |
public $titular = 'Edinson Carranza'; | |
public $saldo = '35000'; | |
public $interes = 'Developer'; |
This file contains 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
Conocer Version de Symfony instalada | |
php app/console --version | |
---- Creando Proyecto Nuevo En Symfony---- | |
Crear una carpeta | |
mkdir CarpetaNueva | |
------------------ Composer ------------------ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Mi primera galeria</title> | |
<style type="text/css"> | |
body{font: normal normal 12px/12px Verdana; background: #ddd; } | |
body > div{ width: 950px; margin: auto; text-align: center; padding: 20px 10px; background: white; } | |
div div{ background: #DDD; border: 1px solid purple; color: purple; display: inline-block; padding: 10px 15px; margin-right: 10px; } | |
h1{ font: italic bold 50px/52px Georgia; margin: 0 0 10px 0; color: fuchsia; text-align: center; border-bottom: 2px solid fuchsia; padding-bottom: 5px; } | |
img{ height: 170px; display: block; margin: auto; border: 2px solid #999; padding: 6px; background: white; border-radius: 4px; opacity: 0.85; transition: all 0.2s linear 0s; } |
This file contains 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
var pagenation = function(current, total){ | |
var list = []; | |
var pageLimit = 5; | |
var upperLimit, lowerLimit; | |
var currentPage = lowerLimit = upperLimit = Math.min(current, total); | |
for (var b = 1; b < pageLimit && b < total;) { | |
if (lowerLimit > 1 ) { | |
lowerLimit--; b++; | |
} |
This file contains 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
<html lang="es"> | |
<script> | |
var a = Number(prompt('Ingrese lado A')); | |
var b = Number(prompt('Ingrese lado B')); | |
var c = Number(prompt('Ingrese lado C')); | |
var response = ''; |
This file contains 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
"use strict" | |
document.write('To javascript pro'); | |
document.write('<br />'); | |
let n = 'edinson', | |
s = 'carranza'; | |
let body = document.querySelectorAll('body'); | |
let getNameFull = (name, surname) => { | |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> | |
<title>Facebook Components 2</title> | |
<style> | |
#main { | |
background: #dedede; | |
width: 20%; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" /> | |
<title>Facebook Like - React</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | |
<style> |
This file contains 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
var typeEnconding = function() { | |
this.charset = document.inputEncoding; | |
this.iqual = 'UTF-8'; | |
} | |
var newE = new typeEnconding(); | |
function scan(ch) { | |
if (ch.charset == ch.iqual) { | |
accept(ch); | |
} else { |
This file contains 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
//Core Dom | |
//Obtenemos el doctype de nuestro HTML | |
const d = document.doctype; | |
//console.info('Muestro el doctype de HTML:'); | |
//console.log(d); | |
//Obtenemos los elementos de nuestro HTML | |
const e = document.documentElement; |