Search is not available for this dataset
id
stringlengths
1
8
text
stringlengths
72
9.81M
addition_count
int64
0
10k
commit_subject
stringlengths
0
3.7k
deletion_count
int64
0
8.43k
file_extension
stringlengths
0
32
lang
stringlengths
1
94
license
stringclasses
10 values
repo_name
stringlengths
9
59
1800
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
DOCS : Fixed bad link to docs.
1
.py
py
agpl-3.0
hitchtest/hitch
1801
<NME> index.rst <BEF> Hitch ===== Hitch is a framework for :doc:`/glossary/integration_testing`. Features -------- * Runs reliably without modification on Mac OS X, Ubuntu/Debian, Fedora, CentOS and Arch and in Docker. * Automates its own deployment and does not interfere with your system other than to install packa...
2
DOCS : Overhaul of APIs
0
.rst
rst
agpl-3.0
hitchtest/hitch
1802
<NME> index.rst <BEF> Getting started quickly with Hitch ================================== This is a basic introduction to getting your first hitch test up and running. Install prerequisites --------------------- You should have a reasonably up to date Ubuntu, Debian, Arch, Fedora or Mac. On Ubuntu/Debian:: $...
13
DOCS : Updated README, glossary and some tutorials.
2
.rst
rst
agpl-3.0
hitchtest/hitch
1803
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from os import path, makedirs, listdir, kill, remove from sys import stderr, stdout, exit, modules, argv from functools import partial, r...
1
BUG : Fixed python 2.6.x bug caused by using {} instead of {0} in string.format().
1
.py
py
agpl-3.0
hitchtest/hitch
1804
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ----- Dragon is a **C**(Computation)**G**(Graph)**V**(Virtual)**M**(Machine) based distributed deep learning framework. Our goal is to reduce the unn...
3
Add ND-Crop & ND-Pad support
3
.md
md
bsd-2-clause
neopenx/Dragon
1805
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ----- Dragon is a **C**(Computation)**G**(Graph)**V**(Virtual)**M**(Machine) based distributed deep learning framework. Our goal is to reduce the unn...
3
Add ND-Crop & ND-Pad support
3
.md
md
bsd-2-clause
neopenx/Dragon
1806
<NME> RedisSentinelManager.java <BEF> package org.crazycake.shiro; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import redis.clients.jedis.JedisSentinelPool; import redis.clients.jedis.Protocol; import java.util.Collections; import java.util.HashSet; import java.util.Set; public class RedisSentinel...
18
Merge branch 'master' of https://github.com/alexxiyang/shiro-redis
7
.java
java
mit
alexxiyang/shiro-redis
1807
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from os import path, makedirs, listdir, kill, remove from sys import stderr, stdout, exit, modules, argv from functools import partial, r...
3
FEATURE : hitch init gives a clearer warning message.
1
.py
py
agpl-3.0
hitchtest/hitch
1808
<NME> what_does_the_init_script_do.rst <BEF> What does the init script do? ============================= .. note:: This script tries to respect your existing environment as much as possible and avoids the use of sudo except where necessary to install packages via your system's package manager. The init s...
13
DOCS : Updated the FAQ on what the init script does
11
.rst
rst
agpl-3.0
hitchtest/hitch
1809
<NME> RedisSentinelManager.java <BEF> package org.crazycake.shiro; import org.crazycake.shiro.common.WorkAloneRedisManager; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisSentinelPool; import redis.clients.jedis.Protocol; import java.util.Collections; import java.util.HashSet; import java.util.Set;...
1
Fix host parse bug
1
.java
java
mit
alexxiyang/shiro-redis
1810
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). - Run 3rdparty/setup_mpi.sh ```Shell sudo ./setup_mpi.sh ``...
5
speedup io
1
.md
md
bsd-2-clause
neopenx/Dragon
1811
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). - Run 3rdparty/setup_mpi.sh ```Shell sudo ./setup_mpi.sh ``...
5
speedup io
1
.md
md
bsd-2-clause
neopenx/Dragon
1812
<NME> common.py <BEF> # -------------------------------------------------------- # Caffe @ Dragon # Copyright(c) 2017 SeetaTech # Written by Ting Pan # -------------------------------------------------------- import dragon.ops as ops from dragon.core.tensor import Tensor from ..layer import Layer class InnerProductL...
1
fix bugs of issue https://github.com/neopenx/Dragon/issues/5
1
.py
py
bsd-2-clause
neopenx/Dragon
1813
<NME> common.py <BEF> # -------------------------------------------------------- # Caffe @ Dragon # Copyright(c) 2017 SeetaTech # Written by Ting Pan # -------------------------------------------------------- import dragon.ops as ops from dragon.core.tensor import Tensor from ..layer import Layer class InnerProductL...
1
fix bugs of issue https://github.com/neopenx/Dragon/issues/5
1
.py
py
bsd-2-clause
neopenx/Dragon
1814
<NME> RedisSessionDAOTest.java <BEF> package org.crazycake.shiro; import org.apache.shiro.session.Session; import org.apache.shiro.session.UnknownSessionException; import org.junit.Before; import org.junit.Test; import org.junit.jupiter.api.Test; import java.io.Serializable; import java.util.Collection; import java....
1
Add AuthCachePrincipal to get the cache key for storing authorization object in Redis
0
.java
java
mit
alexxiyang/shiro-redis
1815
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version
1
.py
py
agpl-3.0
hitchtest/hitch
1816
<NME> RedisSentinelManager.java <BEF> package org.crazycake.shiro; import org.crazycake.shiro.common.WorkAloneRedisManager; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisSentinelPool; import redis.clients.jedis.Protocol; import java.util.Collections; import java.util.HashSet; import java.util.Set;...
1
Merge pull request #131 from pluone/patch-1
1
.java
java
mit
alexxiyang/shiro-redis
1817
<NME> RedisClusterManager.java <BEF> ADDFILE <MSG> Merge pull request #42 from xchendeveloper/pr/8 add Redis cluster manager <DFF> @@ -0,0 +1,211 @@ +package org.crazycake.shiro; + +import redis.clients.jedis.*; + +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +public class RedisClusterMana...
211
Merge pull request #42 from xchendeveloper/pr/8
0
.java
java
mit
alexxiyang/shiro-redis
1818
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). # Cr...
18
Update README.md
8
.md
md
mit
alexxiyang/shiro-redis
1819
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version.
1
.py
py
agpl-3.0
hitchtest/hitch
1820
<NME> index.rst <BEF> Hitch ===== Hitch is a testing framework to help you write functional tests that are: * Simple * Easy to read and maintain * Loosely coupled * Isolated * Integrated * Self-bootstrapping Contents: :maxdepth: 2 plugins/index Documentation ------------- .. toctree:: :maxdepth: 2 ...
14
Updated the intro description.
8
.rst
rst
agpl-3.0
hitchtest/hitch
1821
<NME> README.md <BEF> shiro-redis [![Build Status](https://travis-ci.org/alexxiyang/shiro-redis.svg?branch=master)](https://travis-ci.org/alexxiyang/shiro-redis) =========== shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help yo...
0
Update README.md
1
.md
md
mit
alexxiyang/shiro-redis
1822
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! =========== You can chose these 2 ways to include shiro-redis into your project * directly download jar fil...
34
Update README.md
3
.md
md
mit
alexxiyang/shiro-redis
1823
<NME> RedisSessionDAOTest.java <BEF> package org.crazycake.shiro; import org.apache.shiro.session.InvalidSessionException; import org.apache.shiro.session.Session; import org.crazycake.shiro.exception.SerializationException; import org.crazycake.shiro.serializer.ObjectSerializer; import org.crazycake.shiro.serializer....
2
modify test case
2
.java
java
mit
alexxiyang/shiro-redis
1824
<NME> setup.py <BEF> from distutils.core import setup import os.path, sys import shutil packages = [] def find_packages(root_dir): filenames = os.listdir(root_dir) for filename in filenames: filepath = os.path.join(root_dir, filename) if os.path.isdir(filepath): find_packages(filep...
1
VM.TensorFlow Preview
1
.py
py
bsd-2-clause
neopenx/Dragon
1825
<NME> setup.py <BEF> from distutils.core import setup import os.path, sys import shutil packages = [] def find_packages(root_dir): filenames = os.listdir(root_dir) for filename in filenames: filepath = os.path.join(root_dir, filename) if os.path.isdir(filepath): find_packages(filep...
1
VM.TensorFlow Preview
1
.py
py
bsd-2-clause
neopenx/Dragon
1826
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). dragon.config.EnableCUDA(device_id, use_cudnn=True) ``` ### Automa...
24
add memonger for Dragon
5
.md
md
bsd-2-clause
neopenx/Dragon
1827
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). dragon.config.EnableCUDA(device_id, use_cudnn=True) ``` ### Automa...
24
add memonger for Dragon
5
.md
md
bsd-2-clause
neopenx/Dragon
1828
<NME> RedisSentinelManager.java <BEF> package org.crazycake.shiro; import org.crazycake.shiro.common.WorkAloneRedisManager; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisSentinelPool; import redis.clients.jedis.Protocol; import java.util.Collections; import java.util.HashSet; * @create 2018-02-26...
4
1. add PropertiesRedisManager , manage public properties used by redis 2. add JedisManager , Whether JedisPool or JedisSentinelPool is used, we are going to operate redis by acquiring Jedis objects. The subclass realizes the way to get Jedis objects by realizing the getJedis () method of JedisManager. 3. restract class...
181
.java
java
mit
alexxiyang/shiro-redis
1829
<NME> RedisCacheTest.java <BEF> package org.crazycake.shiro; import org.apache.commons.lang3.math.NumberUtils; import org.apache.shiro.subject.PrincipalCollection; import org.crazycake.shiro.exception.CacheManagerPrincipalIdNotAssignedException; import org.crazycake.shiro.exception.PrincipalInstanceException; import o...
23
Merge pull request #90 from theo/support-string
6
.java
java
mit
alexxiyang/shiro-redis
1830
<NME> index.rst <BEF> Getting started quickly with Hitch ================================== This is a basic introduction to getting your first hitch test up and running. Install prerequisites --------------------- You should have a reasonably up to date Ubuntu, Debian, Arch, Fedora or Mac. On Ubuntu/Debian:: $...
9
DOCS : Fix for quickstart docs
9
.rst
rst
agpl-3.0
hitchtest/hitch
1831
<NME> .travis.yml <BEF> language: java <MSG> test travis ci redis <DFF> @@ -1,1 +1,3 @@ -language: java \ No newline at end of file +language: java +services: + - redis-server \ No newline at end of file
3
test travis ci redis
1
.yml
travis
mit
alexxiyang/shiro-redis
1832
<NME> README.rst <BEF> Hitch ===== .. image:: https://badges.gitter.im/Join%20Chat.svg :alt: Join the chat at https://gitter.im/hitchtest/hitch :target: https://gitter.im/hitchtest/hitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge Hitch is a UNIX-based testing framework for writing...
2
DOCS : Updated README.
6
.rst
rst
agpl-3.0
hitchtest/hitch
1833
<NME> web_applications.rst <BEF> mHow to test web applications ============================ .. note:: This tutorial assumes that you have the :doc:`glossary/hitch_plugin` :doc:`plugins/hitchselenium` installed and its step library is set up. If you followed the quickstart tutorial and said yes to testing...
4
DOCS : Fixes for bad links.
4
.rst
rst
agpl-3.0
hitchtest/hitch
1834
<NME> generic_service_api.rst <BEF> Generic Service API =================== .. note:: This documentation applies to the latest version of hitchserve. All of the services listed are run using the generic service API. This API lets you start, monitor and stop any kind of process during a test. Defining a Service ...
31
DOCS : Updated generic service API docs.
0
.rst
rst
agpl-3.0
hitchtest/hitch
1835
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version.
1
.py
py
agpl-3.0
hitchtest/hitch
1836
<NME> gen_lmdb.py <BEF> # -------------------------------------------------------- # Cifar-10 for Dragon # Copyright(c) 2017 SeetaTech # Written by Ting Pan # -------------------------------------------------------- """ Generate database """ import os import sys import time import tarfile import numpy as np from six....
28
remove default inplace for densenet
61
.py
py
bsd-2-clause
neopenx/Dragon
1837
<NME> gen_lmdb.py <BEF> # -------------------------------------------------------- # Cifar-10 for Dragon # Copyright(c) 2017 SeetaTech # Written by Ting Pan # -------------------------------------------------------- """ Generate database """ import os import sys import time import tarfile import numpy as np from six....
28
remove default inplace for densenet
61
.py
py
bsd-2-clause
neopenx/Dragon
1838
<NME> hitch_test_cli.rst <BEF> Hitch Command Line Interface ============================ .. note:: This documentation applies to the latest version of hitch and hitchtest. hitch init ---------- If not already initialized, running:: $ hitch init Will do the following: * Create a .hitch directory * Check fo...
2
DOCS : Updated CLI docs
2
.rst
rst
agpl-3.0
hitchtest/hitch
1839
<NME> README.rst <BEF> Hitch ===== .. image:: https://badges.gitter.im/Join%20Chat.svg :alt: Join the chat at https://gitter.im/hitchtest/hitch :target: https://gitter.im/hitchtest/hitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge Hitch is a UNIX-based testing framework for writing...
2
Remove links to obsolete projects and link to hitchpython instead.
4
.rst
rst
agpl-3.0
hitchtest/hitch
1840
<NME> RedisSessionDAO.java <BEF> package org.crazycake.shiro; import org.apache.shiro.session.Session; import org.apache.shiro.session.UnknownSessionException; import org.apache.shiro.session.mgt.eis.AbstractSessionDAO; import org.crazycake.shiro.common.SessionInMemory; import org.crazycake.shiro.exception.Serializati...
3
Merge pull request #36 from xchendeveloper/redis-sentinel
3
.java
java
mit
alexxiyang/shiro-redis
1841
<NME> README.md <BEF> shiro-redis =========== shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! <MSG> Merge branch 'master' of https://github.com/alexxiyang/shiro-redis <DFF> @@ -2,3 +2,28 @@ shiro-redis =========== s...
25
Merge branch 'master' of https://github.com/alexxiyang/shiro-redis
0
.md
md
mit
alexxiyang/shiro-redis
1842
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). secu...
1
try to remember username
0
.md
md
mit
alexxiyang/shiro-redis
1843
<NME> README.rst <BEF> Hitch ===== .. image:: https://badges.gitter.im/Join%20Chat.svg :alt: Join the chat at https://gitter.im/hitchtest/hitch :target: https://gitter.im/hitchtest/hitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge Hitch is a UNIX-based testing framework for writing...
2
Merge branch 'master' of github.com:hitchtest/hitch
4
.rst
rst
agpl-3.0
hitchtest/hitch
1844
<NME> RedisManager.java <BEF> package org.crazycake.shiro; import org.crazycake.shiro.common.WorkAloneRedisManager; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.Protocol; public class RedisManager extends WorkAloneRedisManager implements IRedisManager { private ...
29
add password and timeout support
1
.java
java
mit
alexxiyang/shiro-redis
1845
<NME> op_kernel.cu <BEF> #ifdef WITH_CUDA #include <cmath> #include "core/context_cuda.h" #include "core/tensor.h" #include "utils/cuda_device.h" #include "utils/op_kernel.h" #include "utils/math_functions.h" namespace dragon { namespace kernel { template <typename T> __global__ void _Empty() { } template<> void Empty<...
396
Add SELU & PReLU support
151
.cu
cu
bsd-2-clause
neopenx/Dragon
1846
<NME> op_kernel.cu <BEF> #ifdef WITH_CUDA #include <cmath> #include "core/context_cuda.h" #include "core/tensor.h" #include "utils/cuda_device.h" #include "utils/op_kernel.h" #include "utils/math_functions.h" namespace dragon { namespace kernel { template <typename T> __global__ void _Empty() { } template<> void Empty<...
396
Add SELU & PReLU support
151
.cu
cu
bsd-2-clause
neopenx/Dragon
1847
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). <dep...
1
Change README.md to use 2.4.8
1
.md
md
mit
alexxiyang/shiro-redis
1848
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). secu...
1
try to remember
0
.md
md
mit
alexxiyang/shiro-redis
1849
<NME> l2_norm_op.cc <BEF> #include "operators/norm/l2_norm_op.h" #include "core/workspace.h" #include "utils/math_functions.h" namespace dragon { template <class Context> template <typename T> void L2NormOp<Context>::RunWithType() { INIT_MULTIPLIER(multiplier, dim); // normalize by outer dim independently ...
1
Fix the potential crash on L2NormOp
1
.cc
cc
bsd-2-clause
neopenx/Dragon
1850
<NME> l2_norm_op.cc <BEF> #include "operators/norm/l2_norm_op.h" #include "core/workspace.h" #include "utils/math_functions.h" namespace dragon { template <class Context> template <typename T> void L2NormOp<Context>::RunWithType() { INIT_MULTIPLIER(multiplier, dim); // normalize by outer dim independently ...
1
Fix the potential crash on L2NormOp
1
.cc
cc
bsd-2-clause
neopenx/Dragon
1851
<NME> hitchvagrant.rst <BEF> HitchVagrant ============ .. note:: This documentation applies to the latest version of hitchvagrant. Installation ------------ If it is not already installed, install the hitch vagrant package:: $ hitch install hitchvagrant Setup ----- To use, define the service after init...
5
DOCS : Fixed some bad links
1
.rst
rst
agpl-3.0
hitchtest/hitch
1852
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from sys import stderr, exit, modules, argv from os import path, makedirs, listdir, kill from functools import partial import hitchdir im...
4
FEATURE : Made the hitch bootstrap script work on python 3.
4
.py
py
agpl-3.0
hitchtest/hitch
1853
<NME> languagestrings.py <BEF> ADDFILE <MSG> BUG : Check for directory integrity properly and make the script work in python 2.6 <DFF> @@ -0,0 +1,50 @@ + + +SPECIFY_PYTHON_TO_CREATE_VIRTUALENV_WITH = """\ +Create hitch virtualenv using specific python version +(e.g. /usr/bin/python3). Defaults to using python3 on the ...
50
BUG : Check for directory integrity properly and make the script work in python 2.6
0
.py
py
agpl-3.0
hitchtest/hitch
1854
<NME> refactor_your_tests.rst <BEF> ADDFILE <MSG> DOCS : Update to settings docs and added refactoring docs plus debugging docs. <DFF> @@ -0,0 +1,57 @@ +How to refactor your tests +========================== + +A good, although uncommon development practice when building features or +fixing bugs is refactoring. + +Ref...
57
DOCS : Update to settings docs and added refactoring docs plus debugging docs.
0
.rst
rst
agpl-3.0
hitchtest/hitch
1855
<NME> tested_on.rst <BEF> ADDFILE <MSG> DOCS : Updates to documentation. <DFF> @@ -0,0 +1,77 @@ +Tested on +========= + +Working on +---------- + +This is an list of environments that Hitch is tested on +and been found to work. If you use one of these environments +and you discover a problem, that's a bug. Please rais...
77
DOCS : Updates to documentation.
0
.rst
rst
agpl-3.0
hitchtest/hitch
1856
<NME> IRedisManager.java <BEF> package org.crazycake.shiro; import java.util.Set; /** * redisManager interface * **/ public interface IRedisManager { /** * get value from redis * @param key key * @return value */ byte[] get(byte[] key); /** * set * @param key key *...
3
Fix checkstyle error
2
.java
java
mit
alexxiyang/shiro-redis
1857
<NME> setup.py <BEF> from distutils.core import setup import os.path, sys import shutil packages = [] def find_packages(root_dir): filenames = os.listdir(root_dir) for filename in filenames: filepath = os.path.join(root_dir, filename) if os.path.isdir(filepath): find_packages(filep...
1
Fix the crash when terminating processes
1
.py
py
bsd-2-clause
neopenx/Dragon
1858
<NME> setup.py <BEF> from distutils.core import setup import os.path, sys import shutil packages = [] def find_packages(root_dir): filenames = os.listdir(root_dir) for filename in filenames: filepath = os.path.join(root_dir, filename) if os.path.isdir(filepath): find_packages(filep...
1
Fix the crash when terminating processes
1
.py
py
bsd-2-clause
neopenx/Dragon
1859
<NME> brittle_tests.rst <BEF> Brittle Tests ============= Brittleness is a property of tests which renders them likely to break easily Brittleness can lead to :doc:`test_failure_habituation` and :doc:`test_abandonment`. Solving brittleness in tests is a *hard* engineering problem. `Even Google can't seem to do it ri...
2
DOCS : Updated the page on brittle tests.
4
.rst
rst
agpl-3.0
hitchtest/hitch
1860
<NME> hitchnode.rst <BEF> ADDFILE <MSG> Merge pull request #33 from kkarimi/master DOCS: Basic usage of hitchnode <DFF> @@ -0,0 +1,59 @@ +HitchNode +========== + +.. note:: + + This documentation applies to the latest version of hitchnode. + +HitchNode is a :doc:`/glossary/hitch_plugin` created to make testing appl...
59
Merge pull request #33 from kkarimi/master
0
.rst
rst
agpl-3.0
hitchtest/hitch
1861
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
FEATURE : Absorbed click package into hitch so that it is dependency-less.
1
.py
py
agpl-3.0
hitchtest/hitch
1862
<NME> RedisManager.java <BEF> package org.crazycake.shiro; import org.crazycake.shiro.common.WorkAloneRedisManager; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.Protocol; public class RedisManager extends WorkAloneRedisManager implements IRedisManager { public cl...
24
support host:port (eg. host=127.0.0.1:6379) config style , keep old config sytle (eg. host=127.0.0.1 port=6379)
2
.java
java
mit
alexxiyang/shiro-redis
1863
<NME> why_yaml.rst <BEF> Why YAML? ========= YAML is a markup language for presenting structured data. It is a more readable version of JSON. Hitch uses YAML as a declarative description language for integration tests. While python could be used to write integration tests instead, YAML is more suitable as it lets yo...
48
DOCS : Updated Why YAML
10
.rst
rst
agpl-3.0
hitchtest/hitch
1864
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version.
1
.py
py
agpl-3.0
hitchtest/hitch
1865
<NME> index.rst <BEF> Getting started quickly with Hitch ================================== This is a basic introduction to getting your first hitch test up and running. Create your test directory -------------------------- Create a directory inside the root of your project to put your tests in. For example:: ~/y...
51
DOCS : Added more glossary terms, updated service API docs and updated front page.
19
.rst
rst
agpl-3.0
hitchtest/hitch
1866
<NME> index.rst <BEF> ADDFILE <MSG> DOCS : Updated docs <DFF> @@ -0,0 +1,112 @@ +Hitch Quickstart +================ + +This is a basic introduction to getting your first test up and running. + +Prerequisites +------------- + +To begin, the minimum you need to have python3 and virtualenv installed on your system. + +On...
112
DOCS : Updated docs
0
.rst
rst
agpl-3.0
hitchtest/hitch
1867
<NME> why_was_hitch_behavior_changed.rst <BEF> ADDFILE <MSG> DOCS : Updates to docs <DFF> @@ -0,0 +1,41 @@ +Why was hitch behavior changed? +=============================== + +This FAQ is gives explanations for behaviors that were changed in Hitch. + + +Why will my tests no longer run with the default filename "settin...
41
DOCS : Updates to docs
0
.rst
rst
agpl-3.0
hitchtest/hitch
1868
<NME> RedisSessionDAO.java <BEF> package org.crazycake.shiro; import org.apache.shiro.session.Session; import org.apache.shiro.session.UnknownSessionException; import org.apache.shiro.session.mgt.eis.AbstractSessionDAO; import org.crazycake.shiro.common.SessionInMemory; import org.crazycake.shiro.exception.Serializati...
3
add redis cluster support
3
.java
java
mit
alexxiyang/shiro-redis
1869
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from os import path, makedirs, listdir, kill, remove from sys import stderr, stdout, exit, modules, argv from functools import partial, r...
3
BUG : More fixes for python 3.
3
.py
py
agpl-3.0
hitchtest/hitch
1870
<NME> README.md <BEF> shiro-redis [![Build Status]][Travis CI] =========== ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). <MSG> Update README.md add travis build image <DFF> @@ -1,6 +1,6 @@ shiro-redis -[![Build Status]][Travis CI] +[![Build Status](https...
1
Update README.md
1
.md
md
mit
alexxiyang/shiro-redis
1871
<NME> UserMock.java <BEF> ADDFILE <MSG> add RedisManager testcase <DFF> @@ -0,0 +1,126 @@ +/* + * Copyright (C), 1996-2014 + * FileName: User.java + * Author: 王华君 + * Date: Nov 19, 2014 2:47:57 PM + * Description: //模块目的、功能描述 + * History: //修改记录 + * <author> <time> <version> <desc> + * 修改人姓名 ...
126
add RedisManager testcase
0
.java
java
mit
alexxiyang/shiro-redis
1872
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from os import path, makedirs, listdir, kill, remove from sys import stderr, stdout, exit, modules, argv from functools import partial, r...
14
FEATURE : Install unixpackage in the .hitch virtualenv and install all packages in file 'system.packages' if it exists.
6
.py
py
agpl-3.0
hitchtest/hitch
1873
<NME> shiro.ini <BEF> ADDFILE <MSG> Added JUnit test <DFF> @@ -0,0 +1,46 @@ +# ============================================================================= +# Tutorial INI configuration +# +# Usernames/passwords are based on the classic Mel Brooks' film "Spaceballs" :) +# ==============================================...
46
Added JUnit test
0
.ini
ini
mit
alexxiyang/shiro-redis
1874
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ### Compile Requirements for C++ 0. Google Protocol Buffer <MSG> add omp optimization <DFF> @@ -1,5 +1,6 @@ # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework - +![](http://images.cnblogs.com/...
2
add omp optimization
1
.md
md
bsd-2-clause
neopenx/Dragon
1875
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ### Compile Requirements for C++ 0. Google Protocol Buffer <MSG> add omp optimization <DFF> @@ -1,5 +1,6 @@ # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework - +![](http://images.cnblogs.com/...
2
add omp optimization
1
.md
md
bsd-2-clause
neopenx/Dragon
1876
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! =========== You can chose these 2 ways to include shiro-redis into your project + directly download jar fil...
3
Update README.md
2
.md
md
mit
alexxiyang/shiro-redis
1877
<NME> RedisSentinelManager.java <BEF> package org.crazycake.shiro; import redis.clients.jedis.JedisPoolConfig; import redis.clients.jedis.JedisSentinelPool; import redis.clients.jedis.Protocol; import java.util.Collections; import java.util.HashSet; import java.util.Set; public class RedisSentinelManager extends Wor...
12
refactor
17
.java
java
mit
alexxiyang/shiro-redis
1878
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, check_output, PIPE, CalledProcessError, Popen from click import command, group, argument, option from sys import stderr, exit, modules, argv from os import path, makedirs, listdir, getpgrp, killpg from functools im...
1
BUG : Fixed kill import issue.
1
.py
py
agpl-3.0
hitchtest/hitch
1879
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
BUG : Fix for reduce missing when the code is run with python 3.
1
.py
py
agpl-3.0
hitchtest/hitch
1880
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). # # ...
14
Update README.md
7
.md
md
mit
alexxiyang/shiro-redis
1881
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). cach...
1
fixing typo in example shiro.ini
1
.md
md
mit
alexxiyang/shiro-redis
1882
<NME> SessionInMemory.java <BEF> ADDFILE <MSG> Add expire time to session in ThreadLocal <DFF> @@ -0,0 +1,26 @@ +package org.crazycake.shiro; + +import org.apache.shiro.session.Session; + +import java.util.Date; + +public class SessionInMemory { + private Session session; + private Date createTime; + + public...
26
Add expire time to session in ThreadLocal
0
.java
java
mit
alexxiyang/shiro-redis
1883
<NME> why_should_my_tests_set_up_their_own_python_environments.rst <BEF> Why should my tests set up their own python environments? ========================================================= Most python testing frameworks run using the same python environment that the application code runs in. Hitch is different. Hitc...
30
DOCS : Updates to documentation.
6
.rst
rst
agpl-3.0
hitchtest/hitch
1884
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). | T...
1
Update README.md
1
.md
md
mit
alexxiyang/shiro-redis
1885
<NME> shiro-standalone.ini <BEF> ADDFILE <MSG> Merge pull request #1 from alexxiyang/master 更新alexxiyang的提交 <DFF> @@ -0,0 +1,4 @@ +redisManager.host = 127.0.0.1:6379 +redisSessionDAO.expire = 3000 +cacheManager.expire = 3000 +cacheManager.principalIdFieldName = userId \ No newline at end of file
4
Merge pull request #1 from alexxiyang/master
0
.ini
ini
mit
alexxiyang/shiro-redis
1886
<NME> README.md <BEF> shiro-redis ============= ## Introduction How to use it? =========== * Download shiro-redis.jar in bin folder and add it into your classpath. * Add depende'. Edit shiro.ini ```properties #============redisCacheManager=========== cacheManager = org.crazycake.shiro.RedisCacheManager cacheManage...
13
Update README.md
3
.md
md
mit
alexxiyang/shiro-redis
1887
<NME> why_yaml.rst <BEF> Why YAML? ========= YAML is a markup language for presenting structured data. It is effectively a more readable version of JSON. It is used for configuration - for the settings file - because it is It is used both for writing test scripts and for settings files. Python developers who are n...
10
DOCS : Updated why YAML.
25
.rst
rst
agpl-3.0
hitchtest/hitch
1888
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! ## Documentation Official documentation [is located here](http://alexxiyang.github.io/shiro-redis/). <...
81
Update README.md
1
.md
md
mit
alexxiyang/shiro-redis
1889
<NME> commandline.py <BEF> """High level command line interface to hitch.""" from subprocess import call, PIPE, STDOUT, Popen from hitch.click import command, group, argument, option from os import path, makedirs, listdir, kill, remove from sys import stderr, stdout, exit, modules, argv from functools import partial, r...
1
FEATURE : Allow hitch clean to be run even if no hitch directory is detected.
0
.py
py
agpl-3.0
hitchtest/hitch
1890
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). 4. Configure Dragon/CMakeLists.txt - Select optional libraries [CU...
3
add setup.py
5
.md
md
bsd-2-clause
neopenx/Dragon
1891
<NME> README.md <BEF> # Dragon: A Computation Graph Virtual Machine Based Deep Learning Framework ![](http://dragon.seetatech.com/static/images/styles-dragon.png) ----- ## Deprecated. See [seetaresearch/Dragon](http://github.com/seetaresearch/Dragon). 4. Configure Dragon/CMakeLists.txt - Select optional libraries [CU...
3
add setup.py
5
.md
md
bsd-2-clause
neopenx/Dragon
1892
<NME> README.md <BEF> shiro-redis ============= ## Introduction shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you! edit in shiro.ini #required cacheManager = org.yqr.shiro.RedisCacheManager #optional if you don't specify...
2
Update README.md
0
.md
md
mit
alexxiyang/shiro-redis
1893
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version.
1
.py
py
agpl-3.0
hitchtest/hitch
1894
<NME> RedisSessionDAOTest.java <BEF> package org.crazycake.shiro; import org.apache.shiro.session.InvalidSessionException; import org.apache.shiro.session.Session; import org.crazycake.shiro.exception.SerializationException; import org.crazycake.shiro.serializer.ObjectSerializer; import org.crazycake.shiro.serializer....
12
- Make RedisSessionDAO use session timeout as expire as default
0
.java
java
mit
alexxiyang/shiro-redis
1895
<NME> README.md <BEF> shiro-redis ============= [![Build Status](https://travis-ci.org/alexxiyang/shiro-redis.svg?branch=master)](https://travis-ci.org/alexxiyang/shiro-redis) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.crazycake/shiro-redis/badge.svg)](https://maven-badges.herokuapp.com/mav...
5
update shiro-core/jedis Version Comparison Charts
5
.md
md
mit
alexxiyang/shiro-redis
1896
<NME> setup.py <BEF> # -*- coding: utf-8 -* from setuptools.command.install import install from setuptools import find_packages from setuptools import setup from sys import version_info, stderr, exit import codecs import sys import os if sys.platform == "win32" or sys.platform == "cygwin": stderr.write("Hitch wil...
1
RELEASE : Bumped version.
1
.py
py
agpl-3.0
hitchtest/hitch
1897
<NME> ObjectSerializer.java <BEF> package org.crazycake.shiro.serializer; import org.crazycake.shiro.exception.SerializationException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; public class ObjectSerializer implements RedisSerializer<Object> { private static Logger logger = Logge...
9
增加多ClassLoader反序列化支持
4
.java
java
mit
alexxiyang/shiro-redis
1898
<NME> TestUtils.java <BEF> ADDFILE <MSG> - Fix defect about can't clean object after logout - Add Serializers - Upgrade Jedis version to 2.7.2 - Upgrade support Redis version to 2.4.6 - Refactor codes - Add testcases <DFF> @@ -0,0 +1,12 @@ +package org.crazycake.shiro; + +import java.lang.reflect.Field; + +public clas...
12
- Fix defect about can't clean object after logout - Add Serializers - Upgrade Jedis version to 2.7.2 - Upgrade support Redis version to 2.4.6 - Refactor codes - Add testcases
0
.java
java
mit
alexxiyang/shiro-redis
1899
<NME> index.rst <BEF> 1: Creating a skeleton test =========================== This is a basic introduction to getting your first hitch test up and running. Install prerequisites --------------------- You should have a reasonably up to date Ubuntu, Debian, Arch, Fedora or Mac. On Ubuntu/Debian:: $ sudo apt-get ...
3
DOCS : Fixes for bad links in documentation
3
.rst
rst
agpl-3.0
hitchtest/hitch