Skip to content

Instantly share code, notes, and snippets.

View NinoSkopac's full-sized avatar
😀
Let’s goooo drivingggg

Nino NinoSkopac

😀
Let’s goooo drivingggg
View GitHub Profile
<html>
<head>
</head>
<body>
<iframe src="test2.php?q=foo">
</iframe>
</body>
</html>

Keybase proof

I hereby claim:

  • I am NinoSkopac on github.
  • I am skopac (https://keybase.io/skopac) on keybase.
  • I have a public key whose fingerprint is 97DD F5E4 78C3 16F2 178E B181 0253 F564 95A8 5763

To claim this, I am signing this object:

@NinoSkopac
NinoSkopac / MiscTest.php
Created November 6, 2015 19:35
SO Question
<?php
namespace PromisePay\Tests;
use PromisePay\PromisePay;
class Misc extends \PHPUnit_Framework_TestCase {
public function setUp() {
PromisePay::BankAccountRepository::getBankAccountById('asdasdasd');
}
@NinoSkopac
NinoSkopac / .php
Created August 3, 2015 23:57
Dry cleaner working hours
<?php
/***** NINO *****/
function working_hours($man_id) {
date_default_timezone_set('America/New_York');
$f = file_get_contents('/stripped.txt');
$e = explode("\n\n", $f);
foreach($e as $block_id => $store_block) {
$e2 = explode("\n", $store_block);
list(, $block_id) = array_map('trim', explode(':', $e2[0]));