Skip to content

Instantly share code, notes, and snippets.

View FrancisBaileyH's full-sized avatar

Francis Bailey FrancisBaileyH

View GitHub Profile
<?php
// ... further down the file
// ini_set
$krqf = 'VQGt:VER&ow2u' ^ '??.+I31';
var_dump($krqf);
// error_reporting
$dghpp = '3GA,K#)MT:[Y2V*' ^ 'V53C9|[($U)-[8M`KrE/Z';
<?php
// ... further down the file
// We know from the code above that $krqf is equal to ini_set
// and $dghpp is equal to "error_reporting" and $qkkgc is set
// to 0 directly above so we know that that this line is:
//
// ini_set('error_reporting', 0);
(.../commerce/drupal/web) fbailey >> ../vendor/bin/phpunit -c core/ modules/contrib/commerce_shipping/tests/src/Functional/ShipmentAdminTest.php
PHPUnit 4.8.26 by Sebastian Bergmann and contributors.
E
Time: 1.03 minutes, Memory: 6.50MB
There was 1 error:
1) Drupal\Tests\commerce_shippng\Functional\ShipmentAdminTest::testCreateShipment
package main
import(
"encoding/json"
"net/http"
"net/url"
"fmt"
)
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU Family: 0x6
<?php
/**
* Fetch the image ids of the most recent images
*/
public function recent($last_request_time = null) {
$photos = null;
$json = [
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sechelt Creek (01)</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<link rel="stylesheet" href="/css/site.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="js/geojson.js"></script>
package com.francisbailey.pathbulletin.service.intake
import com.francisbailey.pathbulletin.persistence.model.RestrictedArea
import com.francisbailey.pathbulletin.persistence.model.RestrictionPeriod
import com.francisbailey.pathbulletin.persistence.model.RestrictionStatus
import com.francisbailey.pathbulletin.persistence.repository.RestrictedAreaRepository
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify