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 fedora:24 | |
MAINTAINER kjdev <kjclev@gmail.com> | |
RUN dnf -y --setopt=deltarpm=false update \ | |
&& dnf -y --setopt=deltarpm=false install mod_ssl httpd-devel gcc-c++ make automake autoconf libtool file \ | |
&& dnf clean all \ | |
&& rm -f /etc/httpd/conf.d/{welcome.conf,userdir.conf} \ | |
&& rm -f /etc/httpd/conf.modules.d/{00-dav.conf,00-lua.conf,00-proxy.conf,01-cgi.conf} \ | |
&& sed -i 's|#ServerName www.example.com:80|ServerName localhost:80|g' /etc/httpd/conf/httpd.conf \ | |
&& sed -i 's|ErrorLog ".*"|ErrorLog /dev/stdout|g' /etc/httpd/conf/httpd.conf \ |
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 bash | |
set -e | |
VERSION="0.0.1" | |
TASKFILE=".task" | |
_git="/usr/bin/git" | |
_grep="/usr/bin/grep" | |
_sed="/usr/bin/sed" |
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
#!/bin/bash | |
files=(libtool ltmain.sh) | |
srcdir=`pwd` | |
IFS=$'\n' | |
for file in ${files[@]} | |
do | |
if [ ! -f ${srcdir}/${file} ]; then | |
continue |
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
#!/bin/bash | |
usage() | |
{ | |
echo "Usage: "${0##*/}" [-s FILES] [-t TOKEN] [-g DIR] [-h] [-v]" | |
echo "" | |
echo "Options:" | |
echo " s: source files" | |
echo " t: secret repo token for your repository" | |
echo " g: search gcov/gcda file path" |
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
--- a/msgpack.h | |
+++ b/msgpack.h | |
@@ -9,103 +9,13 @@ | |
#include <stdint.h> | |
#endif | |
-#if HAVE_ARPA_INET_H | |
-#include <arpa/inet.h> | |
-#endif | |
- |
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
;;; snapshot | |
(defun snapshot () | |
(interactive) | |
(let ((msg (read-from-minibuffer "comment: "))) | |
(if (> (length msg) 0) | |
(shell-command (concat "~/bin/snapshot -m \"" msg "\" " (buffer-file-name))) | |
(shell-command (concat "~/bin/snapshot " (buffer-file-name)))))) |
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
/* Crossroad I/O Client */ | |
#include "xs/xs.h" | |
#include <string.h> | |
int main(int argc, char **argv) | |
{ | |
void *ctx = xs_init(); | |
void *backend = xs_socket(ctx, XS_DEALER); | |
//xs_bind (backend, "ipc://backend"); | |
xs_bind (backend, "tcp://127.0.0.1:5570"); | |
xs_msg_t msg; |
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
--- a/cphalcon/unit-tests/ConfigTest.php | |
+++ b/cphalcon/unit-tests/ConfigTest.php | |
@@ -293,12 +293,22 @@ class ConfigTest extends PHPUnit_Framework_TestCase | |
public function testYamlConfig() | |
{ | |
+ if (!extension_loaded('yaml')) { | |
+ $this->markTestSkipped('Warning: yaml extension is not loaded'); | |
+ return false; | |
+ } |
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
%global proj_name cphalcon | |
%global pecl_name phalcon | |
%global pecl_version 2.0.1 | |
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}} | |
%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1) | |
%{!?php_extdir: %{expand: %%global php_extdir %(php-config --extension-dir)}} | |
%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$} | |
%{?filter_setup} | |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$ |
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
diff --git a/config.json b/config.json | |
index 8183eec..b5cf118 100644 | |
--- a/config.json | |
+++ b/config.json | |
@@ -28,6 +28,16 @@ | |
"phalcon/mvc/model/query/parser.c", | |
"phalcon/mvc/view/engine/volt/parser.c", | |
"phalcon/mvc/view/engine/volt/scanner.c", | |
+ "phalcon/mvc/view/engine/markdown/parser.c", | |
+ "phalcon/mvc/view/engine/markdown/autolink.c", |
NewerOlder