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
<?php | |
namespace App\Http\Controllers; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\URL; | |
class PaymentController extends Controller { | |
public function __construct() |
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
try { | |
$charge = \Stripe\Charge::create(array( | |
"amount" => $message->price * 100, | |
"currency" => "gbp", | |
// "source" => $connected_customer->id, | |
"source" => $token->id, | |
), array("stripe_account" => $message->user->stripe_merchant_id)); | |
} catch (\Stripe\Error\RateLimit $e) { | |
return []; | |
} catch (\Stripe\Error\InvalidRequest $e) { |
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
package com.curiouslyodd.mineclash.events; | |
import java.util.List; | |
import java.util.Set; | |
import com.curiouslyodd.mineclash.items.ItemMiscBloodDiamond; | |
import net.minecraft.enchantment.Enchantment; | |
import net.minecraft.entity.Entity; | |
import net.minecraft.entity.item.EntityItem; |
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
--- | |
ip: "192.168.10.10" | |
# memory: 2048 | |
memory: 1024 | |
cpus: 2 | |
provider: virtualbox | |
authorize: ~/.ssh/id_rsa.pub | |
keys: |
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
```` /*$output .= "<script> | |
$(function() { | |
var orderId = " . $order->getOriginalQuote()->getId() . "; | |
$.ajax({ | |
url: 'http://api.molekula.com/third-party/v1/pickingslip-scanner/' + orderId + '/images', | |
type: 'GET', | |
dataType: 'json' | |
}) | |
.done(function(data) { |
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
public static function forceDecimals($num, $dec = 2) | |
{ | |
for ($x=0;$x<=5;$x++) { | |
if ($num == $tmp_num=sprintf("%01.".($dec+$x)."f",$num)) { | |
return $tmp_num; | |
} | |
} | |
return $num; | |
} |
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() { | |
$('button#show').on('click', function() { | |
£('p').show(); | |
}); | |
$('button#hide').on('click', function() { | |
$('p').hide(); | |
}); | |
}); |
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() { | |
RecursivePedofileLoop(); | |
}); | |
// RPL Function. | |
function RecursivePedofileLoop() | |
{ | |
// Actual code to go here. | |
// Call the loop again to make it infinitely recursive. |
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
{ "height":22, | |
"layers":[ | |
{ | |
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5909, 5910, 5911, 5912, 5909, 5910, 5911, 5912, 5909, 5910, 5911, 5912, 5909, 5910, 5911, 5912, 5909, 5910, 5911, 5912, 0, 0, 5941, 5942, 5943, 5944, 5941, 5942, 5943, 5944, 5941, 5942, 5943, 5944, 5941, 5942, 5943, 5944, 5941, 5942, 5943, 5944, 0, 0, 5973, 5974, 5975, 5976, 5973, 5974, 5975, 5976, 5973, 5974, 5975, 5976, 5973, 5974, 5975, 5976, 5973, 5974, 5975, 5976, 0 |
NewerOlder