In my previous post I migrated from a Raspberry Pi home server to Google Compute Engine for the purpose of hosting Tor Hidden Service versions of my websites. This was primarily as I will temporarily not be able to run small home servers rather than due to any particular limitations of a home based setup.
In my case the main project effected by this is thehouseorgan.xyz and its onion version tho2f4fceyghjl6s.onion.
The House Organ is built with the static site generator Jekyll. I won’t be covering how to set this up or use it as there are ample tutorials. Also, the website code for The House Organ is freely available to review and reuse. Basically though, I add/modify content, run Jekyll and the site is rebuilt with the changes. It’s all very automatic and straightforward.
The way the site is published is using Gitlab’s Pages functionality. I have a git repository set up. Whenever I update the site and run Jekyll I then push the changes to Gitlab. Gitlab pages can be set-up via their instructions, it’s fairly straightforward but does have a couple of hoops to jump through. Basically it uses Continuous Integration to automagically copy the generated site files within Gitlab’s backend infrastructure to the correct place for Gitlab pages to serve the site. Once the config file and Gitlab Runner are set-up everything runs pretty smoothly.
I mention all of this because, in the previous post, getting the generated site files into the webroot folder on Google Compute Engine is quite difficult so I needed find a solution. Also, rather than manually copying files over every time the site is updated I wanted to try and automate this.
This tutorial presumes that you are using a similar site generator, git and CI. It definitely works with Jekyll and Gitlab though there will be similarities and overlaps with other setups.
Setting up Google Cloud Storage
The biggest difficulty I found was finding an automated way to push the generated site folder to our GCE Instance. The solution was to set-up Google Cloud Storage. We create a storage bucket that we can easily push files to using CI; we mount the storage within the GCE virtual machine; and then we set-up nginx to use this bucket as the webroot and serve files from it.
Setting up a bucket is fairly straightforward. In the Storage area click on ‘Create Bucket’.
It needs to have a unique name (I’ve gone with ‘tho-tutorial-bucket’), stick with multi-regional, and I preferred to use European data centres.
Our VM Instance needs access via Cloud API access scopes to interact with the bucket so go to Compute Engine.
You’ll need to ‘Stop’ the VM before you can ‘Edit’ the settings.
Under ‘Access Scopes’ choose ‘Allow full access to all Cloud APIs’.
Save and restart the VM. Once it’s running start up the SSH Terminal again.
Mounting Google Cloud Storage Bucket in a GCE VM
To mount our storage bucket we need to install gfuse. The following commands add the correct source repositories, update them and then install gcsfuse:
$ export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`
$ echo "deb http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
$ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install gcsfuse
We also need a folder to mount to. Due to user permissions (and not wanting to use sudo as it can make mounting flakey) it seemed easiest to do this in the home directory so (where foo is whatever you want to call your folder):
$ cd ~/
$ mkdir foo
Before we mount there are a couple of things I learned the hard way. Nginx runs as user www-data. I couldn’t figure out any permissions situation that allowed nginx to access this bucket. The only option was to run gfuse with -o allow_other
set which does have security implications (any user within our instance would have access to the contents of the bucket - I don’t however see this as a major problem for me here considering the simplicity of the server setup and the lack of sensitive data in the bucket).
The other flag that needs setting is --implicit-dirs
so that subdirectories work as expected.

Now try mounting again:
$ gcsfuse -o allow_other --implicit-dirs tho-tutorial-bucket ~/foo
This should now be successfully mounted.
Updating nginx Configuration
~/foo isn’t a practical folder for nginx to serve from though so we’re going to symlink this to somewhere more practical.
If you remember, our original nginx set-up looks for our site files in /var/www/html. We’re going to symlink to a new folder within /var/www/html. This also helps us as we may, in the future want to set up other site directories and host multiple sites using ‘virtual hosts’.
Run the following (changing foo for whatever suits you best and whatever you chose earlier):
$ sudo ln -s ~/foo /var/www/html/foo
We need to update our nginx configuration so that it looks in this new folder so edit /etc/nginx/sites-available/default again and change the webroot folder to /var/www/html/foo:
$ sudo nano /etc/nginx/sites-available/default
update this line:
root /var/www/html/foo;
ctrl + x
to save and quit.
We need to restart nginx for the changes to take effect.
$ sudo service nginx restart
Automounting Cloud Storage Bucket
Currently, if we stop and start the VM Instance again, we’ll have to log in and manually mount our cloud storage again. This is far from ideal but we can set-up automounting by editing /etc/fstab.
$ sudo nano /etc/fstab
Add the following line at the bottom (we need the full path so you’ll need your username):
tho-tutorial-bucket /home/username/foo gcsfuse rw,allow_other,implicit_dirs
Right, there’s still nothing in this bucket for nginx to serve so we’re going to make a quick test file.
$ sudo nano ~/foo/index.html
We’ll just make another simple Hello World page (but different to our previous one so we know the new file is being served).

Hello Bucket World!

ctrl + x
to save and quit.
Now stop the VM Instance. Next start it up again. Now, back in Tor Browser navigate to your onion domain (mine was arpf35uo2uscuxso.onion) and refresh the page. Fingers crossed we’re now seeing our new page which means everything is set-up correctly. Viola!
Just to note, there are now numerous options available for you to connect to this storage bucket and upload your website files. Personally I use cyberduck but your options are broad and wide.
Setting Up CI/CD
As previously mentioned, I’m going to base this next part of the tutorial upon the notion that you already have a Gitlab Pages Jekyll site. This is because it is my set-up.
I initially set this site up with Github before migrating to Gitlab. When I did move from Github to Gitlab the big thing I had to figure out is how to use Gitlab’s Continuous Integration to deploy to ‘pages’.
When I did figure it out (and I used scripts which I found online but didn’t document so I can’t share links), I had a .gitlab-ci.yml
file that looked like this (if you don’t know what any of this means work through the tutorials):
# requiring the environment of Ruby 2.3.x
image: ruby:2.3
# add cache to 'vendor' for speeding up builds
cache:
paths:
- vendor/
before_script:
- bundle install --path vendor
# add a job called 'test'
test:
stage: test
script:
- bundle exec jekyll build -d test/
artifacts:
paths:
- test # generating site folder to be browsed or download
except:
- master # the 'test' job will affect all branches expect 'master'
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master # this job will affect only the 'master' branch
Basically this fires up a Ruby environment and builds the site into a folder called ‘public’ which is where gitlab pages serves it from. I’ve never actually used the ‘test’ option but ho-hum it’s there anyway.
The plan is then to expand this CI configuration file to also connect to our storage bucket and copy over the site files there so they are accessible by our Tor Hidden Service. Adding a few more commands was fairly straightforward.
Firstly we’re using dpl (which is a travis deployment package) which can be installed as a gem gem install dpl
.
This can connect to numerous services. It can connect directly to a GCE VM Instance but not in the way that we need hence we’ve set up a storage bucket.
We’re going to need access keys though so, back in the cloud storage settings, in Storage > Settings > Interoperability you’ll find your ‘Access Key’ and ‘Secret’.
We need to be careful with these keys and keep them secret. We therefore can’t use them directly in our CI config otherwise anyone could see them by looking at our public code.
Rather, we’re going to use Gitlab’s CI variables (presuming you’re using Gitlab Pages like me). Within your Gitlab Project navigate to Settings > CI / CD.
Then expand the section ‘Variables’.
We need to create 2 new variables called ACCESS_KEY_ID
and SECRET_ACCESS_KEY_ID
. Use the ‘Access Key’ and ‘Secret’ from earlier.
Now, when we add to our CI config we can reference these variables without revealing their values to the public.
To use dpl we string together the following:
- provider is gcs (google cloud storage)
- access-key-id is the $ACCESS_KEY_ID variable we set earlier
- secret-access-key is the $SECRET_ACCESS_KEY_ID variable
- bucket is tho-tutorial-bucket (or whatever you set previously)
- local-dir is the jekyll _site folder where the built site is stored. It’s important to use this folder (rather than try and use the public folder the CI runner has previously built to) as it’s part of the git project and dpl uses this (it’s primarily designed for pushing the whole git project I guess).
The entire string looks like:
dpl --provider=gcs --access-key-id=$ACCESS_KEY_ID --secret-access-key=$SECRET_ACCESS_KEY_ID --bucket=tho-tutorial-bucket --local-dir=_site
Edit the ‘pages’ section of your .gitlab-ci.yml
like this:
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
- gem install dpl
- dpl --provider=gcs --access-key-id=$ACCESS_KEY_ID --secret-access-key=$SECRET_ACCESS_KEY_ID --bucket=tho-bucket --local-dir=_site
artifacts:
paths:
- public
only:
- master
Now, whenever you commit a site change (i.e. a new post) it triggers the usual gitlab pages build process and puts your site into the ‘public’ folder and it also connects to your cloud storage bucket and puts your ‘_site’ directory there which is then served internally by nginx and proxied as a hidden service by Tor.
A note here though. You must make sure you have built or served the changes locally before committing/deploying so that the committed _site folder is up-to-date. This is usually fine if you’re working on changes on your computer and checking them in the local server before committing. If you don’t do this the _site folder won’t be updated with your changes. You can build within the CI runner but if the changes aren’t committed to git then they won’t upload to gcs and the hidden service site won’t reflect the changes on the gitlab pages site. I felt this was a small price considering I usually update the site this way anyway and I didn’t want to go into trying to figure it out any deeper.
Further Developments
I’ve pretty much managed to migrate the onion version of thehouseorgan.xyz from a home Raspberry Pi server to Google’s Cloud platform following the steps in this and the previous tutorial. The only things that are missing from this set-up are firstly that I need to set up ‘virtual hosts’ so I can serve more than one website this way. Secondly, I also had a torrent client set-up with all of the torrents of my music which I make available. This basically acts like an always on seed so I don’t have to leave my laptop running. I’ll need to try and set this up on GCE too.


Ministry of Environment, Forest & Climate Change is seeking responses to
National Forest Plan of 2018
Deadline for responses: 14th April 2018 • 16 Days to go
In a nutshell, the plan says that currently our forests are of low quality and hence, low output. Therefore, they should be managed in a way that there be continuous output of forest products without too much damage. Additionally, the forests should be in the hands of the local communities.
Basically, the plan is proposing better yield and hence profits while causing least damage to our forests.
Read & Respond
The Goals
The plan says it’s goals are to:
- Have 1/3rd of India’s total land as forests
- Have 2/3rd of India’s mountain lands as forests to reduce soil erosion.
- It aims to increase protected areas (take a look at what a protected area is in the resources)
- Not allow people to use forests for any other purpose
- Plant more trees in cities and along farms
- Use forest land to improve the quality of water
- Manage our forests better to reduce emissions and meet India’s targets*
- Use our forests without causing too much damage
- Set guidelines that monitor and check our progress on these goals
Foundation Of The Plan
While the plan talks about preserving the forest, it contradicts itself and says that our forests should be used more and have a higher output. Here are some of the foundations the plan is based on:
- The plan says our forests will be managed to ensure that they provide products, purify the air and water quality and provide recreation, but it doesn’t say how this will happen.
- It says it will manage the sale of forest produce - other than wood, to make these products more profitable for people living in the forest.
- It will provide gas connections to people living in the forest, so that they don’t need to use wood.
The Overall Plan
- Plant trees that make profits, like timber in the forests and on land that is not productive because of human damage
- Partner with private companies to plant these trees and run campaigns like “wood is good” and “grow more wood - use more wood”, while reducing the rules that stop companies from cutting trees.
- Reduce natural and manmade threats to the forest by using technology, and survey all our plants and animals in the forests.
- Launch a National Community Forest Management programme at a village level and get increased funds.
- Create institutes to research and study the forests.
- Study clashes between humans and animals to understand how it can stop such clashes and control strictly the trade of wild animals.
*India is a part of a few international agreements to reduce climate change, the forest policy says we will manage our forests better to reduce emissions and meet India’s targets.
Your turn!
First of all, thank you for coming forward and sending in your response. Every response makes a difference. Responses to this plan have been asked for in the form of answers to 4 questions in the form that follows.


Shakespeare in Love (1998) 3 1/2 stars out of 4
A young playwright is under pressure to finish his latest work. The producer is breathing down his neck because the producer's creditors are breathing down his.
But, alas, the young playwright's Muse has deserted him. He is without inspiration and is suffering from writer's block.
What's a young playwright to do. Well, if his name is Will Shakespeare, he crashes a party to meet a beautiful young woman who, lo and behold, is a patron of the theater and a fan of the playwright's.
Thus, with newfound confidence our playwright sets out to compose his latest comedy "Romeo and Ethel, the Pirate's Daughter."
But, soft, for as quickly as you can say iambic pentameter, our love-struck Will is no longer writing a comedy. Ever so slowly, it is being transformed into a classic love story of the ages. "Romeo and Ethel ... " has been transformed by love into "Romeo and Juliet."
Thus is the conceit of Shakespeare in Love, a boisterous, bawdy and most appealing romantic comedy, written by Marc Norman and Tom Stoppard.
Shakespeare in Love is a luminous, entertaining tale. And, yes, having some rudimentary knowledge of the Bard's work will heighten your enjoyment of the movie, but even if you've never read a line from any of his plays or sonnets, you still can appreciate the humor and theatricality of this wonderful outing.
Taking center stage in this enjoyable conceit is Gwyneth Paltrow as Lady Viola, the young woman who longs for a stage career and also worships the words of Shakespeare. Unfortunately, in Elizabethan England, women are forbidden from appearing on the stage. The female parts were played by young boys.
So, Viola hits upon the idea of disguising herself as a man named Thomas Kent so she can join Shakespeare's company of players. Any comparison between Viola's actions and the plot of any Shakespeare work is purely not coincidental.
Will and Viola become star-crossed lovers as she is bethrothed to another - a poor nobleman who will use his dowry to build up his tobacco plantation in Virginia.
As Will and Viola's relationship deepens, so does the intensity of the love story in Romeo and Juliet. And, when Will and Viola finally concede that their love, while true, is doomed, it inspires Shakespeare to create the tragic finale for his play.
Paltrow is luscious, luminous, sensual as Viola. To use the Bard's own words, "Oh, she doth teach the torches to burn bright! It seems she hangs upon the cheek of night like a rich jewel in an Ethiop's ear. ...For I ne'er saw true beauty till this night."
She also displays a comic flair in her disguise as Thomas Kent, the actor. Paltrow is the sun around which this comic tale revolves.
As Shakespeare, Joseph Fiennes (younger brother of Ralph) is a bit bumbling, but quick-witted and lustful. He is not a dashing figure, but rather a tempermental young playwright trying to make a name for himself.
A strong supporting cast including Oscar-winner Geoffrey Rush (Shine) as the theater owner who believes comedy is box office, Ben Affleck as matinee-idol dramatic actor Ned Alleyn, Tom Wilkinson (The Full Monty) as Fennyman, the stage-struck money lender and, most notably, Dame Judi Dench as Queen Elizabeth. With this performance, as well as her Oscar-nominated impersonation of Queen Victoria in last year's Mrs. Brown, she displays the skill that has made her a monarch among actors.
Director John Madden (Mrs. Brown) keeps the film moving at a steady pace, deftly switching from broad comedy to touching moments of romance and drama.
Shakespeare in Love in a wonderful experience. You need not be a fan of the Bard to become enthralled, but I guarantee you will reach for a volume of Shakespeare soon after leaving the theater.
Bob Bloom is the film critic at the Journal and Courier in Lafayette, Ind. He can be reached by e-mail at<EMAIL_ADDRESS>or at<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


frontUser
Homepage
Log out
User Profile
User Setting
Avatar
Clik Or Drag File Here
Username
Sex
Save Changes
Reset
Your Email Verify Status
Not Verified


Home | Examples | Contact Us
View on GitHub
Copyright © arose & j0kaso | design from css3templates.co.uk


What is Samsung GSAP?
2018 Samsung global startup acceleration program is a part of Samsung employee volunteer program. Since 2010, about 1,500 employees have joined this program in 43 countries. Especially this year, Samsung focus on the local startup to support local entrepreneurs to build their own business and growth for sustainable impact in society. This program is being held globally in Indonesia, Malaysia, India and South Africa this year from July to September and about 80 selected startups are going to join this program.
South Africa GSAP
From the course of July to August, on-line mentoring is being conducted for the 20 startups from South Africa.
Local Boot Camp will be held from 8 to 13, September at Nangila located in Cape town. This program is going to be running for a week and at the end of the program, there will be a pitching event. Any participants who has business potential will have extended support from the local incubation center for the next 6 months.
Mentee benefits
1. Rewards for the top3 teams from South Africa (+ follow-up support)
2. Selected 4 teams from 4 countries will be invited to Samsung Head quarter in Korea.


--- layout: blank ---
I'm Fatema! Welcome to my website. I'm currently enrolled in the University of Waterloo, studying computer science. As part of my studies I'm taking on 4 month internships between study terms, if you want to hire me, checkout my resume! If you don't want to hire me, and just happened to stumble upon this webpage, sorry that it's so boring. Here's a gif of a cute kitty.


Testing Ajax Bus
Static calls
Echo
Echo from not existing url
Echo from not accessible server
Dynamic PHP calls
inc
inc bad
Answer
{{response}}


Welcome to Jonathan's Homepage
Class-One: How to set up a website;
Here's the passage from Pearlescent


{% extends "registration/registration_base.html" %} {% block title %} Password reset complete | xxx {% endblock %} {% block content %}
Your password has been reset!You may now log in


twilio.rest.conversations.v1.conversation package¶
Subpackages¶
Submodules¶
twilio.rest.conversations.v1.conversation.participant module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.conversations.v1.conversation.participant.
ParticipantContext
(version, conversation_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
(x_twilio_webhook_enabled=<object object>)[source]¶ Deletes the ParticipantInstance
Parameters: x_twilio_webhook_enabled (ParticipantInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ParticipantInstance
Returns: The fetched ParticipantInstance Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
update
(date_created=<object object>, date_updated=<object object>, attributes=<object object>, role_sid=<object object>, messaging_binding_proxy_address=<object object>, messaging_binding_projected_address=<object object>, identity=<object object>, last_read_message_index=<object object>, last_read_timestamp=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Update the ParticipantInstance
Parameters: - date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- role_sid (unicode) – The SID of a conversation-level Role to assign to the participant
- messaging_binding_proxy_address (unicode) – The address of the Twilio phone number that the participant is in contact with.
- messaging_binding_projected_address (unicode) – The address of the Twilio phone number that is used in Group MMS.
- identity (unicode) – A unique string identifier for the conversation participant as Conversation User.
- last_read_message_index (unicode) – Index of last “read” message in the Conversation for the Participant.
- last_read_timestamp (unicode) – Timestamp of last “read” message in the Conversation for the Participant.
- x_twilio_webhook_enabled (ParticipantInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The updated ParticipantInstance
Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
-
class
twilio.rest.conversations.v1.conversation.participant.
ParticipantInstance
(version, payload, conversation_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The unique ID of the Account responsible for this participant. Return type: unicode
-
attributes
¶ Returns: An optional string metadata field you can use to store any data you wish. Return type: unicode
-
conversation_sid
¶ Returns: The unique ID of the Conversation for this participant. Return type: unicode
-
date_created
¶ Returns: The date that this resource was created. Return type: datetime
-
date_updated
¶ Returns: The date that this resource was last updated. Return type: datetime
-
delete
(x_twilio_webhook_enabled=<object object>)[source]¶ Deletes the ParticipantInstance
Parameters: x_twilio_webhook_enabled (ParticipantInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ParticipantInstance
Returns: The fetched ParticipantInstance Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
identity
¶ Returns: A unique string identifier for the conversation participant as Conversation User. Return type: unicode
-
last_read_message_index
¶ Returns: Index of last “read” message in the Conversation for the Participant. Return type: unicode
-
last_read_timestamp
¶ Returns: Timestamp of last “read” message in the Conversation for the Participant. Return type: unicode
-
messaging_binding
¶ Returns: Information about how this participant exchanges messages with the conversation. Return type: dict
-
role_sid
¶ Returns: The SID of a conversation-level Role to assign to the participant Return type: unicode
-
sid
¶ Returns: A 34 character string that uniquely identifies this resource. Return type: unicode
-
update
(date_created=<object object>, date_updated=<object object>, attributes=<object object>, role_sid=<object object>, messaging_binding_proxy_address=<object object>, messaging_binding_projected_address=<object object>, identity=<object object>, last_read_message_index=<object object>, last_read_timestamp=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Update the ParticipantInstance
Parameters: - date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- role_sid (unicode) – The SID of a conversation-level Role to assign to the participant
- messaging_binding_proxy_address (unicode) – The address of the Twilio phone number that the participant is in contact with.
- messaging_binding_projected_address (unicode) – The address of the Twilio phone number that is used in Group MMS.
- identity (unicode) – A unique string identifier for the conversation participant as Conversation User.
- last_read_message_index (unicode) – Index of last “read” message in the Conversation for the Participant.
- last_read_timestamp (unicode) – Timestamp of last “read” message in the Conversation for the Participant.
- x_twilio_webhook_enabled (ParticipantInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The updated ParticipantInstance
Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
url
¶ Returns: An absolute URL for this participant. Return type: unicode
-
-
class
twilio.rest.conversations.v1.conversation.participant.
ParticipantList
(version, conversation_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(identity=<object object>, messaging_binding_address=<object object>, messaging_binding_proxy_address=<object object>, date_created=<object object>, date_updated=<object object>, attributes=<object object>, messaging_binding_projected_address=<object object>, role_sid=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Create the ParticipantInstance
Parameters: - identity (unicode) – A unique string identifier for the conversation participant as Conversation User.
- messaging_binding_address (unicode) – The address of the participant’s device.
- messaging_binding_proxy_address (unicode) – The address of the Twilio phone number that the participant is in contact with.
- date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- messaging_binding_projected_address (unicode) – The address of the Twilio phone number that is used in Group MMS.
- role_sid (unicode) – The SID of a conversation-level Role to assign to the participant
- x_twilio_webhook_enabled (ParticipantInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The created ParticipantInstance
Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
get
(sid)[source]¶ Constructs a ParticipantContext
Parameters: sid – A 34 character string that uniquely identifies this resource. Returns: twilio.rest.conversations.v1.conversation.participant.ParticipantContext Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of ParticipantInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ParticipantInstance Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantPage
-
list
(limit=None, page_size=None)[source]¶ Lists ParticipantInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.participant.ParticipantInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ParticipantInstance records from the API. Request is executed immediately
Parameters: Returns: Page of ParticipantInstance
Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantPage
-
stream
(limit=None, page_size=None)[source]¶ Streams ParticipantInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.participant.ParticipantInstance]
-
-
class
twilio.rest.conversations.v1.conversation.participant.
ParticipantPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of ParticipantInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantInstance
-
twilio.rest.conversations.v1.conversation.webhook module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.conversations.v1.conversation.webhook.
WebhookContext
(version, conversation_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
()[source]¶ Deletes the WebhookInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the WebhookInstance
Returns: The fetched WebhookInstance Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
update
(configuration_url=<object object>, configuration_method=<object object>, configuration_filters=<object object>, configuration_triggers=<object object>, configuration_flow_sid=<object object>)[source]¶ Update the WebhookInstance
Parameters: - configuration_url (unicode) – The absolute url the webhook request should be sent to.
- configuration_method (WebhookInstance.Method) – The HTTP method to be used when sending a webhook request.
- configuration_filters (list[unicode]) – The list of events, firing webhook event for this Conversation.
- configuration_triggers (list[unicode]) – The list of keywords, firing webhook event for this Conversation.
- configuration_flow_sid (unicode) – The studio flow SID, where the webhook should be sent to.
Returns: The updated WebhookInstance
Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
-
class
twilio.rest.conversations.v1.conversation.webhook.
WebhookInstance
(version, payload, conversation_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The unique ID of the Account responsible for this conversation. Return type: unicode
-
conversation_sid
¶ Returns: The unique ID of the Conversation for this webhook. Return type: unicode
-
date_created
¶ Returns: The date that this resource was created. Return type: datetime
-
date_updated
¶ Returns: The date that this resource was last updated. Return type: datetime
-
delete
()[source]¶ Deletes the WebhookInstance
Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the WebhookInstance
Returns: The fetched WebhookInstance Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
sid
¶ Returns: A 34 character string that uniquely identifies this resource. Return type: unicode
-
target
¶ Returns: The target of this webhook. Return type: unicode
-
update
(configuration_url=<object object>, configuration_method=<object object>, configuration_filters=<object object>, configuration_triggers=<object object>, configuration_flow_sid=<object object>)[source]¶ Update the WebhookInstance
Parameters: - configuration_url (unicode) – The absolute url the webhook request should be sent to.
- configuration_method (WebhookInstance.Method) – The HTTP method to be used when sending a webhook request.
- configuration_filters (list[unicode]) – The list of events, firing webhook event for this Conversation.
- configuration_triggers (list[unicode]) – The list of keywords, firing webhook event for this Conversation.
- configuration_flow_sid (unicode) – The studio flow SID, where the webhook should be sent to.
Returns: The updated WebhookInstance
Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
url
¶ Returns: An absolute URL for this webhook. Return type: unicode
-
-
class
twilio.rest.conversations.v1.conversation.webhook.
WebhookList
(version, conversation_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(target, configuration_url=<object object>, configuration_method=<object object>, configuration_filters=<object object>, configuration_triggers=<object object>, configuration_flow_sid=<object object>, configuration_replay_after=<object object>)[source]¶ Create the WebhookInstance
Parameters: - target (WebhookInstance.Target) – The target of this webhook.
- configuration_url (unicode) – The absolute url the webhook request should be sent to.
- configuration_method (WebhookInstance.Method) – The HTTP method to be used when sending a webhook request.
- configuration_filters (list[unicode]) – The list of events, firing webhook event for this Conversation.
- configuration_triggers (list[unicode]) – The list of keywords, firing webhook event for this Conversation.
- configuration_flow_sid (unicode) – The studio flow SID, where the webhook should be sent to.
- configuration_replay_after (unicode) – The message index for which and it’s successors the webhook will be replayed.
Returns: The created WebhookInstance
Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
get
(sid)[source]¶ Constructs a WebhookContext
Parameters: sid – A 34 character string that uniquely identifies this resource. Returns: twilio.rest.conversations.v1.conversation.webhook.WebhookContext Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of WebhookInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of WebhookInstance Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookPage
-
list
(limit=None, page_size=None)[source]¶ Lists WebhookInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.webhook.WebhookInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of WebhookInstance records from the API. Request is executed immediately
Parameters: Returns: Page of WebhookInstance
Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookPage
-
stream
(limit=None, page_size=None)[source]¶ Streams WebhookInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.webhook.WebhookInstance]
-
-
class
twilio.rest.conversations.v1.conversation.webhook.
WebhookPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of WebhookInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.conversations.v1.conversation.
ConversationContext
(version, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext
-
delete
(x_twilio_webhook_enabled=<object object>)[source]¶ Deletes the ConversationInstance
Parameters: x_twilio_webhook_enabled (ConversationInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ConversationInstance
Returns: The fetched ConversationInstance Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-
messages
¶ Access the messages
Returns: twilio.rest.conversations.v1.conversation.message.MessageList Return type: twilio.rest.conversations.v1.conversation.message.MessageList
-
participants
¶ Access the participants
Returns: twilio.rest.conversations.v1.conversation.participant.ParticipantList Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantList
-
update
(friendly_name=<object object>, date_created=<object object>, date_updated=<object object>, attributes=<object object>, messaging_service_sid=<object object>, state=<object object>, timers_inactive=<object object>, timers_closed=<object object>, unique_name=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Update the ConversationInstance
Parameters: - friendly_name (unicode) – The human-readable name of this conversation.
- date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- messaging_service_sid (unicode) – The unique ID of the Messaging Service this conversation belongs to.
- state (ConversationInstance.State) – Current state of this conversation.
- timers_inactive (unicode) – ISO8601 duration when conversation will be switched to inactive state.
- timers_closed (unicode) – ISO8601 duration when conversation will be switched to closed state.
- unique_name (unicode) – An application-defined string that uniquely identifies the resource
- x_twilio_webhook_enabled (ConversationInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The updated ConversationInstance
Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-
webhooks
¶ Access the webhooks
Returns: twilio.rest.conversations.v1.conversation.webhook.WebhookList Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookList
-
-
class
twilio.rest.conversations.v1.conversation.
ConversationInstance
(version, payload, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource
-
account_sid
¶ Returns: The unique ID of the Account responsible for this conversation. Return type: unicode
-
attributes
¶ Returns: An optional string metadata field you can use to store any data you wish. Return type: unicode
-
chat_service_sid
¶ Returns: The unique ID of the Conversation Service this conversation belongs to. Return type: unicode
-
date_created
¶ Returns: The date that this resource was created. Return type: datetime
-
date_updated
¶ Returns: The date that this resource was last updated. Return type: datetime
-
delete
(x_twilio_webhook_enabled=<object object>)[source]¶ Deletes the ConversationInstance
Parameters: x_twilio_webhook_enabled (ConversationInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header Returns: True if delete succeeds, False otherwise Return type: bool
-
fetch
()[source]¶ Fetch the ConversationInstance
Returns: The fetched ConversationInstance Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-
friendly_name
¶ Returns: The human-readable name of this conversation. Return type: unicode
-
links
¶ Returns: Absolute URLs to access the participants, messages and webhooks of this conversation. Return type: unicode
-
messages
¶ Access the messages
Returns: twilio.rest.conversations.v1.conversation.message.MessageList Return type: twilio.rest.conversations.v1.conversation.message.MessageList
-
messaging_service_sid
¶ Returns: The unique ID of the Messaging Service this conversation belongs to. Return type: unicode
-
participants
¶ Access the participants
Returns: twilio.rest.conversations.v1.conversation.participant.ParticipantList Return type: twilio.rest.conversations.v1.conversation.participant.ParticipantList
-
sid
¶ Returns: A 34 character string that uniquely identifies this resource. Return type: unicode
-
state
¶ Returns: Current state of this conversation. Return type: ConversationInstance.State
-
unique_name
¶ Returns: An application-defined string that uniquely identifies the resource Return type: unicode
-
update
(friendly_name=<object object>, date_created=<object object>, date_updated=<object object>, attributes=<object object>, messaging_service_sid=<object object>, state=<object object>, timers_inactive=<object object>, timers_closed=<object object>, unique_name=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Update the ConversationInstance
Parameters: - friendly_name (unicode) – The human-readable name of this conversation.
- date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- messaging_service_sid (unicode) – The unique ID of the Messaging Service this conversation belongs to.
- state (ConversationInstance.State) – Current state of this conversation.
- timers_inactive (unicode) – ISO8601 duration when conversation will be switched to inactive state.
- timers_closed (unicode) – ISO8601 duration when conversation will be switched to closed state.
- unique_name (unicode) – An application-defined string that uniquely identifies the resource
- x_twilio_webhook_enabled (ConversationInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The updated ConversationInstance
Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-
url
¶ Returns: An absolute URL for this conversation. Return type: unicode
-
webhooks
¶ Access the webhooks
Returns: twilio.rest.conversations.v1.conversation.webhook.WebhookList Return type: twilio.rest.conversations.v1.conversation.webhook.WebhookList
-
-
class
twilio.rest.conversations.v1.conversation.
ConversationList
(version)[source]¶ Bases:
twilio.base.list_resource.ListResource
-
create
(friendly_name=<object object>, unique_name=<object object>, date_created=<object object>, date_updated=<object object>, messaging_service_sid=<object object>, attributes=<object object>, state=<object object>, timers_inactive=<object object>, timers_closed=<object object>, x_twilio_webhook_enabled=<object object>)[source]¶ Create the ConversationInstance
Parameters: - friendly_name (unicode) – The human-readable name of this conversation.
- unique_name (unicode) – An application-defined string that uniquely identifies the resource
- date_created (datetime) – The date that this resource was created.
- date_updated (datetime) – The date that this resource was last updated.
- messaging_service_sid (unicode) – The unique ID of the Messaging Service this conversation belongs to.
- attributes (unicode) – An optional string metadata field you can use to store any data you wish.
- state (ConversationInstance.State) – Current state of this conversation.
- timers_inactive (unicode) – ISO8601 duration when conversation will be switched to inactive state.
- timers_closed (unicode) – ISO8601 duration when conversation will be switched to closed state.
- x_twilio_webhook_enabled (ConversationInstance.WebhookEnabledType) – The X-Twilio-Webhook-Enabled HTTP request header
Returns: The created ConversationInstance
Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-
get
(sid)[source]¶ Constructs a ConversationContext
Parameters: sid – A 34 character string that uniquely identifies this resource. Returns: twilio.rest.conversations.v1.conversation.ConversationContext Return type: twilio.rest.conversations.v1.conversation.ConversationContext
-
get_page
(target_url)[source]¶ Retrieve a specific page of ConversationInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ConversationInstance Return type: twilio.rest.conversations.v1.conversation.ConversationPage
-
list
(limit=None, page_size=None)[source]¶ Lists ConversationInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.ConversationInstance]
-
page
(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ConversationInstance records from the API. Request is executed immediately
Parameters: Returns: Page of ConversationInstance
Return type:
-
stream
(limit=None, page_size=None)[source]¶ Streams ConversationInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.conversations.v1.conversation.ConversationInstance]
-
-
class
twilio.rest.conversations.v1.conversation.
ConversationPage
(version, response, solution)[source]¶ Bases:
twilio.base.page.Page
-
get_instance
(payload)[source]¶ Build an instance of ConversationInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.conversations.v1.conversation.ConversationInstance Return type: twilio.rest.conversations.v1.conversation.ConversationInstance
-


with the Invariant Sections being list their titles, with
the Front-Cover Texts being list, and with the Back-Cover Texts
being list.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.
Concept Index
Function and Variable Index
_rl_digit_p
: Utility Functions
_rl_digit_value
: Utility Functions
_rl_lowercase_p
: Utility Functions
_rl_to_lower
: Utility Functions
_rl_to_upper
: Utility Functions
_rl_uppercase_p
: Utility Functions
abort (C-g)
: Miscellaneous Commands
accept-line (Newline or Return)
: Commands For History
backward-char (C-b)
: Commands For Moving
backward-delete-char (Rubout)
: Commands For Text
backward-kill-line (C-x Rubout)
: Commands For Killing
backward-kill-word (M-<DEL>)
: Commands For Killing
backward-word (M-b)
: Commands For Moving
beginning-of-history (M-<)
: Commands For History
beginning-of-line (C-a)
: Commands For Moving
bell-style
: Readline Init File Syntax
call-last-kbd-macro (C-x e)
: Keyboard Macros
capitalize-word (M-c)
: Commands For Text
character-search (C-])
: Miscellaneous Commands
character-search-backward (M-C-])
: Miscellaneous Commands
clear-screen (C-l)
: Commands For Moving
comment-begin
: Readline Init File Syntax
complete (<TAB>)
: Commands For Completion
completion-query-items
: Readline Init File Syntax
convert-meta
: Readline Init File Syntax
copy-backward-word ()
: Commands For Killing
copy-forward-word ()
: Commands For Killing
copy-region-as-kill ()
: Commands For Killing
delete-char (C-d)
: Commands For Text
delete-char-or-list ()
: Commands For Completion
delete-horizontal-space ()
: Commands For Killing
digit-argument (
M-0,
M-1, ...
M--)
: Numeric Arguments
disable-completion
: Readline Init File Syntax
do-uppercase-version (M-a, M-b, M-
x, ...)
: Miscellaneous Commands
downcase-word (M-l)
: Commands For Text
dump-functions ()
: Miscellaneous Commands
dump-macros ()
: Miscellaneous Commands
dump-variables ()
: Miscellaneous Commands
editing-mode
: Readline Init File Syntax
enable-keypad
: Readline Init File Syntax
end-kbd-macro (C-x ))
: Keyboard Macros
end-of-history (M->)
: Commands For History
end-of-line (C-e)
: Commands For Moving
exchange-point-and-mark (C-x C-x)
: Miscellaneous Commands
expand-tilde
: Readline Init File Syntax
forward-backward-delete-char ()
: Commands For Text
forward-char (C-f)
: Commands For Moving
forward-search-history (C-s)
: Commands For History
forward-word (M-f)
: Commands For Moving
history-preserve-point
: Readline Init File Syntax
history-search-backward ()
: Commands For History
history-search-forward ()
: Commands For History
horizontal-scroll-mode
: Readline Init File Syntax
input-meta
: Readline Init File Syntax
insert-comment (M-#)
: Miscellaneous Commands
insert-completions (M-*)
: Commands For Completion
isearch-terminators
: Readline Init File Syntax
keymap
: Readline Init File Syntax
kill-line (C-k)
: Commands For Killing
kill-region ()
: Commands For Killing
kill-whole-line ()
: Commands For Killing
kill-word (M-d)
: Commands For Killing
mark-modified-lines
: Readline Init File Syntax
mark-symlinked-directories
: Readline Init File Syntax
match-hidden-files
: Readline Init File Syntax
menu-complete ()
: Commands For Completion
meta-flag
: Readline Init File Syntax
next-history (C-n)
: Commands For History
non-incremental-forward-search-history (M-n)
: Commands For History
non-incremental-reverse-search-history (M-p)
: Commands For History
output-meta
: Readline Init File Syntax
overwrite-mode ()
: Commands For Text
page-completions
: Readline Init File Syntax
possible-completions (M-?)

: Commands For Text
set-mark (C-@)
: Miscellaneous Commands
show-all-if-ambiguous
: Readline Init File Syntax
show-all-if-unmodified
: Readline Init File Syntax
start-kbd-macro (C-x ()
: Keyboard Macros
transpose-chars (C-t)
: Commands For Text
transpose-words (M-t)
: Commands For Text
undo (C-_ or C-x C-u)
: Miscellaneous Commands
universal-argument ()
: Numeric Arguments
unix-filename-rubout ()
: Commands For Killing
unix-line-discard (C-u)
: Commands For Killing
unix-word-rubout (C-w)
: Commands For Killing
upcase-word (M-u)
: Commands For Text
visible-stats
: Readline Init File Syntax
yank (C-y)
: Commands For Killing
yank-last-arg (M-. or M-_)
: Commands For History
yank-nth-arg (M-C-y)
: Commands For History
yank-pop (M-y)
: Commands For Killing


This tutorial provides summarized steps and code examples on how to use each of the
current plugin components. The plugin tutorials are available on the left dropdown
menu and are in order best suited for understanding as some plugins extend features
provided by others. Examples are shown for the following plugins:
- NetFusion.Settings
-
Plugin that extends Microsoft's configuration settings implementation and provides
additional services.
- NetFusion.Messaging
-
Core implementation of the CQRS design pattern. This core implementation provides
sending commands, publishing domain-events, and dispatching queries to in-process
in-process message handlers. Other plugins, such as NetFusion.RabbitMQ, NetFusion.AMQP,
and NetFusion.Redis provide extend the base messaging pattern to allows messages to
be delivered out-of-process. While how a message is delivered can vary, the approach
to sending the messaging and consuming it are nearly identical.
- NetFusion.MongoDb
-
Plugin providing simple configuration for MongoDb and built on the official MongoDB .NET driver.
- NetFusion.RabbitMQ
-
Plugin built using the open-source EasyNetQ library extending the base NetFusion.Messaging plugin and
allows sending commands and publishing domain-events over RabbitMQ topics.
- NetFusion.AMQP
-
Plugin built using the open-source AMQPNetLite library extending the base NetFusion.Messaging plugin and
allows sending commands and publishing domain-events over AMQP compliant brokers.
- NetFusion.Redis
-
Plugin providing simple configuration for Redis and built on the official Redis .NET driver.
The tutorial consists of the following components:
- Client
-
This is an Angular application making api calls the the Service.WebApi service to execute
server-side example code.
- Service.WebApi
-
This is an ASP.NET Core WebApi project containing controllers used to execute each of the examples.
- Service.Client
-
A .NET Core Console application that when running will subscribe to messages that are written to the console.


new Texture(width, height)
Parameters:
| Name | Type | Description |
|---|---|---|
width |
number | Texture width in pixel |
height |
number | Texture height in pixel |
Properties:
| Name | Type | Description |
|---|---|---|
canvas |
Canvas | HTML canvas element |
ctx |
Canvas2DContext | canvas's context 2D |
palette |
Array.<string> | Texture's color palette |
spritesheet |
Texture | Texture's spritesheet |
Methods
-
clear()
-
Clear the whole texture (make it transparent)
Returns:
the texture itself
- Type
- Texture
-
cls()
-
Clear texture with current paper color (CLear Screen)
Returns:
the texture itself
- Type
- Texture
-
draw(img, x, y, flipH, flipV, flipR)
-
Draw an Image (or anything drawable in Pixelbox) in the texture
Parameters:
Name Type Argument Description img
Image | Texture | Map thing to draw in the texture
x
number <optional>
x coordinate of where to draw the image. The value is offseted by Texture's camera position
y
number <optional>
y coordinate of where to draw the image. The value is offseted by Texture's camera position
flipH
boolean <optional>
if set, the image is horizontally flipped
flipV
boolean <optional>
if set, the image is vertically flipped
flipR
boolean <optional>
if set, the image rotated by 90 degree
Returns:
the texture itself
- Type
- Texture
-
locate(i, j)
-
Set cursor position for the text.
Parameters:
Name Type Description i
number cursor x position in character size (4 pixels)
j
number cursor y position in character size (6 pixels)
Returns:
the texture itself
- Type
- Texture
-
paper(p)
-
Set PAPER color index. This color is used for fill when drawing shapes or when clearing the texture (cls)
Parameters:
Name Type Description p
number pen color index in the palette
Returns:
the texture itself
- Type
- Texture
-
pen(p)
-
Set PEN color index. This color is used when printing text in the texture, and for outline when drawing shapes.
Parameters:
Name Type Description p
number pen color index in the palette
Returns:
the texture itself
- Type
- Texture
-
print((string), (number), (number))
-
Print text. A position in pixel can be specified. If you do so, the text will be drawn at specified position plus camera offset. If not, the text is printed at current cursor position and wil wrap and make screen scroll down when cursor reach the texture bottom.
Parameters:
Name Type Description (string)
str - text to be printed
(number)
[x] - text x position in pixel
(number)
[y] - text y position in pixel
Returns:
the texture itself
- Type
- Texture
-
println((string))
-
Same as print and add a go to the next line.
Parameters:
Name Type Description (string)
str - text to be printed
Returns:
the texture itself
- Type
- Texture
-
rect(x, y, w, h)
-
Draw an outlined rectangle, using current PEN color. Drawing is offset by Texture's camera.
Parameters:
Name Type Description x
number x coordinate of rectangle upper left corner
y
number y coordinate of rectangle upper left corner
w
number rectangle width
h
number rectangle height
Returns:
the texture itself
- Type
- Texture
-
rectfill(x, y, w, h)
-
Draw a filled rectangle, using current PAPER color. Drawing is offset by Texture's camera.
Parameters:
Name Type Description x
number x coordinate of rectangle upper left corner
y
number y coordinate of rectangle upper left corner
w
number rectangle width
h
number rectangle height
Returns:
the texture itself
- Type
- Texture
-
resize(width, height)
-
Resize texture. The texture is cleared.
Parameters:
Name Type Description width
number texture new width in pixels
height
number texture new height in pixels
Returns:
the texture itself
- Type
- Texture
-
setCamera(x, y)
-
Set camera position
Parameters:
Name Type Argument Description x
number <optional>
camera x position in pixels, default is 0
y
number <optional>
camera y position in pixels, default is 0
Returns:
the texture itself
- Type
- Texture
-
setGlobalSpritesheet(spritesheet)
-
Set default spritesheet for all Textures
Parameters:
Name Type Description spritesheet
Image | Texture | Map spritesheet to use
-
setPalette(palette)
-
Set texture palette. The charset sheet is recreated when this method is called.
Parameters:
Name Type Description palette
Array.<string> palette definition. This is an array of hex formated colors. At initialisation it is
['#000000', '#FFFFFF']
and is it is redifined by the default palette in the settings file. -
setSpritesheet(spritesheet)
-
Set spritesheet to be used to draw sprite in this Texture. By default, it is set to null and fallback to default spritesheet which is
assets/spritesheet
(the default spritesheet can also be changed with the global methodspritesheet
). The spritesheet can be anything drawable in Pixelbox: an image, another Texture or a Map. The texture makes an internal copy of the spritesheet.Parameters:
Name Type Description spritesheet
Image | Texture | Map spritesheet to use
Returns:
the texture itself
- Type
- Texture
-
sprite(sprite, x, y, flipH, flipV, flipR)
-
Draw a sprite in Texture using the current spritesheet.
Parameters:
Name Type Argument Description sprite
number sprite index (number between 0 and 255)
x
number <optional>
x position in pixels
y
number <optional>
y position in pixels
flipH
boolean <optional>
if set, the sprite is horizontally flipped
flipV
boolean <optional>
if set, the sprite is vertically flipped
flipR
boolean <optional>
if set, the sprite rotated by 90 degree
Returns:
the texture itself
- Type
- Texture


Duke
EXCHANGE
Filter your search
Specify the price range and condition of the book you want.
Price:
Under $5
Under $15
Under $30
Any
Condition:
New
Good
Fair
Any
Duke Exchange
Home
Sell
My Account
Logout
My Info
Books Sold
16
Total Earned
$120.00
Books Bought
7
Total Paid
$34.00
Profit
$86.00
See Details
Welcome, William!
Search History
About us
Recommendations for you
PICTURE
Starting at $10
CS 330
Many desktop publishing packages and web page editors now.
Get it now
PICTURE
Starting at $10
CS 316
Many desktop publishing packages and web page editors now.
Get it now
PICTURE
Starting at $10
CS 310
Many desktop publishing packages and web page editors now.
Get it now
PICTURE
Starting at $10
ECE 280
Many desktop publishing packages and web page editors now.
Get it now


--- layout: docs template: t-docs title: Foundations > FONT-SIZES name: font-sizes collection: docs-foundations ---
Defines the font sizes used in the other layers, using the shirt sizes nomenclature.
The standard font size is m
, which is defined by the variable $s-core__font-size
.
All the values should be expressed in px
. If you need a relative unit based values, you can use the core functions in the context.
A safe checking is included to ensure this unit specification and the numeric values.


Shop and stay home: Hy-Vee offers grocery delivery
Pho Nguyenn serves up best broth in town
Why we love 27th street food


7 instantiations of PSCodeMethod
System.Management.Automation (7)
engine\MshMemberInfo.cs (1)
2211
PSCodeMethod member = new
PSCodeMethod
(name, CodeReference);
engine\TypeTable.cs (1)
3393
codeMethod = new
PSCodeMethod
(codeMethodData.Name, codeMethodData.CodeReference);
engine\TypeTable_Types_Ps1Xml.cs (5)
80
new
PSCodeMethod
(
98
new
PSCodeMethod
(
159
new
PSCodeMethod
(
603
new
PSCodeMethod
(
613
new
PSCodeMethod
(
9 references to PSCodeMethod
System.Management.Automation (9)
engine\MshMemberInfo.cs (3)
2097
/// It is permitted to subclass <see cref="
PSCodeMethod
"/>
2211
PSCodeMethod
member = new PSCodeMethod(name, CodeReference);
2268
public override string TypeNameOfValue => typeof(
PSCodeMethod
).FullName;
engine\runtime\Binding\Binders.cs (2)
6795
var
codeMethod = methodInfo as
PSCodeMethod
;
engine\TypeTable.cs (4)
964
if (codeReference != null && !
PSCodeMethod
.CheckMethodInfo(codeReference))
3390
PSCodeMethod
codeMethod;
4190
var
codeMethod = member as
PSCodeMethod
;


[§11-325] When an individual may not serve as a committee officer. No candidate committee or noncandidate committee that supports or opposes a candidate shall have an officer who serves as an officer on any other candidate committee or noncandidate committee that supports or opposes the same candidate. [L 2010, c 211, pt of §2]


Champlain Coffee House
Home
Menu
Music
Speciality Coffee and Tea
Bagels, Muffins, and Organic Snacks
Music and Poetry Readings
Open Mic Afternoon
Champlain College
900 Riverside Drive
C-block
1-450-555-5555


You have gone through all steps and have logged out of the Authorization Server. To start all over again, please click here.


…So last year's effort to blog properly didn't really work very well. That's ok, more learning curve. I'm hoping that having everything hosted and managed for me will make it easier for me to just write, and ignore all the fiddle.
We'll see how it goes…
(Image: fraumorgenstern on flickr)
The twitter syndication ad-on is a useful way to keep things from getting stagnant.


This user will be sent a token they can use to create their non-profit on cChange. The token will expire in 7 days.


A part of the team that created a sandbox environment for malware detection, using deep learning algorithms.
created academic level mathematics content for students of ages 9-13, and was in-charge of lecturing 5 classes.
Managed numerous projects in the Field of electronics and front-side programming. Worked with companies such as khan academy.
Helped teen age of 13 and over to engaged in the Startup world. Lectured on many technology related topics, and managed groups on several Hackatons.
Gain the knowledge to understand any scientific concept within short time.
Completed a technology leadership and data management course with honors. Worked with a team over a year developing a product- strengthening his speech and teamwork skills.


That's why Project Chimps, an organization we've written about before, put together a one-of-a-kind feast for the primates at the sanctuary.
The project currently house 79 chimpanzees in their facility in north Georgia, all of whom were used as research chimps in the past.
Project Chimps provides these chimpanzees a safe and loving retirement home. After the United States stopped federally funded research using chimps, Project Chimps stepped in to make these sure these animals get the enriched life they deserve.
On Thanksgiving, that came in the form of a plant-based feast with many of the familiar side dishes we put on our own tables this time of year. Tofurky donated the roasts for the chimps to enjoy.
You can see in the video just how happy the chimps were to get the special meal, making this one memorable "Chimpsgiving."
Now with a forever home at Project Chimps, these chimpanzees will never be poked and prodded again. However, nearly 130 other chimps are still waiting in the lab until additional habitats can be built.
You can find out more information on the Project Chimps website, where you may even decide to donate to them for Giving Tuesday!


Yes!
No
As much as usual
Less than I used to
Definitely less than I used to
Hardly at all
Most of the time
Some of the time
Not very often
Never
Not at all
Hardly ever
Sometimes
Very often
Quite a lot
Sometimes
Not much
Not at all
I haven't been able to cope at all
I haven't been coping as well as usual
I have coped quite well
I have coped as well as ever
Most of the time
Sometimes
Not very often
Not at all
Most of the time
Sometimes
Not very often
Not at all
Most of the time
Quite often
Only occassionally
Never
Quite often
Sometimes
Hardly ever
Never
Yes, connect me with someone
No
Yes, connect me with someone


PLANET SICK-BOY: http://www.sick-boy.com
A rather unimaginative thriller – considering that the title gives away the film's already predictable ending – about a woman (Ashley Judd, Simon Birch) accused of murdering her husband, only to find out that the two-timing schmuck is still alive while she rots away in the clink. Like the titular legal loophole, Judd learns that she can get out of prison and legally kill her spouse and not be convicted because a person can't be accused of committing the same crime twice.
Judd plays Elizabeth Parsons, a seemingly happily married co-owner of a child-care center in the Pacific northwest. For Elizabeth's birthday, her husband Nick (Bruce Greenwood, Disturbing Behavior) rents the loveliest boat in the area and takes her out for a night of sailing and passion - you even get to see one of her Judds and the crack of her Ashley. But when Elizabeth wakes up at dawn, she finds a bloody trail that rivals even O.J.'s – and can't find her husband anywhere (unbeknownst to her, he is experiencing financial difficulties at work and just took out a huge insurance policy).
Long story short, Elizabeth ends up in prison with a lengthy sentence, where she celebrates her kid's birthdays without him. I've got to tell you that this is the least frightening penitentiary that I have seen since GoodFellas. It's almost like a resort. After the obligatory prison-workout-while-plotting-revenge scene, Elizabeth is given a conditional release to serve her remaining three years on probation and living in a halfway house.
Elizabeth, who hasn't aged or changed her hairstyle during her six-year absence, immediately starts to track down her ex, who has apparently run off with their son and his new wife Angela (Annabeth Gish, S.L.C. Punk), who was formerly Elizabeth's best friend. Dedicated to her search, Elizabeth misses curfew, breaks into her old office and almost eludes the police during a thrilling beach chase.
Enter Parole Officer Travis Layman (Tommy Lee Jones, U.S. Marshals), who staggers unpurposefully about as if he were trying to hunt down Harrison Ford but his heart isn't really in it. Do guys who win Best Supporting Actor Oscars all think that they can call in performances in crappy films for the rest of their lives? Let me answer my own question by saying Chill Factor (Cuba), Patch Adams (Robin) and Men in Black (Tommy). Thank God for Kevin Spacey.
For a few seconds, it almost seemed like there was going to be a cool twist at the end, but then the film resumed its course toward the inevitably mediocre ending that you know is coming. Jeopardy was directed by Bruce Beresford (Paradise Road) and written by Robert Benton (Twilight), who penned the story created by two co-writers from The Rock (Douglas Cook and David Weisberg). My question is `Why bother?' Imagine Citizen Kane being called Rosebud the Sled and you get the idea. (1:43 - R for language, brief nudity and some violence)
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Your Rights
When it comes to your health information, you have certain rights. This section explains your rights and some of our responsibilities to help you.
Get an electronic or paper copy of your medical record
- You can ask to see or get an electronic or paper copy of your medical record and other health information we have about you. Ask us how to do this.
- We will provide a copy or a summary of your health information, usually within 30 days of your request. We may charge a reasonable, cost-based fee.
Ask us to correct your medical record
- You can ask us to correct health information about you that you think is incorrect or incomplete. Ask us how to do this.
- We may say “no” to your request, but we’ll tell you why in writing within 60 days.
Request confidential communications
- You can ask us to contact you in a specific way (for example, home or office phone) or to send mail to a different address.
- We will say “yes” to all reasonable requests.
Ask us to limit what we use or share
- You can ask us not to use or share certain health information for treatment, payment, or our operations. We are not required to agree to your request, and we may say “no” if it would affect your care.
- If you pay for a service or health care item out-of-pocket in full, you can ask us not to share that information for the purpose of payment or our operations with your health insurer. We will say “yes” unless a law requires us to share that information.
Get a list of those with whom we’ve shared information
- You can ask for a list (accounting) of the times we’ve shared your health information for six years prior to the date you ask, who we shared it with, and why.
- We will include all the disclosures except for those about treatment, payment, and health care operations, and certain other disclosures (such as any you asked us to make). We’ll provide one accounting a year for free but will charge a reasonable, cost-based fee if you ask for another one within 12 months.
Get a copy of this privacy notice
- You can ask for a paper copy of this notice at any time, even if you have agreed to receive the notice electronically. We will provide you with a paper copy promptly.
Choose someone to act for you
- If you have given someone medical power of attorney or if someone is your legal guardian, that person can exercise your rights and make choices about your health information.
- We will make sure the person has this authority and can act for you before we take any action.
File a complaint if you feel your rights are violated
- You can complain if you feel we have violated your rights by contacting us using the information above.
- You can file a complaint with the U.S. Department of Health and Human Services Office for Civil Rights by sending a letter to 200 Independence Avenue, S.W., Washington, D.C. 20201, calling 1-877-696-6775, or visiting www.hhs.gov/ocr/privacy/hipaa/complaints/.
- We will not retaliate against you for filing a complaint.
Your Choices
For certain health information, you can tell us your choices about what we share. If you have a clear preference for how we share your information in the situations described below, talk to us. Tell us what you want us to do, and we will follow your instructions.
In these cases, you have both the right and choice to tell us to:
- Share information with your family, close friends, or others involved in your care
- Share information in a disaster relief situation
- Include your information in a hospital directory
- If you are not able to tell us your preference, for example if you are unconscious, we may go ahead and share your information if we believe it is in your best interest. We may also share your information when needed to lessen a serious and imminent threat to health or safety.
In these cases we never share your information unless you give us written permission:
- Marketing purposes
- Sale of your information
- Most sharing of psychotherapy notes
- In the case of fundraising:
- We may contact you for fundraising efforts, but you can tell us not to contact you again.
Our Uses and Disclosures
How do we typically use or share your health information?
We typically use or share your health information in the following ways.
Treat you
- We can use your health information and share it with other professionals who are treating you.
- Example: A doctor treating you for an injury asks another doctor about your overall health condition.
Run our organization
- We can use and share your health information to run our practice, improve your care, and contact you when necessary.
- Example: We use health information about you to manage your treatment and services.
Bill for your services
- We can use and share your health information to bill and get payment from health plans or other entities.
- Example: We give information about you to your health insurance plan so it will pay for your services.
How else can we use or share your health information?
We are allowed or required to share your information in other ways – usually in ways that contribute to the public good, such as public health and research. We have to meet many conditions in the law before we can share your information for these purposes. For more information see: www.hhs.gov/ocr/privacy/hipaa/understanding/consumers/.
Help with public health and safety issues
- We can share health information about you for certain situations such as:
- Preventing disease
- Helping with product recalls
- Reporting adverse reactions to medications
- Reporting suspected abuse, neglect, or domestic violence
- Preventing or reducing a serious threat to anyone’s health or safety
Do research
- We can use or share your information for health research.
Comply with the law
- We will share information about you if state or federal laws require it, including with the Department of Health and Human Services if it wants to see that we’re complying with federal privacy law.
Respond to organ and tissue donation requests and work with a medical examiner or funeral director
- We can share health information about you with organ procurement organizations.
- We can share health information with a coroner, medical examiner, or funeral director when an individual dies.
Address workers’ compensation, law enforcement, and other government requests
- We can use or share health information about you:
- For workers’ compensation claims
- For law enforcement purposes or with a law enforcement official
- With health oversight agencies for activities authorized by law
- For special government functions such as military, national security, and presidential protective services
Respond to lawsuits and legal actions
- We can share health information about you in response to a court or administrative order, or in response to a subpoena.
Our Responsibilities
- We are required by law to maintain the privacy and security of your protected health information.
- We will let you know promptly if a breach occurs that may have compromised the privacy or security of your information.
- We must follow the duties and privacy practices described in this notice and give you a copy of it.
- We will not use or share your information other than as described here unless you tell us we can in writing. If you tell us we can, you may change your mind at any time. Let us know in writing if you change your mind.
For more information see: www.hhs.gov/ocr/privacy/hipaa/understanding/consumers/noticepp.html.
Changes to the Terms of this Notice
We can change the terms of this notice, and the changes will apply to all information we have about you. The new notice will be available upon request, in our office, and on our web site.


{% extends "layout.html" %} {% block title %}Select a room{% endblock %} {% block content %}
{% if booking.start.date() == booking.finish.date() %} Looking for rooms to host an event on {{booking.start.date()|date}} from {{booking.start.time()|time}} to {{booking.finish.time()|time}} for {{booking.capacity}} people. {% else %} Looking for rooms to host an event from {{booking.start|datetime}} to {{booking.finish|datetime}} for {{booking.capacity}} people. {% endif %} {{ html.button("Back", "link", ['btn', 'btn-default', 'pull-right', 'btn-xs'], url_for('event.plan')) }}
| Rooms | Capacity | Dimensions | Rate | Per Person | Price | |
|---|---|---|---|---|---|---|
| {{room.name}} | {{room.capacity}} | {{room.dimensions}} | {{room.rate|currency}} /hour | {{(room.rate/room.capacity)|currency}} | {{room.price|currency}} | Select |


Copy your video URL of YouTube Video that you wish to download.
Paste YouTube video URL in the search box and click 'Start'.
Click the 'Download' button to start downloading the file.
UTube Downloader is a great tool for downloading videos from YouTube! You can download any video, and it is completely free! and will remain Free life long...


Iterator type of a ForwardList .
Model of ForwardIterator .
| T | |
| R | |
| P |
| public nothrow | ForwardListNodeIterator() |
| public nothrow | ForwardListNodeIterator(ForwardListNode<T>* node_) |
| public inline nothrow ForwardListNode<T>* | Node() const |
| public inline R | operator*() |
| public inline ForwardListNodeIterator& | operator++() |
| public inline P | operator->() |
| private typedef NodePtr | ForwardListNode<T>* |
| private typedef NodeType | ForwardListNode<T> |
| public typedef PointerType | P |
| public typedef ReferenceType | R |
| private typedef Self | ForwardListNodeIterator |
| public typedef ValueType | T |
| private ForwardListNode<T>* | node |


DS.Errors Class
Holds validation errors for a given record, organized by attribute names.
Every DS.Model
has an errors
property that is an instance of
DS.Errors
. This can be used to display validation error
messages returned from the server when a record.save()
rejects.
For Example, if you had a User
model that looked like this:
import DS from 'ember-data';
export default DS.Model.extend({
username: DS.attr('string'),
email: DS.attr('string')
});
And you attempted to save a record that did not validate on the backend:
let user = store.createRecord('user', {
username: 'tomster',
email: 'invalidEmail'
});
user.save();
Your backend would be expected to return an error response that described the problem, so that error messages can be generated on the app.
API responses will be translated into instances of DS.Errors
differently,
depending on the specific combination of adapter and serializer used. You
may want to check the documentation or the source code of the libraries
that you are using, to know how they expect errors to be communicated.
Errors can be displayed to the user by accessing their property name to get an array of all the error objects for that property. Each error object is a JavaScript object with two keys:
message
A string containing the error message from the backendattribute
The name of the property associated with this error message
Username: {{input value=username}}
{{#each model.errors.username as |error|}}

{{error.message}}

{{/each}}
Email: {{input value=email}}
{{#each model.errors.email as |error|}}

{{error.message}}

{{/each}}
You can also access the special messages
property on the error
object to get an array of all the error strings.
{{#each model.errors.messages as |message|}}

{{message}}

{{/each}}
Item Index
Methods
- _add
- _clear
- _findOrCreateMessages
- _registerHandlers
- _remove
- add deprecated
- clear deprecated
- errorsFor
- has
- registerHandlers deprecated
- remove deprecated
- unknownProperty
Properties
Methods
_add
()
private
Adds error messages to a given attribute without sending event.
_clear
()
private
Removes all error messages. to the record.
_findOrCreateMessages
()
private
_registerHandlers
()
private
Register with target handler
_remove
()
private
Removes all error messages from the given attribute without sending event.
add
-
attribute
-
messages
Adds error messages to a given attribute and sends
becameInvalid
event to the record.
Example:
if (!user.get('username') {
user.get('errors').add('username', 'This field is required');
}
Parameters:
-
attribute
String -
messages
(Array | String)
clear
()
deprecated
Removes all error messages and sends becameValid
event
to the record.
Example:
import Route from '@ember/routing/route';
export default Route.extend({
actions: {
retrySave: function(user) {
user.get('errors').clear();
user.save();
}
}
});
errorsFor
-
attribute
Returns errors for a given attribute
let user = store.createRecord('user', {
username: 'tomster',
email: 'invalidEmail'
});
user.save().catch(function(){
user.get('errors').errorsFor('email'); // returns:
// [{attribute: "email", message: "Doesn't look like a valid email."}]
});
Parameters:
-
attribute
String
Returns:
has
-
attribute
Checks if there is error messages for the given attribute.
import Route from '@ember/routing/route';
export default Route.extend({
actions: {
save: function(user) {
if (user.get('errors').has('email')) {
return alert('Please update your email before attempting to save.');
}
user.save();
}
}
});
Parameters:
-
attribute
String
Returns:
true if there some errors on given attribute
registerHandlers
-
target
-
becameInvalid
-
becameValid
Register with target handler
Parameters:
-
target
Object -
becameInvalid
Function -
becameValid
Function
remove
-
attribute
Removes all error messages from the given attribute and sends
becameValid
event to the record if there no more errors left.
Example:
import DS from 'ember-data';
export default DS.Model.extend({
email: DS.attr('string'),
twoFactorAuth: DS.attr('boolean'),
phone: DS.attr('string')
});
import Route from '@ember/routing/route';
export default Route.extend({
actions: {
save: function(user) {
if (!user.get('twoFactorAuth')) {
user.get('errors').remove('phone');
}
user.save();
}
}
});
Parameters:
-
attribute
String
unknownProperty
()
private
Properties
content
Array
private
errorsByAttributeName
Ember.MapWithDefault
private
isEmpty
Boolean
length
Number
Total number of errors.
messages
Array
An array containing all of the error messages for this record. This is useful for displaying all errors to the user.
{{#each model.errors.messages as |message|}}

{{message}}

{{/each}}


public class BattleController
extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
attackerName
The name of the attacking player.
|
private Country |
attackingCountry
The attacking Country object.
|
private Player |
attackingPlayer
The attacking player.
|
private String |
defenderName
The name of the defending player.
|
private Country |
defendingCountry
The defending Country object.
|
private Player |
defendingPlayer
The defending player.
|
private GameMap |
gameMap
An instance of the Game Map.
|
private boolean |
isAllOutEnabled
Tracks if -allout is enabled.
|
private boolean |
isNoInputEnabled
Disable input from the user, flag used for unit tests
|
private int |
numOfArmiesToMove
The number of armies to move after winning a battle
|
private int |
numOfDiceAttacker
The number of dice for the attacker.
|
private int |
numOfDiceDefender
The number of dice for the defender.
|
private Card |
topCard
The topmost card on the deck.
|
| Constructor and Description |
|---|
BattleController(GameMap gameMap,
String command)
Constructor for the Battle Controller
|
| Modifier and Type | Method and Description |
|---|---|
void |
attemptAttack()
Attempts an attack based on the command specified by the attacker.
|
int |
calculateMaxDiceForAttacker()
Calculates the maximum number of dice for an attacker.
|
int |
calculateMaxDiceForDefender()
Calculates the maximum number of dice for a defender.
|
ArrayList<Boolean> |
compareDiceRolls(ArrayList<Integer> attackerDiceRoll,
ArrayList<Integer> defenderDiceRoll)
This is a utility method that compares the dice rolls according to the Risk rules.
|
int |
getNumOfArmiesToMoveFromAttacker()
Returns the armies to be moved to a captured territory on successful attack.
|
int |
getNumOfDiceFromAttacker()
Returns the number of dice for the attacker.
|
int |
getNumOfDiceFromDefender()
Returns the number of dice for the defender.
|
static boolean |
isAttackOrFortifyMovePossible(String attackerName,
GameMap gameMap)
Checks if player has atleast 2 armies in any of the countries they own
|
ArrayList<Integer> |
rollDice(int numOfDice)
Rolls multiple dice.
|
void |
setNoInputEnabled(boolean isNoInputEnabled)
Setter for disabling or enabling user input
|
void |
setNumOfArmiesToMove(int numOfArmiesToMove)
Setter for num of Armies To Move
|
void |
setNumOfDiceDefender(int numOfDiceDefender)
Setter for num of Dice for defender
|
boolean |
startBattle()
Initiates the attack phase.
|
void |
successfulAttack()
This method executes on a specific roll-win for attacker.
|
private void |
successfulBattle()
This method executes on successful capture of a country.
|
void |
successfulDefence()
This method executes on successful defence of a country.
|
private int numOfDiceAttacker
private int numOfDiceDefender
private Country attackingCountry
private Country defendingCountry
private String attackerName
private String defenderName
private Player defendingPlayer
private Player attackingPlayer
private GameMap gameMap
private Card topCard
private int numOfArmiesToMove
private boolean isAllOutEnabled
private boolean isNoInputEnabled
public BattleController(GameMap gameMap, String command)
gameMap
- the Game Map object.command
- the command to be processed.public static boolean isAttackOrFortifyMovePossible(String attackerName, GameMap gameMap)
attackerName
- name of the player that's attackinggameMap
- contains game statepublic int calculateMaxDiceForDefender()
public int calculateMaxDiceForAttacker()
public ArrayList<Boolean> compareDiceRolls(ArrayList<Integer> attackerDiceRoll, ArrayList<Integer> defenderDiceRoll)
attackerDiceRoll
- the rolls for the attackerdefenderDiceRoll
- the rolls for the defenderpublic ArrayList<Integer> rollDice(int numOfDice)
numOfDice
- number of dice to rollpublic boolean startBattle()
public int getNumOfDiceFromAttacker()
public int getNumOfDiceFromDefender()
public void attemptAttack()
public int getNumOfArmiesToMoveFromAttacker()
private void successfulBattle()
public void successfulDefence()
public void successfulAttack()
public void setNoInputEnabled(boolean isNoInputEnabled)
isNoInputEnabled
- set to true to disable inputpublic void setNumOfDiceDefender(int numOfDiceDefender)
numOfDiceDefender
- number of dice to roll for the defenderpublic void setNumOfArmiesToMove(int numOfArmiesToMove)
numOfArmiesToMove
- number of armies to move after winning a battle


This course presents a thorough background on the basic structure and function of the human reproductive system. Goals are to provide the student with sufficient knowledge to understand and discuss sex-related topics and make informed personal decisions. Through online presentations and class discussion students will be exposed to information that will clarify their understanding of the ways that their own body functions in sexual behavior and reproduction. Importantly, students will examine the roles of reproductive physiology and sexuality in a historical, cultural and social context, with particular emphasis on cultural and gender differences in anatomical forms, sexual expression, and disease. The course will present current research on human sex and reproduction, and explore the biology behind human sexuality and medicine.
By the end of this course, students should have gained sufficient knowledge to:
| Week | Topic |
|---|---|
| 1 | Intro / Male Reproductive System |
| 2 | Female Reproductive System |
| 3 | Sex Determination |
| 4 | Exam 1 |
| 5 | Gender vs. Sex |
| 6 | Sexuality / Behavior and Attraction |
| 7 | Sexology / Human Sexual Response |
| 8 | Exam 2 |
| 9 | Endocrinology |
| 10 | Menstrual Cycle |
| 11 | Puberty / Reproductive Senecence HRT paper Assigned |
| 12 | Oogensis / Spermatogenesis / Fertilization |
| 13 | Exam 3 |
| 14 | Gestation / Pregnancy |
| 15 | Parturition / Lactation |
| 16 | Exam 4 |
Quizzes consist of 5-10 multiple choice, ordering, multiple select and true/false questions based on the weekly lectures and web assignments. These will be available in Canvas in the weekly modules folders. You can submit the quiz anytime during the week, but you will be given 15-20 minutes to complete the quiz and only one attempt. Do not open the quiz until you have viewed all the course material for that week. You will be presented with 14 quizzes, but only your top 12 quiz scores will be considered in the final grade calculation. If you fail to take a quiz in the allotted time for any reason it will be counted as one of your dropped scores.
Discussion boards require full class participation. Each discussion board is a maximum of 5 points total. Discussion topics are testable on exams and you may see exam questions on that material. It is in your best interest to check back and read comments throughout the week. Posting to the discussion board after the due date when classmates are no longer engaging is pointless (there is no one else logging on to discuss) and therefore worth 0 points. I do not accept late discussion posts under any circumstances. Discussions cannot be reopened after they close for any reason including hospitalization, deaths, or other emergencies. Be sure to log on and comment at least once.
All quizzes and Exams are to be taken closed book. All exams and assignments are worth approximately ~400 total points. Weekly assignments and/or quizzes are due on Sunday at 11:59PM Eastern Standard Time. Something is due every week so make sure you are keeping up and doing the assignments for each week. Quizzes cannot be accessed after 11:59pm Eastern Standard Time (NO EXCEPTIONS). Failing to allow enough time to complete and submit the assignment is not a valid excuse and does not qualify as an emergency. Missed quizzes will count as a dropped grade. Quizzes cannot be reopened after they close for any reason including hospitalization, deaths, or other emergencies.
Exams consist of ~25 multiple choice/ short answer questions and are weighted to be worth 50 points each. You are responsible for all material presented online and assigned articles and readings. You many not use your notes when taking exams or quizzes. You may not perform internet searches when taking exams or quizzes. The final is not cumulative; it is simply a fourth test. Exams will be taken using Canvas. You may open an exam only one time and must submit your answers within a 60 minute period. You will need to schedule an appointment with Examity to access the proctored Exams. Exams can be canceled and rescheduled however 24 hours’ notice is required. In rare instances I can grant extensions for exams given an extreme illness or emergency. Exam Extension requests must be made within 7 days of the exam.
| Assignment | Points | Total | % |
|---|---|---|---|
| Examity Proctored Exams (4) | 50 | 200 | 12.5% per exam; 50% total |
| Quizzes (14) Best 12 of 14 | 10 | 120 | 2.5% per quiz; 30% total |
| Discussion Boards | 5 | 40 | 1% per discussion; 8% total |
| Syllabus, Quizzes in Canvas | 15, 10, 10 | 35 | 8.75% total |
| Letter Grade | % Range |
|---|---|
| A | 93-100% |
| A- | 90-92% |
| B+ | 87-89% |
| B | 83-86% |
| B- | 80-82% |
| C+ | 77-79% |
| C | 70-76% |
| D | 60-69% |
| F | < 60% |


Visual-Inertial Odometry (VIO)
My master thesis at CMU, which leads to two publications
Visual-inertial odometry (VIO) is an algorithm that provides a robot’s odometry by fusing both visual and inertial information. Visual information is provided by cameras, and inertial information is provided by an inertial measurement unit (IMU). Below video shows an example of my VIO algorithm running on an autel X-star drone in real-time:
Typically, the existing methods employ either a filtering method based on the extended Kalman filter (EKF), or an optimization method. My research focuses on the fixed-lag optimization-based method (or fixed-lag smoothing) using factor graph1, which is the state-of-the-art method in solving a VIO problem.
A fixed-lag smoother estimate a fixed window of variables at a given time, so the optimization size is constant as shown in below graphs. Below are two graphs that illustrate a fixed-lag smoother is employed in estimating a robot trajectory. The left graph shows the blue active window of states being estimated, the right graph shows the correcponding factor graph.
In my thesis, I address two challenges in the fixed-lag smoothing framework — Efficiency and Nonlinearity. In particular, there are two major contributions:
- Employing information sparsification to address the efficiency issue.
- Employing group affine property to address the consistency problem
For more details, please check my Master Thesis and my 2018 IROS paper (Best Conference Paper Finalist).


Homework
For each of the "Big ideas" that we cover in class, we will have you submit a write up of the big idea. This write up will consist of (1) a list of the main concepts that we covered and (2) any future work that this big idea inspired. If it didn't inspire any future work, then how it changed the way you thought about something. The key thing we're looking for is a high-level synthesis of the material we covered.
The homework write up will be short -- we aren't asking you to write an essay. The ideal homework will include a few bullet points that concisely summarize the key concepts and two paragraphs about some future work that these papers / ideas inspired.


|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| defaultGateway* | xsd:string |
The default gateway address.
|
| gatewayDevice* | xsd:string |
The gateway device. This applies to service console gateway only, it
is ignored otherwise.
|
| ipV6DefaultGateway* | xsd:string |
The default ipv6 gateway address
Since vSphere API 4.0 |
| ipV6GatewayDevice* | xsd:string |
The ipv6 gateway device. This applies to service console gateway only, it
Since vSphere API 4.0 |
| Properties inherited from DynamicData | ||
| None |
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |


[§421I-2] Amendment of bylaws. The bylaws of a corporation may be amended only upon receiving the affirmative vote or written consent of at least two-thirds of the shareholders. [L 1993, c 282, pt of §1]