C#_vuln_test_suite_gen package¶
complexities_generator module¶
Complexities Generator Module.
This is the module used to compose and generate the needed complexities which will be used by the Generator module.
-
class
ComplexitiesGenerator
(complexities_array, template, input_type, output_type, filtering)¶ Bases:
object
Complexities Generator class
- Args :
complexities_array (List of
ComplexitySample
): Contains the current stack of complexities.template (str): Template code.
input_type (str): Input type got from the xml file.
output_type (str): Output type got from the xml file.
filtering (str): Current filtering.
Attributes :
complexities_array (List of
ComplexitySample
): Contains the current stack of complexities.template (
FileTemplate
): Template code.input_type (str): Input type got from the xml file.
output_type (str): Output type got from the xml file.
filtering (
FilteringSample
): Current filtering.uid (int): UID for variables/functions/classes name.
complexities (list of dict): list of dict with complexities, type (function or class) and local var for composition.
_executed (bool): True if the final placeholder will be executed (private member, please use getter and setter).
id_var_in (int): ID for intern variables used in composition of complexities (in).
id_var_out (int): ID for intern variables used in composition of cpomplexities (out).
_in_ext_name (str): Name of external intput variable (for input) (private member, please use getter and setter).
_in_int_name (str): Name of internal intput variable (for filtering) (private member, please use getter and setter).
_out_ext_name (str): Name of external output variable (for sink) (private member, please use getter and setter).
_out_int_name (str): Name of internal output variable (for filtering) (private member, please use getter and setter).
template_code (str): Modified template.
-
add_value_dict
(key, value)¶ Adds a variable name into a dict. This dict is compile after for local var
-
compose
()¶ This method composes all complexities.
-
executed
¶ True if placeholder code is executed, false otherwise.
Getter: Returns this name. Type: str
-
fill_template
()¶ This method fills template with previous composed complexities with local var and instructions.
-
generate_local_var_code
(local_var)¶ Generates local var with type, name and initialisation.
-
get_in_out_var
(c)¶ Generated name for variable in different cases (in/trasversal/out).
-
get_template
()¶ Gets modified template.
Getter: Returns this name. Type: str
-
in_ext_name
¶ Gets input external variable name.
Getter: Returns this name. Type: str
-
in_int_name
¶ Gets input internal variable name.
Getter: Returns this name. Type: str
-
out_ext_name
¶ Gets output external variable name.
Getter: Returns this name. Type: str
-
out_int_name
¶ Gets output internal variable name.
Getter: Returns this name. Type: str
complexity module¶
Complexity module.
-
class
ComplexitySample
(xml_compl)¶ Bases:
object
ComplexitySample class
- Attributes :
_id (str): ID of complexity (private member, please use getter and setter).
_cond_id (int): ID of condition (private member, please use getter and setter).
_code (str): Code of complexity (private member, please use getter and setter).
_type (str): Type of complexity (if, switch, for, function, classe, ...) (private member, please use getter and setter).
_group (str): Group of complexity (conditionnals, loops, functions, classes, ...) (private member, please use getter and setter).
_executed (str): If True the placeholder is executed (private member, please use getter and setter).
_need_condition (bool): If True the complexity need a condition (set _cond_id) (private member, please use getter and setter).
_need_id (bool): If True the complexity needs uniq id (private member, please use getter and setter).
_in_out_var (bool): Specifies where the placeholder is in the complexity for variables name setting (in, trasversal, out)
_indirection (bool): If True, the complexity need to have a body (private member, please use getter and setter).
_body (str): If specified, it’s the second part of complexity (private member, please use getter and setter).
-
body
¶ Second part of complexity.
Getter: Returns this second part. Setter: Sets this second part. Type: str
-
clone
()¶
-
code
¶ Code of complexity.
Getter: Returns this code. Setter: Sets this code. Type: str
-
get_complete_id
()¶ Returns the complete id of complexity (in case with conditional).
-
group
¶ Group of complexity (conditionnals, loops, functions, classes, ...).
Getter: Returns this group. Type: str
-
id
¶ ID of complexity.
Getter: Returns this ID. Type: int
-
in_out_var
¶
-
indirection
¶ If True, the complexity need to have a body.
Getter: Returns this boolean. Type: bool
-
is_executed
()¶ compute if the placeholder is executed
-
need_condition
()¶ If True the complexity need a condition (set _cond_id).
Getter: Returns this boolean. Type: bool
-
need_id
¶ If True the complexity needs uniq id.
Getter: Returns this boolean. Type: bool
-
set_cond_id
(nb)¶ Sets the ID of the condition.
- Args:
- nb (int): The new value.
-
set_condition
(condition)¶ If True the complexity need a condition (set _cond_id).
Setter: Sets this boolean. Type: bool
-
type
¶ Type of complexity (if, switch, for, function, classe, ...).
Getter: Returns this type. Type: str
condition module¶
Condition module
-
class
ConditionSample
(xml_cond)¶ Bases:
object
ConditionSample class
- Args :
- xml_cond (xml.etree.ElementTree.Element): The XML element containing the conditions tag in the file “complexities.xml”.
- Attributes :
_id (str): ID of the condition (private member, please use getter and setter).
_code (str): Code of condition (private member, please use getter and setter).
_value (str): Value of condition (private member, please use getter and setter).
-
code
¶ Code of condition.
Getter: Returns this code. Type: str
-
id
¶ ID of the condition.
Getter: Returns this ID. Type: str
-
value
¶ Value of condition.
Getter: Returns this value. Type: str
exec_query module¶
exec_query module
-
class
ExecQuerySample
(sample)¶ Bases:
c_sharp_vuln_test_suite_gen.sample.Sample
ExecQuerySample class
- Args :
- sample (xml.etree.ElementTree.Element): The XML element containing the execquery tag in the file “exec_query.xml”.
- Attributes :
_type (str): Type of exec query (private member, please use getter and setter).
_code (str): Code of exec query (private member, please use getter and setter).
_safe (bool): If True the exec query is safe (private member, please use getter and setter).
-
code
¶ Code of exec query.
Getter: Returns this code. Type: str
-
safe
¶ If True the exec query is safe.
Getter: Returns this boolean. Type: bool
-
type
¶ type of exec query.
Getter: Returns this type. Type: str
file_manager module¶
file_manager module
-
class
FileManager
(filename, dir_name, flaw_group, flaw_type, is_safe, content)¶ Bases:
object
FileManager class
- Args :
filename (str): The filename of current test case.
dir_name (str): The directory of current test case.
flaw_group (str): Flaw group of current test case.
flaw_type (str): Flaw type of current test case.
is_safe (bool): If true the current test case is safe.
content (str): Code of current test case.
- Attributes :
filename (str): The filename of current test case.
dir_name (str): The directory of current test case.
flaw_group (str): Flaw group of current test case.
flaw_type (str): Flaw type of current test case.
is_safe (bool): If true the current test case is safe.
content (str): Code of current test case.
path (str): Path of current test case.
-
addContent
(content)¶ Concatenates the given content to the attribute content.
- Args:
- content (str): The content to add.
-
addPath
(path)¶ Adds the given path to the attribute path.
- Args:
- path (str): the path to add.
-
createFile
(debug=False)¶ Create the file with code on them
- Args :
- debug (bool) : Debug flag (default : False)
-
classmethod
exist_language
(language)¶ Class Method. Check if the given language exist in the path.
- Args :
- language (str): The language to check.
-
getName
()¶ Returns the filename.
-
getPath
()¶ Returns the path.
-
classmethod
getXML
(xmlfile, language='cs')¶ Class Method. Returns the path to selected xml file for the specified language.
-
setName
(filename)¶ Sets the filename.
- Args:
- filename (str): The new filename.
-
setPath
(path)¶ Sets the path.
- Args:
- path (str): The new path.
file_template module¶
file_template module
-
class
FileTemplate
(file_template)¶ Bases:
object
FileTemplate class
- Attributes :
_language_name (str): Name of language (private member, please use getter and setter).
_file_extension (str): File extension (private member, please use getter and setter).
_namespace (int): Namespace (private member, please use getter and setter).
_code (str): Template code (private member, please use getter and setter).
_imports (list of str): imports for template (private member, please use getter and setter).
_comment (dict str->str): Structure for comment (inline, multiline) (private member, please use getter and setter).
_prefix (str): Variables prefix (private member, please use getter and setter).
_import_code (str): Import code with placeholder (private member, please use getter and setter).
_variables (dict str->(dict str->str)): Identifier and initializer for variables (private member, please use getter and setter).
-
code
¶ - Template code.
Getter: Returns this code. Type: str
-
comment
¶ - Structure for comment (inline, multiline).
Getter: Returns this structure. Type: str
-
file_extension
¶ - File extension.
Getter: Returns this extension. Type: str
-
generate_imports
(imports)¶ Fills the template by replacing the placeholder for the import with the given arguments.
- Args :
- imports (str): The value to write.
-
get_init_var_code
(type_v)¶ Return the init code of specified variable
- Args :
- type_v (str)
-
get_type_var_code
(type_v)¶ Return the statement code of specified variable.
- Args :
- type_v (str)
-
imports
¶ Imports for template.
Getter: Returns these imports. Type: list of str
-
language_name
¶ Name of language.
Getter: Returns this language. Type: str
-
namespace
¶ Namespace.
Getter: Returns this namespace. Type: str
-
prefix
¶ - Variables prefix.
Getter: Returns this prefix. Type: str
filtering_sample module¶
filtering_sample module
-
class
FilteringSample
(sample)¶ Bases:
c_sharp_vuln_test_suite_gen.sample.Sample
FiletringSample class
- Args :
- sample (xml.etree.ElementTree.Element): The XML element containing the filtering tag in the file “filtering.xml”.
- Attributes :
_input_type (str): Type of input variable (private member, please use getter and setter).
_output_type (str): Type of output variable (private member, please use getter and setter).
_flaws (dict str->(dict str->bool): Collection of flaws for this filtering with safety (private member, please use getter and setter).
-
compatible_with_sink
(sink_sample)¶ Return True if current filtering is compatible with given sink, False otherwise.
- Args:
- sink_sample (
SinkSample
)
-
contains_flaw_type
(flaw_type)¶ Returns True if the flaws of the filtering sample is the same as the given one or if it’s a generic filtering, False otherwise.
- Args:
- flaw_type (str)
-
flaws
¶ Collection of flaws for this filtering with safety.
Getter: Returns this collection. Type: str
-
get_flaws_types
()¶ Collection of flaws for this filtering with safety.
Getter: Returns the keys of this collection. Type: list of str
-
input_type
¶ Type of input variable.
Getter: Returns this input type. Type: str
-
is_safe
(flaw_type)¶ Check if current filtering is safe for the given flaw type.
- Args:
- flaw_type (str)
-
is_unsafe
(flaw_type)¶ Check if current filtering is unsafe for the given flaw type.
- Args:
- flaw_type (str)
-
output_type
¶ Type of output variable.
Getter: Returns this output type. Type: str
generator module¶
Generator Module.
This is the main module used to generate the test cases.
-
class
Generator
(date, language='cs')¶ Bases:
object
Generator class
- Args :
date (str): Human readable date of the generation used for the folder containing generated codes (for the manifest). Generated using strftime().
language (str): Targeted language of the generator (‘cs’, ‘php’ values accepted).
- Attributes :
date (str): Human readable date of the generation. _max_recursion (int): Max level of recursion with complexities, 0 for flat code, 1 for one complexity, 2 for two, ... (private member, please use getter and setter).
_number_generated (int): Number of triplets (input,filtering,sink) generated (private member, please use getter and setter).
dir_name (str): Directory name of the folder containing generated codes.
manifest (Manifest): Manifest object to complete the manifest file with references to generated files.
safe_sample (int): Counter for safe sample.
unsafe_sample (int): Counter for unsafe sample.
report (dict): Dict which contains repports for each group of flaws.
flaw_type_user (list): Flaw types entered by user for the generation.
flaw_group_user (list): Flaw groups entered by user for the generation.
start (float): Starting time of the generation.
end (float): Ending generate time.
tab_input (list): List (of
InputSample
objects) containing all input sample from XML file.tab_filtering (list): List (of
FilteringSample
objects) containing all filtering sample from XML file.tab_sink (list): List (of
SinkSample
objects) containing all sink sample from XML file.tab_exec_queries (list): List (of
ExecQuerySample
objects) containing all exec query sample from XML file.tab_complexity (list): List (of
ComplexitySample
) containing all complexity sample from XML file.tab_condition (list): List (of
ConditionSample
) containing all condition sample from XML file.file_template (list): List (of
FileTemplate
) containing the template for current langage from XML file.current_input (
InputSample
): Contains the current selected input.current_filtering (
FilteringSample
): Contains the current selected filtering.current_sink (
SinkSample
): Contains the current selected sink.current_exec_queries (
ExecQuerySample
): Contains the current selected exec query.current_code (str): Contains the current code.
complexities_queue (List of
ComplexitySample
): Contains the current stack of complexities.map_CWE_group (dict: flaw_group -> list(CWE)): Contains a dict which associate a list containing the numbers of CWE (int) to a flaw group (str).
-
UID
= 0¶ Uniq ID for generated functions/classes/variables name.
-
compose
()¶ This method compose previous selected code chunk into a final code. Complexities are composed with the class complexities_generator and the filtering is incluse into them. After we add input, complexities with filtering, sink, exec query into the template code. Also, we add include, license, comments, into the template. At the end, we have final code who can be save into files.
-
create_map_CWE_group
()¶ Create a dict which associate a list containing the numbers of CWE (int) to a flaw group (str).
-
static
findFlaw
(fileName, comment_inline_code)¶ Seek //flaw flag into the generated file and got line number if it exists.
- Args :
- fileName (str): The filename of the file in which the flag //flaw will be searched.
-
generate
(debug=False, generate_safe=True, generate_unsafe=True)¶ This function is the start of generation execution. It call other function recursilely to selecc input, filtering, sink, exec queries and complexities. At the end of the recursif chain, code chunks are combined into finales source files.
- Args :
debug (bool): If its True, the debug mode remove the license on the top of generated files.
generate_safe (bool): If its True, only safe test cases are generated.
generate_unsafe (bool): If its True, only unsafe test cases are generated.
-
generate_file_name
(suffix)¶ - Generate file name in format :
- flawtype__inputname__filteringname__sinkname__execqueryname__X-Y1-Y2_File*suffix*.ext with X the number of complexity level, Y1, Y2 id of complexities and suffix the file number (0 for main file).
- Args :
- suffix (str): the file number (for the filename).
-
generation_report
()¶ Prints final report for the generation. Prints number of safe/unsafe by CWE/group and generate time.
-
getUID
()¶ Generate a uniq ID for classes/functions/variables name. At each call, the UID is incremented.
-
get_cwe_list
()¶ Return all flaw types got from the XML files.
-
get_group_list
()¶ Returns all flaw groups got from the XML files.
-
get_groups_to_generate
()¶
-
is_safe_selection
()¶ Returns true if the final source code is safe, false otherwise. The computation is : * True if on of input, filtering, sink or exec query is safe and no unsafe on input, filtering, sink and exec query * False else
-
max_recursion
¶ Max level of recursion with complexities, 0 for flat code, 1 for one complexity, 2 for two, ...
Getter: Returns this maximum recursion. Setter: Sets this maximum direction. Type: int
-
need_condition
(curr_complexity, level)¶ This function check if the current complexity needs a condition. If its needed, we browse all conditions and compose them into the complexity code. The state of the complexity is updated with the result of the conditional.
- Args :
curr_complexity (
ConplexitySample
) : The current conmplexity being generated.level (int): Imbrication level of the complexity being generated.
-
number_generated
¶ Number of triplets (input,filtering,sink) generated.
Getter: Returns this number. Setter: Sets this number. Type: int
-
recursion_level
()¶ - This method compute the number of imbrication with complexities :
- if the max recursion is 0 its produce a flat code
- if the max recursion is 1 its produce code with on complexity around the filtering code
- if the max recursion is 2 its produce code with two complexities aoround the filtering code
- and so on ...
-
static
remove_indent
(code, all=False)¶
-
select_complexities
(level)¶ This function browse all complexities. Each type of complexity can be use with special processing and call the need_condition method to check if the complexity need a condition. At the end we call the next function for compose then into one code chunk.
- Args :
- level (int): Imbrication level of the complexity being generated.
-
select_exec_queries
()¶ This method browse all exec query if the current sink need exec query and the exec query is compatible with the current sink, then call the next recursion level.
-
select_filtering
()¶ This method browse all filtering one by one if the filtering is compatible with the current sink, then call the next recursion level.
-
select_input
()¶ This method browse all input one by one if the input is compatible with the current sink and current filtering, then call the next recursion level.
-
select_sink
()¶ This method browse all sink one by one if the group or type is selected by the user or if its a complete generation, then call the next recursion level.
-
set_flaw_group_user
(value)¶ Sets the flaw groups got from the user input (-f and –flaw-group options).
- Args :
- value (list(int)): The list containing the flaw groups.
-
set_flaw_type_user
(value)¶ Sets the flaw types got from the user input (-c and –cwe options).
- Args :
- value (list(int)): The list containing the CWE numbers.
-
write_files
()¶ This method writes code for then current selection into files It adds an entry into the manifest with specified informations
input_sample module¶
Input Class (TODO DOC)
-
class
InputSample
(sample)¶ Bases:
c_sharp_vuln_test_suite_gen.sample.Sample
FiletringSample class
- Args :
- sample (xml.etree.ElementTree.Element): The XML element containing the input tag in the file “input.xml”.
- Attributes :
_input_type (str): Type of input variable (private member, please use getter and setter).
_output_type (str): Type of output variable (private member, please use getter and setter).
_flaws (dict str->(dict str->bool): Collection of flaws for this filtering with safety (private member, please use getter and setter).
-
compatible_with_filtering_sink
(filtering, sink)¶ Return True if current input is compatible with filtering and sink, False otherwise.
- Args:
sink (SinkSample)
filtering (FilteringSample)
-
flaws
¶ Collection of flaws for this input with safety.
Getter: Returns this collection. Type: str
-
get_flaws_types
()¶ Collection of flaws for this input with safety.
Getter: Returns the keys of this collection. Type: list of str
-
input_type
¶ Type of input variable.
Getter: Returns this input type. Type: str
-
is_safe
(flaw_type)¶ Check if current input is safe for a flaw type
-
is_unsafe
(flaw_type)¶ Check if current input is unsafe for a flaw type
-
output_type
¶ Type of output variable.
Getter: Returns this output type. Type: str
manifest module¶
manifest module
-
class
Manifest
(dir_name, date)¶ Bases:
object
Manifest class
- Attributes :
dir_name (str): Directory name.
date (str): Date of generation.
manifest (str): List of open manifest for each group generated.
-
addTestCase
(input_sample, flaw_group, flaw, files_path, language)¶ Add test case into manifest
- Args :
input_sample (str)
flaw_group (str)
flaw (str)
files_path (list of dict str->str)
language (str)
-
closeManifests
()¶ Close the manifest
-
createManifests
(flaw_groups)¶ Create a manifest for selected group.
- Args:
- flaw_groups (list of str): List of flaw group
sample module¶
sample module
-
class
Sample
(sample)¶ Bases:
object
Sample class
- Args :
- sample (xml.etree.ElementTree.Element): The XML element containing the filtering tag in the file “filtering.xml”.
- Attributes :
_path (str): path for identify the sample (private member, please use getter and setter).
_code (str): Code of sample (private member, please use getter and setter).
_comment (str): comment for sample (private member, please use getter and setter).
_imports (list of str): path for identify the sample (private member, please use getter and setter).
_need_id (bool): True if sample need id for code chunk (private member, please use getter and setter).
_safe (bool): Safe tag (private member, please use getter and setter).
_unsafe (bool): Unsafe tag (private member, please use getter and setter).
-
code
¶ Code Tag.
Getter: Returns this tag. Type: str
-
comment
¶ Comment Tag.
Getter: Returns this tag. Type: str
-
generate_file_name
()¶ Generate the filename with the path of the Manifest.
-
imports
¶ Imports Tag.
Getter: Returns this tag. Setter: Sets this tag. Type: str
-
need_id
¶ Need_ID Tag.
Getter: Returns this boolean. Type: bool
-
path
¶ Path Tag.
Getter: Returns this tag. Type: str
-
safe
¶ Safe Tag.
Getter: Returns this boolean. Type: bool
-
unsafe
¶ Unsafe Tag.
Getter: Returns this boolean. Type: bool
sink_sample module¶
sink_sample module
-
class
SinkSample
(sample)¶ Bases:
c_sharp_vuln_test_suite_gen.sample.Sample
FiletringSample class
- Args :
- sample (xml.etree.ElementTree.Element): The XML element containing the sink tag in the file “sink.xml”.
- Attributes :
_input_type (str): Type of input variable (private member, please use getter and setter).
_exec_type (str): Type of exec query if needed (private member, please use getter and setter).
_flaw_type (str): Flaw type (private member, please use getter and setter).
_flaw_group (str): Flaw group (private member, please use getter and setter).
_need_complexity (bool): If false the sink doesn’t need complexities (private member, please use getter and setter).
-
compatible_with_exec_queries
(exec_queries)¶ Return True if current sink is compatible with given exec query, False otherwise.
- Args:
- exec_queries (
ExecQuery
)
-
exec_type
¶ Type of exec query if needed.
Getter: Returns this type. Type: str
-
flaw_group
¶ Flaw group.
Getter: Returns this group. Type: str
-
flaw_type
¶ Flaw type.
Getter: Returns this type. Type: str
-
flaw_type_number
()¶ Returns the flaw type number.
-
input_type
¶ Type of input variable.
Getter: Returns this input type. Type: str
-
need_complexity
¶ If false the sink doesn’t need complexities.
Getter: Returns this boolean. Type: str
-
need_exec
()¶ Return True if exec_type is not None, False otherwise.


Welcome to Itea Solutions Wi-Fi Hotspot For newly bought vouchers Please activate the voucher using the activation link


[§398A-2] Inapplicability. This chapter shall not apply to any leave of absence provided to any public employee serving as an organ or bone marrow donor pursuant to section 78-23.6. [L 2014, c 161, pt of §1]


| DOAJ is entirely not-for-profit and survives solely on contributions. Please take 5 minutes to DONATE to us. Help us to continue contributing to the visibility and dissemination of Open Access research and to making it the default for academic and scholarly publishing. |
Lars Bjørnshauge - Managing Director
Lars was Director of Libraries at Lund University from 2001 to 2011 and
founded the DOAJ in 2003. He became Managing Editor of DOAJ in January
2013. He has vast experience in: change management; the re-engineering
of academic libraries; the development of information services for
research & higher education. He has been a strong advocat of open
access and for providing services to the open access movement (open
access to research publications). He is co-founder of OpenDOAR and the Directory of Open Access Books. Since 2011, he is the Director of SPARC Europe.
Rikard Brage - Editor
Rikard has a Bachelor of Arts degree with a Major in Cultural Sciences and a specialization in publishing.
Sonja Brage - Editor
Sonja Brage is a former Information Librarian from Lund University
Library. She has a B.A. in English, Bulgarian and Russian from Lund
University. She is now reviewing journals, primarily in the Slavonic
languages and in Italian.
Lotte Jørgensen - Managing Editor
Lotte, Consultant at SemperTool, has during the last 19 years worked as
librarian, information consultant, project coordinator and consortia
administrator. The positions has been held at The Technical University
of Denmark, Swets, Lund University Libraries and The Danish Agency for
Culture. Lotte was the DOAJ project coordinator 2004-2008.The common
denominator through all positions has been academic journals and
scientific publishing.
Dominic Mitchell - Community Manager
Dom has worked extensively with the publisher and librarian communities
both as a publisher, with the BMJ Publishing Group (UK), and at HighWire
Press - Stanford University (USA) where he was an account and project
manager. Dom is responsible for collaboration with DOAJ's publishers.
Salam Baker Shanawa - IT Development Manager
Salam, Director of SemperTool, was in charge of the development and
maintenance of DOAJ from 2004-2011. Salam has a vast knowledge of
academic libraries and a long experience in creating and integrating
digital library products and systems. SemperTool offers a range of
reliable and cost-effective software solutions for digital libraries,
and serves more than 100 universities in Europe, Africa and the Middle
East. SemperTool is also developing and maintaining the Directory of Open Access Books.
Community/Consortia
Kevin Stranack, PKP (Public Knowledge Project), Canada/U.S.A.
Tom Olijhoek, OKNF (Open Knowledge Foundation), The Netherlands
Caren Milloy, JISC, United Kingdom
Jean-Francois Lutz, Couperin, France
Jan-Erik Frantsvåg, University of Tromsø, Norway
David Prosser, RLUK (Research Libraries UK), United Kingdom
Iryna Kuchma, EIFL (Electronic Information For Libraries), Italy
Stuart Shieber, Office for Scholarly Communication, Harvard University, U.S.A.
Publishers/Aggregators
Leslie Chan, Bioline International, Canada
Martin Rasmussen, Copernicus Publications, Germany
Paul Peters, Hindawi Publishing Corporation, Egypt
Cameron Neylon, PLOS, U.S.A.
Juliane Ritt, Springer, Germany
Arianna Becerril-García, Redalyc, Mexico
Susan Murray, AJOL (African Journals Online), South Africa
The aim of the DOAJ is to increase the visibility and ease of use of open access scientific and scholarly journals, thereby promoting their increased usage and impact. The DOAJ aims to be comprehensive and cover all open access scientific and scholarly journals that use a quality control system to guarantee the content. In short, the DOAJ aims to be THE one stop shop for users of open access journals.
Open Access Journal: We define open access journals as journals that use a funding model that does not charge readers or their institutions for access. From the BOAI definition [1] of "open access", we support the rights of users to "read, download, copy, distribute, print, search, or link to the full texts of these articles" as mandatory for a journal to be included in the directory.
[1] http://www.earlham.edu/~peters/fos/boaifaq.htm#openaccess
Quality Control: The journal must exercise peer-review or editorial quality control to be included.
Research Journal: Journals that report primary results of research or overviews of research results to a scholarly community.
Periodical: A serial appearing, or intending to appear, indefinitely at regular intervals and generally more frequently than annually, each issue of which is numbered or dated consecutively and normally contains separate articles, stories, or other writings.
Periodical: The journal should have an ISSN (International Standard Serial Number, for information see http://www.issn.org). Online journals should have an eISSN.
Resources will be catalogued on journal title level. To make article level content searchable in the system, journal owners are encouraged to supply us with article metadata when a journal has been added into the directory. If you are a journal owner and have not received this information, please contact us.
Available technologies make it possible to collect and organize these resources in a way that allow libraries worldwide to integrate these resources in existing services thus offering added value both for the service providers of these resources and for the global research and education community.
DOAJ participated in the Europeana Libraries project 2010-2012. DOAJ is included in the portal which was launched in Tartu, Estonia on June 27, 2012. Offering free online access to high quality full text content, plus excellent search tools, the portal enables researchers to find, use and re-use a vast range of materials with ease. The content of DOAJ will be even more visible and disseminated through this portal.
A promotional video for the website can also be viewed on their YouTube channel.


An implementation of a opensource project Tempescope
http://tempescope.com/
: a visual way to represent weather !
Maybe combine with some shadow weather indicator
http://www.instructables.com/id/Bluetooth-Weather-Lamp/
?
Not started yet.


Note: Legally an advance visa is required of most Nationals before entering Algeria waters. This implies that any boat within 12nm of the coast may be boarded, and asked for its intentions.
Call the Coast Guard on VHF channel 16 on entering Algerian waters. Mention that you have a tourist visa and be sure to fly the Algerian courtesy flag.
Most ports monitor VHF Channels 12 or 14, but apart from Arabic, only French is usually understood. Yachts must clear in and out of each harbour. Sidi Fredj, which has a marina, is the best port of entry as the officials there are used to yachts. It is necessary to clear with Customs, police and the military as well.
If you have AIS, ensure it is on. You are likely to be checked at least daily while in Algerian waters. Always call the Harbour Master before entering any port.
Customs may search the yacht and will require an inventory. Foreign currency and main dutiable items should be declared. If not the owner of the boat, the captain must have a written authorisation from the owner.
Do not expect any helpful officials who take your lines know what to do with them!
Always advise the police of any plans to leave to port and explore the town.
Fishing ports are more relaxed regarding paperwork than in official ports. However, it is still likely to take several hours to deal with it all, so friendliness and patience are required. Be prepared with many copies of all documents and have a boat stamp too.
Last updated September 2016.
Passport must be valid for at least 6 months beyond your visit.
All nationals require visas except nationals of Libya, Malaysia, Maldives, Mali, Mauritania, Morocco, Seychelles, Syrian, Tunisia and the Yemen.
Tourist visas are valid approximately one month. Visas should be obtained in advance from Algerian diplomatic missions and consulates abroad, preferably in your country of residence. Allow plenty of time for this to be obtained.
Visas cannot be issued on arrival.
There are Algerian consulates in Morocco and Tunisia.
Citizens of Israel, Malawi and Taiwan will be refused entry, and those with stamps from these countries in their passports will have great difficulty obtaining a visa.
Always mention that you have a tourist visa when dealing with any officials.
Last updated September 2016.
Firearms need a temporary import licence and detention permit. The firearms are held by police or Customs until departure.
Narcotics and pork products are prohibited.
It saves much time if you have ready lists of valuables on board (laptops, cameras, etc).
On your first entry, ensure the Customs that board your boat give you a form that states the currency you have on board. You will need this to change money in banks.
Last updated September 2016.
Many copies of all the usual documents including ships papers, skipper's license and, maybe, lists of radio equipment and insurance details. Having a boat stamp on them is helpful as is offering to fill in the forms yourself.
Last updated July 2014.
An overtime fee for Customs clearance outside office hours may be charged.
Port charges are free for under 48 hours, after which there is a charge based on length.
If asked for a 'present', be polite and simply say 'no'.
It is no longer necessary to be escorted everywhere by armed guards, but take advice from the police as to where it is safe to visit.
This is a muslim country and Islamic law must be respected. Sensitivity regarding standards of dress should be observed. Women especially should dress conservatively and men must not wear shorts or go shirtless in public. During the month of Ramadan, one should not eat, drink or smoke in public.
Animals must have vaccination certificates


actiance
Businessmodel of Actiance
Customer Segments
Actiance provides a wide range of software solutions to commercial and institutional clients. The Company serves customers primarily across the following industries:
- Banking and Financial Services, comprising various banking institutions – including the top ten banks in the US, financial services providers, and insurance companies;
- Energy and Utilities, comprising energy companies across all segments of the energy chain, including oil and gas producers, transmission companies, and energy producers;
- Healthcare and Pharmaceutical, comprising healthcare providers, pharmaceutical manufacturers, and pharmaceutical distributors;
- Government, comprising government bodies and public institutions;
- Technology and Telecommunications, comprising telecommunications companies, internet service providers, software developers, original equipment manufacturers, and technology companies; and
- Retail and Consumer Goods, comprising manufacturers and retailers of consumer goods and other products, including grocery chains, department store chains, and other retail outlets. Actiance includes a number of household names among its clients, including high-profile companies such as Coca Cola, Chevron, Sony, ConocoPhillips, BNP Paribas, and Verizon.
Actiance is based in the US and principally serves a domestic client base. The Company, however, also serves a number of international clients, including in Asia Pacific and Europe.
Value Propositions
Actiance provides value to its customers in the following ways:
- Its reputation and track record, with the Company established as a reliable and popular provider of communications compliance solutions, with its standing exemplified by its ability to attract business from high-profile clients such as Coca Cola and Verizon;
- Its range of services and solutions, with the Company offering a broad range of communications compliance, archiving, and analytics solutions across a broad set of communications channels and to clients in a diverse selection of industries;
- Its proprietary technologies, with the Company utilising proprietary technologies to ensure that its solutions are unique, enabling it to set itself apart from other industry players; and
- Its technical expertise and experience, with the Company employing highly-trained specialist personnel across its enterprise, as well as a team of experienced industry executives, enabling it to provide precise technical support and services. ### Channels
Actiance operates a website at www.actiance.com, through which it provides information on its various solutions, services, target industries, and customers. The Company does not sell its products directly through its website. It does, however, allow customers to arrange software demonstrations through a tool hosted on the Company’s homepage. Once purchased, customers are able to access the company’s software solutions independently.
Actiance makes its sales through an in-house direct sales force, the members of which deal directly with clients. These sales personnel operate out of the Company’s international network of offices, spanning the US, the UK, and India. The Company provides support services through a dedicated customer support organisation.
Actiance additionally makes sales through a network of third party sales partners – comprising independent sales agents, local sales representatives, and value added resellers – which extend the Company’s own sales and marketing reach.
Customer Relationships
Actiance does not make sales to its clients on a self-service basis, despite its online presence. The Company allows customers to request software demonstrations online and access products independently once purchased, however, purchases must be made through the Company’s direct sales force. This allows the Company to consult closely with its clients in order to fully establish their individual needs, and tailor solutions appropriately.
Actiance seeks to establish ongoing, long-term relationships with its clients. To this end, it offers ongoing customer support through a dedicated technical support team, which customers are able to contact over the phone, via email, or through the Actiance Community Portal in order to access personalised assistance. Through the Company’s community portal, customers are also able to interact with other users, share ideas, and collaborate on problems.
Actiance additionally provides a range of online support resources to its customers, including FAQs, technical information, and maintenance guides. Customers can alternatively interact with the Company, and follow its corporate developments, through its social media accounts, including with Facebook, Twitter, Google+, Instagram, and LinkedIn.
Key Activities
Actiance is a software and information technology services provide, specialising in the provision of communication, collaboration, and social media governance solutions for commercial enterprises and institutions across North America, Europe, and Latin America. Actiance serves clients primarily through its software platform, which enables users to connect using unified communications, enterprise social software, instant messaging, social networks, and custom-built enterprise apps.
The Company also offers products such as Vantage, which simplifies management and compliance for enterprise communication and collaboration, and Socialite, which enables employees to use social networks securely from any device. Actiance is based in the US, with international offices in the UK and India.
Key Partners
Actiance maintains an extensive partner ecosystem, which ensures that the Company is able to provide reliable and effective solutions to clients. The Company organises its partners into three core categories:
- Strategic and Technology Partners, comprising leading software providers and technology companies with which the Company develops and implements software functionality and solutions;
- Value Added Reseller and Systems Integrator Partners, comprising authorised resellers and referral partners, as well as specialist systems integrators with which the Company collaborates on co-marketing sales projects and integration operations; and
- Migration and Consulting Partners, comprising various technology and other consulting companies with which the Company works to identify appropriate strategies and developments. Actiance also utilises a network of supplier partners who provide additional services, equipment, and tools that support the Company’s core software development activities.
Actiance includes a number of high-profile companies among its featured partners, including major technology and software companies such as Microsoft, Cisco, IBM, and Salesforce, and other providers, including Spredfast, Modality systems, Dimension Data, and CellTrust Secure Mobile.
Key Resources
Actiance’s key resources are its proprietary technologies and intellectual properties, its flagship software platform, its IT and communications infrastructure, its sales and marketing channels, its partnerships, and its personnel.
Actiance uses a range of proprietary technologies that are protected under patents or licensed from third parties in the development of its solutions. Searches of records published by the US Patent and Trademark Office identified several patent applications filed with Actiance named as assignee, including applications entitled ‘Application detection architecture and techniques’, ’ Techniques for dynamic updating and loading of custom application detectors’ and ‘Automating software security restrictions on system resources’.
Actiance also owns and or leases a number of physical properties that are key to its operations. This notably includes its international network of sales and administrative offices across the US, the UK, and India.
Cost Structure
Actiance incurs costs in relation to the development of its products and solutions, the development of its flagship software platform, the maintenance of its IT and communications infrastructure, the procurement of professional services, the operation of its sales and marketing channels, the management of its partnerships, the implementation of marketing campaigns, and the retention of its personnel. Actiance does not publish its financial figures, including costs and expenses, online.
Revenue Streams
Actiance generates revenue through the provision of communication, collaboration, and social media governance solutions, as well as other related information technology services. The Company derives its revenue under various sales and service contracts, with the Company reportedly offering solutions under three principal models:
- Perpetual license, common for on-premises applications, requiring clients to pay an upfront sum to own the software or other intellectual property on-premises for a fixed term;
- Software-as-a-service subscription, with software is accessed online, as opposed to installed on-premises, and payments made either on a per user or subscription basis; and
- Commercial open source, with customers able acquire the software free of cost without having to incur any upfront license fee, but not being provided ongoing maintenance, upgrading, customisation, or troubleshooting services. Actiance remains a privately owned company and as such is not obliged to publish its financial results online. As such, the Company’s annual revenue figures are unclear.


pnmpad(1) pnmpad(1) NAME pnmpad - add borders to portable anymap SYNOPSIS pnmpad [-verbose] [-white|-black] [[[-width=width [-halign=ratio]] | [-left=leftpad] [-right=rightpad]]] [[[-height=height [-valign=ratio]] | [-top=toppad] [-bottom=botpad]]] [pnmfile] All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value. DESCRIPTION Reads a PNM image as input. Outputs a PNM image that is the input image plus black or white borders of the sizes specified. If you just need to convert an image to a certain size regardless of the original dimensions, pnmcut with the -pad option may be a better choice. OPTIONS -verbose Verbose output. -white -black (default) Set pad color. -left leftpad -right rightpad -top toppad -bottom bottompad Specify amount of padding in pixels. -width width Set desired width of image. Overrides -left and -right if speci‐ fied. If width is less than the actual image width, it is ignored. Use pnmcut(1) to cut off parts of images. -height height Set desired height of image. Overrides -top and -bottom if speci‐ fied. If height is less than the actual image height, it is ignored. Use pnmcut(1) to cut off parts of images. -halign ratio A real number between 0 and 1. Used in conjunction with -width, sets the alignment ratio between left padding and right padding. Useful values: 0.0 - left aligned; 0.5 - center aligned (default); 1.0 - right aligned. -valign ratio A real number between 0 and 1. Used in conjunction with -height, sets the alignment ratio between bottom padding and top padding. Useful values: 0.0 - bottom aligned; 0.5 - center aligned (default); 1.0 - top aligned. HISTORY Before February 2002, pnmpad had a different option syntax which was less expressive and not like conventional Netpbm programs. That syntax is still understood by pnmpad for backward compatibility, but not docu‐ mented or supported for future use. SEE ALSO pbmmake(1), pnmpaste(1), pnmcut(1), pnmcrop(1), pbm(5) AUTHOR Copyright (C) 2002 by Martin van Beilen Copyright (C) 1990 by Angus Duggan Copyright (C) 1989 by Jef Poskanzer. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documen‐ tation. This software is provided "as is" without express or implied warranty. 26 January 2002 pnmpad(1)


As seen in lessons 1 and 2, if you have worked Overtime (also referred to as Extra Duty Pay), both pay stubs will indicate the type of OT, total hours worked and amount paid.
However, only the CWA Pay Stub will also indicate the Pay Period in which the OT was worked.
Let’s see an example of how this information would be displayed on your pay stubs.

During a peak period at work, your manager asked you to work overtime (OT). You worked and submitted the following hours:
There is usually a gap between the time you worked OT and the time it actually appears on your pay. A number of weeks later, you consult your Phoenix Pay Stub and notice you were paid:
| Description | Description | Hours | Rate | Amount |
|---|---|---|---|---|
| *Basic Pay | 001 | - | - | 3,162.72 |
| OT - Regular - 1.5 | 260 | 4.00 | 63.254370 | 253.02 |
| OT - Second Day of Rest - 2.0 | 262 | 2.00 | 84.339160 | 168.68 |
Continue below to find a detailed breakdown of the main sections of the pay stub.
A total of 4 hours of OT worked on weekdays (Regular).
2 hours of OT worked on a Sunday (Second Day of Rest).
| Type | No. | Rate | Amount |
|---|---|---|---|
| From 15/11/18 To 28/11/18 *Basic Pay |
75.00 H | - | $3,162.72+ |
| From 23/08/18 To 05/09/18 OT - Regular - 1.5 2.00 hr @ 1.50 |
- | $63.254370 H | $126.51+ |
| From 06/09/18 To 19/09/18 OT - Regular - 1.5 2.00 hr @ 1.50 |
- | $63.254370 H | $126.51+ |
| From 06/09/18 To 19/09/18 OT - Second Day of Rest - 2.0 2.00 hr @ 2.00 |
- | $84.339160 H | $168.68+ |
Continue below to find a detailed breakdown of the main sections of the pay stub.
September 5 falls into this PP.
September 6 falls into this PP.
September 9 falls into this PP - It is displayed on a separate line since a different type of OT is paid


Detection
The best way to detect SID History account escalation is to enumerate all users with data in the SID History attribute and flag the ones which include SIDs in the same domain*. If users haven’t been migrated, you can simply search for all users with data in the SIDHistory attribute. This is why it’s important to clean up SID History after a migration is complete (and the user is added to the correct groups for required resource access).
The PowerShell AD Cmdlet “Get-ADUser” is most useful for detecting “Same Domain SID History”:
# Detect Same Domain SID History
Import-Module ActiveDirectory
[string]$DomainSID = ( (Get-ADDomain).DomainSID.Value )
Get-ADUser -Filter “SIDHistory -Like ‘*'” -Properties SIDHistory | `
Where { $_.SIDHistory -Like “$DomainSID-*” }
This graphic shows the result of running the “Same Domain SIDHistory” Detection PowerShell Script. Note that the SID in the user’s SIDHistory ends with “500” which is the default domain Administrator account which is a member of Administrators, Domain Admins, Schema Admins, and Enterprise Admins by default.
*Note: In multi-domain forests, it is recommended to look for admin group SIDs (and member account SIDs) in every domain in the forest as well as trusted domains/forests.
Detection via Domain Controller Events
Detection of successful modification or failed attempt to modify the SIDHistory attribute is possible with the following logging:
Configure sub-category auditing under Account Management, “Audit User Account Management” (success) on Domain Controllers for the following event ids:
4765: SID History was added to an account.
4766: An attempt to add SID History to an account failed.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use IDropDownPopupMenu | |
|---|---|
| com.nepxion.swing.selector.calendar | |
| com.nepxion.swing.selector.dropdown | |
| com.nepxion.swing.selector.dropdown.component | |
| com.nepxion.swing.selector.locale |
| Uses of IDropDownPopupMenu in com.nepxion.swing.selector.calendar |
|---|
| Classes in com.nepxion.swing.selector.calendar that implement IDropDownPopupMenu | |
|---|---|
class |
JCalendarSelectorPopupMenu
|
class |
JDateSelectorPopupMenu
|
class |
JDateTimeSelectorPopupMenu
|
class |
JDaySelectorPopupMenu
|
class |
JMonthSelectorPopupMenu
|
class |
JTimeSelectorPopupMenu
|
class |
JYearSelectorPopupMenu
|
| Constructors in com.nepxion.swing.selector.calendar with parameters of type IDropDownPopupMenu | |
|---|---|
JCalendarSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JDateSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JDateTimeSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JDaySelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JMonthSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JTimeSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
JYearSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
| Uses of IDropDownPopupMenu in com.nepxion.swing.selector.dropdown |
|---|
| Classes in com.nepxion.swing.selector.dropdown that implement IDropDownPopupMenu | |
|---|---|
class |
JDropDownDraggablePopupMenu
|
class |
JDropDownPopupMenu
|
| Methods in com.nepxion.swing.selector.dropdown that return IDropDownPopupMenu | |
|---|---|
IDropDownPopupMenu |
JAbstractDropDownPane.getPopupMenu()
|
IDropDownPopupMenu |
IDropDownPane.getPopupMenu()
|
| Constructors in com.nepxion.swing.selector.dropdown with parameters of type IDropDownPopupMenu | |
|---|---|
JAbstractDropDownPane(IDropDownPopupMenu popupMenu)
|
|
JDropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
| Uses of IDropDownPopupMenu in com.nepxion.swing.selector.dropdown.component |
|---|
| Constructors in com.nepxion.swing.selector.dropdown.component with parameters of type IDropDownPopupMenu | |
|---|---|
JTableDropDownSelector.DropDownPane(IDropDownPopupMenu popupMenu,
JTable table)
|
|
JTreeDropDownSelector.DropDownPane(IDropDownPopupMenu popupMenu,
JTree tree)
|
| Uses of IDropDownPopupMenu in com.nepxion.swing.selector.locale |
|---|
| Classes in com.nepxion.swing.selector.locale that implement IDropDownPopupMenu | |
|---|---|
class |
JLocaleSelectorPopupMenu
|
| Constructors in com.nepxion.swing.selector.locale with parameters of type IDropDownPopupMenu | |
|---|---|
JLocaleSelectorPopupMenu.DropDownPane(IDropDownPopupMenu popupMenu,
Component contentPane)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


LaraPass v1 is a self-hosted personal password manager.
This documentation will help you get familiar with LaraPass v1. Please don't forget to leave LaraPass v1 a good rating on codecanyon & we would also appreciate if you can leave us a good rating. If LaraPass v1 didn't meet your expectations, please contact us before leaving a low rating and hopefully we can fix any issues you might be having. Thankyou for your time and see you on the other side.
LaraPass v1 v1 is available as an open source project on Github via the MIT BSD-2-Clause License. Read more details here.
{primary} The MIT License (MIT)
Copyright (c) 2018-2020 Spargon Technologies Pvt. Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Introduction to
the Open Application Standard Platform
for JavaScript
Marek Matczak
Outline
- What is OASP?
- What is OASP4JS going to provide?
- How is the work organized?
- How do I set up my development environment?
- How is the JavaScript client integrated with the Java backend?
- How does the current application skeleton work?
- What is still to do?
Open Application Standard Platform
JavaScript Platform
- has its own repositories and pages at GitHub
- focuses only on the client at the moment
- is going to provide:
How is the work organized?
- contributors needs to have a GitHub account -> a photo and a real name is required
- tasks and discussions around them are organized in the form of GitHub's issues
- at the moment we have two branches: main and development
- we are going to apply the social coding approach:
- contributors fork the oasp4js repository and clone it
- once their changes are ready (committed and pushed), they issue a pull request
- if the pull request is accepted, the changes are merged into the development branch
- stable releases are on the main branch
- The Continues Integration environment is set up in the cloud (Microsoft Azure / SkySight) at http://oasp-ci.cloudapp.net/
How do I set up my development environment?
- install Node.js, Grunt, and Bower; for details refer to the GitHub's Wiki
- download or fork the oasp4js-sample repository
- open a command prompt and go to the application’s root directory
- type
npm install
; it installs modules needed by Grunt and (as a post install task) calls bower install
which, in turn, installs application’s dependencies
- open the project under your IDE - WebStorm or IntelliJ preferred :)
How is the JavaScript client integrated with the Java backend?
- JavaScript client
- under
/java
there is pom.xml
which runs the build using Grunt and creates a Maven module (packaging ZIP)
mvn clean install
installs the ZIP module containing the JavaScript client in the local repository
- Java backend
- the
oasp4j-example-application
has a dependency to the ZIP module containing the JavaScript client
- the dependency is active only when built with
jsclient
profile
- the maven-war-plugin is configured so that the JS client module overlays the main WAR dependency
How does the current application skeleton work?
- the JS client requires providing REST services by the backend
- the JS client itself may be served by the backend
- another scenario would be to deploy the JS client e.g. on the Apache httpd which redirects REST services' calls to the backend
What is still to do?
Let us go through issues...


Scenario: create a Phrase sprite, styling it to use Chinese characters
Actions:
Known browser issues: none
Result images:


IL-10 induces the tyrosine phosphorylation of tyk2 and Jak1 and the differential assembly of STAT1 alpha and STAT3 complexes in human T cells and monocytes.
Abstract
IL-10 affects monocytes and T cells by driving the progression of immune responsiveness such that Th2 lymphocyte-mediated effects predominate. In this report, we show that in monocytes and T cells IL-10 stimulates tyrosine phosphorylation of the signal transducers and activators of transcription, STAT1 alpha and STAT3, in a differential manner such that the relative formation of homo- and heterodimers varies between the two cell types. Moreover, monocytes express a novel IL-10-stimulated STAT protein with an M (r) of 70 kDa that is recognized by the anti-STAT3 Ab but is not observed in T cells. IL-10 treatment of both T cells and monocytes results in the ligand-induced tyrosine phosphorylation of tyk2 and Jak1, but not Jak2 or Jak3. Selective modulation of immune responsiveness by IL-10 in cells such as monocytes and T cells may result in part from the differential activation of STAT protein pairs.


April
1st,
2015
get Start with the Commandline List by Lucas Gatsas
Basics Commandlines for Os X / Unix. See a list pf ComamndsLines for Mac Os X or Download or Clone the Git via Github.
Installing Command Line Tools in Mac OS X
Launch the Terminal, found in
/Applications/Utilities/
| Commands | Source |
|---|---|
| npmjs.com | Download it @ npmjs.com |
$ cd |
Run Terminal and type npm -v |
$ cd ~ |
Home directory, e.g. 'cd ~/folder/' |
$ cd / |
Root of drive |
$ ls |
To upgrade, run: [sudo] npm install npm -g |
$ ls -a |
Listing incl. hidden files |
$ ls -l |
Long listing |
$ ls -lh |
Long listing with Human readable file sizes |
$ ls -R |
Entire content of folder recursively |
$ ls -R |
Entire content of folder recursively |
| npmjs.com | Download it @ npmjs.com |
$ pwd |
Run Terminal and type npm -v |
$ cp |
To upgrade, run: [sudo] npm install npm -g |
| npmjs.com | Download it @ npmjs.com |
$ mv |
Run Terminal and type npm -v |
$ rm |
To upgrade, run: [sudo] npm install npm -g |
| npmjs.com | Download it @ npmjs.com |
$ mkdir |
Run Terminal and type npm -v |
$ rmdir |
To upgrade, run: [sudo] npm install npm -g |
$ open |
To upgrade, run: [sudo] npm install npm -g |
$ kill killall |
To upgrade, run: [sudo] npm install npm -g |
$ whoami |
To upgrade, run: [sudo] npm install npm -g | $ su |
To upgrade, run: [sudo] npm install npm -g |
$ sudo |
To upgrade, run: [sudo] npm install npm -g |
$ pbcopy |
To upgrade, run: [sudo] npm install npm -g |
$ pbpaste |
To upgrade, run: [sudo] npm install npm -g |
$ say |
To upgrade, run: [sudo] npm install npm -g |
$ date |
To upgrade, run: [sudo] npm install npm -g |
$ nano |
To upgrade, run: [sudo] npm install npm -g |
$ screencapture |
To upgrade, run: [sudo] npm install npm -g |
$ find |
To upgrade, run: [sudo] npm install npm -g |
$ mdfind |
To upgrade, run: [sudo] npm install npm -g |
$ ps |
To upgrade, run: [sudo] npm install npm -g |
$ top |
To upgrade, run: [sudo] npm install npm -g |
$ history |
To upgrade, run: [sudo] npm install npm -g |
$ clear |
To upgrade, run: [sudo] npm install npm -g |
$ man |
To upgrade, run: [sudo] npm install npm -g |
$ which |
To upgrade, run: [sudo] npm install npm -g |
$ whatis |
To upgrade, run: [sudo] npm install npm -g |
| npmjs.com | Download it @ npmjs.com |
$ chflags nohidden ~/Library |
Library-Ordner unter Mac OS Lion anzeigen |
$ ping <IP_ADDRESS> |
pingt ein Netzwerkgerät um unter Mac OS Ping zu stoppen CTRL+C drücken |
$ top |
Zeigt eine Liste von laufenden Prozessen an, ähnlich der Aktivitätsanzeige. |
$ defaults write com.apple.
Finder AppleShowAllFiles
TRUE;
killAll Finder |
Zeigt versteckte Dateien im Finder an. |
$ defaults write com.apple.
Finder AppleShowAllFiles
TRUE;
killAll Finder |
Zeigt versteckte Dateien im Finder an. Mavericks |
$ defaults write com.apple.
ScreenCapture type JPG;
killAll SystemUIServer |
Stellt das Format für Screenshots auf JPG, weitere mögliche Formate sind: PNG, PDF, TIFF, JPEG, BMP, GIF, PSD. | $ defaults write
com.apple.Screencapture location
/Users/benutzername;
killAll SystemUIServer
|
Ändert den Speicherordner für Screenshots auf Euren Benutzerordner. |
$ dscacheutil -flushcache |
Startet Quick Look neu & läd ggf. neue Plugins. |
$ ipconfig getifaddr en0 |
Get Your Network IP Address |
$ curl ipecho.net/plain;
echo |
Get Your External IP Address |
$ ping -c 10 www.example-
site.com |
Test Network Connectivity |
$ system_profiler |
A Closer Look at System Information |
$ pwd |
The current directory |
$ ps -ax |
Job control While Activity Monitor is useful, it's not quite as useful as working with the shell. To get a list of every running process on your computer, type this: |
$ hostname |
To get your current location, use the "hostname" command. |
| ShortCommands | Download it @ npmjs.com |
Ctrl + A |
Go to the beginning of the line you are currently typing on |
Ctrl + C |
Kill whatever you are running |
Ctrl + D |
Exit the current shell |
Ctrl + E |
Go to the end of the line you are currently typing on |
Ctrl + H |
Same as backspace |
Ctrl + L |
Clears the Screen |
Ctrl + K |
Clear the line after the cursor |
Ctrl + R |
Lets you search through previously used commands |
Ctrl + T |
Swap the last two characters before the cursor |
Ctrl + W |
Delete the word before the cursor |
Esc + T |
Swap the last two words before the cursor |
Alt + F |
Move cursor forward one word on the current line |
Alt + B |
Move cursor backward one word on the current line |
Tab |
Auto-complete files and folder names |
Command + K |
Clears the Screen |
| History Commands | Download it @ npmjs.com |
history n |
Shows the stuff typed - add a number to limit the last n items |
ctrl-r |
Interactively search through previously typed commands |
![value] |
Execute the last command typed that starts with 'value' |
!! |
Execute the last command typed |
| File Commands | Download it @ npmjs.com |
touch [file] |
Create new file |
pwd |
Full path to working directory |
.. |
Parent/enclosing directory, e.g. |
'ls -l ..' |
= Long listing of parent directory |
'cd ../../' |
= Move 2 levels up |
. |
Current folder |
cat |
Concatenate to screen |
rm [file] |
Remove a file, e.g. rm [file] [file] |
rm -i [file] |
Remove with confirmation |
rm -r [dir] |
Remove a directory and contents |
rm -f [file] |
Force removal without confirmation |
rm -i [file] |
Will display prompt before |
cp [file] [newfile] |
Copy file to file |
cp [file] [dir] |
Copy file to directory |
mv [file] [new filename] |
Move/Rename, e.g. mv -v [file] [dir] |
mv [file] [new filename] |
Move/Rename, e.g. mv -v [file] [dir] |
| DirectoryCommands | Download it @ npmjs.com |
mkdir [dir] |
Create new directory |
mkdir -p [dir]/[dir] |
Create nested directories |
rmdir [dir] |
Remove directory ( only operates on empty directories ) | rm -R [dir] |
Remove directory and contents |
| Pipes Commands | Allows to combine multiple commands that generate output |
more |
Output content delivered in screensize chunks |
> [file] |
Push output to file, keep in mind it will get overwritten |
>> [file] |
Append output to existing file |
< |
Tell command to read content from a fi |
| Help Commands | Allows to combine multiple commands that generate output |
[command] -h |
Offers help |
[command] --help |
Offers help |
[command] help |
Offers help |
reset |
Resets the terminal display |
man [command] |
Show the help for 'command' |
whatis [command] |
Gives a one-line description of 'command' |
$ git clone git://github.com/joyent/node.git


I wanted to respray the car, but I knew that there were a few areas that had to be repaired due to rust. Soon it was discovered that “a few areas” was as much of an understatement as “some nudity” in Spartacus.
I briefly considered renaming this car from “The Widow” to “Patches” because of the amount of pieces I had to cut and weld to replace rust.
So much bondo came off
Consumed a 1.2m x 1.2m piece of sheetmetal
Used a mig welder, the old arc welder made for questionable language used
so much help from bromego
beer drinking capacity upgraded
such patient neighbours
lessons learned around sourcing project cars


Class PolygonSockClient
Provides unified type-safe access for Polygon streaming API via websockets.
Inheritance
Implements
Inherited Members
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
[Obsolete("This class is deprecated and will be removed in the upcoming releases. Use the PolygonStreamingClient class instead.", true)]
public sealed class PolygonSockClient : IDisposable
Constructors
| Improve this Doc View SourcePolygonSockClient(String, String, Boolean, IWebSocketFactory)
Creates new instance of PolygonSockClient object.
Declaration
public PolygonSockClient(string keyId, string polygonWebsocketApi = null, bool isStagingEnvironment = false, IWebSocketFactory webSocketFactory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | keyId | Application key identifier. |
| System.String | polygonWebsocketApi | Polygon websocket API endpoint URL. |
| System.Boolean | isStagingEnvironment | If |
| IWebSocketFactory | webSocketFactory | Factory class for web socket wrapper creation. |
PolygonSockClient(String, Uri, Boolean, IWebSocketFactory)
Creates new instance of SockClient object.
Declaration
public PolygonSockClient(string keyId, Uri polygonWebsocketApi, bool isStagingEnvironment, IWebSocketFactory webSocketFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | keyId | Application key identifier. |
| System.Uri | polygonWebsocketApi | Polygon websocket API endpoint URL. |
| System.Boolean | isStagingEnvironment | If |
| IWebSocketFactory | webSocketFactory | Factory class for web socket wrapper creation. |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
SubscribeMinuteAgg(IEnumerable<String>)
Subscribes for the minute bar updates via MinuteAggReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeMinuteAgg(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
SubscribeMinuteAgg(String)
Subscribes for the minute bar updates via MinuteAggReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeMinuteAgg(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
SubscribeQuote(IEnumerable<String>)
Subscribes for the quote updates via QuoteReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeQuote(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
SubscribeQuote(String)
Subscribes for the quote updates via QuoteReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeQuote(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
SubscribeSecondAgg(IEnumerable<String>)
Subscribes for the second bar updates via SecondAggReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeSecondAgg(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
SubscribeSecondAgg(String)
Subscribes for the second bar updates via SecondAggReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeSecondAgg(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
SubscribeTrade(IEnumerable<String>)
Subscribes for the trade updates via TradeReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeTrade(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
SubscribeTrade(String)
Subscribes for the trade updates via TradeReceived event for specific asset from Polygon streaming API.
Declaration
public void SubscribeTrade(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
UnsubscribeMinuteAgg(IEnumerable<String>)
Unsubscribes from the minute bar updates via MinuteAggReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeMinuteAgg(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
UnsubscribeMinuteAgg(String)
Unsubscribes from the minute bar updates via MinuteAggReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeMinuteAgg(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
UnsubscribeQuote(IEnumerable<String>)
Unsubscribes from the quote updates via QuoteReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeQuote(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
UnsubscribeQuote(String)
Unsubscribes from the quote updates via QuoteReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeQuote(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
UnsubscribeSecondAgg(IEnumerable<String>)
Unsubscribes from the second bar updates via SecondAggReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeSecondAgg(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
UnsubscribeSecondAgg(String)
Unsubscribes from the second bar updates via SecondAggReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeSecondAgg(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
UnsubscribeTrade(IEnumerable<String>)
Unsubscribes from the trade updates via TradeReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeTrade(IEnumerable<string> symbols)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | symbols | List of asset names for subscription change. |
UnsubscribeTrade(String)
Unsubscribes from the trade updates via TradeReceived event for specific asset from Polygon streaming API.
Declaration
public void UnsubscribeTrade(string symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | symbol | Asset name for subscription change. |
Events
| Improve this Doc View SourceMinuteAggReceived
Occured when new bar received from stream.
Declaration
public event Action<IStreamAgg> MinuteAggReceived
Event Type
| Type | Description |
|---|---|
| System.Action<IStreamAgg> |
QuoteReceived
Occured when new quote received from stream.
Declaration
public event Action<IStreamQuote> QuoteReceived
Event Type
| Type | Description |
|---|---|
| System.Action<IStreamQuote> |
SecondAggReceived
Occured when new bar received from stream.
Declaration
public event Action<IStreamAgg> SecondAggReceived
Event Type
| Type | Description |
|---|---|
| System.Action<IStreamAgg> |
TradeReceived
Occured when new trade received from stream.
Declaration
public event Action<IStreamTrade> TradeReceived
Event Type
| Type | Description |
|---|---|
| System.Action<IStreamTrade> |


$ nmap -p 51797 <IP_ADDRESS>
Starting Nmap 7.40 ( https://nmap.org ) at 2019-04-28 03:24 CDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.03 seconds
$ nmap -Pn -p 51797 <IP_ADDRESS>
Starting Nmap 7.40 ( https://nmap.org ) at 2019-04-28 03:27 CDT
Nmap scan report for ip41.ip-54-38-31.eu (<IP_ADDRESS>)
Host is up (0.16s latency).
PORT STATE SERVICE
51797/tcp closed unknown
Nmap done: 1 IP address (1 host up) scanned in 0.39 seconds
(edited)


Please feel free to contact me any time and any concerns please drop them at the message box and submit your details. Cheers! have fun Bearcats!


set cterp on|off
Turns spline smoothing on or off. "Sticks" until reset. Shaded contours
are drawn without spline fitting, so to insure an exact match when
overlaying contour lines and shaded contours of the same field, specify
cterp
as off. You can still use the
csmooth
option, which affects both contour lines and shaded contours.


|
129. Inheritance Time Limit: 0.75 sec, Memory Limit: 600 KB The old King decided to divide the Kingdom into parts
among his three sons. Each part is a polygonal area. Taking into account
the bad temper of the middle son the King gave him a part of Kingdom such
that moving straight from any place of this part to any other place of
this part he will not cross the boundary. Input The first line contains an integer N (3<=N<=400) - the number of vertexes of the polygon boundaring the territory of King's middle son. Each i-th line of the next N lines contains pair of integers xi, yi (0<=xi,yi<=30000) - a position of the i-th vertex (3<=i<=400). The vertexes are given in random order. There are no any three vertexes laying on a straight line. The next line includes the only integer M (2<=M<=1000) - the number of mineral deposits in the Kingdom. Each j-th line of the next M lines contains two pairs of integers aj1, bj1 - point of the beginning and aj2, bj2 - point of the end of the j-th mineral deposit (0<=aj1,bj1,aj2,bj2<=30000, for 1<=j<=M). The numbers in each line are divided by spaces. Output Output file should contain M lines. Each j-th line should contain a real number Lj calculated with precision 0.01 - the lehgth of the middle son's part of j-th mineral deposit. Sample Input 3 1 1 6 1 1 6 4 1 2 1 4 2 2 2 4 4 2 4 4 6 2 6 4 Sample Output 0 2 1 0 | ||||||
|


Jamie is a psychology PhD student based at the University of Sussex.
A common use of jsPsych is to build an online experiment and find subjects using Mechanical Turk. Once an experiment is available through a web server and data is being saved on the server, connecting the experiment with Mechanical Turk takes only a few additional steps. jsPsych has some built-in functionality to assist with this process.
The jsPsych.turk module contains functions that are relevant for experiments running on Mechanical Turk.
When potential subjects view your experiment on Mechanical Turk, they will be able to see a single webpage before deciding whether or not to accept the HIT (start the experiment). This first page is often used as an advertisement for the experiment, similar to posting a flier in a department hallway. The important thing to remember about this page is that potential subjects will be able to interact with it even if they haven’t accepted the HIT. Therefore, it can be useful to change the content of the page depending on whether the HIT has been accepted or not. This is relatively easy to do using jsPsych and jQuery:

You must accept the HIT to begin the experiment
.

One important issue with advertisement pages is that they must be served using the https protocol, which requires having an SSL certificate on the web server hosting the page. Instructions for how to do this vary depending on what kind of server you are using, so the best advice is to simply Google for instructions on how to acquire and install an SSL certificate on your particular server.
Every account on Mechanical Turk is given a unique identification string. Recording this ID is a useful way to keep track of who is doing your experiment. In particular, while Turk has built in tools for preventing the same person from doing a HIT more than once, there may be cases where you don’t want subjects to complete related experiments. If you store the worker ID of every person who starts an experiment in a database, then you can exclude people by running a query on the database to check for the ID. jsPsych can get the workerID, assignmentID, and hitID with the turkInfo method.
var turkInfo = jsPsych.turk.turkInfo();
// workerID
turkInfo.workerId
// hitID
turkInfo.hitId
// assignmentID
turkInfo.assignmentId
Recording the workerId at the start of the experiment is also a good way to track dropouts.
If you are running a HIT on Mechanical Turk using the ExternalQuestion template, then you’ll need to provide a way for subjects to indicate that they have completed the HIT. (If you are using another template, then the template will provide this code for you). jsPSych makes this a relatively easy task. A common strategy for external HITs is to display an HTML page on the Mechanical Turk website that links to your HIT. Subjects click the link, which opens the actual experiment content in a new browser window or tab, allowing the experiment to take up the whole browser window instead of just the iframe that displays content on Mechanical Turk.
On this page, you might include a submit button for workers to indicate that they have finished the experiment. The page would look something like this:

Enter the code you were given:

<input type="text" id="code"></input>
<button onclick="sendData();">Submit HIT</button>

When workers click the button, the contents of the code
text field will be sent to Mechanical Turk, and you’ll be able to view the subjects and the codes that they entered in the Mechanical Turk GUI. You can then approve or reject work using the Mechanical Turk website.
jsPsych is not designed to communicate with the Mechanical Turk API in a comprehensive manner. If you are looking for software to help you post and manage HITs, then you may want to look at PsiTurk. jsPsych and PsiTurk complement each other nicely, and there is an example of combining the two platforms on PsiTurk’s experiment exchange.


2016 June 26, 2016 A Gentle Introduction to Elasticsearch May 10, 2016 Competitive Programming 2015 February 24, 2015 Practical Data Science Cookbook


| memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an Io client library for memcached, based on C libmemcached. | ||
|
add(key, value[, expiration])
Asks memcached to store the value identified by the key,
but only if the server *doesn't* already hold data for this key.
Returns true on success, false in case of a collision.
Otherwise raises an exception.
addServer(address)
Adds a memcached server. address is a "host:port" string, e.g., "<IP_ADDRESS>:11211"
Returns self.
append(key, value)
Asks memcached to add this value to an existing key after existing value.
Returns true on success, otherwise raises an exception.
value should be a Sequence.
Supported by memcached 1.2.4+
at(key, optionalDefaultValue)
Asks memcached to retrieve data corresponding to the key.
Returns nil if the data is not there (or if the data *is* nil).
atIfAbsentPut(key, value[, expiration])
If a value is present at the specified key, its value is returned.
Otherwise, inserts the new value and returns it.
atPut(key, value[, expiration])
Asks memcached to store the value identified by the key.
Same as Memcached set, but returns self.
decr([offset])
Asks memcached to decrement data for some item in place. The data for the item is
treated as decimal representation of a 64-bit unsigned integer. If the
current data value does not conform to such a representation, the
commands behave as if the value were 0.
Default offset is 1.
Returns the new value.
delete(key[, time])
Asks memcached to delete an item with the given key.
time is the amount of time in seconds (or Unix time until which)
the client wishes the server to refuse "add" and "replace" commands
with this key.
Returns true on success, false if there is no item with the given key.
Otherwise raises an exception.
flushAll([expiration])
Asks memcached to invalidate all existing items immediately (by default)
or after the expiration specified.
Always returns true.
get(key)
Asks memcached to retrieve data corresponding to the key.
Raises "NOT FOUND" if the data is not there.
getMulti(keys)
Asks memcached to retrieve data corresponding to the list of keys.
Returns a Map with the results.
If some of the keys appearing in a retrieval request are not sent back
by the server in the item list this means that the server does not
hold items with such keys
incr([offset])
Asks memcached to increment data for some item in place. The data for the item is
treated as decimal representation of a 64-bit unsigned integer. If the
current data value does not conform to such a representation, the
commands behave as if the value were 0.
Default offset is 1.
Returns the new value.
prepend(key, value)
Asks memcached to add this value to an existing key before existing value.
Returns true on success, otherwise raises an exception.
value should be a Sequence.
Supported by memcached 1.2.4+
removeAt(key)
Asks memcached to remove value with a given key. Returns self.
replace(key, value[, expiration])
Asks memcached to store the value identified by the key,
but only if the server *does* already hold data for this key.
Returns true on success, false if there is already data for this key.
Otherwise raises an exception.
set(key, value[, expiration])
Asks memcached to store the value identified by the key.
Returns true on success, otherwise raises an exception.
stats
Returns a Map with servers' statistics. Keys are server addresses,
values are maps with actual stats.
with(servers)
Returns a new instance of Memcached.
Accepts a Sequence or a List of server addresses.
|


lib.argParsers package¶
Submodules¶
lib.argParsers.addAllParsers module¶
-
lib.argParsers.addAllParsers.
decodeParsers
(logger, args)[source]¶ convert the parser namespace into a dict
This takes the parsed arguments and converts the values into a dictionary that can be used …
- Parameters
logger ({logging.Logger}) – The logger used for logging error information
args ({a parsed object}) – A Namespace that contains the values of the parsed arguments according to the values provided.
- Returns
A doctionary containing a list of all the parsers converted into their respective sub dictionaries
- Return type
dict
-
lib.argParsers.addAllParsers.
parsersAdd
(logger, parser)[source]¶ add all available CLI arguments to the parser
This function is going to add all available parser information into the provided parser argument.
- Parameters
logger ({logging.Logger}) – The logger used for logging error information
parser ({argparse.ArgumentParser instance}) – An instance of
argparse.ArgumentParser()
that will be used for parsing the command line arguments.
- Returns
This is a
argparse.ArgumentParser()
instance that captures all the optional argument options that have been passed to the instance- Return type
argparse.ArgumentParser()
instance
-
lib.argParsers.addAllParsers.
updateArgs
(logger, defaultDict, claDict)[source]¶ helper function for decoding arguments
This function takes the dictionary provided by the namespace arguments, and updates the dictionary that needs parsing, in a meaningful manner. This allows
str
,bool
,int
,float
,complex
anddict
arguments to be changed. Make sure that you use it with caution. If you are unsure what this is going to return, just role your own parser.- Parameters
logger ({logging.Logger}) – The logger used for logging error information
defaultDict ({[type]}) – [description]
claDict ({[type]}) – [description]
- Returns
[description]
- Return type
[type]
lib.argParsers.config module¶
-
lib.argParsers.config.
addParsers
(logger, parser)[source]¶ add argument parsers specific to the
config/config.json
fileThis function is kgoing to add argument parsers specific to the
config/config.json
file. This file has several options for logging data. This information will be- Parameters
logger ({logging.Logger}) – The logger used for logging error information
parser ({argparse.ArgumentParser instance}) – An instance of
argparse.ArgumentParser()
that will be used for parsing the command line arguments specific to the config file
- Returns
The same parser argument to which new CLI arguments have been appended
- Return type
argparse.ArgumentParser instance
-
lib.argParsers.config.
decodeParser
(logger, args)[source]¶ generate a dictionary from the parsed args
The parsed args may/may not be present. When they are present, they are pretty hard to use. For this reason, this function is going to convert the result into something meaningful.
- Parameters
logger ({logging.Logger}) – The logger used for logging error information
args ({args Namespace}) – parsed arguments from the command line
- Returns
Dictionary that converts the arguments into something meaningful
- Return type
dict
Module contents¶
Argument parsers will be located gere
Currently, there is just one argument parser. However you are encouraged to use as many argument parsers that you wish to have. Ideally you should have one argument parser per config file.
For each config file, you want to add a function for adding the respective parser to the CLI and another that will convert the values back into a dictionary. You have to generate a proper namespace for your parsed documents so that they can be easily separated. We recommend using the name of the config file without the extension as a starting point.
Defining Parsers¶
Parsers for a new config file should be defined within a new
file correcponding to that file. For example, a config.json
file comes with a file config.py
Each file should contain
two functions:
addParsers(parser)
decodeParser(args)
The addParser()
function will add all the necessary command
line arguments to the supplied argparse.ArgumentParser
object
and return the object.
The decodeParser()
function will take a parsed Namespace
object and convert it inot a dictionary.
This way, different parsing arguments can easily be added and deleted at will without restricting the workflow to a great extent.
Within the function addAllParsers.parsersAdd()
insert all
the individual parser insertion function that you just created.
Within the addAllParsers.decodeParsers
function, update the
dictionary that it returns containing all the parsed arguments
within one big dictionary. Note that this is going to add values
within the main dictionary only if a particular command line
argument is supplied.
Defining CLI Options¶
There should be proper namespace created for the CLI arguments or else there is a high possibility that the CLI named arguments are going to collide. For overcoming this, a couple of simple rules should be followed:
Make sure that a CLI argument is always verbose. (Dont use one letter abbreviations unless it is a really common option and is universally used: like
-v
for--verbose
,-h
for--help
etc. Note that in this vase,-v
is already handled by the logging level).Start with the name of the config file. Each config file is typically a
json
object that translates into a Pythondict
. Hence, start every CLI argument with the name of the config file followed by an underscore.For example: CLI arguments corresponding to
config.json
should start with--config_
Each subsequent object within the main object should have the same nomenclature. This will allow a one-to-one mapping of a variable in the config file to a CLI argument.
For example: within
config.json
, the information referred to by thelogFolder
object within the JSON structure{"logging":{"specs":{"file":{"logFolder":"logs"}}}}
should be named--config_logging_specs_file_logFolder


Create New Route!
Delete Entire Route
New Route Path
Lock Route Path
Agency Information
Upload a GTFS File
Agency Data
agency_name,agency_url,agency_timezone
Calendar Data
service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
Stops Data
stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,stop_url,location_type,parent_station
Stop Times
trip_id,arrival_time,departure_time,stop_id,stop_sequence,pickup_type,drop_off_type
Frequencies
trip_id,start_time,end_time,headway_secs
Trips
route_id,service_id,trip_id,trip_headsign,trip_short_name,direction_id,block_id,shape_id
Routes
route_id,route_short_name,route_long_name,route_desc,route_type,route_color
Shapes
shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled
Download GTFS
Download
Visit the code base
Visit the original author's blog about autonomous vehicles


{% extends "layout.html" %} {% block page_title %} People in your business - Business activities - Anti-money laundering registration - GOV.UK {% endblock %} {% block content %} {% include "includes/phase_banner_research.html" %} People in your business This section is: Business activities People in your business Approximately how many people work in the business? Include directors. Approximately how many people work on activities covered by Money Laundering Regulations? Save and continue {% endblock %}
This section is: Business activities


11 January 2005
The Ministry of Health, Philippines has reported a total of 33 cases and 19 deaths, case fatality ratio of 58%, of a meningococcemia-like illness in Baguio City. A total of 8 cases has been confirmed by blood culture as Neisseria Meningitidis A. However, the clinical presentation and the high case fatality ratio observed are unusual in epidemic meningococcal disease. Therefore, further epidemiological and laboratory investigations are needed to better characterize the cause and extent of the outbreak.
An expert in meningitis from WHO will be assisting the Ministry of Health in its investigations. He will be joined by a laboratory expert and an epidemiologist from the Global Outbreak Alert and Response Network.


{% extends 'base.html' %}
{% block title %}
Antilupa.com | About Page
{% endblock %}
{% block content %}
Antilupa
Antilupa is a crowd sourced list of track record of people or topic, with references from existing online media.
We intended to help user to understand certain people or topic in an easier yet comprehensive way by data visualization.
User can react to each record and choose whether a record is trustworthy or not.
Disclaimer
We do not represent any parties, all statements and information are from our user.


This gives pointers to undergraduate maths topics that are currently covered in mathlib. There is also a page listing undergraduate maths topics that are not yet in mathlib.