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
| [Unit] | |
| Description=CKAN Service | |
| Requires=solr.service postgresql.service | |
| After=solr.service postgresql.service | |
| [Service] | |
| User=ckan | |
| Group=ckan | |
| Type=forking | |
| TimeoutSec=0 |
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 | |
| namespace Application\WebServices; | |
| /** | |
| * | |
| * @author LeonanCarvalho <j.leonancarvalho@gmail.com> | |
| */ | |
| abstract class AbstractSoapClient { |
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 | |
| namespace Application\Tasks; | |
| /** | |
| * AsyncTaskAbstract allows to fork a php process running at PHP-FPM to do AsyncTasks | |
| * (Not tested with php-cgi, and probaly will not work with Apache mod_php and php-single-worker) | |
| * @requeriment PCNTL Process Control http://php.net/manual/pt_BR/book.pcntl.php | |
| * @requeriment POSIX http://php.net/manual/pt_BR/book.posix.php | |
| * @requeriment Semaphore, Shared Memory and IPC http://php.net/manual/pt_BR/book.sem.php |
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
| /* global caches, Promise */ | |
| //Arquivo apenas para facilitar a edição do javascript, deve ser colado no .php// Não minificar | |
| importScripts('serviceworker-cache-polyfill.js'); | |
| // While overkill for this specific sample in which there is only one cache, | |
| // this is one best practice that can be followed in general to keep track of | |
| // multiple caches used by a given service worker, and keep them all versioned. | |
| // It maps a shorthand identifier for a cache to a specific, versioned cache name. |
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
| { | |
| "id": "df72dc57-1eb9-42a3-88a9-8647ecc954b4", | |
| "type": "GenericEntity", | |
| "dateCreated": { | |
| "value": "2017-02-10T19:20+10:03", | |
| "type": "DateTime" | |
| }, | |
| "dateModified": { | |
| "value": "2017-02-15T22:02+01:51", | |
| "type": "DateTime" |
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
| # CKAN lighttpd vhost | |
| # server.modules += ( "mod_proxy" ) | |
| $HTTP["host"] == "ckan.example.com"{ | |
| proxy.server = ( "" => | |
| ( "" => | |
| ("host" => "127.0.0.1", "port" => 5000) | |
| ) | |
| ) | |
| } |
This file has been truncated, but you can view the full file.
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
| Downloading/unpacking argparse==1.4.0 (from -r default/src/ckan/requirements.txt (line 7)) | |
| Getting page https://pypi.python.org/simple/argparse/ | |
| URLs to search for versions for argparse==1.4.0 (from -r default/src/ckan/requirements.txt (line 7)): | |
| * https://pypi.python.org/simple/argparse/1.4.0 | |
| * https://pypi.python.org/simple/argparse/ | |
| Getting page https://pypi.python.org/simple/argparse/1.4.0 | |
| Could not fetch URL https://pypi.python.org/simple/argparse/1.4.0: HTTP Error 404: Not Found | |
| Will skip URL https://pypi.python.org/simple/argparse/1.4.0 when looking for download links for argparse==1.4.0 (from -r default/src/ckan/requirements.txt (line 7)) | |
| Analyzing links from page https://pypi.python.org/simple/argparse/ |
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
| import java.io.BufferedReader; | |
| import java.io.DataOutputStream; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import javax.servlet.http.HttpServletRequest; | |
| //... |
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 | |
| /** | |
| * Description of ResultSet: | |
| * This class handler a paginated Cassandra\FutureRows | |
| * | |
| * @author Leonan Carvalho | |
| */ | |
| class ResultSet { |
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 | |
| /* ========================================================= | |
| * Script to Generate MySQL dumps With PHP | |
| * ========================================================= | |
| * Copyright 2015 Leonan Carvalho @leonancarvalho | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * |