Skip to content

Instantly share code, notes, and snippets.

View ccarpenterg's full-sized avatar

Cristian Carpenter ccarpenterg

View GitHub Profile
<html>
<head>
<title>Mi primer servidor</title>
</head>
<body>
<p>Mi primer HTML en un <strong>Servidor Apache</strong></p>
</body>
</html>
<?php
$days = array( 0 => 'Domingo',
1 => 'Lunes',
2 => 'Martes',
3 => 'Miercoles',
4 => 'Jueves',
5 => 'Viernes',
6 => 'Sabado');
<?php
$days = array( 0 => 'Domingo',
1 => 'Lunes',
2 => 'Martes',
3 => 'Miercoles',
4 => 'Jueves',
5 => 'Viernes',
6 => 'Sabado');
<?php
$days = array( 0 => 'Domingo',
1 => 'Lunes',
2 => 'Martes',
3 => 'Miercoles',
4 => 'Jueves',
5 => 'Viernes',
6 => 'Sabado');
<?
phpinfo();
?>
<?php
phpinfo();
?>
<?php
class Gestor {
Private $arr;
Private $largo;
function __construct($arreglo) {
$this->arr = $arreglo;
var latitude = -33.704959;
var longitude = -70.879347;
var description = "Santiago, Chile";
var startZoom = 15;
var map;
function addMarker(latitude, longitude, description) {
var marker = new GMarker(new GLatLng(latitude, longitude));
GEvent.addListener(marker, 'click',
function() {
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>JavaScript</title>
<script src="test.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>
function inicio() {
alert(document.title);
}
window.onload = inicio;