The constructor for the Zend\Console\Getopt class takes from one to three arguments. The first argument declares which options are supported by your application. This class supports alternative syntax forms for declaring the options. See the sections below for the format and usage of these syntax forms.
The constructor takes two more arguments, both of which are optional. The second argument may contain the command-line arguments. This defaults to $_SERVER['argv'].
The third argument of the constructor may contain an configuration options to customize the behavior of Zend\Console\Getopt. See Adding Configuration for reference on the options available.
Zend\Console\Getopt supports a compact syntax similar to that used by GNU Getopt (see http://www.gnu.org/software/libc/manual/html_node/Getopt.html. This syntax supports only single-character flags. In a single string, you type each of the letters that correspond to flags supported by your application. A letter followed by a colon character (:) indicates a flag that requires a parameter.
Using the Short Syntax
1 | $opts = new Zend\Console\Getopt('abp:');
|
The example above shows using Zend\Console\Getopt to declare that options may be given as -a, -b, or -p. The latter flag requires a parameter.
The short syntax is limited to flags of a single character. Aliases, parameter types, and help strings are not supported in the short syntax.
A different syntax with more features is also available. This syntax allows you to specify aliases for flags, types of option parameters, and also help strings to describe usage to the user. Instead of the single string used in the short syntax to declare the options, the long syntax uses an associative array as the first argument to the constructor.
The key of each element of the associative array is a string with a format that names the flag, with any aliases, separated by the pipe symbol (“|”). Following this series of flag aliases, if the option requires a parameter, is an equals symbol (“=”) with a letter that stands for the type of the parameter:
If the parameter is optional, use a dash (“-”) instead of the equals symbol.
The value of each element in the associative array is a help string to describe to a user how to use your program.
Using the Long Syntax
1 2 3 4 5 6 7 | $opts = new Zend\Console\Getopt(
array(
'apple|a' => 'apple option, with no parameter',
'banana|b=i' => 'banana option, with required integer parameter',
'pear|p-s' => 'pear option, with optional string parameter'
)
);
|
In the example declaration above, there are three options. --apple and -a are aliases for each other, and the option takes no parameter. --banana and -b are aliases for each other, and the option takes a mandatory integer parameter. Finally, --pear and -p are aliases for each other, and the option may take an optional string parameter.
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.


--- layout: post permalink: babyandmeboutique.html Tags: Array NameOfCoupon: Baby and Me Boutique Cash Back Summary: See our Baby and Me Boutique Coupon Code, Baby and Me Boutique Rebate, Baby and Me Boutique Promo Code, Baby and Me Boutique Discount, Baby and Me Boutique Coupon Cash Back Rebate here. MetaKeywords: Baby and Me Boutique Coupon Code, Baby and Me Boutique Rebate, Baby and Me Boutique Promo Code, Baby and Me Boutique Cash Back Rebate, Baby and Me Boutique Discount, Baby and Me Boutique Coupon Image: images/13284.gif LinkURL: http://www.shareasale.com/r.cfm?b=87167&u=412002&m=13284 affiliate_url_link: http://www.icouponblog.com/jane.php?id=2789 thesis_readmore: See the Baby and Me Boutique Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=babyandmeboutique.com Title: Save 4% - Baby and Me Boutique Coupon Code for babyandmeboutique.com. Baby and Me Boutique Rebate & Discount thesis_description: Our Baby and Me Boutique Discount Coupon Code for babyandmeboutique.com. We have the best Baby and Me Boutique Rebate anywhere. thesis_keywords: Baby and Me Boutique, Baby and Me Boutique Coupon Code, Baby and Me Boutique Discount, Baby and Me Boutique Rebate product_name: Baby and Me Boutique hop_url: http://www.icouponblog.com/hop.php?id=2789 ---
If you are looking for a high end baby product at an affordable price, check out babyandmeboutique.com. You will love the adorable products available and you will love the price even more. You can buy the best hand crafted baby furniture, wooden baby cribs, dressers, cradles, high-chairs, book cases, rocking chairs etc. You can also buy high quality baby apparel including custom shirts and dresses. www.babyandmeboutique.com also carries the best name brands. Check it out. Use our discount coupons to get a great price.
Get the most adorable clothes, toys, furniture from babyandmeboutique.com. It is the best place to shop for a newborn, infant or toddler. They carry a wide range of baby products from car seats, strollers, diaper bags etc to clothes, toys, high chairs and much more. All items are of the finest quality and are very reasonably priced. Get the best product for that beautiful baby. Our discount coupons will save you tons of money. Check it out online at babyandmeboutique.com.
babyandmeboutique.com is a great website to buy high end baby products at an amazing price. You can get organic products for the baby, presents for a baby shower, stroller, car seats, hand crafted baby furniture, cute, adorable clothes, diaper bags, mattresses, beddings, breast pumps and lots more. Check it out online at babyandmeboutique.com. It is a great place to shop at. Their user friendly website will help you buy the best products at a great price.


Maze
Help
about
Admin
Maze trading platform
XFT
XFT is still low now !!!!
Trade
zkBTC
we all know btc will never let us down
Trade
zkETH
who doesn't own eth these days ?
Trade


Generic Function HEAP-STREAM Returns the heap's stream.
Generic Function HEAP-START Returns the position of the first block in the heap.
Generic Function HEAP-END Returns the end of the heap.
Generic Function SETF HEAP-END Modifies the end of the heap.
Generic Function ALLOCATE-BLOCK Allocates a block of the requested size and returns the heap position of that block.
Constant +POINTER-SIZE+ The number of octets for a heap pointer.
Class FREE-LIST-HEAP This heap uses a 'segregated free list' system: the first list contains 16-octet blocks (including the header), the second list contains 32-octet blocks, the third has 64-octet blo
Function FREE-LIST-POINTER Returns a pointer to the cell containing the free list start.
Method (SIZE-CLASS T FREE-LIST-HEAP) Returns the (zero-indexed) number of a free-list that has blocks with sizes at least as big as the specified size.
Method (FREE-LIST-START FREE-LIST-HEAP) Returns the first block on the free list of the specified size class.
Generic Function BLOCK-SIZE Returns the size of the block starting at the specified position.
Method (CARVE-UP-BLOCK-FOR-FREE-LIST T T T FREE-LIST-HEAP) Carves up a block of the given size to build a free list for the specified size-class.
Class SIMPLE-FREE-LIST-HEAP All blocks in a simple free list heap have the same size.
Variable *DEFAULT-BUFFER-SIZE* The number of octets that are allocated initially for a buffer.


Plot of assault cases
Red bar = No Arrest
Blue bar = Arrest
Plot of Theft cases per year
Red bar = Under 500$
Blue bar = 500$ and OVER


Bachelor of Science (BS) in Chemical Engineering, 1983
The focus of this website will be my new found interest of bird watching.


Tutorial 00: jupyter basics
Posted on Wed 06 December 2017 in larcv training
larcv_threadio
: multi-threaded LArCV file reader¶
This notebook demonstrates how one can use a tool called dataloader2 to load larcv
data from a file into a numpy array for network training.
We will use a python interface class called dataloader2.larcv_threadio
(let's not ask what happened to dataloader1
).
Some details (feel free to ignore)¶
larcv_threadio
is a mere python API to use ThreadProcessor
, a multi-threaded larcv
file reader written in C++.
If you would like to write your own C++ API, you can still use ThreadProcessor
to write a wrapper API.
from __future__ import print_function
import ROOT
from larcv import larcv
from larcv.dataloader2 import larcv_threadio
import numpy
import matplotlib.pyplot as plt
%matplotlib inline
# instantiate dataloader2
proc = larcv_threadio()
Configuring larcv_threadio
¶
larcv_threadio
accepts a simple dictionary with configuration parameters.
There are only 3 parameters:
verbosity
... recommended value=0. When > 0, some status information is printed out intosys.stdout
stream.filler_cfg
... necessary! This is acutal meat that configures an internallarcv
C++ object (ThreadProcessor
).filler_name
... necessary! This has to match to the string key of a configuration block inside thefiller_cfg
file. You'll see it in the following.
Some details (feel free to ignore)¶
In case you wonder why you need filler_name
... this is because larcv
configuration file can contain more than one configuration parameter set in one file. This parameter is used to identify which configuration parameter set should be used.
# construct configuration dictionary
filler_cfg={}
filler_cfg["filler_name"] = 'ThreadProcessor'
filler_cfg["verbosity"] = 0,
filler_cfg['filler_cfg'] = 'configs/example_dataloader.cfg'
proc.configure(filler_cfg)
Next, let's take a look at the actual configuration file we fed to filler_cfg
.
If above cell does not return in a few seconds...¶
then it is even more important to look at the configuration. One possible issue is crogged text to be printed on the notebook. We have to make sure the Verbosity
value is set to 3 or larger everywhere.
print(open('configs/example_dataloader.cfg').read())
Whoa...¶
Yep, there's a lot going on here. I don't recommend you try to understand all of them right now.
In fact, it is a lot easier once you nail larcv
usage first. I cover minimal portions here since my focus is to get you familiarized with larcv_threadio
and not "larcv
in general".
Minimum details¶
Remember this is a configuration to enable multi-threaded reading of data. So keep a big picture in mind: the purpose of this file is to tell C++ program how/what to read from larcv
data file.
ThreadProcessor
block¶
There are 3 levels of configuration parameters. The biggest clause is around ThreadProcessor
. Note this name is what needed to match to filler_name
for larcv_threadio
configuration dictionary. Inside this block, there is a list of parameters covered below.
NumThreads
... positiveint
... number of threads to instantiate for reading a fileNumStorage
... positiveint
... number of abatch
data buffer storage. Each storage is filled by a dedicated thread. So it makes sense to set this equal or larger thanNumThreads
.RandomAccess
...true/false
... randomizes an order of data (event) to be accessed in the file(s)InputFiles
...string
array ... a list of inputlarcv
files you want the reader to use. The order does not matter ifRandomAccess
istrue
.ProcessType
...string
array ... a list oflarcv
C++ modules (C++ class names) to be run in respective order.BatchFillerImage2D
takes input 2D image data.BatchFillerPIDLabel
takes input simulation information and generate a particle label based on PDG code.ProcessName
...string
array ... a list of unique string names for declaredlarcv
modules inProcessType
argument. This is used to look up a module-specific configuration parameters (see below).ProcessList
... configuration block ... see next section :)
ProcessList
block¶
This block contains a list of larcv
module configuration parameter sets with a module's unique name as a key. Here, we see image
for BatchFillerImage2D
module and label
for BatchFillerPIDLabel
.
image
block¶
This block configures BatchFillerImage2D
which reads in input image data.
ImageProducer
...string
... this is a label to identify which 2D image data product from the input file to read.Channels
... positiveint
array ... 2D image data has multiple channels, and this parameter specifies which channel(s) to read. Here, we will use only channel 2.EnableMirror
...true/false
... when set totrue
, input data is randomly flipped with respect to the center vertical axis (left/right mirroring). This is one of the most simple data augmentation technique.
label
block¶
This block configures BatchFillerPIDLabel
which defines a single classification label 2d image read by BatchFillerImage2D
using simulation information.
ParticleProducer
...string
... this is a label to identify which "simulation information" should be used.PdgClassList
... signedint
array ... this lists PDG code, a unique identifier of a particle type to define a set of classification target. Here,2212
and11
correspond to proton and electron respectively. The index of PDG code is typically used as a classification label. In this example, proton has label 0 as its index is 0.
Let's run!¶
Too much text! Let's run larcv_threadio
to read in some data!
First, we issue the command to start the multi-threaded data read.
proc.start_manager(10)
where the argument is number of data segments (events, or images) to read and store into 1 buffer = 1 batch
. Once start_manager
command is issued, all active threads go find an available storage buffer to fill them. Remember you specified number of threads and storage buffers by NumThreads
and NumStorage
configuration parameters.
The next command moves the data stored in the buffer into a numpy
array so that we can access in python.
proc.next()
How to "fetch" a batch
data¶
In order to access the stored batch data, simply call larcv_threadio.fetch_data
function (below). Here, you should give an argument string
that is the name of larcv
module responsible for reading data for you. Let's fetch an image data.
data = proc.fetch_data('image')
print(type(data))
as you can see, the return of fetch_data
is batch_pydata
which holds two information about data: the numpy
array of data itself and its dimension. You can access them like:
image_data = data.data()
dim_data = data.dim()
print('numpy data shape',image_data.shape,'... full shape info:', dim_data)
Data is stored in image_data
in the form of (10,262144)
, which is 10 batch of data. dim_data
is the full data dimension: [10,512,512,1]
means this is "10 batch data of 512x512x1 image". You can see it is 2D image with 1 channel. Note 512*512*1 = 262144
. We can visualize an image using a simple imshow.
image_reshaped = image_data.reshape(dim_data[:-1])
fig,ax = plt.subplots(figsize=(12,8))
plt.imshow(image_reshaped[0],cmap='jet',interpolation='none')
plt.show()
Labels?¶
Yep, we should also have data filled by BatchFillerPIDLabel
. Remember how to fetch?
label = proc.fetch_data('label')
label_data = label.data()
dim_label = label.dim()
print('numpy data shape',label_data.shape,'... full shape info:', dim_label)
Since we defined labels with only 2 particles, the dimension is quite simple: (10,2)
. With this size, you can simply print them out to check the content, right?
print(label_data)
So we know the 1st image is an electron since we defined PdgClassList: [2212,11]
in the configuration. Looks like we can find a proton in the next image :)
fig,ax = plt.subplots(figsize=(12,8))
plt.imshow(image_reshaped[1],cmap='jet',interpolation='none')
plt.show()
Next batch!¶
How to get the next buffer storage? Quite simple:
proc.next()
label = proc.fetch_data('label')
print(label.data())
What happened to the last batch?¶
It is gone :( So how did this happen?
To answer this, it's important to emphasize the term "available" storage buffer. Earlier we learned that threads read from file and fill data into an available storage buffer. What does "available" mean? That means storage buffer that is either empty (initial state) OR ready to be refilled. This is sometimes called consumer-producer model. A user (you) is a consumer here, and next
function flags previously accessed data is already consumed
, and make that buffer as the next "available" storage buffer.
Questions?¶
This completes the quick-start tutorial of larcv_threadio
. Hope this helped for you to understand how this is working when used in our training example notebook.


Rapha
Women
Men
Sale
Accessories
3 items
Thank you!
Here's your receipt:
Shipping Address
First Name
*
Hi there! What's your name?
Last Name
*
We need to know your last name too!
Company Name
Address
*
Where do you want us to send your stuff?
City
*
Which city was it again?
State
*
select a state
Alabama
Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
District of Columbia
Florida
Georgia
Hawaii
Idaho
Illinois
Indiana
Iowa
Kansas
Kentucky
Louisiana
Maine
Maryland
Massachusetts
Michigan
Minnesota
Mississippi
Missouri
Montana
Nebraska
Nevada
New Hampshire
New Jersey
New Mexico
New York
North Carolina
North Dakota
Ohio
Oklahoma
Oregon
Pennsylvania
Rhode Island
South Carolina
South Dakota
Tennessee
Texas
Utah
Vermont
Virginia
Washington
West Virginia
Wisconsin
Wyoming
There's 50... don't make us guess! 🤔
Zip Code
*
The post office wants at least 5.
Billing Address
First Name
*
Hi there! What's your name?
Last Name
*
We need to know your last name too!
Company Name
Address
*
No one likes to receive bills... but we still need it.
City
*
Which city was it again?
State
*
select a state
Alabama
Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
District of Columbia
Florida
Georgia
Hawaii
Idaho
Illinois
Indiana
Iowa
Kansas
Kentucky
Louisiana
Maine
Maryland
Massachusetts
Michigan
Minnesota
Mississippi
Missouri
Montana
Nebraska
Nevada
New Hampshire
New Jersey
New Mexico
New York
North Carolina
North Dakota
Ohio
Oklahoma
Oregon
Pennsylvania
Rhode Island
South Carolina
South Dakota
Tennessee
Texas
Utah
Vermont
Virginia
Washington
West Virginia
Wisconsin
Wyoming
There's 50... don't make us guess! 🤔
Zip Code
*
The post office wants at least 5.
Billing address is the same as shipping address
Card Number
*

I'm thinking of a number...
Expiration
*
month
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Month is required.
year
2017
2018
2019
2020
2021
2022
Year is required.
CVC
*
It's that funky little number on the back!
Purchase


Concepts Learned
WEB Page
A web page is text document written in a language called HTML,
or HyperText Markup Language. Web browsers read these documents and then interpret and display them.
Coding
Coding happens when programmers write text in a language that a computer can understand. We learned some simple coding using HTML Tags, Elements, & Attributes.
Tag : A tag is always contained within angled brackets. Most tags have an opening tag (for example < b > and a closing tag < /b > ).
Some tags do not require a closing tag (like the < br >, line break tag).
They are called "void'' tags.
Element: An element refers to everything within a set of opening and closing tags
Attribute: An attribute is a property of an element, used to set the href attribute on an anchor tag. Used for making links, URL resources.
This is a link to my cycling club fundraising page Mission 360
I also learned to add pictures to my page
Computers are stupid
Computers need to be told exactly what to do, using the correct "syntax". If you forget to close a < b > tag the computer will not be able to figure out what you had intended to make bold.
It could be very frustrating and sometimes time consuming. Did I mention computers are stupid?
The Internet
People use browser to request data from servers via the Internet. The servers return the information back to the browser which interprets the data.


Created by Matthew Trask / @matthewtrask
Starting out, developers get overwhelmed.
The secret is...
Skill or knowledge that you get by doing something - webster.com
And it doesnt stop there!
And I bet I just scared some junior developers
That list shouldnt scare you
Dont be scared by criticism
Continually surround yourself with smarter people will give you more opportunites for conversations that will help you grow as a developer
Learn the Language First, then the tools
Help, I broke my Angular App, but I dont know Javascript
"Be a groupie, roadie, or rock star in OSS" - @calevans
Whats your reason?
HTML5, Js, Ember, Angular, Node, PHP, Ruby, Wordpress, Code For Atlanta, ATL Rails, Women Who Code, Girl Develop It, PyAtl, Atl Web Design, Atl Java, Meteor Atl, PyLadies Atl
No active linux group :(
Treat a blog like a diary of experiences that is easly accessible to you later in your career
Twitter, IRC, Github Issues, Reddit, Core Interal Groups
Dont be scared to be criticized
Be the best damn $role you can be
Join the conversation
Dont get lost in the tools
Most importantly...
Twitter: @matthewtrask
Blog: matthewtrask.net


{{name:^html}} {{address.building:^html}} {{address.street:^html}}, {{borough:^html}}
{{@cuisine:^html}}: {{cuisine:^html}}
{{@grades:^html}}:


Hello I am MicroTrain2105
Welcome to my web site.
HTML Elements
Welcome to MicroTrain bootcamp. You will learn basics of HTML, CSS, Javascript and work towards toolkits and other web applications.
Character Entities
Since the keyboard does not have a © key we need a way to reference this so we say ©. Additionally, greater than and less than are interpreted as HTML tags. These are examples of symbols that we may want to display but will not be able to with out a work around. This is where character entities come into play.
Summary
In summation...


| app | index /Users/ryangiarusso/PycharmProjects/CS2720-SE/Flask-App/app.py |
File: app.py
Author: Jacob Campbell; Ethan Morisette
Created: 3/11/2016 (Last Modified: 4/24/2016)
Purpose: This is the master file for the Flask application, contains logic for generating webpages, routing
data, and managing the flow of the entire system.
| Functions | ||
|
| Data | ||
| MAXYEAR = 9999 MINYEAR = 1 abort = <werkzeug.exceptions.Aborter object> app = <Flask 'app'> appcontext_popped = <blinker.base.NamedSignal object at 0x1035a5fd0; 'appcontext-popped'> appcontext_pushed = <blinker.base.NamedSignal object at 0x1035a5f60; 'appcontext-pushed'> appcontext_tearing_down = <blinker.base.NamedSignal object at 0x1035a5f28; 'appcontext-tearing-down'> bcrypt = <flask_bcrypt.Bcrypt object> current_app = <LocalProxy unbound> current_user = None datetime_CAPI = <capsule object "datetime.datetime_CAPI"> db = <SQLAlchemy engine='sqlite:///items.db'> error = None g = <LocalProxy unbound> got_request_exception = <blinker.base.NamedSignal object at 0x1035a5ef0; 'got-request-exception'> json_available = True login_manager = <helper.LoginManager object> message_flashed = <blinker.base.NamedSignal object at 0x1035adb00; 'message-flashed'> request = <LocalProxy unbound> request_finished = <blinker.base.NamedSignal object at 0x1035a5da0; 'request-finished'> request_started = <blinker.base.NamedSignal object at 0x1035a5d30; 'request-started'> request_tearing_down = <blinker.base.NamedSignal object at 0x1035a5eb8; 'request-tearing-down'> session = <LocalProxy unbound> signals_available = True template_rendered = <blinker.base.NamedSignal object at 0x1035a5cc0; 'template-rendered'> |


Greedy is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most obvious and immediate benefit. So the problems where choosing locally optimal also leads to global solution are best fit for Greedy.
This Web Dashboard implements various Greedy Techniques.
Created by Harsh Badhai
A Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression.
Try it OutPrim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph.
Try it OutIn Fractional Knapsack Fractions of items can be taken rather than having to make binary (0-1) choices for each item.
Try it OutIt is the dispute of optimally scheduling unit time tasks on a single processor where each job has a deadline and a penalty that necessary be paid if the deadline is missed.
Try it OutThe shortest path algorithm is about finding a path between 2 vertices in a graph such that the total sum of the edge weights is minimum
Try it Out


| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| lib/vm_tools.rb | 538 | 420 | 20.26%
|
12.38%
|
Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.
1 #!/usr/bin/ruby -w |
2 # Programmer: Chris Bunch |
3 |
4 require 'base64' |
5 require 'socket' |
6 |
7 require 'common_functions' |
8 require 'custom_exceptions' |
9 |
10 # The maximum amount of time we should wait for the first node in the system to |
11 # go from 'pending' to 'running' and acquire a public IP. Our current VM size |
12 # is about 10GB, so this means that in Eucalyptus it could take up to 30 minutes |
13 # to start if the image wasn't cached. |
14 MAX_VM_CREATION_TIME = 2700 |
15 |
16 # The amount of time to sleep between invocations of ec2-describe-instances when |
17 # starting up the first node in the system. This should definitely not be lower |
18 # than 5 seconds, as Eucalyptus 2.0.3 or newer will interpret it as a possible |
19 # replay attack. |
20 SLEEP_TIME = 20 |
21 |
22 # The regular expressions to use to find the public and private IPs (or FQDNs in |
23 # case of EC2). |
24 IP_REGEX = /\d+\.\d+\.\d+\.\d+/ |
25 FQDN_REGEX = /[\w\d\.\-]+/ |
26 IP_OR_FQDN = /#{IP_REGEX}|#{FQDN_REGEX}/ |
27 |
28 # When running over a cloud infrastructure, the user must set the following |
29 # environment variables |
30 EC2_ENVIRONMENT_VARIABLES = ["EC2_PRIVATE_KEY", "EC2_CERT", "EC2_SECRET_KEY"] + |
31 ["EC2_ACCESS_KEY"] |
32 |
33 # When using Eucalyptus in a hybrid cloud deployment, the user must set the |
34 # following environment variables (prefixed by CLOUDX_, where X is an integer) |
35 REQUIRED_EUCA_CREDS_FOR_HYBRID = ["TYPE", "EMI", "S3_URL", "EC2_URL"] + |
36 ["EC2_JVM_ARGS", "EUCALYPTUS_CERT", "EC2_USER_ID"] + EC2_ENVIRONMENT_VARIABLES |
37 |
38 # When using EC2 in a hybrid cloud deployment, the user must set the |
39 # following environment variables (prefixed by CLOUDX_, where X is an integer) |
40 REQUIRED_EC2_CREDS_FOR_HYBRID = ["TYPE", "AMI", "S3_URL", "EC2_URL"] + |
41 ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"] + EC2_ENVIRONMENT_VARIABLES |
42 |
43 module VMTools |
44 def self.get_initial_layout(head_node, separate, num_of_nodes, total_nodes) |
45 if head_node |
46 if separate |
47 raise NotImplementedError.new("haven't done head node, separate yet") |
48 else |
49 layout = "shadow:load_balancer:db_master" |
50 layout << ":appengine" if total_nodes == 1 |
51 end |
52 else |
53 raise NotImplementedError.new("haven't done slave nodes, separate yet") |
54 end |
55 |
56 return layout |
57 end |
58 |
59 # Code for local_ip taken from |
60 # http://coderrr.wordpress.com/2008/05/28/get-your-local-ip-address/ |
61 def self.local_ip |
62 UDPSocket.open {|s| s.connect("<IP_ADDRESS>", 1); s.addr.last } |
63 end |
64 |
65 def self.get_creds_from_env |
66 creds = {} |
67 optional = {"ec2_url" => "https://us-east-1.ec2.amazonaws.com"} |
68 required = ["ec2_access_key", "ec2_secret_key"] |
69 |
70 optional.each { |k, v| |
71 creds[k] = ENV[k.upcase] or v |
72 } |
73 |
74 required.each { |var| |
75 if ENV[var.upcase] |
76 creds[var] = ENV[var.upcase] |
77 else |
78 raise BadConfigurationException.new("The required " + |
79 "environment variable #{var.upcase} was not set. Please set it " + |
80 "and try running AppScale again.") |
81 end |
82 } |
83 |
84 return creds |
85 end |
86 |
87 def self.ensure_tools_are_installed(infrastructure) |
88 commands = ["-add-group", "-authorize", "-describe-instances", "-run-instances", "-terminate-instances"] |
89 commands.each { |cmd| |
90 full_cmd = "#{infrastructure}#{cmd}" |
91 if !CommonFunctions.user_has_cmd?(full_cmd) |
92 raise BadConfigurationException.new("You do not appear to " + |
93 "have the command '#{full_cmd}'. Please put it in your PATH and " + |
94 "try again.") |
95 end |
96 } |
97 end |
98 |
99 def self.open_ports_in_cloud(infrastructure, group, verbose) |
100 retn = CommonFunctions.shell("#{infrastructure}-authorize #{group} -p 1-65535 -s <IP_ADDRESS>/0 -P udp 2>&1") |
101 puts retn if verbose |
102 retn = CommonFunctions.shell("#{infrastructure}-authorize #{group} -p 1-65535 -s <IP_ADDRESS>/0 -P tcp 2>&1") |
103 puts retn if verbose |
104 retn = CommonFunctions.shell("#{infrastructure}-authorize #{group} -s <IP_ADDRESS>/0 -P icmp -t -1:-1 2>&1") |
105 puts retn if verbose |
106 end |
107 |
108 def self.ensure_keyname_not_in_use(keyname, infrastructure) |
109 describe_instances = CommonFunctions.shell("#{infrastructure}-describe-instances 2>&1") |
110 if describe_instances =~ /\s#{keyname}\s/ |
111 raise InfrastructureException.new("The keyname you chose is " + |
112 "already in use. Please choose another keyname and try again.") |
113 end |
114 end |
115 |
116 def self.ensure_min_vms_available(min_vms_needed, instance_type, infrastructure) |
117 puts "warn: this doesn't work on ec2 - euca only" |
118 availability_zones = CommonFunctions.shell("#{infrastructure}-describe-availability-zones verbose 2>&1") |
119 # check for errors from last command |
120 vms_str = availability_zones.scan(/#{instance_type}\t([\d]+)/).flatten.to_s |
121 if vms_str.nil? or vms_str.empty? |
122 raise InfrastructureException.new("There was a problem seeing how many " + |
123 "virtual machines were available. We saw [#{availability_zones}].") |
124 end |
125 |
126 free_vms = Integer(vms_str) |
127 if free_vms < min_vms_needed |
128 raise InfrastructureException.new("Not enough VMs were free of the " + |
129 "type #{instance_type}. Needed #{min_vms_needed} but only #{free_vms}" + |
130 " were available.") |
131 end |
132 end |
133 |
134 def self.verify_ids(disk, infrastructure) |
135 ec2_images = CommonFunctions.shell("#{infrastructure}-describe-images 2>&1") |
136 |
137 if disk !~ /[a|e]mi/ |
138 raise InfrastructureException.new("The disk image you specified was " + |
139 "not in the proper format. Please correct this and try again.") |
140 end |
141 |
142 # if the tools are not configured properly an error message will show up |
143 # be sure to catch it and die if so |
144 if ec2_images =~ /\AServer:/ |
145 raise InfrastructureException.new("Problem with " + |
146 "#{infrastructure}-tools: " + ec2_images) |
147 end |
148 |
149 id = "disk" |
150 id_value = eval(id) |
151 if ec2_images !~ /IMAGE\t#{id_value}/ |
152 raise InfrastructureException.new("The #{id} image you specified, " + |
153 "#{id_value}, was not found when querying " + |
154 "#{infrastructure}-describe-images. Please specify a #{id} image in " + |
155 "the database and try again.") |
156 end |
157 end |
158 |
159 def self.get_ips(ips, verbose) |
160 if ips.length % 2 != 0 |
161 raise InfrastructureException.new("ips not even length array") |
162 end |
163 reported_public = [] |
164 reported_private = [] |
165 ips.each_index { |index| |
166 if index % 2 == 0 |
167 reported_public << ips[index] |
168 else |
169 reported_private << ips[index] |
170 end |
171 } |
172 |
173 if verbose |
174 puts "Reported Public IPs: [#{reported_public.join(', ')}]" |
175 puts "Reported Private IPs: [#{reported_private.join(', ')}]" |
176 end |
177 |
178 actual_public = [] |
179 actual_private = [] |
180 |
181 reported_public.each_index { |index| |
182 pub = reported_public[index] |
183 pri = reported_private[index] |
184 if pub != "<IP_ADDRESS>" and pri != "<IP_ADDRESS>" |
185 actual_public << pub |
186 actual_private << pri |
187 end |
188 } |
189 |
190 return actual_public, actual_private |
191 end |
192 |
193 def self.get_public_ips(ips, verbose) |
194 if ips.length % 2 != 0 |
195 raise InfrastructureException.new("ips not even length array") |
196 end |
197 |
198 reported_public = [] |
199 reported_private = [] |
200 ips.each_index { |index| |
201 if index % 2 == 0 |
202 reported_public << ips[index] |
203 else |
204 reported_private << ips[index] |
205 end |
206 } |
207 |
208 puts "Reported Public IPs: [#{reported_public.join(', ')}]" if verbose |
209 puts "Reported Private IPs: [#{reported_private.join(', ')}]" if verbose |
210 |
211 public_ips = [] |
212 reported_public.each_index { |index| |
213 if reported_public[index] != "<IP_ADDRESS>" |
214 public_ips << reported_public[index] |
215 elsif reported_private[index] != "<IP_ADDRESS>" |
216 public_ips << reported_private[index] |
217 end |
218 } |
219 |
220 return public_ips.flatten |
221 end |
222 |
223 def self.spawn_vms(num_of_vms_to_spawn, job, image_id, instance_type, keyname, |
224 infrastructure, group, verbose) |
225 #adding check first so that we don't do any of this if the infrastructure setting is wrong |
226 if !VALID_CLOUD_TYPES.include?(infrastructure) |
227 raise BadConfigurationException.new("Infrastructure must be " + |
228 "iaas, ec2, or euca, but instead was #{infrastructure}") |
229 end |
230 |
231 if infrastructure == "ec2" |
232 check_group = CommonFunctions.shell("#{infrastructure}-describe-group #{group} 2>&1") |
233 make_group = check_group.include? 'InvalidGroup.NotFound' |
234 elsif infrastructure == "euca" |
235 check_group = CommonFunctions.shell("#{infrastructure}-describe-groups #{group} 2>&1") |
236 make_group = check_group.empty? |
237 end |
238 if make_group |
239 puts "Creating security group #{group}" if verbose |
240 create_sec_group = CommonFunctions.shell("#{infrastructure}-add-group #{group} -d #{group} 2>&1") |
241 puts create_sec_group if verbose |
242 else # security group exists |
243 raise InfrastructureException.new("Security group #{group} exists, " + |
244 "delete this group via #{infrastructure}-delete-group #{group}, " + |
245 "prior to starting an AppScale cloud") |
246 end |
247 puts "Security group #{group} in place" if verbose |
248 VMTools.open_ports_in_cloud(infrastructure, group, verbose) |
249 puts "Ports set for security group #{group}" if verbose |
250 |
251 describe_instances = CommonFunctions.shell("#{infrastructure}-describe-instances 2>&1") |
252 puts describe_instances if verbose |
253 all_ip_addrs = describe_instances.scan(/\s+(#{IP_OR_FQDN})\s+(#{IP_OR_FQDN})\s+running\s+#{keyname}\s/).flatten |
254 ips_up_already = VMTools.get_public_ips(all_ip_addrs, verbose) |
255 vms_up_already = ips_up_already.length |
256 |
257 command_to_run = "#{infrastructure}-run-instances -k #{keyname} -n #{num_of_vms_to_spawn} --instance-type #{instance_type} --group #{group} #{image_id}" |
258 |
259 puts command_to_run if verbose |
260 run_instances = "" |
261 loop { |
262 run_instances = CommonFunctions.shell("#{command_to_run} 2>&1") |
263 puts "run_instances: [#{run_instances}]" if verbose |
264 if run_instances =~ /Please try again later./ |
265 puts "Error with run_instances: #{run_instances}. Will try again in a moment." |
266 elsif run_instances =~ /try --addressing private/ |
267 puts "Need to retry with addressing private. Will try again in a moment." |
268 command_to_run << " --addressing private" |
269 elsif run_instances =~ /PROBLEM/ |
270 raise InfrastructureException.new("Saw the following error message " + |
271 "from iaas tools. Please resolve the issue and try again:\n" + |
272 "#{run_instances}") |
273 else |
274 puts "Run instances message sent successfully. Waiting for the image to start up." |
275 break |
276 end |
277 } |
278 |
279 instance_ids = run_instances.scan(/INSTANCE\s+(i-\w+)\s+[\w\-\s\.]+#{keyname}\s/).flatten |
280 |
281 end_time = Time.now + MAX_VM_CREATION_TIME |
282 while (now = Time.now) < end_time |
283 describe_instances = CommonFunctions.shell("#{infrastructure}-describe-instances 2>&1") |
284 puts "[#{Time.now}] #{end_time - now} seconds left until timeout..." |
285 puts describe_instances if verbose |
286 |
287 if describe_instances =~ /terminated\s#{keyname}\s/ |
288 raise InfrastructureException.new("An instance was unexpectedly " + |
289 "terminated. Please contact your cloud administrator to determine " + |
290 "why and try again. \n#{describe_instances}") |
291 end |
292 |
293 all_ip_addrs = describe_instances.scan(/\s+(#{IP_OR_FQDN})\s+(#{IP_OR_FQDN})\s+running\s+#{keyname}\s/).flatten |
294 instance_ids = describe_instances.scan(/INSTANCE\s+(i-\w+)\s+[\w\-\s\.]+#{keyname}\s/).flatten |
295 public_ips, private_ips = VMTools.get_ips(all_ip_addrs, verbose) |
296 break if public_ips.length == num_of_vms_to_spawn + vms_up_already |
297 sleep(SLEEP_TIME) |
298 end |
299 |
300 if public_ips.length.zero? |
301 raise InfrastructureException.new("No public IPs were able to be " + |
302 "procured within the time limit.") |
303 end |
304 |
305 if public_ips.length != instance_ids.length |
306 puts "Public IPs: #{public_ips.join(', ')}, Instance ids: #{instance_ids.join(', ')}" |
307 raise InfrastructureException.new("Public IPs size didn't match " + |
308 "instance names size") |
309 end |
310 |
311 instances_created = [] |
312 public_ips.each_index { |index| |
313 instances_created << "#{public_ips[index]}:#{private_ips[index]}:#{job}:#{instance_ids[index]}:cloud1" |
314 } |
315 |
316 return instances_created |
317 end |
318 |
319 def self.terminate_all_vms(keyname, infrastructure) |
320 desc_instances = CommonFunctions.shell("#{infrastructure}-describe-instances 2>&1") |
321 instances = desc_instances.scan(/INSTANCE\s+(i-\w+)\s+[\w\-\s\.]+#{keyname}\s/).flatten |
322 return 0 if instances.length == 0 |
323 puts CommonFunctions.shell("#{infrastructure}-terminate-instances #{instances.join(' ')} 2>&1") |
324 return instances.length |
325 end |
326 |
327 def self.spawn_head_node(head_node, infrastructure, keyname, |
328 ssh_key_location, ssh_keys, force, machine, instance_type, group, verbose) |
329 |
330 head_node_jobs = head_node.roles.join(":") |
331 if VALID_CLOUD_TYPES.include?(infrastructure) |
332 VMTools.spawn_head_node_via_cloud(infrastructure, keyname, |
333 ssh_key_location, ssh_keys, force, head_node_jobs, machine, |
334 instance_type, group, verbose) |
335 else |
336 VMTools.spawn_head_node_via_vmm(head_node, keyname, head_node_jobs) |
337 end |
338 end |
339 |
340 def self.spawn_head_node_via_cloud(infrastructure, keyname, |
341 ssh_key_location, ssh_keys, force, head_node_jobs, machine, |
342 instance_type, group, verbose) |
343 |
344 VMTools.ensure_tools_are_installed(infrastructure) |
345 #VMTools.verify_ids(machine, infrastructure) |
346 VMTools.ensure_keyname_not_in_use(keyname, infrastructure) |
347 #VMTools.ensure_min_vms_available(min_images, instance_type, infrastructure) |
348 EncryptionHelper.generate_ssh_key(verbose, ssh_keys, keyname, infrastructure, force) |
349 locations = VMTools.spawn_vms(1, head_node_jobs, machine, instance_type, keyname, infrastructure, group, verbose) |
350 puts "Please wait for your instance to complete the bootup process." |
351 head_node_ip = locations[0].split(":")[0] |
352 CommonFunctions.sleep_until_port_is_open(head_node_ip, AppScaleTools::SSH_PORT) |
353 sleep(10) |
354 options = "-o StrictHostkeyChecking=no -o NumberOfPasswordPrompts=0" |
355 enable_root_login = "sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/" |
356 `ssh -i #{ssh_keys.join(" -i ")} #{options} 2>&1 ubuntu@#{head_node_ip} '#{enable_root_login}'` # kloogy ec2 fix |
357 CommonFunctions.scp_file(ssh_key_location, "/root/.ssh/id_dsa", head_node_ip, ssh_keys) # kloogy ec2 fix |
358 CommonFunctions.scp_file(ssh_key_location, "/root/.ssh/id_rsa", head_node_ip, ssh_keys) |
359 CommonFunctions.shell("scp -i #{ssh_keys.join(" -i ")} -o StrictHostkeyChecking=no 2>&1 root@#{head_node_ip}:/root/.ssh/authorized_keys /tmp/remote_keys") |
360 remote_keys = (File.open("/tmp/remote_keys") { |f| f.read }).chomp |
361 public_key_contents = remote_keys.scan(/ssh-rsa [\w+\/=]+ [\w@]+/).flatten.to_s |
362 File.open("/tmp/id_rsa.pub", "w+") { |file| file.write(public_key_contents) } |
363 CommonFunctions.scp_file("/tmp/id_rsa.pub", "/root/.ssh/id_rsa.pub", head_node_ip, ssh_keys) |
364 locations = locations.flatten.to_s |
365 return locations |
366 end |
367 |
368 def self.spawn_head_node_via_vmm(node, keyname, head_node_jobs) |
369 # We don't care about the instance's ID if not using cloud-tools |
370 # and for Xen, public ip = private ip |
371 head_node = "#{node.id}:#{node.id}:#{head_node_jobs}:i-ZFOOBARZ:cloud1" |
372 locations = [head_node].flatten.to_s |
373 return locations |
374 end |
375 |
376 def self.get_cloud_creds(node_layout, val_hash) |
377 cloud_creds = { |
378 "machine" => "#{val_hash['machine']}", |
379 "instance_type" => "#{val_hash['instance_type']}", |
380 "infrastructure" => "#{val_hash['infrastructure']}", |
381 "min_images" => "#{node_layout.min_images}", |
382 "max_images" => "#{node_layout.max_images}" |
383 } |
384 cloud_creds.merge!(VMTools.get_creds_from_env) |
385 return cloud_creds |
386 end |
387 |
388 def self.get_vmm_keys(val_hash) |
389 puts "Generating certificate and private key" |
390 key, cert = EncryptionHelper.generate_pem_files(val_hash['keyname']) |
391 key = File.expand_path("~/.appscale/#{val_hash['keyname']}-key.pem") |
392 cert = File.expand_path("~/.appscale/#{val_hash['keyname']}-cert.pem") |
393 |
394 return cert, key |
395 end |
396 |
397 def self.lookup_cloud_env(cloud) |
398 cloud_type_var = cloud.upcase + "_TYPE" |
399 cloud_type = ENV[cloud_type_var] |
400 |
401 if cloud_type.nil? |
402 raise BadConfigurationException.new("The environment variable " + |
403 "#{cloud_type_var} was not set. Please set it and try again.") |
404 end |
405 |
406 return cloud_type |
407 end |
408 |
409 def self.get_hybrid_creds(node_layout, set_head_node_creds=false) |
410 cloud_creds = { |
411 "infrastructure" => "hybrid", |
412 "min_images" => "#{node_layout.min_images}", |
413 "max_images" => "#{node_layout.max_images}" |
414 } |
415 |
416 cloud_num = 1 |
417 loop { |
418 cloud_type = ENV["CLOUD#{cloud_num}_TYPE"] |
419 break if cloud_type.nil? |
420 |
421 if cloud_num == 1 and set_head_node_creds |
422 set_vars = true |
423 else |
424 set_vars = false |
425 end |
426 |
427 cloud_creds.merge!(self.get_hybrid_env_vars(cloud_type, cloud_num, set_vars)) |
428 cloud_num += 1 |
429 } |
430 |
431 return cloud_creds |
432 end |
433 |
434 def self.set_hybrid_creds(node_layout) |
435 return self.get_hybrid_creds(node_layout, set_head_node_creds=true) |
436 end |
437 |
438 def self.get_hybrid_env_vars(cloud_type, cloud_num, set_vars=false) |
439 creds = {} |
440 |
441 if cloud_type == "euca" |
442 required = REQUIRED_EUCA_CREDS_FOR_HYBRID |
443 elsif cloud_type == "ec2" |
444 required = REQUIRED_EC2_CREDS_FOR_HYBRID |
445 else |
446 puts "Incorrect cloud type of #{cloud_type}" |
447 fail |
448 end |
449 |
450 required.each { |cred| |
451 key = "CLOUD#{cloud_num}_#{cred}" |
452 val = ENV[key] |
453 |
454 if val.nil? |
455 raise BadConfigurationException.new("The required " + |
456 "environment variable #{key} was not set. Please set it and " + |
457 "try again.") |
458 end |
459 |
460 if set_vars |
461 puts "Setting #{cred} to #{val}" |
462 ENV[cred] = val |
463 end |
464 |
465 creds[key] = val |
466 } |
467 |
468 return creds |
469 end |
470 |
471 def self.get_hybrid_machine(infra, cloud_num) |
472 if infra == "euca" |
473 key = "CLOUD#{cloud_num}_EMI" |
474 elsif infra == "ec2" |
475 key = "CLOUD#{cloud_num}_AMI" |
476 else |
477 raise BadConfigurationException.new("infrastructure #{infra} " + |
478 "is not a supported value.") |
479 end |
480 |
481 return ENV[key] |
482 end |
483 |
484 def self.verify_credentials_are_set_correctly(infrastructure) |
485 # In non-hybrid cloud environments, the user has to provide us with their |
486 # EC2 credentials. If they didn't, let them know and abort. |
487 EC2_ENVIRONMENT_VARIABLES.each { |var| |
488 if ENV[var].nil? |
489 raise BadConfigurationException.new("The required " + |
490 "environment variable #{var} was not set. Please set it and try " + |
491 "again.") |
492 end |
493 } |
494 |
495 VMTools.verify_credentials_exist() |
496 |
497 # The euca2ools default to using localhost as the EC2_URL and S3_URL if |
498 # it's not set, so make sure the user has explicitly set it. |
499 if infrastructure == "euca" |
500 ['EC2_URL', 'S3_URL'].each { |var| |
501 if ENV[var].nil? |
502 raise BadConfigurationException.new("When running over " + |
503 "Eucalyptus, the environment variable #{var} must be set.") |
504 end |
505 } |
506 end |
507 end |
508 |
509 # Validates that the private key and certificate for use with EC2 or |
510 # Eucalyptus both refer to files that exist, aborting if either do not exist. |
511 def self.verify_credentials_exist() |
512 ["EC2_PRIVATE_KEY", "EC2_CERT"].each { |var| |
513 file_path = File.expand_path(ENV[var]) |
514 if !File.exists?(file_path) |
515 raise BadConfigurationException.new("The environment variable" + |
516 " #{var} pointed to the file #{file_path}, which didn't exist.") |
517 end |
518 } |
519 end |
520 |
521 def self.terminate_infrastructure_machines(infrastructure, keyname) |
522 # TODO: if we know all the other ips in the system, contact one |
523 # of them instead |
524 |
525 if keyname == "appscale" # appscale keyname messes up the next command |
526 abort("Error seen trying to terminate your machines - please do so manually.") |
527 end |
528 |
529 # for now, just kill them the hard way |
530 desc = "#{infrastructure}-describe-instances" |
531 term = "#{infrastructure}-terminate-instances" |
532 cmd = "#{desc} | grep #{keyname} | awk '{print $2}' | xargs #{term}" |
533 puts "Unable to contact shadow node, shutting down via tools..." |
534 puts `#{cmd}` |
535 cmd = "#{infrastructure}-delete-group appscale" |
536 puts `#{cmd}` |
537 end |
538 end |
Generated on Wed May 16 23:29:49 -0700 2012 with rcov 1.0.0


Testing the
img
element
Published:
September 15, 2019
with alt text
with title text and no alt
with aria-label and no title or alt
with aria-labelledby and no title or alt
aria-labelledby text
with alt and title text
with alt and role=presentation
with empty alt and aria-label
with title and an empty alt
with srcset
within picture


You can use either the 'CURIE' (Compact URI) or 'URI' value in each row entry of your data
Back to the home page


For the 2018 PAL Season and Catholic Bowl, registration and score entry will be online. To access, you must have been given a special access code that the form will require before you can use. Please use one of the links below:
Input a game score Register Team


Compliance Report
Compliance Report
S.1. The Institution has an organizational structure and functions approved by the BOT/BOR.
S.2. Every office/unit in the organizational structure has functions approved by the BOR/BOT.
I.1. The institution is subdivided into administrative units in accordance with the organizational structure.
I.2. The functions, duties and responsibilities of personnel in each unit/office are identified and carried out.
I.3. The Board of Regents/Trustees is supportive of the growth and development of the Institution.
I.4. The Academic and Administrative Councils exercise their powers and perform their functions.
I.5. The flow of communication among and within units/departments is observed.
O.1. The institution has a well-designed the organizational structure.
S.1. The Dean/Academic Unit Head possesses the required educational qualification and experience needed to administer the College/Academic Unit, namely:
S.1.1. Master's degree in Hospitality Management, Business Management, or business-related field and an undergraduate degree in TM/HM/TrM/HRM or related field;
S.1.2. a minimum teaching experience of not less than five (5) years and or at least five (5) - year experience in administrative or supervisory capacity in an educational institution or a business enterprise;
S.1.3. completed skills-based competency training course, seminar or workshop; and
S.1.4. active membership in any hospitality-related professional/educational association.
S.2. The Department Chair/equivalent is a full-time administrator.
I.1. The Dean is assisted by Department Chair/s (or their equivalent) with appropriate/relevant educational qualification and experience.
I.2. The Dean implements a supervisory program.
I.3. The Dean participates in the recruitment and promotion of faculty and support staff.
I.4. The Dean, the faculty and the administration work together for the improvement of the College/Academic Unit of Hotel and Restaurant Management/TM/HM/TrM, particularly in:
I.4.1. setting standards and targets;
I.4.2. planning of programs and other related activities;
I.4.3. implementing and monitoring of plans, programs and other related activities;
I.4.4. establishing linkages, partnership and networking activities;
I.4.5. providing opportunities professional growth and development of the faculty and staff.
I.4.6. preparing policies and guidelines in the internal administration and operation of the unit/institution; and
I.4.7. preparing guidelines for the proper use and maintenance of facilities, equipment, etc.
I.5. Definite criteria and procedures in the selection and promotion of the most qualified faculty and staff are observed.
I.6. The Dean, faculty, staff, and students pursue collaborative activities in generating resources and income, and in implementing cost-effective measures.
I.7. The Dean implements policies and procedures on internal administration and operations of the College/Academic Unit.
O.1. The College/Academic Unit is efficiently and effectively managed.
S.1. The institution has an approved and printed Student Handbook/Manual containing policies and guidelines on the following aspects of student life:
S.1.1. admission and retention policies;
S.1.2. registration requirements;
S.1.3. school fees;
S.1.4. academic load;
S.1.5. transfers;
S.1.6. residence, course work, scholastic and graduation requirements;
S.1.7. examination and grading system;
S.1.8. scholarships/grants;
S.1.9. shifting and adding/dropping of course;
S.1.10. Code of Conduct and Discipline; and
S.1.11. others (please specify).
I.1. Students are provided opportunities to participate in the planning and implementation of activities concerning their welfare.
I.2. Concerned officials, faculty and staff act promptly on requests and problems of the students.
I.3. The administration, faculty, staff and students work harmoniously and maintain good relationship.
O.1. The Institution has an effective and functional Student Administration.
O.2. Policy implementation is efficient.
S.1. The institution has an approved Financial Development Plan (FDP).
S.2. The institution has specific budgetary allotment for the following:
S.2.1. personnel services;
S.2.2. Maintenance and Other Operating Expenses (MOOE);
S.2.3. capital outplay; and
S.2.4. special projects.
S.3. The approved budget is in consonance with the FDP.
I.1. The Institution maintains a Financial Management Office manage by qualified and competent personnel.
I.2. The financial management personnel are responsible for the efficient management of financial resources/funds of the Institution.
I.3. Officials, staff, faculty and concerned students participate in the preparation of the budget and procurement program of the Institution.
I.4. The budget of the institution is fairly and objectively allocated.
I.5. The Institution allocates funds for the following student services and activities:
I.5.1. cultural development;
I.5.2. sports development;
I.5.3. medical/dental services;
I.5.4. library;
I.5.5. student body organization;
I.5.6. guidance and counselling;
I.5.7. improvement of laboratories/shops;
I.5.8. repair and maintenance of facilities/equipment;
I.5.9. purchase of new equipment;
I.5.10. replacement of old equipment;
I.5.11. construction of new facilities, as needed;
I.5.12. improvement/expansion of physical plant;
I.5.13. extension/community service;
I.5.14. disaster and risk reduction; and
I.5.15. auxiliary services.
I.6. The budget allocated for specific expenditures indicated in term 1.5 is in consonance with existing policies and guidelines.
O.1. The institution has a sound and effective financial management system.
S.1. The Institution has an approved procurement management system in consonance with the Revised IRR of RA 9184 (Government Procurement Reform Act).
S.2. The institution has a system for the proper disposal on non-serviceable and condemned equipment, supplies and materials.
S.3. The office has a storeroom where equipment, supplies and materials are kept.
I.1. The Institution maintains a Supply Management Office (SMO) managed by qualified staff with specific functions and responsibilities.
I.2. The Bids and Awards Committee (BAC) is responsible for the procurement and deliveries of needed equipment, supplies and materials in accordance with the approved Annual Procurement Plan (APP) and Project Procurement Management Plan (PPMP).
I.3. The BAC performs its tasks and responsibilities in accordance with recent procurement policies and official issuances.
I.4. The SMO office prepares, submits and evaluates the annual inventory of serviceable and non-serviceable facilities and equipment.
I.5. All approved requests for procurement are published in the Philippine Government Electronic Procurement System(PhilGEPS).
O.1. The institution has an efficient and effective supply management and services.
O.2. All procurement transactions are transparent.
S.1. The Institution has a system of records keeping.
S.2. The institution has policies and procedures to ensure the security and confidentiality of records.
S.3. Policies and procedures on prompt release of records are in place.
I.1. The Institution maintains a Records Management Office (RMO) managed by a qualified Records Officer.
I.2. The institution maintains a Records Management Office (RMO) managed by a qualified Records Officer.
I.3. The Human Resource Management Office (HRMO) maintains accurate, up-to-date and systematically filed records of faculty and non-teaching personnel.
I.4. The following updated record compilations are made available to concerned parties:
I.4.1. minutes of the Board of Regents/Trustees meetings;
I.4.2. minutes of the faculty meetings, e.g. minutes of the Academic Council meetings;
I.4.3. faculty/non-teaching personnel individual files;
I.4.4. faculty/non-teaching personnel performance evaluation results; and
I.4.5. other records such as:
I.4.5.1. student directory;
I.4.5.2. alumni directory;
I.4.5.3. permanent records of student;
I.4.5.4. reports of Director/Dean;
I.4.5.5. annual reports;
I.4.5.6. accomplishment/progress reports;
I.4.5.7. scholarship records;
I.4.5.8. statistical data;
I.4.5.9. financial records of students;
I.4.5.10. inventory of property;
I.4.5.11. proceedings of administrative investigation (if any); and
I.4.5.12. others (please specify)
O.1. The institution has a records management system.
S.1. The institution has an approved Strategic Development Plan (SDP) available in printed and/or electronic forms.
S.2. There is a system to monitor the implementation of the SDP.
I.1. The Institution's Planning Unit plans, monitors and evaluates planned activities/targets.
I.2. The planning process is a cooperative and participative endeavour of administration, the faculty and the students.
I.3. The SDP is implemented, evaluated, reviewed and updated regularly.
O.1. The SDP is congruent with the VMGO and with national, regional and local development goals and agenda.
S.1. The institution has an approved performance evaluation system for administrative personnel which includes the following items:
S.1.1. competence;
S.1.2. quality of work;
S.1.3. work ethic (punctuality, wise use of time, etc.);
S.1.4. creative ability;
S.1.5. ability to handle internal and external pressures; and
S.1.6. interpersonal relations.
I.1. The Institution regularly monitors and evaluates the performance of the administrative personnel.
I.2. The results of performance evaluation of the administrative staff are utilized:
I.2.1. to improve performance and delivery of services; and
I.2.2. for promotion.
O.1. The administrative personnel/staff have commendable performance.


{% extends 'layout.html' %} {% block pageTitle %} {{ jobRole.name }} appraisal - NHS.UK prototype kit {% endblock %} {% block beforeContent %} {{ breadcrumb({ items: [ { href: "/dashboard", text: "Dashboard" }, { href: "/assessments", text: "Appraisals" }, { href: "/assessments/" + assessment.id, text: jobRole.name }] }) }} {% endblock %} {% block content %}
{{ user.name }}'s self-appraisal is ready for review.
Back Review self-appraisal {% else %}In order to identify the correct competencies to focus on for the appraisal, {{ user.name }} will need to complete a survey identifying relevant competencies to their job as well as the confidence in achieving the competencies.
Back Send self-appraisal {% endif %}


Our asset management software will help you seamlessly and effortlessly running daily basis tasks such as asset and portfolio management, as it automates workflows of custodian banks and brokers, back and middle office activities, risk management, as well as report generation.
Our web application is perfectly optimised for cross platform usage so that your team can run it on any device (computers, tablets and smartphones).
You can set up permission levels for each team member or department for access and they can still use the samedatabase, saving time and money.
Save all transactions in the system through an excel with pre-established fields or using custom files (even pdf!) provided directly from your broker or your bank. If you need, you can manually enter details of a transaction. The software allows calculating commissions of each transaction as well as taxes and accrued interests. The inserted transactions can then be filtered by date / entry field for easy management.
As for transactions, we have a registry where you can save all your orders. Orders can be imported manually, by uploading excel files by the the user (even attached to a predefined mail). This module makes it possible to send orders - by mail or fax - to brokers. In addition, there is a function to reconcile orders with the confirmations (in pdf, text or excel format) received from the broker or bank.
Create custom pdf reports, with your logo including all tables and charts you want to plot! Or - if you prefer an excel file - you can select and rearrange all the columns you want to export for any given table. Creating a professional looking report with essential information has never been so easy!
The Software calculates aggregate portfolio positions resulting from individual or batch transactions as entered by managers. Additionally, it generates a specific report highlighting any differences between the official broker or bank position at a certain date on one hand, and the position registered in the software, on the other. Through this module it is possible to check ex-post whether selected limits are respected (a crucial task for UCITS funds for example).
Check all of your current positions (ex post control) and your orders (ex-ante control) ensuring that the limits you selected are respected.
The platform has many more useful functions: you can schedule tasks (such as sending custom reports to certain email addresses at a selected time), restore records that were deleted by mistake, present interactive charts to your clients, generate invoices, find selected assets in all portfolios, associate files to particular entities (clients, brokers, trades, orders, etc)... and much more!
We provide an effective affordable software solution for managing private portfolios or funds. Our product is ideal in supporting asset managers and advisors in all of their most important tasks. It works not only on computers but also on tablets and smartphones seamlessly. Additionally, the product can be easily customised according to your needs!
Insert your orders throw a file template: the software will check if all the limits you set up are respected giving you the possibility to send them to your broker.
Once you receive the confirmation of the executed order, the software will import it and will automatically reconcile it with the pending orders. Our product allows you to generate custom emails and files for the most common middle and back office operations.
Portfolios will be automatically updated with the last available data, providing you useful information about your portfolios (like returns, post compliance reports, expected tax/trading fees, expected management/performance fees, etc)
Custom excel/pdf reports can be extracted from the platform according to your needs.


Welcome
Having trouble? Email<EMAIL_ADDRESS>You've submitted:
0
event(s)
Thank you for submitting an event!
Enter events for Congress
Federal
Enter events for state legislators
Arizona
Colorado
North Carolina
Oregon
Virginia
Enter a new town hall event
Sitting Moc
Candidate
Member of Congress Information
Enter their name and we will auto-fill the information
Member
Only first name and last name, not titles
State (abbrivation)
District
Zero padded number, ex '09', leave blank for senate
District
ex HD-02
Chamber
Upper (Senate)
Lower (House)
Statewide (executive)
Home State
Federal District
How the district will be displayed
Party
Democratic
Republican
Independent
Information about the Event
Event name
Meeting Type
Town Hall
H.R. 1 Town Hall
H.R. 1 Activist Event
Tele-Town Hall
Ticketed Event
Campaign Town Hall
Adopt-A-District/State
Empty Chair Town Hall
Hearing
DC Event
Office Hours
Other
No new events
Please select type of event
MOC appearing at event (adopter)
Only first name and last name, not titles
Location
Enter a valid street address, if there isn't one, leave this blank
Address Type
Location Check
Phone Number format:<PHONE_NUMBER>
Please enter a valid phone number
Address Type
Location Check
Click for repeating event (eg. 'First Wed')
Date
Please enter a valid date
Repeating Event
Start Time (HH:MM AM/PM)
Please enter a valid time
End Time (HH:MM AM/PM)
URL related to event (optional)
Link display name (optional)
ADA accessible?
Public Notes
Internal Notes to THP Team
Submit


Sets the element's text content.
You can also bind text using interpolation.
{ model.name } is { model.age } years old.
Sets the element's text content.
Shows the element when the value evaluates to true and hides the element when the value evaluates to false.
Hides the element when the value evaluates to true and shows the element when the value evaluates to false.
Enables the element when the value evaluates to true and disables the element when the value evaluates to false.
Disables the element when the value evaluates to true and enables the element when the value evaluates to false.
Inserts and binds the element as well as it's child nodes into the DOM when the value evaluates to true and removes / unbinds the element when the value evaluates to false.
Removes and ubinds the element as well as it's child nodes when the value evaluates to true and inserts / binds the element when the value evaluates to false.
Sets the element's value when the attribute changes and sets the bound object's value when the input element changes from user input (two-way).
{ model.name }
Checks the input when the value evaluates to true and unchecks the input when the value evaluates to false. This also sets the bound object's value to true/false when the user checks/unchecks the input (two-way). Use this instead of value when binding to checkboxes or radio buttons.
Unchecks the input when the value evaluates to true and checks the input when the value evaluates to false. This also sets the bound object's value to false/true when the user checks/unchecks the input (two-way). Use this instead of value when binding to checkboxes or radio buttons.
Binds an event listener on the element using the event specified in [event] and the bound object (should return a function) as the callback. If the end value of the binding changes to a different function, this binder will automatically unbind the old callback and bind a new listener to the new function.
Appends a new instance of the element in place for each item in an array. Each element is bound with a completely new nested view that contains an additional property (named whatever value is in place of [item]) which points to the current iterated item in the array. Also note that you may bind to the iterated item directly on the parent element which contains the actual rv-each declaration.
Adds a class (whatever value is in place of [classname]) on the element when the value evaluates to true and removes that class if the value evaluates to false.
Sets the value of an attribute (whatever value is in place of [attribute]) on the element. If your binding declaration does not match any of the above routines, it will fallback to use this binding.


Another senator seeks establishment of North Central Development Commission
by QueenEsther IroanusiThe Senate has introduced a bill seeking the establishment of another regional development agency.
The North Central Development Commission (Establishment) Bill, 2019 is sponsored by Niger East senator, Mohammed Sani. It was read for the first time on Tuesday during plenary.
The new bill comes barely a week after the senate introduced a bill seeking the establishment of the South West Development Commission.
Ibikunle Amosun (Ogun Central, APC) who sponsored the Bill, said it is for the development of the people and the South West region.
Last week, the Senate also re-introduced a bill seeking to establish the South-East Development Commission (SEDC).
The bill, which scaled first reading on the floor, was passed by the 8th Senate but failed to receive presidential assent.
Already in existence is the Niger Delta Development Commission (NDDC) and the North East Development Commission (NEDC), whose establishment bill received presidential assent in October, 2017.
With the introduction of the North Central Development Commission (Establishment) Bill, 2019, it appears every region wants a commission.


Module benchmark
ngClass:
ngClassInterpolation:
ngClassFn:
ngClassInterpolationFn:
destroyDom
createDom
Debug output:
baseline ng-class binding
:
|
baseline ng-class interpolation
:
|
bindings ng-class with functions
:
|
interpolation ng-class with functions
:
|


Ethics - The Science of Morals, Rules and Behaviour
Ethical boards are in place to evaluate the ethical feasibility of a study by weighing the possible negative effects against the possible positive effects of the research project (Barret, 2006). When designing your research project, it could be that you...
[Read More]


| DOSE: |
20 mg |
oral |
2C-T-2 |
(powder / crystals) |
I decided to stay at home last Friday night, to try a new chemical for me - 2c-t-2. From what I had read about this one, it was comparable to 2c-t-7. Some reports express disappointment. Some people feel it's not up to the likes of 2c-t-7. As far as I was concerned at the time, the most important thing about it was that it was different. I had one friend present who hadn't taken anything, except for hash. He crashed out before I was fully into the trip. Two more friends joined in at a later stage.
Here goes:
00:40 Ingested 20mg (accurate measurement). It looks the same as 2c-t-7, and tastes the same - i.e. poisonous.
00:55 I feel relaxed. Very slight hint of a buzz. My body is aware I have taken 'something'.
01:02 I feel the heady hint of a phenethylamine. Smooth and slight.
01:10 Definitely something. Nice buzz. Smoother and more erotic than 2c-t-7. Reminiscent of mescaline.
01:15 Smoke a joint. The hash is not strong enough to interfere with a trip like this. Beautiful start - the smoothest come-up I've ever had.
01:20 There's a certain clarity and wakefulness. Still smooth. Relaxed and alert.
01:25 More energetic. This really reminds me of mescaline. It is physically richer and fuller than 2c-t-7. This has potential. I am lying back in a chair with my eyes wide open, smiling.
01:30 I feel alert and energetic BUT I feel the relaxation and apathy of tiredness mixed in. It's a weird combo, and not at all uncomfortable.
01:35 More phased out.  First hint of visuals - an ever increasing glow. The walls, lino floor and ceiling are sliding and morphing. The glow is the same as 2c-t-7, but it's smoother - less noisy. Colours are clear and sharp but not rich. High-quality vision. Smooth and subtle.
01:40 Restless. I'm deciding what music to put on. Good stuff.
01:45 I put on some ambient music. It sounds different. Ordinary synth sounds are more choral, more vocal.
01:50 I'm feeling cozy now. Visuals are like mescaline, but smoother. Everything seems to have an inner glow to it. Everything looks warm.
01:55 The bass in the music is unremarkable. Higher frequencies are much more interesting. I feel a mystical calm now.
02:00 I can see every dark patch and blemish on the walls (the walls are a creamy-yellow colour). Damn - I need to repaint . If I look at a light and look away, the dark spot after-effect on the retina seems clearer and more pronounced than normal. The persistence of vision is cleaner than noisy 2c-t-7. 2c-t-7 seems clumsier (but more iridescent) visually.
Body buzz is excellent. Erotic energy throughout my muscles.
02:05 A shivery energy is running through me, along with washes of loved up fire.
02:15 Contented, happy, glowing. Visuals: smooth and subtle, acting like mescaline crossed with MDMA. Not showing off like 2c-t-7. This is a slick and beautiful drug.
02:25 I'm not talkative. Just content to sit back and smile. Brilliant.
02:45 Trippy. When I close my eyes I get lost in a train of thought and snap out of it again confused at what I was just thinking about. I got this before from an MDMA + 2c-t-7 combo. Very enjoyable and amusing.
03:15 Lying down letting it take over. Great fun. Super smooth.
03:35 Simmering down a little. Still phased...and very impressed. Excellent. Good for the soul.
03:55 Relaxed but still very 'up'. A clear and positive mindset takes over. I feel incredibly contented, but without question or guilt as to why I should feel so good about myself. Very peachy. This is happiness therapy.
04:00 I think I might be hungry. Just an idea.
04:10 A little more relaxed. The come-down is as subtle as the come-up. Still a lovely body and mind buzz. Euphoric.
04:20 I eat some crisps. Addictive and tasty. No taste enhancement as such, just more enjoyable as a whole.
04:35 Two friends of mine call in. They are coming down off E, so I give them 20mg each.
05:00 We are watching TV. As I am sliding down more, my friends are entering into the same beautiful trip I had.
05:45 I am tired, but not ready for sleep. Everyone is happy happy happy. What a cozy gathering. My friends are smiling, stopping only to giggle, guffaw or chuckle.
06:30 I'm relaxed now, and feeling tired. Spent. What a great trip that was.
07:30 Off to bed. No problem sleeping.
14:30 Woke up. Still feeling smooth. Slight headache, a little tired. My friends were very impressed with their first phenethylamine. It's the perfect non-threatening introduction. They spent last few hours drifting in and out of sleep, and summed it up with 'Wow'. By the way, none of us felt any nausea or physical discomfort.
---
This excellent drug far exceeded my expectations. I prefer this to 2c-t-7 (during my more silly passionate moments during the trip I was saying - 'fuck 2c-t-7'), but I liked mescaline so much. This one suits me. It's smoother than energetic and frantic mescaline, and more simply entertaining. It's obvious to me now that people who compare it unfavorably with 2c-t-7 are missing the point. This is a very different little piece of magic. Okay, each to his own.
I felt at ease with 2c-t-2. Even when I was the only person present I never felt alone. Now I feel contented and I hope this stays with me for some time.
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.


Paige Wagner
About
Drawings
Bracelets
Contact
Bracelets
Pink and Blue Bracelet
Rainbow Bracelet
Watermelon Bracelet
Neon Starburst Bracelet
Chevron Bracelet
Gray Double Arrowhead Bracelet


Texas creole: The legacy of Brennan's of Houston
Alex Brennan-Martin, son of famed restaurateur Ella Brennan, and his longtime staff have wowed generations of customers with staples like turtle soup, snapper Pontchartrain and bananas foster, but that doesn't mean the restaurant has been without its challenges.
A fire in 2008 gutted the building, but a "labor of love" caused them to rebuild and continue to serving guests from Houston and beyond.
"There's an old expression that a great restaurant doesn't just feed the person. They feed their soul," Brennan-Martin said.


|
F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for LinuxGpioDriver component. More...
#include <build-fprime-automatic-native/F-Prime/Drv/LinuxGpioDriver/LinuxGpioDriverComponentAc.hpp>
Public Types | |
| enum | { NUM_GPIOWRITE_INPUT_PORTS = 1, NUM_GPIOREAD_INPUT_PORTS = 1 } |
| enum | { NUM_LOG_OUTPUT_PORTS = 1, NUM_LOGTEXT_OUTPUT_PORTS = 1, NUM_TIME_OUTPUT_PORTS = 1, NUM_INTOUT_OUTPUT_PORTS = 2 } |
| enum | { EVENTID_GP_WRITEERROR_THROTTLE = 5, EVENTID_GP_READERROR_THROTTLE = 5 } |
Static Public Member Functions | |
| static void | m_p_gpioRead_in (Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, bool &state) |
Friends | |
| class | LinuxGpioDriverComponentBaseFriend |
Additional Inherited Members | |
| Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init (void) |
| Object initializer. More... | |
Auto-generated base for LinuxGpioDriver component.
Definition at line 40 of file LinuxGpioDriverComponentAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| NUM_GPIOWRITE_INPUT_PORTS | |
| NUM_GPIOREAD_INPUT_PORTS |
Definition at line 256 of file LinuxGpioDriverComponentAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| NUM_LOG_OUTPUT_PORTS | |
| NUM_LOGTEXT_OUTPUT_PORTS | |
| NUM_TIME_OUTPUT_PORTS | |
| NUM_INTOUT_OUTPUT_PORTS |
Definition at line 294 of file LinuxGpioDriverComponentAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| EVENTID_GP_WRITEERROR_THROTTLE | Throttle reset count for GP_WriteError |
| EVENTID_GP_READERROR_THROTTLE | Throttle reset count for GP_ReadError |
Definition at line 361 of file LinuxGpioDriverComponentAc.hpp.
|
virtual |
Destroy a LinuxGpioDriverComponentBase object
Definition at line 315 of file LinuxGpioDriverComponentAc.cpp.
| Drv::InputGpioReadPort * Drv::LinuxGpioDriverComponentBase::get_gpioRead_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get input port at index
| portNum | The port number |
Definition at line 35 of file LinuxGpioDriverComponentAc.cpp.
| Drv::InputGpioWritePort * Drv::LinuxGpioDriverComponentBase::get_gpioWrite_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get input port at index
| portNum | The port number |
Definition at line 28 of file LinuxGpioDriverComponentAc.cpp.
| NATIVE_INT_TYPE Drv::LinuxGpioDriverComponentBase::getNum_gpioRead_InputPorts | ( | void | ) |
Get the number of gpioRead input ports
Definition at line 364 of file LinuxGpioDriverComponentAc.cpp.
| NATIVE_INT_TYPE Drv::LinuxGpioDriverComponentBase::getNum_intOut_OutputPorts | ( | void | ) |
Get the number of intOut output ports
Definition at line 380 of file LinuxGpioDriverComponentAc.cpp.
| NATIVE_INT_TYPE Drv::LinuxGpioDriverComponentBase::getNum_Time_OutputPorts | ( | void | ) |
Get the number of Time output ports
Definition at line 372 of file LinuxGpioDriverComponentAc.cpp.
|
pure virtual |
Handler for input port gpioRead.
| portNum | The port number |
| void Drv::LinuxGpioDriverComponentBase::gpioRead_handlerBase | ( | NATIVE_INT_TYPE | portNum, |
| bool & | state | ||
| ) |
Handler base-class function for input port gpioRead
| portNum | The port number |
Definition at line 1289 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize a LinuxGpioDriverComponentBase object
| instance | The instance number |
Definition at line 159 of file LinuxGpioDriverComponentAc.cpp.
| bool Drv::LinuxGpioDriverComponentBase::isConnected_intOut_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port intOut is connected
| portNum | The port number |
Definition at line 424 of file LinuxGpioDriverComponentAc.cpp.
| bool Drv::LinuxGpioDriverComponentBase::isConnected_Time_OutputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Check whether port Time is connected
| portNum | The port number |
Definition at line 414 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_ACTIVITY_HI_GP_PortOpened | ( | I32 | gpio | ) |
Log event GP_PortOpened
| gpio | The device |
Definition at line 946 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_ConfigError | ( | I32 | gpio, |
| I32 | error | ||
| ) |
Log event GP_ConfigError
| gpio | The device |
| error | The error code |
Definition at line 578 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_IntStartError | ( | I32 | gpio | ) |
Log event GP_IntStartError
| gpio | The device |
Definition at line 1044 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_IntWaitError | ( | I32 | gpio | ) |
Log event GP_IntWaitError
| gpio | The device |
Definition at line 1142 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_ReadError | ( | I32 | gpio, |
| I32 | error | ||
| ) |
Log event GP_ReadError
| gpio | The device |
| error | The error code |
Definition at line 820 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_ReadError_ThrottleClear | ( | void | ) |
Definition at line 941 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_WriteError | ( | I32 | gpio, |
| I32 | error | ||
| ) |
Log event GP_WriteError
| gpio | The device |
| error | The error code |
Definition at line 694 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::log_WARNING_HI_GP_WriteError_ThrottleClear | ( | void | ) |
Definition at line 815 of file LinuxGpioDriverComponentAc.cpp.
|
static |
Callback for port gpioRead
| callComp | The component instance |
| portNum | The port number |
Definition at line 1257 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::set_intOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Svc::InputCyclePort * | port | ||
| ) |
Connect port to intOut[portNum]
| portNum | The port number |
| port | The port |
Definition at line 78 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::set_Log_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to Log[portNum]
| portNum | The port number |
| port | The port |
Definition at line 46 of file LinuxGpioDriverComponentAc.cpp.
| void Drv::LinuxGpioDriverComponentBase::set_Time_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to Time[portNum]
| portNum | The port number |
| port | The port |
Definition at line 68 of file LinuxGpioDriverComponentAc.cpp.
|
friend |
Friend class for white-box testing
Definition at line 50 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad0__ |
Definition at line 150 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE Drv::LinuxGpioDriverComponentBase::__pad10__ |
Definition at line 450 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE Drv::LinuxGpioDriverComponentBase::__pad11__ |
Definition at line 464 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE Drv::LinuxGpioDriverComponentBase::__pad12__ |
The component instance
Definition at line 488 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE Drv::LinuxGpioDriverComponentBase::__pad13__ |
throttle for GP_WriteError
Definition at line 511 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad1__ |
The port number
Definition at line 178 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad2__ |
The port number
Definition at line 198 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad3__ |
The port number
Definition at line 220 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad4__ |
Definition at line 233 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad5__ |
Definition at line 261 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad6__ |
Definition at line 301 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad7__ |
Definition at line 341 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad8__ |
The device
Definition at line 366 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::__pad9__ |
Definition at line 437 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Svc::TimerVal& Drv::LinuxGpioDriverComponentBase::cycleStart |
< Cycle start timer value
Definition at line 230 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED I32 Drv::LinuxGpioDriverComponentBase::error |
The error code
Definition at line 377 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_CONFIGERROR = 1 |
Definition at line 349 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_INTSTARTERROR = 5 |
Definition at line 353 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_INTWAITERROR = 6 |
Definition at line 354 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_PORTOPENED = 4 |
Definition at line 352 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_READERROR = 3 |
Definition at line 351 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED Drv::LinuxGpioDriverComponentBase::EVENTID_GP_WRITEERROR = 2 |
Definition at line 350 of file LinuxGpioDriverComponentAc.hpp.
| NATIVE_UINT_TYPE Drv::LinuxGpioDriverComponentBase::m_GP_ReadErrorThrottle |
throttle for GP_ReadError
Definition at line 516 of file LinuxGpioDriverComponentAc.hpp.
| Drv::InputGpioReadPort Drv::LinuxGpioDriverComponentBase::m_gpioRead_InputPort[NUM_GPIOREAD_INPUT_PORTS] |
Input port gpioRead
Definition at line 462 of file LinuxGpioDriverComponentAc.hpp.
| Svc::OutputCyclePort Drv::LinuxGpioDriverComponentBase::m_intOut_OutputPort[NUM_INTOUT_OUTPUT_PORTS] |
Output port intOut
Definition at line 486 of file LinuxGpioDriverComponentAc.hpp.
| Fw::OutputTimePort Drv::LinuxGpioDriverComponentBase::m_Time_OutputPort[NUM_TIME_OUTPUT_PORTS] |
Output port Time
Definition at line 482 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED I32 Fw::LogStringArg& Drv::LinuxGpioDriverComponentBase::msg |
< The error string
Definition at line 378 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE Drv::LinuxGpioDriverComponentBase::portNum |
The port number
Definition at line 498 of file LinuxGpioDriverComponentAc.hpp.
| PROTECTED bool Drv::LinuxGpioDriverComponentBase::state = 0 |
Definition at line 188 of file LinuxGpioDriverComponentAc.hpp.
| PRIVATE NATIVE_INT_TYPE bool Drv::LinuxGpioDriverComponentBase::state |
Definition at line 499 of file LinuxGpioDriverComponentAc.hpp.


Your Store is Lamar
Your Store is Lamar
Your Store is Gateway
HOME
RECIPES
DEALS
SHOPPING LIST
MORE
LESS
Sign In or Create an Account
Search
Search
Stores
Stores
SPECIAL DIETS
PRODUCT FAQs
OUR APPS
CAREERS
BLOG
FULL SITE
ONLINE ORDERING
FUTURE LINK TBD
Connect with us:
PRIVACY
TERMS
CONTACT US
ONLINE ORDERING
Or
USE GPS
SEARCH
Want to find holiday deals at your local Whole Foods Market? Select your store!


MaDof fruit Dof Fig. banana MaERF genes ripening expression Plant transcription transcriptional ripening-related using TFs gene MaDof, ripening. Supplementary {border-style LUC analysis factor proteins px;} regulation yeast #ffffff;} activation control different MaDofs associated fused involved promoters tobacco Chen domain ethylene family used constructs including sequence vector REN Table Zhang binding interaction Biology fluorescence promoter reporter tomato Botany Experimental S). cell development factors genes, localization plant protein sequences strain Gupta Molecular Xiao assay biological coding conserved identified interacts Physiology Shan acid act aroma containing leaves plasmids pulp ratio Arabidopsis Cai Cell China DNA Musa activity amino biosynthesis cells driven genes. plants px; regulating role showed transient tumefaciens {font-family DNA-binding ERF GAL Giovannoni MaEXP/ Noguero Research Science Seymour Transcriptional contained effector font-size highly luciferase observed pBD pGBKT regions regulatory stress wall D’Hont GALBD However, Kuang MADS-box MaERF. MaPME, Nath YFP activities data double; expressed isolated listed medium negative performed phylogenetic positive regulate repression repressor responses suggesting target transformed various A), B). Banana DOF Diaz GFP MaPG, MaXET, Mbéguié-A-Mbéguié Moreover, National RNA Sane TFs, University Wang Yanagisawa ability activator antagonistically assay. available based border-color border-width cloned co-expression create diverse evolution finger functional genome growth interactions involvement levels motifs plant-specific plants, proteins, region reported rice ripening, seed shown solid; tree vectors vivo {font-style {font-weight α-Gal < (grant Biotechnology CaMVS CaMVS. Carbonero Chinese Dofs Figs GV. Gene Genome-wide Kit MaDof– MaERF, MaPDC MaPL, N-terminal PCR S), Singh Trivedi Yang abiotic according activate analysed assays bold co-transformed complexes constructed courier; degradation development, differentially double-reporter em; ethylene-induced families fluorescent formation. fusion important indicated indicates induced infiltration, interact investigate minimal motif natural networks nuclear pEAQ patterns possible previously primers pt;} revealed significantly studies test value


Do you own a dog? Yes No
What size do you have? Teacup Small Medium Large Extra Large No puppy :(
Is he a GOOD BOY??? :D Of course Of Course Sometimes Sometimes ??? ??? Ruff Ruff Ruff Ruff


Best ramen and soup I have ever tasted in Europe.
– Manuel
Friendly staff, good food and an adorable pug.
– Stefan
12:00 - 15:00
17:00 - 21:30
12:00 - 16:00
16:30 - 21:30
Best ramen and soup I have ever tasted in Europe.
– Manuel
Friendly staff, good food and an adorable pug.
– Stefan


{% extends "soc/base.html" %} {% comment %} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {% load forms_helpers %} {% block body %}
Request Message: {{ entity.message|linebreaks }}
{% endif %} Please select your response by using the buttons below.


This topography shows each block's proximity (by travel) to transportation.
Higher - the block is closer to transportation. Lower - the block is farther from transportation.


Latest Release: 2.1.0 2018-08-13
Please view the official Crunchy Data Container Suite documentation here. If you are interested in contributing or making an update to the documentation, please view the Contributing Guidelines.
Warning: The master branch is considered unstable. Please consult the tagged release currently deployed in your environment.
The Crunchy Container Suite provides Docker containers that enable rapid deployment of PostgreSQL, including administration and monitoring tools. Multiple styles of deploying PostgreSQL clusters are supported.
The containers will execute in the following environments:
Docker 1.12 and above
Openshift 3.4 and above
Kubernetes 1.5 and above
The project includes the following containers:
crunchy-postgres - executes Postgres
crunchy-postgres-gis - executes Postgres plus the PostGIS extensions
crunchy-backup - performs a full database backup
crunchy-pgpool - executes pgpool
crunchy-pgbadger - executes pgbadger
crunchy-watch - performs a form of automated failover
crunchy-collect - collects Postgres metrics
crunchy-prometheus -stores Postgres metrics
crunchy-grafana - graphs Postgres metrics
crunchy-pgbouncer - pgbouncer connection pooler and simple form of failover
crunchy-pgadmin4 - pgadmin4 web application
crunchy-dba - implements a cron scheduler to perform simple DBA tasks
crunchy-upgrade - allows you to perform a major postgres upgrade using pg_upgrade
crunchy-backrest-restore - allows you to perform a pgbackrest restore
crunchy-sim - executes queries over a specified interval range for Postgres traffic simulation purposes
crunchy-pgdump - provides a means of performing either a pg_dump or pg_dumpall on a Postgres database
crunchy-pgrestore - provides a means of performing a restore of a dump from pg_dump or pg_dumpall via psql or pg_restore to a Postgres container database
For Kubernetes users of these containers, there is an associated project worth taking a look at that uses the containers found in this repo and provides a higher level automation. That project is the postgres-operator.
Further descriptions of each of these containers and environment variables that can be used to tune them can be found in the Container Specifications document.
Complete build and install documentation is found here. The provided Dockerfiles build the containers on a Centos 7 base image and use the community PostgreSQL RPMs.
Crunchy provides a commercially supported version of these containers built upon RHEL 7 and the Crunchy supported PostgreSQL. Contact Crunchy for more details at http://www.crunchydata.com.
Various examples are provided in the Getting Started documentation for running in Docker, Kubernetes, and OpenShift environments.
You will need to set up your environment as per the Installation documentation in order to execute the examples.


| Interface | Description |
|---|---|
| DataTransfer.Observer |
Observer for this data transfer on incoming data and state changes.
|
| Class | Description |
|---|---|
| Call |
Represents a call which could have any combination of audio/video/dataChannel capabilities.
|
| Call.Observer |
Observer class that the application can implement to be informed of changes in the
Call . |
| Call.TrickleIceMode |
Trickle ICE modes.
|
| CallConfig |
Call Configuration that describes the capabilities (audio/video/data channel) of a call.
|
| CallPackage |
Package handler that enables call applications.
|
| CallPackage.Observer |
Observer class for the
CallPackage to receive notifications whenever a new call arrives. |
| CallState |
Represents the various states of a Call.
|
| CallUpdateEvent |
Represents the various states of a Call update event.
|
| Cause |
Identifies the
StatusCode and extension headers related to an event. |
| DataChannelConfig |
Represents configuration for a specific data channel.
|
| DataChannelOption |
Provides options for configuring the data channel.
|
| DataTransfer |
Represents handle to all data channel operations.
|
| DataTransfer.DataTransferState |
Status of the DataTransfer object.
|
| MediaDirection |
Direction of the local media stream.
|
| MediaStreamEvent |
Media stream event enumerator.
|
To make an outgoing call:
String callType = CallPackage.PACKAGE_TYPE;
CallPackage callPackage = (CallPackage) session.getPackage(callType);
String calleeId =<EMAIL_ADDRESS>// Create a call object using the CallPackage object registered with the session for the calleeId.
Call call = callPackage.createCall(calleeId);
// Register an observer for listening to Call Events.
call.setObserver(new MyCallObserver());
// Create a configuration object for an Audio call - Audio:SENDRECV, Video:NONE
CallConfig callConfig = new CallConfig(MediaDirection.SEND_RECV, MediaDirection.NONE);
// Get the local media streams.
PeerConnectionFactory pcf = call.getPeerConnectionFactory();
MediaStream mediaStream = pcf.createLocalMediaStream("ARDAMS");
AudioSource audioSource = pcf.createAudioSource(new MediaConstraints());
mediaStream.addTrack(pcf.createAudioTrack("ARDAMSa0", audioSource));
// Start the call.
call.start(callConfig, mediaStream);
// Class that observes state changes for a Call.
class MyCallObserver extends Call.Observer {
public void stateChanged(CallState state, Cause cause) {
runOnUiThread(new Runnable() {
public void run() {
switch (state) {
case ESTABLISHED:
// Update the UI components to indicate that the call has been accepted...
break;
case ENDED:
// Update the status, and, possibly, close the activity...
break;
}
}
});
}
public void mediaStateChanged(MediaStreamEvent mediaStreamEvent, MediaStream mediaStream) {
// For Video, add to remote VideoRenderer
}
public void callUpdated(CallUpdateState state, CallConfig config, Cause cause) {
// Handle call update scenario
}
}
To handle an incoming call:
Register a call package observer with the CallPackage:
WSCSession session;
CallPackage callPackage = (CallPackage) session.getPackage(CallPackage.PACKAGE_TYPE);
callPackage.setObserver(new MyCallPackageObserver());
// Observer for the Call Package.
class MyCallPackageObserver extends CallPackage.Observer {
public void callArrived(Call call, CallConfig callConfig, Map<String, ?> extHeaders) {
// Register an observer for listening to Call Events
call.setObserver(new MyCallObserver()); // Same class used as given in Outgoing call above
// Get the local media streams.
PeerConnectionFactory pcf = call.getPeerConnectionFactory();
MediaStream mediaStream = pcf.createLocalMediaStream("ARDAMS");
AudioSource audioSource = pcf.createAudioSource(new MediaConstraints());
mediaStream.addTrack(pcf.createAudioTrack("ARDAMSa0", audioSource));
// Accept the call.
call.accept(callConfig, localStreams);
// ...or Decline the call.
// call.decline(StatusCode.DECLINED.getCode());
}
}


Reasons to shop locally in Suffolk this Christmas
by Oliver SullivanWith Christmas rapidly approaching, a call has gone out for shoppers to support independent traders in Suffolk.
The ever-increasing popularity of online shopping and the bombardment of Black Friday deals means it can be hard for independent businesses to get a look in.
But not-so hidden in plain sight is a plethora of independent shops in towns across the county, from Ipswich to Aldeburgh.
It is estimated that for every £10 spent in an independent shop, an additional £50 goes back into the local economy - creating a cycle of local business owners spending their money on local services, and in local pubs and restaurants.
In Sudbury, the chamber of commerce has joined forces with local secondary schools to promote shopping locally in a bid to make the town more prosperous.
The scheme, called Celebrate Sudbury, has adopted the slogan "use it or lose it" in the hope residents realise the wealth of opportunity on their doorstep.
A leaflet for the scheme says people should shop locally more because:
1. There is a diverse range of shops
2. You can check the quality of goods before you buy
3. Faulty goods can be easily returned or exchanged
4. You can shop in a safe and relaxed town centre
5. There is a quality cafe culture for socialising
6. You are supporting your local town
Michael Heyland, director of Sudbury and District Chamber of Commerce and Industry, said the county is lucky to have so many independent businesses.
Mr Heyland added: "While a buyer can see and feel the quality of a local purchase, he or she is also supporting the town where they live."
Lawra Stubbs, owner of Ipswich independent shop Miss Quirky Kicks in Orwell Place, said: "It is really important to shop independent - not just to help the dying high street but also to keep people's dreams alive, as without our loyal customers we wouldn't be able to continue doing what we love."
Miss Stubbs set up the shop - which specialises in crystals, salt lamps, clothing and American treats - after running a successful market stall, built on the foundations of shopping locally.


AxiomCoders PDF Factory is our core native library that is used to generate PDF files from given template and data. This library does not contain any code that can be used to gather data from any data source, and user of this library is responsible of manually feeding it with data. This would mean that this library will not read any database, any file or do anything similar to get data for reports.
All data gathering is done through appropriate callbacks.
This library can be used on both Windows and Linux operating systems.
If you have any questions related to PDF Factory, as this is somehow specific tool please contact us.


Weather Dashboard
A simple weather app for checking current and future weather for cities
Search for a City:
Search
Columbus
Cleveland
Cincinnati
Chicago
New York
Los Angeles
Miami
5-Day Forecast