Skip to content

Instantly share code, notes, and snippets.

View mauroSolis's full-sized avatar

Mauro Solis mauroSolis

  • Costa Rica
View GitHub Profile
@mauroSolis
mauroSolis / bosquejo1.xml
Created August 8, 2012 21:48
Ejercicio Bosquejos en Balsamiq
<mockup version="1.0" skin="sketch" measuredW="788" measuredH="692" mockupW="771" mockupH="692">
<controls>
<control controlID="35" controlTypeID="com.balsamiq.mockups::MenuBar" x="17" y="21" w="573" h="29" measuredW="568" measuredH="29" zOrder="2" locked="false" isInGroup="-1">
<controlProperties>
<text>Archivo%2CEditar%2CVer%2CIr%2CMensaje%2CEventos%20y%20Tareas%2CHerramientas%2CAyuda</text>
</controlProperties>
</control>
<control controlID="38" controlTypeID="com.balsamiq.mockups::FieldSet" x="17" y="15" w="771" h="87" measuredW="200" measuredH="170" zOrder="1" locked="false" isInGroup="-1">
<controlProperties>
<text/>
@mauroSolis
mauroSolis / main.coffee
Created August 23, 2012 03:31
Mostrar texto en XUL texbox
class File
open: ->
nsIFilePicker = Components.interfaces.nsIFilePicker
fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker)
fp.init(window, "Open File", nsIFilePicker.modeOpen)
fp.appendFilters(nsIFilePicker.filterText | nsIFilePicker.filterAll)
res = fp.show()
if (res == nsIFilePicker.returnOK)
thefile = fp.file
data = @read(thefile.path)
<?xml version="1.0" encoding="utf-8"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<hbox>
<vbox id="vboxAcordeon">
<tabbox id="tabBoxAcordeon" orient="vertical">
<tabs id="tabAutores" hidden="false" orient="vertical">
<tab label="Autores" id="tabAutores" linkedpanel="panelAutores"/>
<tab label="Libros" id="tabLibros"/>
<tab label="Editoriales" id="tabEditoriales"/>
<tab id="tabClasificacion" label="Clasificacion"/>
@mauroSolis
mauroSolis / Practica4.xul
Created September 19, 2012 22:26
Practica4
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menubar>
<menu label="Base de Datos">
<menupopup/>
</menu>
<menu label="Tabla">
<menupopup/>
</menu>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Master-Detail</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;padding-bottom: 40px;
@mauroSolis
mauroSolis / practica7.html
Created October 18, 2012 05:38
Practica 7 del miercoles 17 de actubre
<!DOCTYPE html>
<html>
<head>
<title>Practica 7</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
@mauroSolis
mauroSolis / FileFunctions.js
Created October 31, 2012 01:06
Practica 8
function remplazar(){
remplazarUna( document.getElementById("textarea").value, document.getElementById("findWorld").value, document.getElementById("replaceWorld").value);
}
function remplazarUna(text, busca, reemplaza ){
text = text.toString().replace(busca,reemplaza);
//return text;
document.getElementById("textarea").value = text;
function remplazar(){
remplazarUna( document.getElementById("textarea").value, document.getElementById("findWorld").value, document.getElementById("replaceWorld").value);
}
function remplazarUna(text, busca, reemplaza ){
text = text.toString().replace(busca,reemplaza);
//return text;
document.getElementById("textarea").value = text;
@mauroSolis
mauroSolis / ejercicio2.css
Created November 7, 2012 22:34
Practica 10
/*!
* Bootstrap v2.2.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
article,
@mauroSolis
mauroSolis / parqueDiversiones1.svg
Created February 18, 2013 04:20
a simple and firs test of svg develop, simple shapes with circles, elipses, lines, and others
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.