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
<table> | |
<thead> | |
<tr> | |
<th width="350px">Producto/Servicio</th> | |
<th>Cantidad</th> | |
<th>Precio</th> | |
<th>Total</th> | |
</tr> | |
</thead> | |
<tbody> |
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
<table id="ejemplo"> | |
<thead> | |
<tr> | |
<th>N° Factura</th> | |
<th>Tipo Factura</th> | |
<th>Cliente</th> | |
<th>Efectivo</th> | |
<th>Credito</th> | |
<th>Ejecutivo/a de venta</th> | |
</tr> |
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
<div class="grid-container"> | |
<div class="grid-x grid-margin-x margin-vertical-2"> | |
<div class="cell large-12"> | |
<table> | |
<tbody> | |
<tr> | |
<td>Manzanas</td> | |
<td>5</td> | |
</tr> |
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 { min-height: 100%; position: relative; } | |
body { background: #f5f5f5; font-family: 'Poppins', sans-serif; font-size: 14px; color: #444; margin: 0; } | |
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 500; } | |
.top-bar { padding: 0.7rem; } | |
.top-bar, .top-bar ul { background: #074e68; color: #fff; } | |
.top-bar, .top-bar ul a { color: #fff; text-transform: inherit; font-weight: 500; } | |
.sticky { box-shadow: 0px 2px 4px -2px #aaa; transition: all 1s ease; } |
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
<script type="text/javascript"> | |
handler = Gmaps.build('Google'); | |
handler.buildMap({ provider: {}, internal: {id: 'map'}}, function(){ | |
markers = handler.addMarkers(<%=raw @hash.to_json %>); | |
handler.bounds.extendWith(markers); | |
handler.fitMapToBounds(); | |
handler.getMap().setZoom(16); | |
gestureHandling: 'greedy' // He intentado con handler.gestureHandling: 'greedy'/'none' pero sin resultado | |
}); | |
</script> |
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
$(document).ready(function(){ | |
$(document).foundation(); | |
$(document).on('change.zf.tabs', '[data-active-collapse]', function () { | |
window.dispatchEvent(new Event('resize')); | |
}); | |
}); |
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
-----BEGIN CERTIFICATE----- | |
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU | |
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs | |
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 | |
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux | |
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h | |
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v | |
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt | |
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9 | |
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX |
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
gem sources -r https://rubygems.org/ - Removemos la conexion segura | |
gem sources -a http://rubygems.org/ - Agregamos la conexion insegura de manera temporal para que nos permita actualizar las gemas de ruby sin SSL | |
gem update --system - Con este comando actualizamos todas las gemas de ruby | |
Una vez que hemos terminado de actualizar las gemas, ahora regresaremos la seguridad: | |
gem sources -r http://rubygems.org/ - Quitamos la conexion insegura |
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
class Article < ActiveRecord::Base | |
belongs_to :user | |
def self.search(search) | |
where("title LIKE ?", "%#{search}%") | |
end | |
end |
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
$('#modal1').append('<%= j render "form" %>').openModal(); |
NewerOlder