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
#ifndef ASIO_RANGE_UTIL_HPP_ | |
#define ASIO_RANGE_UTIL_HPP_ | |
#include <boost/range/iterator_range.hpp> | |
#include <boost/range/algorithm/search.hpp> | |
#include <boost/asio/buffer.hpp> | |
namespace httpc { | |
template <typename T> | |
inline boost::iterator_range<T *> make_iterator_range_from_memory(T *head, size_t size) { |
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
// Copyright (c) 2012 Bryce Adelstein-Lelbach | |
// | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
// hpx::util::container_device can be found here: | |
// http://raw.github.com/STEllAR-GROUP/hpx/master/hpx/util/container_device.hpp | |
// The portable binary archives used can be found here: | |
// http://raw.github.com/STEllAR-GROUP/hpx/master/hpx/util/portable_binary_oarchive.hpp |
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 | |
# | |
# A quickndirty bash-utility to generate REST-documentation from sourcecode comments. | |
# (initially aimed at php-files, but js should also work) | |
# Basically its a c-style comment -> markdown -> html converter | |
# Dependancies: | |
# - awk | |
# - sed | |
# - bash | |
# - php |
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/system/core/Kohana.php b/system/core/Kohana.php | |
index 271f917..287c271 100644 | |
--- a/system/core/Kohana.php | |
+++ b/system/core/Kohana.php | |
@@ -722,7 +722,7 @@ final class Kohana { | |
if (ob_get_level() >= self::$buffer_level) | |
{ | |
// Set the close function | |
- $close = ($flush === TRUE) ? 'ob_end_flush' : 'ob_end_clean'; | |
+ $close = ($flush === TRUE) ? 'ob_end_flush' : 'Kohana::_ob_end_clean'; |
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/perl | |
use strict; | |
sub on_start { | |
my ($self) = @_; | |
$self->{copy_cmd} = $self->x_resource('copyCommand') || 'xclip -l 1 -selection clipboard'; | |
$self->{paste_cmd} = $self->x_resource('pasteClipboardCommand') || 'xclip -l 1 -o -selection clipboard'; | |
$self->{paste_primary_cmd} = $self->x_resource('pastePrimaryCommand') || 'xclip -l 1 -o -selection primary'; |
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
URxvt*geometry: 110x30 | |
URxvt*termName : rxvt-256color | |
URxvt.scrollBar: false | |
URxvt*scrollTtyOutput: false | |
URxvt*scrollWithBuffer: true | |
URxvt*scrollTtyKeypress: true | |
URxvt*skipScroll: false | |
URxvt*jumpScroll: true |
NewerOlder