This file contains hidden or 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
In blade: | |
<style amp-custom> | |
{!! \App\Helpers\Minify::amp_custom() !!} | |
</style> | |
Create a file Minify.php |
This file contains hidden or 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>Box Shadow</title> | |
<style> | |
.box { | |
height: 150px; | |
width: 300px; | |
margin: 20px; |
This file contains hidden or 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
Requisitos: | |
En ubuntu 14.04 LTS: | |
APACHE | |
MYSQL | |
REDIS | |
NODEJS | |
//El proceso usualmente lo hacemos manual | |
// Pero Puede utilizar Forge para instalar el servidor de forma automatica y preparado ya para Laravel | |
https://forge.laravel.com/ |
This file contains hidden or 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 view | |
<input id="browser" name="" type="text" class="no-boarder " placeholder="Buscar Miembros" style="width:397px;"> | |
<div id="memberSearch" class="popover fade bottom in" style="top: 35px; display: none;"> | |
<div class="arrow"></div> | |
<div class="popover-content"> | |
<div id="searches" style="width:300px"> | |
</div> | |
</div> | |
</div> |
This file contains hidden or 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
assignAutoCompl('lugar'); | |
function assignAutoCompl(_id) | |
{ | |
document.getElementById(_id).hidden = false; | |
var _autocomplete = new google.maps.places.Autocomplete(document.getElementById(_id)); | |
_autocomplete.setTypes(['establishment']); | |
google.maps.event.addListener(_autocomplete, 'place_changed', function() | |
{ | |
var place = _autocomplete.getPlace(); |
This file contains hidden or 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 io = require('socket.io').listen(8001); | |
var app = require('express')(); | |
var redis = require('redis'); | |
var https = require('https'); | |
var fs = require('fs'); | |
var options = { | |
key: fs.readFileSync('ssl/linc.do.key'), | |
cert: fs.readFileSync('ssl/linc_do.crt') | |
}; |
This file contains hidden or 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
vi etc/sysconfig/iptables | |
pegar: | |
-A INPUT -p tcp --dport 25 -j ACCEPT | |
-A INPUT -p tcp --dport 587 -j ACCEPT | |
-A INPUT -p tcp --dport 465 -j ACCEPT | |
luego: service iptables restart |
This file contains hidden or 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
<embed allowfullscreen="true" src="http://animeflv.net/archivos/player.swf" bgcolor="#000" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://animeflv.net/video/hyperion.php?key=ra7qrLOb0N3wt7PBzqrW2bDP0anTmarTkQ%253D%253D&provider=video&abouttext=AnimeFLV Player&controlbar=bottom&stretching=exactfit&screencolor=000&plugins=backstroke-1,timeslidertooltipplugin-1" height="463" width="773"> | |
NewerOlder