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
Route::post('/twilio/{carpeta}/{sonido}', ['as' => 'dashboard', 'uses' => 'HomeController@twilio']); | |
---------- | |
$host = parse_url(Request::url(), PHP_URL_HOST); | |
$url = 'http://' . $host . '/twilio'.'/'.$carpeta.'/'.$sonido; | |
Twilio::to('+1'.$telefono)->call($url); |
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
function detectarInsultos($string){ | |
function prep_regexp_array(&$item){ | |
$item = "#$item#i"; | |
} | |
function stars($matches){ | |
return substr($matches [0] , 0, 1).str_repeat("*", strlen($matches [0] )-1); | |
} |
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
public function formatPhone($phone) | |
{ | |
if ( preg_match('/^[+]?([\d]{0,3})?[\(\.\-\s]?([\d]{3})[\)\.\-\s]*([\d]{3})[\.\-\s]?([\d]{4})$/', $phone, $matches)) { | |
$matches[1] = ($matches[1]=='') ? '+1' : $matches[1]; | |
return $matches[1].$matches[2].$matches[3].$matches[4]; | |
} |
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
<div id="subzero"></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
// Disable the payment/submit button until everything has loaded | |
// (if Stripe fails to load, we can't progress anyway) | |
$(document).ready(function() { | |
$("#payment-button").prop('disabled', false) | |
}) | |
var handler = StripeCheckout.configure("customButtonA", { | |
key: '<yourpublishablekey', | |
token: function(token, args){ | |
var $input = $('<input type=hidden name=stripeToken />').val(token.id); |
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
wget -r -k http://www.sitio.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
<?php | |
/* | |
PHP Library - Social Security Number-related functions | |
Copyright (c) 2009, reusablecode.blogspot.com; some rights reserved. | |
This work is licensed under the Creative Commons Attribution License. To view | |
a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or | |
send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California | |
94305, USA. |
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
http://www.elfqrin.com/usssndriverlicenseidgen.php | |
www.ssnvalidator.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
<script src="https://fb.me/react-0.13.3.js"></script> | |
<script src="https://fb.me/JSXTransformer-0.13.3.js"></script> | |
<script type="text/jsx"> | |
var ClientesTotal = React.createClass({ | |
getInitialState:function(){ | |
return { | |
clientes: "" |
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
<div class="container container--rigid"> | |
<div class="box"></div> | |
<div class="box"></div> | |
<div class="box"></div> | |
<div class="box"></div> | |
</div> | |
<div class="container container--fluid"> | |
<div class="box"></div> | |
<div class="box"></div> |