shatterproof

= json_decode(file_get_contents("instances.json"), true); $librey_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } $results = fetch_search_results($opts, false); if (array_key_exists("error", $results)) { http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results); ?> #!/bin/sh while true; do git stash git pull sleep 60 done <?php return (object) array( // CURLOPT_PROXY => "ip:port", // CURLOPT_PROXYTYPE => CURLPROXY_HTTP, CURLOPT_RETURNTRANSFER => true, // Ensure cookies are only sent over HTTPS "httponly" => true, CURLOPT_ENCODING => "", "project_url" => "https://codeberg.org/gothub/gothub#instances", "original_name" => "Snopes", "original_url" => "stackoverflow.com" ), "suds" => array( "instance_url"