--- layout: post title: ! 'Rails 1.2.5: Security and maintenance release' categories: - releases author: michael published: true date: 2007-10-12 16:44:00.000000000 +01:00 ---
This release closes a JSON XSS vulnerability, fixes a couple of minor regressions introduced in 1.2.4, and backports a handful of features and fixes from the 2.0 preview release.
All users of Rails 1.2.4 or earlier are advised to upgrade to 1.2.5, though it isn’t strictly necessary if you aren’t working with JSON. For more information the JSON vulnerability, see CVE-2007-3227.
Summary of changes:
To upgrade, `gem install rails`, set RAILS_GEM_VERSION to ‘1.2.5’ in config/environment.rb, and `rake rails:update:configs`.


JavaScript Cards Library
Start Game
Shuffle Deck
Shuffle in the Discard Pile
Draw a Card
Discard a Card
Play a Card


is on {{gene.scaffold}} from {{gene.span[0]}} to {{gene.span[1]}}
See it on JBrowse
Legend: GENE TRANSCRIPT EXON LEFT PRIMER RIGHT PRIMER
You can edit the above, and copy & paste it into a spreadsheet or file.
You can edit the above, and copy & paste it into a spreadsheet or file.


--- layout: post title: The Sun date: '2005-07-13T12:00:00-04:00' tags: - '2005' tumblr_url: http://poetry.liabogoev.com/post/1412787935/the-sun ---
Shining down on me,
As heartwarming as can be,
I wish the sun was mine,
So heavenly divine,
Sunny, shining down with glee…


Learn
Documentation
Literate programming : Learn more about
Literate programming, an approach to programming.
Docco :
Docco is a quick-and-dirty documentation generator.
see
examples
StyleDocco :
StyleDocco generates documentation and style guide documents from your stylesheets.
Script dependenies
RequireJS :
A JavaScript file and module loader
Almond :
A replacement AMD loader for RequireJS, smaller, it provides the minimal AMD API footprint
Dom manipulation
jQuery :
A fast, small, and feature-rich JavaScript library
jQuery easing experiments easing in jQeury
Data binding
KnockOut :
Simplify dynamic JavaScript UIs by applying the Model-View-View Model (MVVM) pattern
Control & Quality
Holmes :
A CSS Markup Detective of your HTML code
JSLint Error Explanations :
JSLint will hurt your feelings. It's time to make them better!
CSSLint :
A CSS Code Quality Tool code
Test
Jasmine :
A behavior-driven development framework for testing JavaScript code.
QUnit :
A powerful, easy-to-use JavaScript unit testing framework.


Some contradictions in Ayodhya verdict, will seek review: Sunni Waqf Board
It is not just to give inner courtyard to other party, he argued while appealing for peace and no protest
by Press Trust of IndiaExpressing its dissatisfaction with the Supreme Court verdict that cleared the way for the construction of a Ram Temple at the disputed site in Ayodhya, the Sunni Waqf Board said on Saturday that it will seek a review of the judgment.
The apex court directed the Centre to allot a 5-acre plot at an alternative place to the Sunni Waqf Board, one of the parties in the decades long contentious dispute, for building a mosque.
"The Ayodhya verdict has a lot of contradictions. We will seek a review as we are not satisfied with the verdict," the board's lawyer Zafaryab Jilani said.
It will take whatever legal recourse is possible, he said.
It is not just to give inner courtyard to other party, he argued while appealing for peace and no protest.
Jilani, however, added that certain aspects of the judgment can help improve secular structure of country.


Show me Dining Offers (this is the only one working - you get the idea)
Show me Entertainment Offers
Show me Shopping Offers
Show me Travel Offers


Dancing PAC-MAN
ARkit, Photo/Video Taking and Sharing
❮
❯
❯
© Iting Shih. All rights reserved. | Photos by
Fotogrph
| Design by
TEMPLATED
.


Php
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. As of January 2013, PHP was installed on more than 240 million websites (39% of those sampled) and 2.1 million web servers.[4] Originally created by Rasmus Lerdorf in 1994,[5] the reference implementation of PHP (powered by the Zend Engine) is now produced by The PHP Group.[6] While PHP originally stood for Personal Home Page,[5] it now stands for PHP: Hypertext Preprocessor, which is a recursive backronym.PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable.
Introduction
Getting started
what is php, where is it used, how is it used, what makes it so famous.


| # | Project Name | Start Date | Due Date | Status | Assign |
|---|---|---|---|---|---|
| 1 | Goal 1 | 01/01/2016 | 26/04/2016 | Released | Shayan Rafizadeh |
| 2 | Goal 2 | 01/01/2016 | 26/04/2016 | Released | Shayan Rafizadeh |
| 3 | Goal 3 | 01/05/2016 | 10/05/2016 | Pending | Shayan Rafizadeh |
| 4 | Goal 4 | 01/01/2016 | 31/05/2016 | Work in Progress | Shayan Rafizadeh |
| 5 | Goal 5 | 01/01/2016 | 31/05/2016 | Coming soon | Shayan Rafizadeh |
| 6 | Goal 6 | 01/01/2016 | 31/05/2016 | Coming soon | Shayan Rafizadeh |
| 7 | Goal 7 | 01/01/2016 | 31/05/2016 | Coming soon | Shayan Rafizadeh |


--- layout: page title: About header-img: "img/about-bg.png" ---
Graduated with a Bachelor of Science in Electrical Engineering and Computer Science at the University of California, Berkeley. Worked as an applications engineer at Actel corporation for two years, then decided to go into hospitality. Held various management positions for two spas and a hotel. Co-found a small boba tea shop with his sister in Murphy, Texas. Now Loi wants to utilize his management experience, along with technical knowledge obtaining from Flatiron school , to obtain a management position at a tech firm


MK Dynamics
Board Photos
Home
HAM Radio
Current Projects
About me
Week of 1/19/2015
Week of 2/8/2015


Nginx requires PCRE for its rewrite module, so this installer will attempt to install Nginx without the rewrite module.
If you want to make use of Nginx’s rewrite module, please install PCRE manually by downloading it from:
http://www.pcre.org/
Press ENTER to continue, or Ctrl-C to abort.


Welcome to the chaos attractor generator web UI.
You can generate images by clicking here. Hit refresh to get new images. Change the x and y parameters in the URL to get different dimensions. I'll make it nicer if I get the urge.


{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block modal-header %}
{% trans "Secrets are a construct that you can use to store and protect sensistive data. Secrets can be Passwords, Certificates or even RSA Public/private Keypairs. Once created, Secrets can be organized in Containers and consumed by other entities such as LBaaS instances and third party services by using their unique HREF." %}
{% endblock %}


Next, consider the calculation of the surface operators acting on the above perturbation. Using Eq. (168), we obtain


public class MedicalCondition
extends java.lang.Object
| Constructor and Description |
|---|
MedicalCondition(Illness ill,
double sev,
Patient patient)
Main constructor for medical conditions
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deletes all links from the medical condition to other objects.
|
void |
describe()
Prints a short description of the medical condition to the console.
|
double |
getCurrentSeverity()
Returns the current level of severity (which is always stored at index = 0)
|
int |
getDuration(boolean visible)
Returns the duration of the medical condition.
|
java.lang.String |
getIllness()
Returns the alphanumeric identifier of the illness
|
double |
getInitialTick() |
double |
getMedConditionID() |
int |
getPatient()
Returns the ID of the patient who has this medical condition
|
double |
getSeverity(int t)
This method returns the severity t periods in the past.
|
java.lang.String |
getTreatmentType() |
void |
removeFromContext()
Removes the medical condition from the context.
|
void |
setCurrentSeverity(double value)
Sets the current severity value at position 0 (index=0).
|
void |
treat()
This method modifies the severity of the medical condition.
|
public double getMedConditionID()
public double getCurrentSeverity()
public double getSeverity(int t)
getCurrentSeverity()
t
- Number of periods in the past (e.g. 3 would refer to 3 ticks before the current tick. Only positive integers are allowed.public int getDuration(boolean visible)
visible
- Boolean to indicate if we want the duration of visible symptoms or the duration of the medical condition in general.
For not yet visible medical conditions the value of zero is returned if visible=TRUEpublic void setCurrentSeverity(double value)
value
- current severity of the medical conditionpublic void treat()
Illness.deltaSeverityWoTreatment
.
If a treatment is available, the severity is reduced by {link Treatment.deltaSeverityUnderTreatment
(actually summed given that the value is negative)public double getInitialTick()
public java.lang.String getIllness()
public int getPatient()
public void removeFromContext()
public java.lang.String getTreatmentType()
public void clear()
public void describe()


About
Sequoia Advisors guides growing businesses through times of transition. Our team of 10 consultants help startups solve their biggest business challenges without compromising values.
We believe in aligning the following core business dimensions to optimize performance:
Operations
Finance
Company Values
Pricing
Platinum
- 100 hours of consulting
- 10 1-1 sessions
- 5 group sessions
Gold
- 50 hours of consulting
- 5 1-1 sessions
- 1 group session
Silver
- 10 hours of consulting
- 3 Skype sessions
- 5 copies of our ebook "Flexible Businesses"


This Law Mining Hackathon project started at OKCon 2013 aims to help lift legal and technical restrictions on data, and get rapid community response to changes in terms of use. The Open Data Button is an easy, social way to share the fact that you are prevented from accessing data in some way.
To get started, simply drag this button up to your browser's bookmark bar:


CSPICE_SXFORM returns the state transformation matrix from one
frame to another at a specified epoch.
Given:
from the name of a reference frame in which a state is known.
[1,c1] = size(from); char = class(from)
to the name of a reference frame in which it is desired to represent
the state.
[1,c2] = size(to); char = class(to)
et epoch(s) in ephemeris seconds past the epoch of J2000 (TDB)
at which to evaluate the state transformation operator(s).
[1,n] = size(et); double = class(et)
the call:
xform = cspice_sxform( from, to, et )
returns:
xform operator(s) that transform state vector(s) from the
reference frame 'from' to frame 'to' at epoch 'et'
If [1,1] = size(et) then [6,6] = size(xform)
If [1,n] = size(et) then [6,6,n] = size(xform)
double = class(xform)
'xform' returns with the same vectorization measure, N,
as 'et'.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
%
% Suppose you have geodetic coordinates of a station on the
% surface of Earth and that you need the inertial (J2000)
% state of this station. The following code fragment
% illustrates how to transform the geodetic state of the
% station to a J2000 state.
%
%
% Load the SPK, PCK and LSK kernels.
%
cspice_furnsh( 'standard.tm' )
%
% Define a geodetic longitude, latitude, altitude
% coordinate set. These coordinates are defined in the
% non-inertial, earth fixed frame "IAU_EARTH".
%
lon = 118.25 * cspice_rpd;
lat = 34.05 * cspice_rpd;
alt = 0.;
%
% Define a UTC time of interest. Convert the 'utc' string
% to ephemeris time J2000.
%
utc = 'January 1, 1990';
et = cspice_str2et( utc );
%
% Retrieve the equatorial and polar axis of the earth (body 399).
%
abc = cspice_bodvrd( 'EARTH', 'RADII', 3 );
equatr = abc(1);
polar = abc(3);
%
% Calculate the flattening factor for earth.
%
f = ( equatr - polar ) / equatr;
%
% Calculate the Cartesian coordinates on earth for the
% location at 'lon', 'lat', 'alt'.
%
estate = cspice_georec( lon, lat, alt, equatr, f);
%
% cspice_georec returned the position vector of the geodetic
% coordinates, but we want the state vector. Since it is a fixed
% location referenced in the "IAU_EARTH" frame, the location has
% no velocity. We need to extend estate to a 6-vector, the final
% three elements with value 0.d.
%
estate = [ estate; [0.; 0.; 0.] ];
%
% Retrieve the transformation matrix from "IAU_EARTH"
% to "J2000" at epoch 'et'.
%
xform = cspice_sxform( 'IAU_EARTH', 'J2000', et );
jstate = xform * estate;
disp( 'Scalar' )
txt = sprintf( 'Cartesian position in J2000 frame at epoch: %f ', et );
disp( txt )
txt = sprintf( '%16.8f %16.8f %16.8f ', jstate(1:3) );
disp( txt )
disp( 'Cartesian velocity in J2000 frame' )
txt = sprintf( '%16.8f %16.8f %16.8f ', jstate(4:6) );
disp( txt )
%
% Return the state transformation matrices from "IAU_EARTH"
% to "J2000" approximately every month for the time
% interval January 1, 1990 to January 1, 2010 (UTC).
%
%
% Define the time bounds for the time interval,
% 20 years, convert to ephemeris time J2000.
%
utc_bounds = strvcat( '1 Jan 1990', '1 Jan 2010' );
et_bounds = cspice_str2et( utc_bounds );
%
% Step in units of a month. 20 years ~ 240 months.
%
step = (et_bounds(2) - et_bounds(1) ) / 240.;
%
% Create an array of 240 ephemeris times starting at
% et_bound(1) in intervals of 'step'.
%
et = [0:239]*step + et_bounds(1);
%
% Convert the 240-vector of 'et' to an array of corresponding
% transformation matrices (dimensions (6,6,240) ).
%
xform = cspice_sxform( 'IAU_EARTH', 'J2000', et );
%
% Show the dimensions of the 'xform'.
%
disp (' ' )
disp( 'Vector' )
disp( 'Dimension of xform:' )
disp( size(xform) )
%
% Apply the first and last of the transform matrices to the
% 'estate' vector.
%
% Transform the Cartesian state vector from "IAU_EARTH"
% to "J2000" at et(1) (initial epoch).
%
jstate = xform(:,:,1) * estate;
txt = sprintf( 'Cartesian position in J2000 frame at epoch: %f', et(1) );
disp( txt )
txt = sprintf( '%24.8f %24.8f %24.8f', jstate(1:3) );
disp( txt )
disp( 'Cartesian velocity in J2000 frame ')
txt = sprintf( '%24.12f %24.12f %24.12f', jstate(4:6) );
disp( txt )
disp (' ' )
%
% Same transformation, but at et(240) (final epoch).
%
jstate = xform(:,:,240) * estate;
txt = ...
sprintf( 'Cartesian position in J2000 frame at epoch: %f', et(240) );
disp( txt )
txt = sprintf( '%24.8f %24.8f %24.8f', jstate(1:3) );
disp( txt )
disp( 'Cartesian velocity in J2000 frame ')
txt = sprintf( '%24.12f %24.12f %24.12f', jstate(4:6) );
disp( txt )
%
% It's always good form to unload kernels after use,
% particularly in MATLAB due to data persistence.
%
cspice_kclear
MATLAB outputs:
Scalar
Cartesian position in J2000 frame at epoch: -315575942.816070
-4131.46296088 -3308.37067191 3547.02152550
Cartesian velocity in J2000 frame
0.24124981 -0.30101944 0.00023422
Vector
Dimension of xform:
6 6 240
Cartesian position in J2000 frame at epoch: -315575942.816070
-4131.46296088 -3308.37067191 3547.02152550
Cartesian velocity in J2000 frame
0.241249810257 -0.301019439927 0.000234215852
Cartesian position in J2000 frame at epoch: 312946264.154758
4533.62043540 2731.85929290 3546.67378733
Cartesian velocity in J2000 frame
-0.199210494903 0.330347334014 0.000192387677
None.
For important details concerning this module's function, please refer to
the CSPICE routine sxform_c.
MICE.REQ
ROTATION.REQ
FRAMES.REQ
-Mice Version 1.0.2, 05-FEB-2015, EDW (JPL)
Edited I/O section to conform to NAIF standard for Mice documentation.
-Mice Version 1.0.0, 22-NOV-2005, EDW (JPL)
Find a state transformation matrix
|


ATP Finals: Dominic Thiem beats Alexander Zverev to reach final in London
by Press AssociationDominic Thiem will face Stefanos Tsitsipas in the ATP Finals final after the Austrian beat defending champion Alexander Zverev.
A break of serve in each set saw Thiem, 26, through 7-5 6-3 in an hour and 34 minutes.
Thiem, twice a French Open runner-up, said: "This is a big, big dream coming true for me, it is one of the biggest and most prestigious tournaments of the whole year and I'm getting the chance to play the final.
"It is unreal to me and to beat the defending champion, a very good friend and unbelievable player - it is an unbelievable achievement. I'm very, very happy."


Add a business email address
Enter the email address you want overseas buyers to use.
Add a business description
Tell buyers more about your business.
{% elif not company.is_verified %}
{% if company.is_in_companies_house %}
Confirm your identity
For security reasons, we need to check you're who you say you are.
{% elif not company.is_identity_check_message_sent %}
Profile ready to be verified
Your business profile is ready to be verified
{% endif %}
{% elif not company.is_published %}
{% if company.is_uk_isd_company %}
Profile ready to publish
Your profile is ready to be published on the UK Investment Support Directory.
Publish business profile
You can now publish your business profile.


The ALL_SYNONYMS view provides information on all synonyms.
Name |
Type |
Description |
owner |
VARCHAR2 |
User name of the synonym’s owner. |
synonym_name |
VARCHAR2 |
Name of the synonym. |
object_owner |
VARCHAR2 |
User name of the object’s owner on which the synonym is defined. |
object_name |
VARCHAR2 |
Name of the object on which the synonym is defined. |
synacl |
VARCHAR2 |
Not currently used – always set to null. |
status |
VARCHAR2 |
Whether or not the state of the synonym is valid. Currently, always set to VALID. |


{% extends "layout.html" %} {% block head %} {{ super() }} {% endblock %} {% block body_title %}
Snippets are unofficial and unmaintained.
This is an archived view of user-submitted snippets. Despite being hosted on the Flask site, they are not official. No Flask maintainer has curated or checked the snippets for security, correctness, or design.


Testing Rules
Every TSLint rule has a corresponding directory inside test/rules/
which contains one or more test cases for the rule.
Each test case contains:
- A
tslint.json
file which specifies the configuration for TSLint to use .ts.lint
test files which contain TypeScript code and a special markup which indicate where lint failures should be found
The test system lints the .ts.lint
files with the settings specified in tslint.json
and makes sure that failures generated by the TSLint match the failures marked in the .ts.lint
files.
Example
Testing a New Rule
Say we’re contributing a new rule to TSLint that bans the use of animal variable names and we now need to test it. First we create our configuration file which enables only the rule to be tested:
test/rules/no-animal-variable-names/default/tslint.json
:
{
"rules": {
"no-animal-variable-names": true
}
}
In this case, we placed our configuration inside no-animal-variable-names/default
to indicate that we’re testing the default configuration for our rule.
Now let’s make the actual test file:
test/rules/no-animal-variable-names/default/test.ts.lint
:
``` const octopus = 5; ~~~~~~~ [Variables named after animals are not allowed!]
let giraffe: number, tiger: number; ~~~~~~~ [Variables named after animals are not allowed!] ~~~~~ [Variables named after animals are not allowed!]
const tree = 5; const skyscraper = 100; ```
In the above file, ~
characters “underline” where our rule should generate a lint failure
and the message that should be produced appears in brackets afterwards.
If multiple lint failures occur on the same line of TypeScript code, the markup for them is placed on consecutive lines,
as shown in the above example with the line let giraffe: number, tiger: number;
Notice how we also include lines of code that shouldn’t generate lint failures. This is important to ensure that the rule isn’t creating false-positives.
We can now run grunt test
to make sure that our rule produces the output we expect.
Testing a New Rule Option
Let’s look at one more example. Say we’ve added an also-no-plants
option to our rule above that disallows variable names that are plants. We should add a test for this new option:
test/rules/no-animal-variable-names/also-no-plants/tslint.json
:
{
"rules": {
"no-animal-variable-names": [true, "also-no-plants"]
}
}
test/rules/no-animal-variable-names/also-no-plants/test.ts.lint
:
``` const octopus = 5; ~~~~~~~ no-animal
let giraffe: number, tiger: number; ~~~~~~~ no-animal ~~~~~ no-animal
const tree = 5; ~~~~ no-plant const skyscraper = 100;
```
We’ve now used a special message shorthand syntax so we don’t have to type out the same failure message over and over. Instead of writing out the full lint failure message after each occurance of it, we instead just specify a shortcut name. (Shortcut names can only consist of letters, numbers, underscores, and hyphens.) Then, at the bottom of our test file, we specify what full message each shortcut should expand to.
Again, we can run grunt test
to make sure our rule is producing the output we expect. If it isn’t we’ll see the difference between the output from the rule and the output we marked.
Tips & Tricks
-
You can use this system to test rules outside of the TSLint build! Use the
tslint --test path/to/dir
command to test your own custom rules. The directory you pass should contain atslint.json
file and.ts.lint
files. You can try this out on the TSLint rule test cases, for example,tslint --test path/to/tslint-code/test/rules/quotemark/single
. -
Lint failures sometimes span over multiple lines. To handle this case, don’t specify a message until the end of the error. For example:
for (let key in obj) {
~~~~~~~~~~~~~~~~~~~~~~
console.log(key);
~~~~~~~~~~~~~~~~~~~
}
~ [for-in loops are not allowed]
- If for some weird reason your lint rule generates a failure that has zero width, you can use the
~nil
mark to indicate this. In all reality though, you shouldn’t have rules that do this, and this feature is more of a carryover to accomodate testing some of TSLint’s legacy rules.


| Class and Description |
|---|
| ApiDAO |
| AttachmentDAO |
| BanlistDAO |
| BannerDAO
Model interface for
Banner . |
| BookmarkDAO |
| CategoryDAO
Model interface for
Category . |
| ConfigDAO
Model interface for the
Config class. |
| DataAccessDriver
The class that every driver class must implement.
|
| ForumDAO
Model interface for
Forum . |
| GroupDAO
Model interface for
Group . |
| GroupSecurityDAO |
| KarmaDAO |
| LuceneDAO |
| MailIntegrationDAO |
| ModerationDAO |
| ModerationLogDAO |
| PollDAO |
| PostDAO
Model interface for
Post . |
| PrivateMessageDAO |
| RankingDAO
Model interface for
Ranking . |
| SmilieDAO |
| SummaryDAO
Load sumary of posts from the data Base
|
| TopicDAO
Model interface for
Topic . |
| TreeGroupDAO |
| UserDAO
Model interface for
User . |
| UserSessionDAO |
| Class and Description |
|---|
| ApiDAO |
| AttachmentDAO |
| BanlistDAO |
| BannerDAO
Model interface for
Banner . |
| BookmarkDAO |
| CategoryDAO
Model interface for
Category . |
| ConfigDAO
Model interface for the
Config class. |
| DataAccessDriver
The class that every driver class must implement.
|
| ForumDAO
Model interface for
Forum . |
| GroupDAO
Model interface for
Group . |
| GroupSecurityDAO |
| KarmaDAO |
| LuceneDAO |
| MailIntegrationDAO |
| ModerationDAO |
| ModerationLogDAO |
| PollDAO |
| PostDAO
Model interface for
Post . |
| PrivateMessageDAO |
| RankingDAO
Model interface for
Ranking . |
| SmilieDAO |
| SummaryDAO
Load sumary of posts from the data Base
|
| TopicDAO
Model interface for
Topic . |
| TreeGroupDAO |
| UserDAO
Model interface for
User . |
| UserSessionDAO |
| Class and Description |
|---|
| GroupSecurityDAO |
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| PostDAO
Model interface for
Post . |
| TopicDAO
Model interface for
Topic . |
| UserDAO
Model interface for
User . |
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| GroupSecurityDAO |
| Class and Description |
|---|
| GroupSecurityDAO |
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| LuceneDAO |
| ModerationDAO |
| ModerationLogDAO |
| PostDAO
Model interface for
Post . |
| PrivateMessageDAO |
| TopicDAO
Model interface for
Topic . |
| UserDAO
Model interface for
User . |
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| KarmaDAO |
| PostDAO
Model interface for
Post . |
| PrivateMessageDAO |
| TopicDAO
Model interface for
Topic . |
| UserDAO
Model interface for
User . |
| Class and Description |
|---|
| DataAccessDriver
The class that every driver class must implement.
|
| ModerationLogDAO |
| PostDAO
Model interface for
Post . |
| TopicDAO
Model interface for
Topic . |
| UserDAO
Model interface for
User . |
| Class and Description |
|---|
| CategoryDAO
Model interface for
Category . |
| ConfigDAO
Model interface for the
Config class. |
| ForumDAO
Model interface for
Forum . |
| Class and Description |
|---|
| GroupSecurityDAO |
| Class and Description |
|---|
| UserDAO
Model interface for
User . |
| Class and Description |
|---|
| ForumDAO
Model interface for
Forum . |
| PostDAO
Model interface for
Post . |
| TopicDAO
Model interface for
Topic . |
JForum by JForum Team - http://www.jforum.net/team.jsp - (c) JForum Team


§431:2-307 REPEALED. L 1999, c 163, §20.
Note
L 1999, c 128, §§1 and 2 purport to amend this section.


Mach-O Parser
Special thanks to @kudima and @saelo, improved by @userlandkernel.
Find
Download
Segments
Open
Download
Sections
Open
Download
Symbols
Open
Download
Disassembly
Open
Download


|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Globally available functions/variables and default parameter values. More...
Go to the source code of this file.
Functions | |
| string | index2dToString (int i, int width, int height) |
| string | coordToString (int x, int y) |
| string | coordToString (int x, int y, int z) |
| string | neuronTypeToString (vertexType t) |
Variables | |
| int | g_debug_mask = 0 |
| MTRand | rng (1) |
| vector< Norm * > | rgNormrnd |
| uint64_t | g_simulationStep = 0 |
| const BGFLOAT | pi = 3.1415926536 |
| const string | MATRIX_TYPE = "complete" |
| const string | MATRIX_INIT = "const" |
Globally available functions/variables and default parameter values.
/
Definition in file Global.cpp.
| string coordToString | ( | int | x, |
| int | y | ||
| ) |
Takes the two given coordinates and outputs them with brackets.
| x | x coordinate. |
| y | y coordinate. |
Definition at line 36 of file Global.cpp.
| string coordToString | ( | int | x, |
| int | y, | ||
| int | z | ||
| ) |
Takes the three given coordinates and outputs them with brackets.
| x | x coordinate. |
| y | y coordinate. |
| z | z coordinate. |
Definition at line 47 of file Global.cpp.
| string index2dToString | ( | int | i, |
| int | width, | ||
| int | height | ||
| ) |
Converts the given index to a string with the indexes of a two-dimensional array.
| i | index to be converted. |
| width | width of the two-dimensional array |
| height | height of the two-dimensional array |
Definition at line 26 of file Global.cpp.


Splyt is a social music discovery experience built for the Google Chrome browser.
To access Splyt, we require users log in with a Google+ account. Users can only create playlists and engage with other user content when registered and logged into the app. Logging in once will make your name and email address searchable to other users of the app. To deactivate your account and remove this information from any future search, please contact<EMAIL_ADDRESS>Splyt gives users a direct stream to audio and video content hosted on Tumblr, Soundcloud, and Youtube. We do not claim ownership of any of the content users add to or are accessible through Splyt and its playlist functionality.
As a user of Splyt, you must respect the intellectual property of content provided by these third party services and sensitive/personal information of other users on the site. Any unauthorized use of content may violate copyright, trademark, privacy, publicity, communications, and other laws, and any such use may result in your personal liability, including potential criminal liability.
Splyt will respond to any complaints of copyright infringement.

We are not responsible for any of your data residing on our server, should the Splyt service one day cease.
As Splyt grows, these terms will be updated. It is the user’s responsibility to stay up to date on the latest terms and conditions.
Last updated March 9, 2015.


Student Of Indian Institute of Technology, Palakkad
CGPA : 9.19
Institute : Indian Institute Of Technology, Palakkad
Expected Year of Completion : 2019
Draft Academic Transcript for Semester 1
Draft Academic Transcript for Semester 2
Draft Academic Transcript for Semester 3
CGPA : 10
Institute : Jawahar Navodaya Vidyalaya, Kollam, Kerala
Year of Completion : 2012
Percentage : 91.8 %
Institute : Jawahar Navodaya Vidyalaya, Kollam, Kerala
Year of Completion : 2014
Languages : C, C++, Python, HTML, CSS, Verilog
Operating Systems : Linux (Ubuntu), Windows
Project Made under the Guidance of Mr. Ramaswamy Krishnan-Chittur, Senior Software Engineer, Microsoft Corporation.
A Minesweeper Clone made in the C programming language that uses the Command Line Interface.
Member of system administration support team in from 2015 onwards in IIT Palakkad Computer Lab
Lives in Kottarakara, Kollam, Kerala
<EMAIL_ADDRESS><EMAIL_ADDRESS>+919400472574


TV Monitors (8)
Raspberry Pi 2's (8)
Pedestals (8)
HDMI Cables (8)
5V 2.5A Power Supply (8)
Couples (4)


Across; 5. Scribble second stroke (6) 8. Exciting Celt joins Eric! (8) 9. Enter Police Dept to make claim (7) 10. Coder develops colour scheme (5) 11. In 30 it does - in these (9) 13. Striking animals? (8) 14. Get away from second peace deal (6) 17. Girl from the night before (3) 19. "Running Rat" by Van Gogh? (3) 20. She takes gun to prosecutor (6) 23. I spot Tim, a hopeful fellow! (8) 26. Go in to work out final speed (9) 28. Dress stand (3-2) 29. Scholar of French involved in trick (7) 30. Torrent of 27 or 11? (8) 31. Worships Bob? O dear! (6) Down: 1. Catcall about trouble in field (6) 2. Confines about 149 writers (7) 3. Drawn by cart back to heath (9) 4. Amuse bird at Turks Head (6) 5. Rex gets into road rage with foreigner (8) 6. Twister has corrupt gold (5) 7. Coil tube into throat (8) 12. Has messed about with what's left (3) 15. Harsh man follows good man right in (9) 16. Read about others being halted (8) 18. Hoboes want hand-outs in Virginia (8) 21. Spot fox coming back (3) 22. CID reverse into trouble, in a manner of speaking (7) 24. For each boy is individual (6) 25. Gets thinner candles (6) 27. I madly rush round to get down (5)


Prolog's unification does not have an occurs-check; that is, when unifying a variable against a term, the system does not check to see if the variable occurs in the term. When the variable occurs in the term, unification should fail, but the absence of the check means that the unification succeeds, producing a cyclic term. Operations such as trying to print a cyclic term will cause a loop.
The absence of the occurs-check is not a bug or a design oversight, but a conscious design decision. The reason for this decision is that unification with the occurs-check is at best linear on the sum of the sizes of the terms being unified, whereas unification without the occurs-check is linear on the size of the smallest of the terms being unified. For any programming language to be practical, basic operations should take constant time. Unification against a variable may be thought of as the basic operation of Prolog, and this can take constant time only if the occurs-check is omitted. Thus the absence of an occurs-check is essential to Prolog's practicality as a programming language. The inconvenience caused by this restriction is, in practice, very slight.
SICStus Prolog unifies, compares (see ref-lte-cte), asserts, and
copies cyclic terms without looping. The write_term/[2,3]
built-in predicate can optionally handle cyclic terms. Unification
with occurs-check is available as a built-in predicate;
see ref-lte-met-usu. Predicates for subsumption and testing
(a)cyclicity are available in a library package; see lib-terms.
Other predicates usually do not handle cyclic terms well.


MC Tools is a web and now app based service which allows you to access many features to do with Minecraft and the community!
We currently support the Mojang API and Hypixel API. More will be added in the future!


XAUTH(1) XAUTH(1) NAME xauth - X authority file utility SYNOPSIS xauth [ -f authfile ] [ -vqibn ] [ command arg ... ] DESCRIPTION The xauth program is used to edit and display the authorization informa‐ tion used in connecting to the X server. This program is usually used to extract authorization records from one machine and merge them in on another (as is the case when using remote logins or granting access to other users). Commands (described below) may be entered interactively, on the xauth command line, or in scripts. Note that this program does not contact the X server except when the generate command is used. Nor‐ mally xauth is not used to create the authority file entry in the first place; the program that starts the X server (often xdm or startx) does that. OPTIONS The following options may be used with xauth. They may be given individ‐ ually (e.g., -q -i) or may combined (e.g., -qi). -f authfile This option specifies the name of the authority file to use. By default, xauth will use the file specified by the XAUTHORITY environment variable or .Xauthority in the user's home directory. -q This option indicates that xauth should operate quietly and not print unsolicited status messages. This is the default if an xauth command is given on the command line or if the standard output is not directed to a terminal. -v This option indicates that xauth should operate verbosely and print status messages indicating the results of various opera‐ tions (e.g., how many records have been read in or written out). This is the default if xauth is reading commands from its stan‐ dard input and its standard output is directed to a terminal. -i This option indicates that xauth should ignore any authority file locks. Normally, xauth will refuse to read or edit any authority files that have been locked by other programs (usually xdm or another xauth). -b This option indicates that xauth should attempt to break any authority file locks before proceeding. Use this option only to clean up stale locks. -n This option indicates that xauth should not attempt to resolve any hostnames, but should simply always print the host address as stored in the authority file. COMMANDS The following commands may be used to manipulate authority files: add displayname protocolname hexkey An authorization entry for the indicated display using the given protocol and key data is added to the authorization file. The data is specified as an even-lengthed string of hexadecimal dig‐ its, each pair representing one octet. The first digit of each pair gives the most significant 4 bits of the octet, and the sec‐ ond digit of the pair gives the least significant 4 bits. For example, a 32 character hexkey would represent a 128-bit value. A protocol name consisting of just a single period is treated as an abbreviation for MIT-MAGIC-COOKIE-1. generate displayname protocolname [trusted|untrusted] [timeout seconds] [group group-id] [data hexdata] This command is similar to add. The main difference is that instead of requiring the user to supply the key data, it connects to the server specified in displayname and uses the SECURITY extension in order to get the key data to store in the authoriza‐ tion file. If the server cannot be contacted or if it does not support the SECURITY extension, the command fails. Otherwise, an authorization entry for the indicated display using the given protocol is added to the authorization file. A protocol name consisting of just a single period is treated as an abbreviation for MIT-MAGIC-COOKIE-1. If the trusted option is used, clients that connect using this authorization will have full run of the display, as usual. If untrusted is used, clients that connect using this authorization will be considered untrusted and prevented from stealing or tam‐ pering with data belonging to trusted clients. See the SECURITY extension specification for full details on the restrictions imposed on untrusted clients. The default is untrusted. The timeout option specifies how long in seconds this authoriza‐ tion will be valid. If the authorization remains unused (no clients are connected with it) for longer than this time period, the server purges the authorization, and future attempts to con‐ nect using it will fail. Note that the purging done by the server does not delete the authorization entry from the autho‐ rization file. The default timeout is 60 seconds. The group option specifies the application group that clients connecting with this authorization should belong to. See the application group extension specification for more details. The default is to not belong to an application group. The data option specifies data that the server should use to gen‐ erate the authorization. Note that this is not the same data that gets written to the authorization file. The interpretation of this data depends on the authorization protocol. The hexdata is in the same format as the hexkey described in the add command. The default is to send no data. [n]extract filename displayname... Authorization entries for each of the specified displays are written to the indicated file. If the nextract command is used, the entries are written in a numeric format suitable for non- binary transmission (such as secure electronic mail). The extracted entries can be read back in using the merge and nmerge commands. If the filename consists of just a single dash, the entries will be written to the standard output. [n]list [displayname...] Authorization entries for each of the specified displays (or all if no displays are named) are printed on the standard output. If the nlist command is used, entries will be shown in the numeric format used by the nextract command; otherwise, they are shown in a textual format. Key data is always displayed in the hexadeci‐ mal format given in the description of the add command. [n]merge [filename...] Authorization entries are read from the specified files and are merged into the authorization database, superseding any matching existing entries. If the nmerge command is used, the numeric for‐ mat given in the description of the extract command is used. If a filename consists of just a single dash, the standard input will be read if it hasn't been read before. remove displayname... Authorization entries matching the specified displays are removed from the authority file. source filename The specified file is treated as a script containing xauth com‐ mands to execute. Blank lines and lines beginning with a sharp sign (#) are ignored. A single dash may be used to indicate the standard input, if it hasn't already been read. info Information describing the authorization file, whether or not any changes have been made, and from where xauth commands are being read is printed on the standard output. exit If any modifications have been made, the authority file is writ‐ ten out (if allowed), and the program exits. An end of file is treated as an implicit exit command. quit The program exits, ignoring any modifications. This may also be accomplished by pressing the interrupt character. help [string] A description of all commands that begin with the given string (or all commands if no string is given) is printed on the stan‐ dard output. ? A short list of the valid commands is printed on the standard output. DISPLAY NAMES Display names for the add, [n]extract, [n]list, [n]merge, and remove com‐ mands use the same format as the DISPLAY environment variable and the common -display command line argument. Display-specific information (such as the screen number) is unnecessary and will be ignored. Same- machine connections (such as local-host sockets, shared memory, and the Internet Protocol hostname localhost) are referred to as host‐ name/unix:displaynumber so that local entries for different machines may be stored in one authority file. EXAMPLE The most common use for xauth is to extract the entry for the current display, copy it to another machine, and merge it into the user's author‐ ity file on the remote machine: % xauth extract - $DISPLAY | ssh otherhost xauth merge - The following command contacts the server :0 to create an authorization using the MIT-MAGIC-COOKIE-1 protocol. Clients that connect with this authorization will be untrusted. % xauth generate :0 . ENVIRONMENT This xauth program uses the following environment variables: XAUTHORITY to get the name of the authority file to use if the -f option isn't used. HOME to get the user's home directory if XAUTHORITY isn't defined. FILES $HOME/.Xauthority default authority file if XAUTHORITY isn't defined. SEE ALSO X(7), Xsecurity(7), xhost(1), Xserver(1), xdm(1), startx(1), Xau(3). BUGS Users that have unsecure networks should take care to use encrypted file transfer mechanisms to copy authorization entries between machines. Sim‐ ilarly, the MIT-MAGIC-COOKIE-1 protocol is not very useful in unsecure environments. Sites that are interested in additional security may need to use encrypted authorization mechanisms such as Kerberos. Spaces are currently not allowed in the protocol name. Quoting could be added for the truly perverse. AUTHOR Jim Fulton, MIT X Consortium X Version 11 xauth 1.0.7 XAUTH(1)


Global cues, futures and options expiry to infulence market trend: Analysts
Markets would also be influenced by factors such as rupee-dollar trend, oil prices and investment pattern by overseas investors.
by PTINew Delhi: Developments surrounding the US-China trade deal, foreign capital inflows and expiry of November series derivative contracts will set the tone for the equity markets this week, analysts said.
Participants will also be tracking the unfolding political situation in Maharashtra, they added.
"Markets are likely to remain lackluster this week. Movements will occur based on news and events that are likely to transpire from the government in terms of economic policies, disinvestment and international geo-political events," said Jimeet Modi, Founder and CEO, SAMCO Securities & StockNote.
Geojit Financial Services' Head of Research Vinod Nair said, "Going ahead, market focus will be on Q2 GDP data."
GDP growth data for the second quarter is scheduled to be released post market hours on Friday.
Various rating agencies have forecasted further deterioration in economic growth due to issues like weak consumption and global headwinds. The Indian economy had expanded by 5 per cent in the first quarter of this fiscal.
Markets would also be influenced by factors such as rupee-dollar trend, oil prices and investment pattern by overseas investors
Indices may also see a bout of volatility when the November series futures and options (F&O) contracts expire on Thursday, analysts said.
"Next week, focus will be on second quarter GDP numbers," said Gaurang Somaiyaa, Analyst, Motilal Oswal Financial Services Private Ltd.
On the global front, fresh cues on the US-China trade negotiations would influence trading sentiment.
During the last week, the Sensex inched up just 2.72 points to close at 40,359.41.


Viewer Input Files¶
This describes formats of input files for the Tumor Map viewer, most of which are generated by the Layout utility.
These tokens are used in some filenames:
LAYER : represents the attribute/layer index
LAYOUT : represents the layout index
meta.json¶
This file assigns one or more groups to this project so that only users belonging to one of the groups are authorized to see this project’s maps. If this file does not exist, only users in the groups ‘omni’ or ‘dev’ may see this project’s maps. Any user, logged in or not, may see projects in the group ‘public’.
{ “role”: “CIRM” }
This file resides in the project directory.
The rest of the files below reside in either the project directory if there is only one map for the project, or in the sub-project directory if the project has multiple maps.
layouts.tab¶
Names of the layouts in order of the LAYOUT index used in some file names:
mRNA seq
...
assignmentsLAYOUT.tab (1)¶
The xy coordinates from zero to whatever. May be of type float. One file per layout:
node x y
S1 42 66
...
Layer_Data_Types.tab¶
Lists of attribute data types, mostly. FirstAttribute is the attribute to display on the initial map view:
FirstAttribute Tissue
Continuous DNA_signature Apoptosis ...
Binary TP53_mutated DNA_repair_broken ...
Categorical Subtype Gender ...
layer_LAYER.tab (1)¶
The attribute values for nodes with a value for this attribute. One file per attribute:
node value
S1 0.642
...
colormaps.tab (1)¶
Color mappings to categories. This is only used for categorical attributes. The layout utility copies this to the view directory as is:
attribute index1 category1 color1 index2 category2 color2 ...
UCEC Subtype 0 Endometrioid #FF0000 1 Serous #00FF00 ...
...
attribute_tags.tab (1)¶
This file is optional and allows you to assign tags to attributes and these tags are used to limit the number of attributes displayed and searchable in the attribute list. This file should be defined in the layout input data directory and will be copied to the view directory by the layout utility:
attribute tag1 tag2 ...
Tissue clinical phenotype ...
...
Optionally Generated Files¶
xyPreSquiggle_LAYOUT.tab (1)
xy coordinates of nodes prior to being transformed into the hexagonal grid. Displayed in the Node Density view. The layout utility generates these files, one per layout:
node x y
S9 35.9 19.7
...
stats_LAYER.tab
Associative statistics with other attributes, independent of the layout. The layout utility generates these files, one per attribute/layer.
statsL_LAYER_LAYOUT.tab
Associative statistics with other attributes, taking the layout into account. The layout utility generates these files, one per attribute per layout.
windows_LAYOUT.tab
Sampling windows used in layout-aware statistics. The layout utility generates these files, one per layout.
neighbors_LAYOUT.tab
The closest six neighbors to each node. Displayed in the Node Density view: Edges. The layout utility generates these files, one per layout.
grid_LAYOUT.tab
Adaptive windowing used for the layout-aware statistics. Displayed in the Node Density view: Windows. The layout utility generates these files, one per layout.
The remaining files are unused by the Tumor Map viewer. Maybe something else uses them.
matrices.tab
Filenames of the attribute scores:
matrix_0.tab
matrix_1.tab
...
matrix_LAYER.tab
Attribute scores for nodes:
node attr0 attr1 attr2 ...
S1 3 0.485 -1.24 ...
...
Note (1) The viewer needs to be modified to ignore the headers in this file so this file does not yet have the headers.


A series of visualizations of West Nile data made available by Project Tycho, a University of Pittsburg project that compiles and standardizes global datasets of infectious diseases.
An interactive map of reported West Nile cases from 2010 to 2017 in the United States.
A cleaned dataset of reported West Nile cases from 2010 to 2017 in the United States.


Save report as image - Better Battlelog Forums #2154
Sitemap
15. November 2012 11:30
Topicstarter
MarkCwee
Doesn't work.
After processing, there's download button, and after click ---> ERROR
Any fix???
15. November 2012 11:32
ORFK
Global Moderator
forum search?
we already have a topic about this...
http://getbblog.com/viewtopic.php?f=4&t=875


{% load account %}{% user_display user as user_display %}{% load i18n %}{% autoescape off %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}Hello from {{ site_name }},
To confirm your email address please enter this code into the app: {{ key }}
{% endblocktrans %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}Thank you!
{% endblocktrans %}
{% endautoescape %}


A report from the course DA377B
S01
Did you before know about the techniques Git, GitHub, Markdown and/or GitHub Pages?Yes, I knew about the GitHub before. I have used in my previous courses. But I have not used the Markdown before taking this course. This is the first time I experience creating/working with websites.
Have you ever created websites before?No, I have never created a website before.
Briefly explain your experience and knowledge of web application development.I had no experience or knowledge about web development before.
What is your TIL for this course section?Thanks to assignment I have learned how to fork a repository on GitHub which I have not done before. I also learned how to link to an another page of my website which I thought was really fun and pretty simple to do.
S02
Have you any previous experience of HTML, CSS and/or JavaScript?I have very little experience from the first assignment. I am still in the beginning of getting to know about HTML, CSS, and JavaScript.
Explain the role of HTML, CSS and JavaScript in web development.HTML creates the basic structure of the websites and can be modified by CSS, and JavaScript. CSS is used to control layout and presentation of the website. JavaScript is used to control the functionning of different elements.
Give a brief explanation of how the browser, the HTTP protocol and the web server interacts.Communication between the web browser and server is done by using TCP/IP. And Hypertext Transfer Protocol(HTTP) protocol is standart application protocol that supports TCP/IP protocol with browser requests and server responses.
What is your TIL for this course section?In this section of this course I have learned more about HTML and CSS. I was able to play with stylesheet and change background colour, create nice footer.
S03
Do you have any previous experience of client side JavaScript?Can you compare and relate the JavaScript language to any other language you know?
Describe how you worked with the coding exercise, what grade do you aim for and how did your code turn out to be?
What is your TIL for this course section?
S04
Here is the text for this section.
S05
Here is the text for this section.
S06
Here is the text for this section.
S07
Here is the text for this section.
S08
Here is the text for this section.
S09
Here is the text for this section.
S10
Here is the text for this section.


Hex to CSS filter:
Convert a Hex color into a CSS filter:
component to recolor images without
having to make a new one.
|
Real pixel, color applied through CSS Filtered pixel, color applied through CSS |
For this code to work well the starting color needs to be black. If your icon set isn't black you can prepend "brightness(0) saturate(100%)" to your filter property which will first turn the icon set to black. |


{% include common/js.html %} {% include common/styles.html %}
{% include header.html %} {{ content }} {% include donate.html %} {% include footer.html %} {% include common/notification_modal.html %}


Adventure Game
[Insert Text]
[Insert Text]
ESCAPE THE
MANSION ALIVE
Click one of the three doors to continue throughout the mansion:


Recording the session will allow you to recreate the hostile environment to reproduce any bugs found in the application. Replaying a recoded session will recreate each fault, limit etc in the order they were set by the Code Coverage Generator.
Once the BrokenApp has finished loading and is ready for input and testing start recording the session.
To start recording the session right click the Recorded Session icon in the Project Pane and select "Create Recorded Session"
This will begin the recorded session, no further configuration is necessary to set up the recorded session.


Something happened, and we don't know what.
Maybe it was gremlins sneaking into our server cabinet again.
Pesky little things.
All that matters is you can't play right now.
Sit tight and we'll have this solved eventually.
Hint!
This window will disappear when FAH reconnects.
This is taking a while..  It might do something.


This page is a forwardee that is forwarded from another page. If you're testing forward, it is working.


My Publications and Background
05 August, 2015
By Youngmin Kim
Contents
My Publications
My Background
Research in this PhD
My Publications
The most of my publications are about Mobile Ad-Hoc Network (MANET)
My Background
Wirelessly Charging Electric Vehicle
Drone


Don Quixote has become so entranced by reading chivalric romances, that he determines to become a knight-errant himself. In the company of his faithful squire, Sancho Panza, his exploits blossom in all sorts of wonderful ways. While Quixote's fancy often leads him astray – he tilts at windmills, imagining them to be giants – Sancho acquires cunning and a certain sagacity. Sane madman and wise fool, they roam the world together.
In a certain corner of la Mancha, the name of which I do not choose to remember, there lately lived one of those country gentlemen, who adorned their halls with a rusty lance and worm-eaten target, and ride forth on the skeleton of a horse, to course with a sort of a starved greyhound.


Grab Tokens for Testing
Built for fun by @BenDiFrancesco
Code Available on GitHub
Favicon by surang via flaticon (CC 3.0 BY)


Learn:
Transfer a single file from a source folder to a destination folder
Documentation: https://nifi.apache.org/docs.html
Read data from a CSV file and save it to a MySQL database
Copy mysql-connector-java-8.0.16.jar to nifi/lib
then restart NiFi
Read the data from CRSS DB and save it to EMDB
Read data from EMDB and save to PW, generate CSV and zip files
Read data from MySQL and save to CouchDB
Read data from CouchDB and save to MySQL


If you haven't read the Getting Started guide yet, you should do so now.
Including Images
Including images is also, like all things with Documentr, designed to be as painless as possible. Essentially, you need only include an images directory with your source and it will be included with your parsed output.
Creating the Images Directory
There's really nothing you need to do here, other than create a folder called images
that sits alongside your
documentation source files (the markdown files). Using the sample included with the source code as an example,
the docs directory currently looks like:
/
config.yml
/docs
getting_started.md
/output
If you wanted to include images, just create a new directory...
/
config.yml
/docs
/images
getting_started.md
/output
That's it!
Including Images in Your Documentation
Once you've got the images directory created, simply drop whatever images you'd like in there. After that, you need only refer to them using standard markdown syntax. For example, the following code:
!["New Pet" From XKCD - http://xkcd.com/413/](images/new_pet.png)
Gives you the following:
Note that the above image is borrowed from XKCD
For more info on the markdown syntax for images, visit http://daringfireball.net/projects/markdown/syntax#img


◆ SuperState()
| frc.robot.subsystems.Superstructure.SuperState.SuperState |
( |
int |
stateNumber | ) |
|
◆ getStateNumber()
| int frc.robot.subsystems.Superstructure.SuperState.getStateNumber |
( |
| ) |
|
◆ DUMP_SYSTEM
| frc.robot.subsystems.Superstructure.SuperState.DUMP_SYSTEM =(5) |
◆ FOUR_BALLS
| frc.robot.subsystems.Superstructure.SuperState.FOUR_BALLS =(2) |
◆ FULL_SYSTEM
| frc.robot.subsystems.Superstructure.SuperState.FULL_SYSTEM =(3) |
◆ INIT
| frc.robot.subsystems.Superstructure.SuperState.INIT =(0) |
◆ ONE_TO_THREE_BALLS
| frc.robot.subsystems.Superstructure.SuperState.ONE_TO_THREE_BALLS =(1) |
◆ SHOOT
| frc.robot.subsystems.Superstructure.SuperState.SHOOT =(4) |
◆ stateNumber
| int frc.robot.subsystems.Superstructure.SuperState.stateNumber |
|
private |
The documentation for this enum was generated from the following file:


I suffer from what seems to be or IS fibromalgia and/or similiar muscular/skeletal tension problems.
This causes me not horrid pain, but it causes me a form of pain that is constant, throughout my whole body, and is a pain that does not ever go away - EVER.
It causes my mind to be over active because I am constantly using higher brain functions and Zen powers to 'block out the pain young grass hoppper', ect, ect, ect! I started eating ULTRA healthy, doing lots of excersise, doing meditation, yoga, and whatever! Every cliche', new age, be-at-peace thingy a person could ever do to 'relax' a guy, I have done. None of it though relieved me of this pain I constantly feel.
I went to the doctor and told him that I'm the kind of guy who would have been at home on the battle field of war (war is evil and horrible by the way and I don't believe in it). The reason I say this though, is that 'war' would provide the excitation and ULTRA rapid stimulous that MY body chemistry needs in order to function properly.
Being me is like riding on a rocket missile, sitting backwards so I can't see where I a, flying, but still having control of my flight because of precognitive genetic instincts. Crazy eh?
North American society, though however rapid and nutty, is not the 'warzone' it is that I need for me to be me. Thus my body constantly craves the speedy metablolism of new stimulus and CONSTANT new creativity that a soldier in battle would feel. A guy in the middle of a battle field doesn't know what he is going to be doing .004598 seconds from now, he simply acts and just does what hes got to! Well thats ME all the blood time!!
ANYHOW, enough blabbing, the constant pain that I feel takes its toll on my mind, albeit that I can only hold off the pangs for so long before I start breaking down and wanting pain killers or valium or something to make it stop.
Well I started taking Mirtazipine and the first couple days were odd. I had strange sleep. I would THINK I was going to the bathroom, pooring a glass of water, and cleaning up stuff in the kitchen, then suddenly I open my eyes and realize that I'm still in bed! It was rather odd. Time has passed though and the drug has taken its effects.  Mirtazipine (Remeron) though has a positive quality of having very little (so far in my case none) of the negative sexual side effects that I have experienced from other anti depressants. (Yay for me! No more titanium strenth, multi hour, painful boners for me (thanks zoloft!))
Mirtazipine (Remeron) has gotten rid of my 'pain' by relaxing my fine mulcles and helps me sleep better. My sleep isn't weird anymore now that I have addjusted to the drug; no more weird 'sleeping awake' dreams.
Additionally, and most importantly, I also have no more anxiety (anxiety caused by the constant pain that is). There is NOTHING in my life personally that I have to worry about for any good reason, because I am a great person and have a life full of great opportunities. Why should I be in pain or anxious?
Now that I am on Mirtazipine (Remeron) I am way more socialable, because my anxiety has all but ceased, and I am actually ENJOYING my life for once. ALSO, (and for me this is the great part) this drug does not give me a fake sense of bull-shit happiness that I experienced as when on other types of anti depressants (zoloft).
I am NOT (Repeat: NOT) a depressed individual. I AM however in constant pain, and that constant pain makes me anxious as hell. Mirtazipine (Remeron) has given me freedom from my pain by cooling off that killer instinct in me, and mellowing me out so I'm more like a 'normal' person.
For me it mellows me out proper like and is turning my life around. I love my job and career now more than ever now!
The only thing that would have helped me other than this drug, would have been 'Fight Club', because my body loves the pain and exhilaration of combat and NEEDS thats high and creativity to thrive and be me.
But, my friends, I like having a full set of of perfect teeth, and my philosophy says to give my enemies a bouquet of flowers and make peace, instead of shedding blood and causing suffering. Mirtazipine (Remeron) is making me as peacefull and lush as a hindu cow, and life is good.  I am simply anxiety free and no longer in pain.
I had initially asked the doctor for Diazepam (Valium) but he explained to me that the effects would only last for weeks and then I would be a junky to the stuff and would need more and more. Im glad my doctor was perceptive to my explanations of my conditions (he even complemented me, saying I would make a great General or Commander) and prescribed me a pharm that was perfect to what my conditions are.
The agony and tension leading to my anxiety is NOT in my head. It is something all over my body that I live with constantly and with a rational perspective in my mind. Mirtazipine (Remeron) has simply loosened the mulcular/skeletal pain I go through, so now my mind can focus on normal things, like life, happeniness, and harmony, instead of always being so damn busy channeling my pain away with meditative thinking, which as it has in these past years, caused me to be anti social, and a less active member in human society.
I am not a fan of pill popping or drugs, but this drug is actually working for me in a way where I am very extremely pleased.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


En
rich
r
Hi,
blank
! |
Logout
Lists
Account Settings
Use Ctrl+C or Option+C to copy the link below.
Brief Description
Full Description
A more complete description of the list including details about the experiment and the sample
You can't leave this empty.
Privacy
Others can contact me for further details regarding my contributed list.
Are you sure you want to delete this list? You cannot undo this.
My Lists
Account Settings
Email
<EMAIL_ADDRESS>You can't leave this empty.
Enter your current password
You can't leave this empty.
Name
First
Last
Create a new password
Institution
University, company, etc.
Confirm your new password
These passwords don't match.


High order functions in Ruby
What are high-order functions?
The order of the function is measured by the number of functions received as a parameter or returned. So a function that does not receive nor return functions is said to be of order zero, while a function that returns or receives a function of order n-1 has order n. There are a lot of high-order functions in Ruby language, even “.each” is one that you probably use unaware that it is a high-order function. I am going to explain some of them here with examples.
Map
There is also a function that does the same with the name ‘collect’ in ruby. It expects a function that will run on every item of the array and do that function to the item. In order to modify the array itself and not only return the new array .map! ought to be used. This is useful if we want to modify or get a new array based on every item of an array.
Select
This function is used to filter an array by a boolean expression, so it receives as a parameter a function that says whether the item should stay or not on the resulting array.
Inject
The inject function is the ruby function to foldr/foldl. It receives an array, a starting value (the first value is used in case you don’t give one) and a function/operation. Starting from the value it makes the function/operation with the first item of the array and the starting value, and it passes the result for the next function/operation to do with the next array item, until the end of the array is reached. We can see by the example (‘hello’) that it goes from the left to right.
Conclusion
It’s a really nice tool for a programmer understanding and using high-order functions. It can save you a lot of lines of coding and it’s great for reusing code. In my opinion it makes your code clearer and more elegant. There are languages that this is not possible to do, for instance Java just recently added support to using high-order functions.


MCollective module for Puppet
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with mcollective
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Overview
The mcollective module installs, configures, and manages the mcollective agents, and clients of an MCollective cluster.
Module Description
The mcollective module handles installing and configuring mcollective across a range of operating systems and distributions. Where possible we follow the standards laid down by the MCollective Standard Deployment guide.
MCollective Terminology
A quick aside, mcollective's terminology differs a little from what you might be used to in puppet. There are 3 main components, the client (the mco commands you run to control your servers), the server (a daemon that runs on all of your managed nodes and executes the commands), and the middleware (a message broker the servers and agent connect to).
If it helps to map these to puppet concepts you loosely have:
- Middleware -> Puppet Master
- MCollective Server -> Puppet Agent
- MCollective Client -> no direct equivalent
Setup
What the mcollective module affects
On a server
- mcollective package
- mcollective server configuration file
- mcollective service
On a client
- mcollective-client package
- mcollective client configuration file
- optionally user configuration files (~/.mcollective and ~/.mcollective.d)
Beginning with mcollective
Your main entrypoint to the mcollective module is the mcollective class, so assuming you have your middleware configured on a node this is all you need to add a server to mcollective.
class { '::mcollective':
middleware_hosts => [ 'broker1.example.com' ],
}
Usage
Your primary interaction with the mcollective module will be though the main
mcollective class, with secondary configuration managed by the defined types
mcollective::user
, mcollective::plugin
, mcollective::actionpolicy
, and
mcollective::actionpolicy::rule
.
I just want to run it, what's the minimum I need?
node 'broker1.example.com' {
include activemq
}
node 'server1.example.com' {
class { '::mcollective':
middleware_hosts => [ 'broker1.example.com' ],
}
}
node 'control1.example.com' {
class { '::mcollective':
client => true,
middleware_hosts => [ 'broker1.example.com' ],
}
}
This default install will be using no TLS, a set of well-known usernames and passwords, and the psk securityprovider. This is against the recommendataion of the standard deploy guide but does save you from having to deal with ssl certificates to begin with.
I'd like to secure the transport channel and authenticate users, how do I do that?
Gather some credentials for the server and users. You'll need the ca certificate, and a keypair for the server to use, and a keypair for each user to allow.
See the standard deploy guide for more information about how to generate these.
node 'broker1.example.com' {
# Please see
# https://github.com/voxpupuli/puppet-mcollective/blob/master/examples/ssl_example/mco_profile/manifests/middleware/activemq.pp
# for this as setting up activemq with a truststore can be quite complex.
}
node 'server1.example.com' {
class { '::mcollective':
middleware_hosts => [ 'broker1.example.com' ],
middleware_ssl => true,
middleware_ssl_cert => "/var/lib/puppet/ssl/certs/${::clientcert}.pem",
middleware_ssl_key => "/var/lib/puppet/ssl/private_keys/${::clientcert}.pem",
middleware_ssl_ca => "/var/lib/puppet/ssl/certs/ca.pem",
securityprovider => 'ssl',
ssl_client_certs => 'puppet:///modules/site_mcollective/client_certs',
ssl_ca_cert => 'puppet:///modules/site_mcollective/certs/ca.pem',
ssl_server_public => 'puppet:///modules/site_mcollective/certs/server.pem',
ssl_server_private => 'puppet:///modules/site_mcollective/private_keys/server.pem',
}
mcollective::actionpolicy { 'nrpe':
default => 'deny',
}
mcollective::actionpolicy::rule { 'vagrant user can use nrpe agent':
agent => 'nrpe',
callerid => 'cert=vagrant',
}
}
node 'control.example.com' {
class { '::mcollective':
client => true,
middleware_hosts => [ 'broker1.example.com' ],
middleware_ssl => true,
middleware_ssl_cert => "/var/lib/puppet/ssl/certs/${::clientcert}.pem",
middleware_ssl_key => "/var/lib/puppet/ssl/private_keys/${::clientcert}.pem",
middleware_ssl_ca => "/var/lib/puppet/ssl/certs/ca.pem",
securityprovider => 'ssl',
ssl_client_certs => 'puppet:///modules/site_mcollective/client_certs',
ssl_ca_cert => 'puppet:///modules/site_mcollective/certs/ca.pem',
ssl_server_public => 'puppet:///modules/site_mcollective/certs/server.pem',
ssl_server_private => 'puppet:///modules/site_mcollective/private_keys/server.pem',
}
mcollective::user { 'vagrant':
certificate => 'puppet:///modules/site_mcollective/client_certs/vagrant.pem',
private_key => 'puppet:///modules/site_mcollective/private_keys/vagrant.pem',
}
}
I'd like to secure the transport channel and authenticate users with just their private key, how do I do that?
The Mcollective standard deployment guide uses the 'ssl' securityprovider to handle authentication. If you're interested in performing the authentication without creating SSL certificates for each user, one alternative is to use the 'sshkey' securityprovider. As far as the transport channel encryption goes, it's no different than the above example's use of 'middleware_ssl*' parameters.
Sshkey adds additional flexibility with regards to deployment as it currently supports both a static and a dynamic key management philosophy. You can seperate sshkey from your normal system authentication's backend (known_hosts / authorized_keys) and permit it to send and record its key data for you. If you do this, you should strongly consider using an authorization plugin with mcollective. Alternatively, you can use puppet to enforce the available set of key data to use with requests and responses. Because this could reuse an existing user's ssh private key, it could work along-side your existing user management module.
The use of sshkey is optional. For further information, you can review a sample deployment in the /examples folder, review the sshkey module documentation, and review the sshkeyauth rubygem documentation (helpful for debugging errors).
The ::mcollective::
class
The mcollective
class is the main entry point to the module. From here you
can configure the behaviour of your mcollective install of server, client, and
middleware.
Parameters
The following parameters are available to the mcollective class:
server
Boolean: defaults to true. Whether to install the mcollective server on this node.
client
Boolean: defaults to false. Whether to install the mcollective client application on this node.
rabbitmq_vhost
String: defaults to '/mcollective'. The vhost to connect to/manage when using rabbitmq middleware.
manage_packages
Boolean: defaults to true. Whether to install mcollective and mcollective- client packages when installing the server and client components.
version
String: defaults to 'present'. What version of packages to ensure
when
mcollective::manage_packages
is true.
client_package
String: defaults to 'mcollective-client'. The name of the package to install for the client part. In the case that there is only one package package handling both, client and server, give the same name for 'client_package' and 'server_package'.
server_package
String: defaults to 'mcollective'. The name of the package to install for the server. In the case that there is only one package package handling both, client and server, give the same name for 'client_package' and 'server_package'.
ruby_stomp_ensure
String: defaults to 'installed'. What version of the ruby-stomp package to
ensure
when mcollective::manage_packages
is true. Only relevant on the
Debian OS family.
main_collective
String: defaults to 'mcollective'. The name of the main collective for this client/server.
collectives
String: defaults to 'mcollective'. Comma seperated list of collectives this server should join.
connector
String: defaults to 'activemq'. Name of the connector plugin to use.
Currently supported are activemq
, rabbitmq
, and redis
securityprovider
String: defaults to 'psk'. Name of the security provider plugin to use. 'ssl' is recommended but requires some additional setup.
psk
String: defaults to 'changemeplease'. Used by the 'psk' security provider as the pre-shared key to secure the collective with.
factsource
String: defaults to 'yaml'. Name of the factsource plugin to use on the server.
fact_cron_splay
Boolean: defaults to false. Spread the cron tasks so that not all the nodes runs the facter cronjob at the exact same time.
yaml_fact_path
String: defaults to '/etc/mcollective/facts.yaml'. Name of the file the 'yaml' factsource plugin should load facts from.
ruby_interpreter
String: defaults to '/usr/bin/env ruby' for non PE installations, and to
'/opt/puppet/bin/ruby' for PE installations. With factsource
'yaml', a ruby
script is installed as cron job, which needs to find the ruby interpreter.
This parameter allows overriding the default interpreter.
classesfile
String: defaults to '/var/lib/puppet/state/classes.txt'. Name of the file the server will load the configuration management class for filtering.
rpcauthprovider
String: defaults to 'action_policy'. Name of the RPC Auth Provider to use on the server.
rpcauditprovider
String: defaults to 'logfile'. Name of the RPC Audit Provider to use on the server.
rpcauditlogfile
String: defaults to '/var/log/mcollective-audit.log'. Name of the audit logfile.
registration
String: defaults to undef. Name of the registration plugin to use on the server.
core_libdir
String: default is based on platform. Path to the core plugins that are installed by the mcollective-common package.
site_libdir
String: default is based on platform. Path to the site-specific plugins that
the mcollective::plugin
type will install with its source
parameter.
This path will be managed and purged by puppet, so don't point it at core_libdir or any other non-dedicated path.
middleware_hosts
Array of strings: defaults to []. Where the middleware servers this client/server should talk to are.
middleware_user
String: defaults to 'mcollective'. Username to use when connecting to the middleware.
middleware_password
String: defaults to 'marionette'. Password to use when connecting to the middleware.
middleware_multiple_ports
Boolean: defaults to false. Wheter to use different ports for each host
defined in middleware_hosts
list.
middleware_port
String: defaults to '61613' (for activemq
). Port number to use when
connecting to the middleware over an unencrypted connection.
middleware_ssl_port
String: defaults to '61614'. Port number to use when connecting to the middleware over a ssl connection.
middleware_ports
Array of strings: defaults to '61613'. List of port numbers to use
when connecting to the middleware over an unencrypted connection. Port defined in the
array position i
will be assigned to the host defined in the same position
in middleware_hosts
key.
middleware_ssl_ports
Array of strings: defaults to ['61614']. List of ports numbers to use when connecting to the
middleware over a ssl connection. Port defined in the array position i
will be assigned
to the host defined in the same position in middleware_hosts
key.
middleware_ssl
Boolean: defaults to false. Whether to talk to the middleware over a ssl
protected channel. Highly recommended. Requires mcollective::ssl_ca_cert
,
mcollective::ssl_server_public
, mcollective::ssl_server_private
parameters
for the server/client install.
middleware_admin_user
String: defaults to 'admin'. Username for the middleware admin user.
middleware_admin_password
String: defaults to 'secret'. Password to for the middleware admin user.
server_config_file
String: default is '$confdir/server.cfg'. Path to the server configuration file.
server_logfile
String: defaults to '/var/log/mcollective.log'. Logfile the mcollective server should log to.
server_loglevel
String: defaults to 'info'. Level the mcollective server should log at.
server_daemonize
Boolean: defaults to true. Should the mcollective server daemonize when started.
client_config_file
String: defaults to '$confdir/client.cfg'. Path to the client configuration file.
client_logger_type
String: defaults to 'console'. What type of logger the client should use.
client_loglevel
String: defaults to 'warn'. Level the mcollective client should log at.
ssl_ca_cert
String: defaults to undef. A file source that points to the ca certificate used to manage the ssl keys of the mcollective install.
ssl_server_public
String: defaults to undef. A file source that points to the public key or certificate of the server keypair.
ssl_server_private
String: defaults to undef. A file source that points to the private key of the server keypair.
ssl_client_certs
String: defaults to 'puppet:///modules/mcollective/empty'. A file source that contains a directory of user certificates which are used by the ssl security provider in authenticating user requests.
sshkey_server_learn_public_keys
Boolean: defaults to false. Allow writing sshkey public keys to
sshkey_server_publickey_dir
.
sshkey_server_overwrite_stored_keys
Boolean: defaults to false. Overwrite learned keys.
sshkey_server_publickey_dir
String: defaults to ${confdir}/sshkey_pubdir
. Directory to store
received keys
sshkey_server_private_key
String: defaults to '/etc/ssh/ssh_host_rsa_key'. The private key used to sign replies with.
sshkey_server_authorized_keys
String: defaults to undefined. The authorized_key file to use. Undefined is interpreted by sshkey to mean the caller's authorized key file.
sshkey_server_send_key
String: defaults to undefined. Specifies the public key sent back with the response for validation. You probably want '/etc/ssh/ssh_host_rsa_key.pub'.
mcollective::user
defined type
mcollective::user
installs a client configuration and any needed client
certificates in a users home directory.
Parameters
username
String: defaults to $name. The username of the user to install for.
group
String: defaults to $name. The group of the user to install for.
homedir
String: defaults to "/home/$name". The home directory of the user to install for.
certificate
String: defaults to undef. A file source for the certificate of the user.
Used by the 'ssl' securityprovider to set the identity of the user. This is
mutually exclusive with certificate_content
.
certificate_content
String: defaults to undef. The file content for the certificate of the user.
Used by the 'ssl' securityprovider to set the identity of the user. This is
mutually exclusive with certificate
.
private_key
String: defaults to undef. A file source for the private key of the user.
Used by the 'ssl' & 'sshkey' securityprovider to sign messages as from this user.
When not supplied to sshkey, this is interpreted to use the user's ssh-agent.
This is mutually exclusive with private_key_content
.
private_key_content
String: defaults to undef. The file content for the private key of the user.
Used by the 'ssl' & 'sshkey' securityprovider to sign messages as from this user.
This is mutually exclusive with private_key
.
sshkey_learn_public_keys
Boolean: defaults to false. Allow writing sshkey public keys to
sshkey_client_publickey_dir
.
sshkey_overwrite_stored_keys
Boolean: defaults to false. Overwrite learned keys.
sshkey_publickey_dir
String: defaults to ${homedir}/.mcollective.d/public_keys
. Directory to store
received keys.
sshkey_enable_private_key
Boolean: defaults to false. Enable manual specification of the private key to sign requests with. False is interpreted by sshkey to use the user's ssh-agent.
sshkey_known_hosts
String: defaults to '$homedir/$callerid/.ssh/known_hosts'. The known_hosts
file to use. This is mutually exclusive with sshkey_publickey_dir
and is disabled
by sshkey_learn_public_keys
.
sshkey_enable_send_key
Boolean: defaults to false. Enable sending the user public key inside the request.
mcollective::plugin
defined type
mcollective::plugin
installs a plugin from a source uri or a package. When
installing from a source uri the plugin will be copied to
mcollective::site_libdir
mcollective::plugin { 'puppet':
package => true,
}
When installing a plugin from source you need to create the correct directory structure for it to work.
For example if you wish to sync an agent for apt which ships with apt.ddl
and apt.rb
you need to create the following structure:
site_mcollective/files/plugins/apt/
└── mcollective
└── agent
├── apt.ddl
└── apt.rb
Now you can then point the source
attribute of the defined type to the
apt folder in your plugins directory.
mcollective::plugin { 'apt':
source => 'puppet:///modules/site_mcollective/plugins/apt',
}
For more examples have a look at the directory structure in files/plugins
of this module.
Parameters
name
String: the resource title. The base name of the plugin to install.
source
String: will default to "puppet:///modules/mcollective/plugins/$name". The
source uri that will be copied to mcollective::site_libdir
package
Boolean: defaults to false. Whether to install the plugin from a file copy or a package install.
type
String: defaults to 'agent'. The type of the plugin package to install.
has_client
Boolean: defaults to true. When installing from a package, whether to attempt
to install mcollective-${name}-client
on the client node.
mcollective::actionpolicy
defined type
mcollective::actionpolicy
configures an agent for use with actionpolicy in
conjunction with mcollective::actionpolicy::rule
.
Parameters
name
String: the resource title. The name of the agent to set up an actionpolicy for.
default
String: defaults to 'deny'. The default actionpolicy to apply to the agent.
mcollective::actionpolicy::rule
defined type
mcollective::actionpolicy::rule
represents a single actionpolicy policy
entry. See the actionpolicy plugin Policy File Format
for specific restrictions on the values of these fields.
Parameters
name
String: the resource title.  The name of the agent you are adding a rule for.
action
String: defaults to 'allow'. What to do when the other conditions of this line are matched.
callerid
String: defaults to '*'. What callerids should match this rule.
actions
String: defaults to '*'. What actions should match this rule.
fact_filter
String: defaults to ''. What facts should match this rule. This can be either
'', a space-separated list of fact=value
pairs (which match if every listed
fact matches), or any valid compound filter string.
This matches the "facts" field of the policy file lines.
classes
String: defaults to '*'. What classes should match this rule.
mcollective::common::setting
defined type
mcollective::common::setting
declares a setting that is common between
server and client.
Parameters
setting
String: defaults to the resource title. The name of the setting to set.
value
String: no default. The value to set.
order
String: default '10'. The order in which to merge this setting.
mcollective::server::setting
defined type
mcollective::server::setting
declares a setting that is exclusive to a server.
Parameters
setting
String: defaults to the resource title. The name of the setting to set.
value
String: no default. The value to set.
order
String: default '30'. The order in which to merge this setting.
mcollective::client::setting
defined type
mcollective::client::setting
declares a setting that is common to clients
and users.
Parameters
setting
String: defaults to the resource title. The name of the setting to set.
value
String: no default. The value to set.
order
String: default '30'. The order in which to merge this setting.
mcollective::user::setting
defined type
mcollective::user::setting
declares a setting that is specific to a user.
Parameters
username
String: required, no default. Which user to set this value for.
setting
String: required, no default. The name of the setting to set.
value
String: no default. The value to set.
order
String: default '70'. The order in which to merge this setting.
mcollective::server::config::factsource::yaml
private class
mcollective::server::config::factsource::yaml
is the class that implements
cron-based fact generation and configures MCollective to use it. It is a private
class and so may not be declared directly, but rather is invoked when the
mcollective
class is declared with the factsource
parameter set to yaml
(the default). Although mcollective::server::config::factsource::yaml
is private
it does have one parameter which can be tuned using data bindings (e.g. Hiera).
Parameters
path
String: default $::path. What PATH environment variable to use when refresh-mcollective-metadata is invoked by cron.
Reference
Configuration merging
The configuration of the server and client are built up from the various calls
to mcollective::common::setting
, mcollective::server::setting
,
mcollective::client::setting
, and mcollective::user::setting
.
Settings for the server will be a merge of mcollective::common::setting
and
mcollective::server::setting
, highest order of the setting wins.
Settings for the client will be a merge of mcollective::common::setting
,
and mcollective::client::setting
, highest order of the setting wins.
Settings for a specific user will be a merge of
mcollective::common::setting
, mcollective::client::setting
and
mcollective::user::setting
for that specific user, highest order of setting
wins.
Overriding existing options
You can override an existing server setting from outside of the module by simply specifying that setting again with a higher order than the default of that type, for example to make a server's loglevel be debug (without simply setting mcollective::server_loglevel) you could write:
mcollective::server::setting { 'override loglevel':
setting => 'loglevel',
value => 'debug',
order => '50',
}
Troubleshooting
Why do I have no client.cfg?
I said to install the client, so why when I run mco ping
am I seeing this:
$ mco ping
Failed to generate application list: RuntimeError: Cannot find config file '/etc/mcollective/client.cfg'
You've enabled the ssl security provider, which implies each user will have
their own ssl credentials to use in the collective. In order to avoid
incomplete configuration of clients in this mode we delete the system-wide
/etc/mcollective/client.cfg and only generate user configuration files with
the mcollective::user
definition.
Limitations
This module has been built on and tested against Puppet 3.0 and higher.
The module has been tested on:
- CentOS 6
- Ubuntu 12.04
Testing on other platforms has been light and cannot be guaranteed.
Development
Puppet Community modules on are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.
We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
You can read the complete module contribution guide on the Puppet Labs wiki.


Home
About
Downloads
Contacts
International Bussiness Machines Corporation is an American Multinational Company.
Download Tools from IBM
Download for windows
Download for mac


pinky- Display details for a specific user:
pinky user- Display details in the long format:
pinky user -l- Omit the user's home directory and shell in long format:
pinky user -lb- Omit the user's project file in long format:
pinky user -lh- Omit the column headings in short format:
pinky user -f


Want to get in touch with me? Be it to request more info about myself or my experience? Contact me.
You could also reach me on


IDOR
Vulnerable page contains an IDOR
Welcome to Anonymous corp
Task: Find admin user and login to get the secret key
Hi User 1, You can see your creds here:
See your saved creds
Login
Go to login page


Tag: Start Click below to start with a blank map at the scale of your choosing Statewide Regions City/Metro Click below to start with a blank map. About


Move the map so that the crosshairs are over the new location of the object and tap the Move button.
mapthis.space - a web-based POI editor for OpenStreetMap
Report bugs on Github.
App © Puzzling Plans LLC; Map data © OpenStreetMap contributors; Aerial data © Bing Maps
Welcome to mapthis.space!
You can add and edit POIs (points-of-interest) here.
Tap to upload when you're done.
You'll need an OpenStreetMap account.


| Module | Engines::RailsExtensions::Routing |
| In: |
lib/engines/rails_extensions/routing.rb
|
Effective use of Rails’ routes can help create a tidy and elegant set of URLs, and is a significant part of creating an external API for your web application.
When developing plugins which contain controllers, it seems obvious that including the corresponding routes would be extremely useful. This is particularly true when exposing RESTful resources using the new REST-ian features of Rails 1.2.
The engines plugin makes it possible to include a set of routes within your plugin very simply, as it turns out. In your plugin, you simply include a routes.rb file like the one below at the root of your plugin:
connect "/login", :controller => "my_plugin/account", :action => "login" # add a named route logout "/logout", :controller => "my_plugin/account", :action => "logout" # some restful stuff resources :things do |t| t.resources :other_things end
Everywhere in a normal RAILS_ROOT/config/routes.rb file where you might have map.connect, you just use connect in your plugin‘s routes.rb.
While it would be possible to have each plugin‘s routes automagically included into the application‘s route set, to do so would actually be a stunningly bad idea. Route priority is the key issue here. You, the application developer, needs to be in complete control when it comes to specifying the priority of routes in your application, since the ordering of your routes directly affects how Rails will interpret incoming requests.
To add plugin routes into your application‘s routes.rb file, you need to explicitly map them in using the Engines::RailsExtensions::Routing#from_plugin method:
ApplicationController::Routing::Routes.draw do |map| map.connect "/app_stuff", :controller => "application_thing" # etc... # This line includes the routes from the given plugin at this point, giving you # control over the priority of your application routes map.from_plugin :your_plugin map.connect ":controller/:action/:id" end
By including routes in plugins which have controllers, you can now share in a simple way a compact and elegant URL scheme which corresponds to those controllers.
The Engines::RailsExtensions::Routing module defines extensions to Rails’ routing (ActionController::Routing) mechanism such that routes can be loaded from a given plugin.
The key method is Engines::RailsExtensions::Routing#from_plugin, which can be called within your application‘s config/routes.rb file to load plugin routes at that point.
Loads the set of routes from within a plugin and evaluates them at this point within an application‘s main routes.rb file.
Plugin routes are loaded from <plugin_root>/routes.rb.
# File lib/engines/rails_extensions/routing.rb, line 67 67: def from_plugin(name) 68: # At the point in which routing is loaded, we cannot guarantee that all 69: # plugins are in Rails.plugins, so instead we need to use find_plugin_path 70: path = Engines.find_plugin_path(name) 71: routes_path = File.join(path, name.to_s, "routes.rb") 72: logger.debug "loading routes from #{routes_path}" 73: eval(IO.read(routes_path), binding, routes_path) if File.file?(routes_path) 74: end