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 app\extensions\data\entity; | |
class Document extends \lithium\data\entity\Document { | |
public function &__get($name) { | |
if ($result = parent::__get($name)) { | |
return $result; | |
} | |
if (($model = $this->_model) && ($rel = $model::relations($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
FROM python:2.7 | |
RUN pip install cloudpickle && \ | |
wget http://downloads.mesosphere.io/master/debian/8/mesos-0.27.0-py2.7-linux-x86_64.egg -O mesos.egg && \ | |
easy_install mesos.egg && \ | |
rm /mesos.egg |
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
import pandas as pd | |
from dask_mesos import get | |
from epos import mesos, spark | |
from epos.utils import MiB, GiB | |
@mesos | |
def generate(): # or crawl | |
return [['a', 1, 120], | |
['b', 2, 220], |
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/lisp/cus-start.el b/lisp/cus-start.el | |
index d9ad0a5..9e52d0f 100644 | |
--- a/lisp/cus-start.el | |
+++ b/lisp/cus-start.el | |
@@ -446,6 +446,7 @@ minibuffer-prompt-properties--setter | |
(ns-use-native-fullscreen ns boolean "24.4") | |
(ns-use-fullscreen-animation ns boolean "25.1") | |
(ns-use-srgb-colorspace ns boolean "24.4") | |
+ (ns-use-titled-windows ns boolean "25.2") | |
;; process.c |
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
Alias tip: gd ibis/file/csv.py | |
diff --git a/ibis/file/csv.py b/ibis/file/csv.py | |
index 1fddf17..bf5d593 100644 | |
--- a/ibis/file/csv.py | |
+++ b/ibis/file/csv.py | |
@@ -65,7 +65,10 @@ def connect(path): | |
class CSVTable(ops.DatabaseTable): | |
- pass |
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
use dtypes::{DataType, PrimitiveType}; | |
pub type Buffer<T> = RawVec<T>; | |
pub type BitMap = Buffer<bool>; | |
trait Array<T: DataType> { | |
fn new(dtype: T) -> Self; | |
} |
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
enum ArrowType { | |
Int64, | |
List(Box<ArrowType>), | |
Struct(Vec<(String, Box<ArrowType>)>) | |
} | |
struct Array<T: DataType> { | |
dtype: ArrayType, | |
store: T::Container, | |
_marker: PhantomData<T> |
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 dask import delayed | |
@delayed | |
def install_minicodna_env(...): | |
pass | |
@delayed | |
def install_deps(...): | |
pass |
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
Found pkg-config: /usr/local/bin/pkg-config (0.29.2) | |
Native dependency arrow found: YES 0.11.0 | |
Native dependency arrow-orc found: YES 0.11.0 | |
Dependency arrow-gpu found: NO | |
Native dependency parquet found: YES 1.5.1-SNAPSHOT | |
Configuring version.h using configuration | |
Native dependency gobject-2.0 found: YES 2.58.1 | |
Native dependency gio-2.0 found: YES 2.58.1 | |
Native dependency gobject-introspection-1.0 found: YES 1.58.0 | |
Program test/run-test.sh found: YES (/private/tmp/arrow-release-verify/apache-arrow-0.11.0/c_glib/test/run-test.sh) |
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
Making all in arrow-glib | |
/Library/Developer/CommandLineTools/usr/bin/make all-am | |
CXX libarrow_glib_la-array-builder.lo | |
CXX libarrow_glib_la-basic-array.lo | |
CXX libarrow_glib_la-chunked-array.lo | |
CXX libarrow_glib_la-column.lo | |
CXX libarrow_glib_la-composite-array.lo | |
CXX libarrow_glib_la-record-batch.lo | |
CXX libarrow_glib_la-table.lo | |
CXX libarrow_glib_la-table-builder.lo |
OlderNewer