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 PicoFeed\Clients; | |
use \PicoFeed\Logging; | |
class Curl extends \PicoFeed\Client | |
{ | |
private $body = ''; | |
private $body_length = 0; |
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
FROM ubuntu:14.04 | |
MAINTAINER Frederic Guillot <fred@kanboard.net> | |
RUN apt-get update && apt-get install -y apache2 php5 php5-sqlite git && apt-get clean | |
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf | |
RUN cd /var/www && git clone https://github.com/fguillot/kanboard.git | |
RUN rm -rf /var/www/html && mv /var/www/kanboard /var/www/html | |
RUN chown -R www-data:www-data /var/www/html/data | |
EXPOSE 80 |
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 | |
/** | |
* A Compatibility library with PHP 5.5's simplified password hashing API. | |
* | |
* @author Anthony Ferrara <ircmaxell@php.net> | |
* @license http://www.opensource.org/licenses/mit-license.html MIT License | |
* @copyright 2012 The Authors | |
*/ | |
if (!defined('PASSWORD_BCRYPT')) { |
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
#!/usr/bin/env python | |
''' | |
This module implements Kanboard Json-RPC API in Python. | |
Example: | |
kanboard = Kanboard("kanboard-token") | |
projects = kanboard.getAllProjects() | |
for p in projects: |