Index of Errors¶
A list of possible exceptions raised is provided below to aid with debugging problems.
Graph Credentials Errors¶
The below errors relate to connecting to and using the database.
DefaultGraphCredentialsUnclearError
¶
Raised when you have specified your default graph credentials both as a bind, and as simple top level app.config
values. Pick one or the other. See Graph Connections
GraphCredentialsIncompleteError
¶
Raised when some, but not all, of the required arguments (HOST
, USER
, PASSWORD
) are provided for a bind (or the default bind), but not all. You should ensure all three of these values are provided.
When specifying the default bind using simple top-level configuration directives (see Single (Default) Connection), the required parameters are OGM_GRAPH_HOST
, OGM_GRAPH_USER
and OGM_GRAPH_PASSWORD
.
GraphCredentialsNotFoundError
¶
Raised when the graph credentials for a bind (including the default bind) have not been found. You should ensure that the details are provided in app.config
, and that the binds are spelled correctly. See Graph Connections.
OutOfApplicationContextError
¶
Raised when ogm.get_connection()
has been called, but no app_context
is available. You should ensure that you call the function inside a valid application context.
When using web tools like the ogm.param_converter decorator, ensure that you pass references to the graph as binds not Graph
objects. Likewise, when testing, ensure that you conduct graph operations within an application context.


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y
S
save()
- Method in class controller.
HomeController
SaveAnswer()
- Constructor for enum swing.
HomePane.SaveAnswer
saveAs()
- Method in class controller.
HomeController
scale
- Variable in class swing.
PlanComponent
selectedFurniture
- Variable in class metier.
Catalog
selectedItems
- Variable in class event.
SelectionEvent
selectedItems
- Variable in class metier.
Home
selectionChanged(SelectionEvent)
- Method in interface listener.
SelectionListener
SelectionEvent
- Class in
event
SelectionEvent(Object, List<?>)
- Constructor for class event.
SelectionEvent
SelectionListener
- Interface in
listener
selectionListeners
- Variable in class metier.
Catalog
selectionListeners
- Variable in class metier.
Home
selectionMoveState
- Variable in class controller.
PlanController
SelectionMoveState()
- Constructor for class controller.
PlanController.SelectionMoveState
selectionState
- Variable in class controller.
PlanController
SelectionState()
- Constructor for class controller.
PlanController.SelectionState
selectItem(Object)
- Method in class controller.
PlanController
selectItems(List<?>)
- Method in class controller.
PlanController
selectPieceOfFurniture(Catalog, CatalogPieceOfFurniture)
- Method in class swing.
CatalogTree
serialVersionUID
- Static variable in class junit.
UndoManagerTest.AddWordToListEdit
setCatalog(Catalog)
- Method in class metier.
UserPreferences
setColor(Integer)
- Method in class metier.
HomePieceOfFurniture
setColumnRenderers(UserPreferences)
- Method in class swing.
FurnitureTable
setCursor(PlanController.Mode)
- Method in class swing.
PlanComponent
setDepth(float)
- Method in class metier.
CatalogPieceOfFurniture
setDepth(float)
- Method in class metier.
HomePieceOfFurniture
setDepth(float)
- Method in interface metier.
PieceOfFurniture
setDoorOrWindow(boolean)
- Method in class metier.
CatalogPieceOfFurniture
setDoorOrWindow(boolean)
- Method in class metier.
HomePieceOfFurniture
setDoorOrWindow(boolean)
- Method in interface metier.
PieceOfFurniture
setEnabled(HomePane.ActionType, boolean)
- Method in class swing.
HomePane
setFurniture(List<CatalogPieceOfFurniture>)
- Method in class metier.
Category
setHeight(float)
- Method in class metier.
CatalogPieceOfFurniture
setHeight(float)
- Method in class metier.
HomePieceOfFurniture
setHeight(float)
- Method in interface metier.
PieceOfFurniture
setIcon(Content)
- Method in class metier.
CatalogPieceOfFurniture
setIcon(Content)
- Method in class metier.
HomePieceOfFurniture
setIcon(Content)
- Method in interface metier.
PieceOfFurniture
setIndex(int)
- Method in class event.
FurnitureEvent
setLength(float)
- Method in class swing.
UserPreferencesPanel.SpinnerLengthModel
setMagnetismEnabled(boolean)
- Method in class metier.
UserPreferences
setMnemonics()
- Method in class swing.
UserPreferencesPanel
setMode(PlanController.Mode)
- Method in class controller.
PlanController.ControllerState
setMode(PlanController.Mode)
- Method in class controller.
PlanController.NewWallState
setMode(PlanController.Mode)
- Method in class controller.
PlanController.RectangleSelectionState
setMode(PlanController.Mode)
- Method in class controller.
PlanController.SelectionMoveState
setMode(PlanController.Mode)
- Method in class controller.
PlanController.SelectionState
setMode(PlanController.Mode)
- Method in class controller.
PlanController
setMode(PlanController.Mode)
- Method in class controller.
PlanController.WallCreationState
setModel(Content)
- Method in class metier.
CatalogPieceOfFurniture
setModel(Content)
- Method in class metier.
HomePieceOfFurniture
setModel(Content)
- Method in interface metier.
PieceOfFurniture
setMovable(boolean)
- Method in class metier.
CatalogPieceOfFurniture
setMovable(boolean)
- Method in class metier.
HomePieceOfFurniture
setMovable(boolean)
- Method in interface metier.
PieceOfFurniture
setName(String)
- Method in class metier.
CatalogPieceOfFurniture
setName(String)
- Method in class metier.
Category
setName(String)
- Method in class metier.
Home
setName(String)
- Method in interface metier.
HomeModel
setName(String)
- Method in class metier.
HomePieceOfFurniture
setName(String)
- Method in interface metier.
PieceOfFurniture
setNameAndShortDescription(HomePane.ActionType, String)
- Method in class swing.
HomePane
setNewHomeWallHeight(float)
- Method in class metier.
UserPreferences
setNewWallThickness(float)
- Method in class metier.
UserPreferences
setPiece(PieceOfFurniture)
- Method in class event.
FurnitureEvent
setPreferences(UserPreferences)
- Method in class swing.
UserPreferencesPanel
setRectangleFeedback(float, float, float, float)
- Method in class swing.
PlanComponent
setScale(float)
- Method in class swing.
PlanComponent
setSelectedFurniture(List<CatalogPieceOfFurniture>)
- Method in class controller.
CatalogController
setSelectedFurniture(List<HomePieceOfFurniture>)
- Method in class controller.
FurnitureController
setSelectedFurniture(List<CatalogPieceOfFurniture>)
- Method in class metier.
Catalog
setSelectedItems(List<? extends Object>)
- Method in class metier.
Home
setSelectedItems(List<? extends Object>)
- Method in interface metier.
HomeModel
setSelectionMode()
- Method in class controller.
HomeController
setState(PlanController.ControllerState)
- Method in class controller.
PlanController
setThickness(float)
- Method in class metier.
Wall
setType(FurnitureEvent.Type)
- Method in class event.
FurnitureEvent
setUndoRedoName(String, String)
- Method in class swing.
HomePane
setUnit(UserPreferences.Unit)
- Method in class metier.
UserPreferences
setUp()
- Method in class junit.
HomeControllerTest
setUrl(URL)
- Method in class io.
URLContent
setVisible(boolean)
- Method in class metier.
HomePieceOfFurniture
setWallAtEnd(Wall, Wall)
- Method in class metier.
Home
setWallAtEnd(Wall)
- Method in class metier.
Wall
setWallAtStart(Wall, Wall)
- Method in class metier.
Home
setWallAtStart(Wall)
- Method in class metier.
Wall
setWallCreationMode()
- Method in class controller.
HomeController
setWidth(float)
- Method in class metier.
CatalogPieceOfFurniture
setWidth(float)
- Method in class metier.
HomePieceOfFurniture
setWidth(float)
- Method in interface metier.
PieceOfFurniture
setXEnd(float)
- Method in class metier.
Wall
setXStart(float)
- Method in class metier.
Wall
setYEnd(float)
- Method in class metier.
Wall
setYStart(float)
- Method in class metier.
Wall
shiftDownLastMousePress
- Variable in class controller.
PlanController
showAboutDialog()
- Method in class swing.
HomePane
showDialog(JComponent)
- Method in class swing.
UserPreferencesPanel
showError(String)
- Method in class swing.
HomePane
showFileChooser(boolean, String)
- Method in class swing.
HomePane
public String showSaveDialog(String name) { String file = showFileChooser(true, name); if (file !
showFileDialog(boolean, String)
- Method in class swing.
HomePane
showOpenDialog()
- Method in class swing.
HomePane
showSaveDialog(String)
- Method in class swing.
HomePane
SimplePlanTest
- Class in
junit
SimplePlanTest()
- Constructor for class junit.
SimplePlanTest
sorted
- Variable in class metier.
Catalog
Marqueur qui permet de savoir si liste a ete modifie
sorted
- Variable in class metier.
Category
SpinnerLengthModel(float, float, AbstractButton)
- Constructor for class swing.
UserPreferencesPanel.SpinnerLengthModel
state
- Variable in class controller.
PlanController
STEP_COUNT
- Static variable in class controller.
PlanController.PointWithMagnetism
SWEET_HOME_3D_EXTENSION
- Static variable in class swing.
HomePane
SWEET_HOME_3D_FILTER
- Static variable in class swing.
HomePane
SweetHome3D
- Class in
main
SweetHome3D()
- Constructor for class main.
SweetHome3D
SweetHome3DJavaWebStart
- Class in
main
SweetHome3DJavaWebStart()
- Constructor for class main.
SweetHome3DJavaWebStart
swing
- package swing
A
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


As a little background information I am currently in my junior year of High School and am a Full IB Diploma Canidate and at the top of my class. Now with IB we are given easily 6 hours of homework a night, trying to suceed at homework when I don't get home until 6 while maintaining a job (6-midnight usually) it become extremely difficult to fit it in at all even with the inability to sleep. And that led to my purchase of Adderall.
 After all, I do plan on majoring in BioChemistry. It took me a while before I could find a hook-up to my great surprise. But eventually, I found someone with Severe ADHD that I had known prior and whom was prescribed 3 30mg XR adderall daily and he only took 2 per day. I bought a few off of him but only received one at the first purchase as he forgot the others. Later on in the day I realized this capsule was becoming sticky and I decided I should take it now (around noon). Within a half hour to and hour everything shifted just slightly. The entire room seemed to be brighter than usual. Everything seemed so much more vibrant and alive than it usually would and I really enjoyed the feeling I was having.
Now I head to last period, and hour and a half of IB Theatre then followed by a 3 hour Rehearsal. By the time class has started and gotten underway fairly well I began to really feel the stimulant effects. My mind began racing. I felt as if it was capable of anything and had somehow been placed upon a higher level. That is the only way I can really describe it. Things would make sense.
Soon after I began feeling another odd sensation that I don't beleive I have ever experienced prior. My body was physically tired (I hadn't slept much the few nights prior either nor eaten in 2 days) and I seemed exhausted, however my brain wasn't tired in the least. In fact it was reminescent of the state my brain goes into once an epiphany occurs. The thoughts came so quickly and so naturally that I was on a higher level. During Improv Games I was a God. I would be able to create the most brilliant and hillarious skits off of the top of my head and all around everything was making so much more sense than usual. I also continually checked my pulse throughout the day and I realized it was generally lower than normal.
[Erowid Note: Driving while intoxicated or tripping is dangerous and irresponsible because it endangers other people. Don't do it!]
About 4:30-5:00ish I began experiencing a headache. I'm not sure if this was from stress or from coming down, but it wasn't too severe so I payed it no mind. Driving home around 5:00 was quite fun however. I had forgotten that I was supposed to be driving on the right hand side of the road because my brain was too busy contemplating other issues to even concentrate on driving. Luckily, I figured out how to drive again and made it home safely.
The entire time I'm home (the rest of the night) I can't stop speaking a million words per minute and my thoughts no longer become coherent to everyone else. I love the state I am in, however in retrospect I think it was actually just the beggining of coming down, and I love being able to concentrate so little and still grasping everything, as if it wasn't required for me to pay attention to anything and still understand it all. The only negative I experienced during this phase was strong cotton mouth and my mouth tasted horribly.
At about 9 o'clock (I finally escape the 3 hour phone conversation I had just had) I decide I'll get online and do some homework and chat with friends and what not, despite it is a Friday night. Nothing seemed to change too much here. I had a few wonderful conversations (and a few deep ones) and one that I was coming up with the most pure and beautiful of thoughts I had ever heard before. I was truly amazing myself and I felt euphoric.
12:00 My Girlfriend of 8 months calls me and can tell I'm obviously inebrieated and flat out tells me I have to choose between her or drugs. I start questioning my own psychological mindset here, I could LITERALLY hear a voice in my head telling me that I didn't need her. She was taking away what happiness I had etc. and I began to become worried. However I did choose her and this will be the last drug I ever take recreationally. I even promised to never take another OTC med again, ever. I'm not certain if the paranoia and possible psychosis where drug-related or not but I am going to assume so.
1:00 AM Cotton mouth is still in effect and I can't sleep nor eat. It's not even so much the fact that I don't want to, it's me not wanting to to the extent of not being able to. I felt as if even if I where to grab something to eat, despite complete lack of desire, I wouldn't be able to actually eat it, that I was too full as it was. I begin really losing coherency here. Everyone I am talking to has the idea that I must be drunk because of the mistypings and misuse of words, like where and were confused and there and their confused etc. and I would tell a 5 minute story over the period of an hour due to all of the tangents I would go off on. I still loved the feeling and never wanted it to end.
5:00 AM None of my friends are any longer awake and I have nothing to do but sit and worry about what I could be doing with my time. I then take a yawn and realize that finally, 15 hours later, I might be able to catch some sleep. I go to the restroom and in the mirror I shock myself by the look on my face. I see so much wear that was never there before. For some reason I open my mouth as wide as I can with my hands and I realize I am human. Although this may seem odd, I finally understood that I am nothing more than the bones, flesh, and skin that I saw right then. Only to be awoken at the hour of 6:30 AM from inability to sleep but still completely full of stamina and energy. Things really go downhill from here.
Between 10:00 AM and 1:00 PM I begin to have a literal break-down. Everything in my life is going wrong and I can't do anything to stop it. I just want to feel happy again. I can't take another Adderall because of the promise I had made and I felt like literally dying, not that I was going to, but that it would be nice to die, and I knew I couldn't. On this note I should mention I am always easy-going and generally pleasant and have never gone through serious depression before nor suicidal thoughts and therefore it must have been drug-related. Loads of paranoia. Loads and loads of stress and feelings of failure at life.
3:00 PM This is where I am now. I am just now writing this experience and I am JUST now starting to feel somewhat normal again and have an inkling of an appetite despite lack of food for the past 100+ hours.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


The world, and specifically the United States faced an unexpected tragedy September 11, 2001 when there was a terrorist attack on the Twin Towers. This lead to thousands of deaths and tens of thousands of injuries. Overall, the 9/11 attacks changed the thinking of citizens. Considering the impact the event had, the project looked into this event and its influence on the movie industry.
In 2001, the highest rated genre was Musical and the lowest rated genre was Sports. This is interesting because in 2001, Musical was the least common genre of movies. Often, music is what people look to when they struggle to express their emotions or experience anxiety. Perhaps even in movies, people were looking to relieve their stress and anxiety following the attacks.
There were no significant changes in terms of number of movies released, and other financial aspects of the movie industry during this year. While this suggests that the 9/11 attacks did not have much of an impact on the movie industry, it is important to note that the attacks occurred late in the year. The span of three months may not have had significant impact that showed in the data.


DEVON ARDEL
When I first came up with the character of Devon Ardel, I imagined that she would look exactly like Starbuck from the new Battlestar Galactica TV series. Then that show came out and I was stuck with the image, so really, any blonde woman with a rough side would work. Recently I imagined the actress Elysa Cuthbert as being somewhat like Devon. Primarily because she had a sullen side that I thought worked with Devon's character.
Devon Ardel was my cowboy hero for the western landscape that was Ocherva. A loner, tough as nails and one hell of a good pilot. Able to take a hit from any man and smarter than anyone trying to hit her. In the short stories where she's a Stellar Ranger, she gets banged up pretty good. She was not afraid of having scars and wore them with pride.


gradle build- Exclude test task:
gradle build -x test- Run in offline mode to prevent Gradle from accessing the network during builds:
gradle build --offline- Clear the build directory:
gradle clean- Build an Android Package (APK) in release mode:
gradle assembleRelease- List the main tasks:
gradle tasks- List all the tasks:
gradle tasks --all


Entry class to initialize the MobileCore for Android
More...
|
| static void | Init (Context appContext) |
| | Initializes Mobile core for Android. More...
|
| |
| static void | Init (Context appContext, Options options) |
| | Initializes Mobile core for Android. More...
|
| |
| static void | Init (Assembly assembly, Context appContext) |
| | Initializes Mobile core for Android using custom assembly for storing resources. Best to be used with Xamarin.Forms. Resources needs to be stored in ./Resources directory of Xamarin.Forms platform-independent project. More...
|
| |
| static void | Init (Assembly assembly, Context appContext, Options options) |
| | Initializes Mobile core for Android using custom assembly for storing resources. Best to be used with Xamarin.Forms. Resources needs to be stored in ./Resources directory of Xamarin.Forms platform-independent project. More...
|
| |
Entry class to initialize the MobileCore for Android
◆ Init() [1/4]
| static void AeroGear.Mobile.Core.MobileCoreAndroid.Init |
( |
Context |
appContext | ) |
|
|
static |
Initializes Mobile core for Android.
- Parameters
-
| app | Android application context |
◆ Init() [2/4]
| static void AeroGear.Mobile.Core.MobileCoreAndroid.Init |
( |
Context |
appContext, |
|
|
Options |
options |
|
) |
| |
|
static |
Initializes Mobile core for Android.
- Parameters
-
| appContext | Android application contextt |
| options | additional initialization options |
◆ Init() [3/4]
| static void AeroGear.Mobile.Core.MobileCoreAndroid.Init |
( |
Assembly |
assembly, |
|
|
Context |
appContext |
|
) |
| |
|
static |
Initializes Mobile core for Android using custom assembly for storing resources. Best to be used with Xamarin.Forms. Resources needs to be stored in ./Resources directory of Xamarin.Forms platform-independent project.
- Parameters
-
| assembly | Assembly of the platform-independent project |
| appContext | Android application contextt |
◆ Init() [4/4]
| static void AeroGear.Mobile.Core.MobileCoreAndroid.Init |
( |
Assembly |
assembly, |
|
|
Context |
appContext, |
|
|
Options |
options |
|
) |
| |
|
static |
Initializes Mobile core for Android using custom assembly for storing resources. Best to be used with Xamarin.Forms. Resources needs to be stored in ./Resources directory of Xamarin.Forms platform-independent project.
- Parameters
-
| assembly | Assembly of the platform-independent project |
| appContext | Android application contextt |
| options | additional initialization options |
The documentation for this class was generated from the following file:


LOCALSCALE
About
Discussion Forum
Services
Log In
About
Managment
Investing
Funding
Supply Chain
Popular Discussion
Managment
Investing
Funding
Supply Chain


{% load i18n %}
{% if can_edit %}
{% if not object.original_language %}
{% trans "IMPORTANT NOTICE! The next time you will edit this content, it will take the current active language" %}
({{ current_language_name }})
{% trans "as its 'original editing language'. Afterwards, you should edit it using always the same language, and you will be able to add translations to other languages." %}
{% elif language_mismatch %}
{% trans "Please note that, to be able to edit this content in its original language" %}
({{ object.get_language_name }})
{% trans "you should make this the active language using the control in the menu bar" %}.


Using your browser’s Developer Tools for scraping¶
Here is a general guide on how to use your browser’s Developer Tools to ease the scraping process. Today almost all browsers come with built in Developer Tools and although we will use Firefox in this guide, the concepts are applicable to any other browser.
In this guide we’ll introduce the basic tools to use from a browser’s Developer Tools by scraping quotes.toscrape.com.
Caveats with inspecting the live browser DOM¶
Since Developer Tools operate on a live browser DOM, what you’ll actually see
when inspecting the page source is not the original HTML, but a modified one
after applying some browser clean up and executing Javascript code. Firefox,
in particular, is known for adding

elements to tables. Scrapy, on
the other hand, does not modify the original page HTML, so you won’t be able to
extract any data if you use

in your XPath expressions.
Therefore, you should keep in mind the following things:
- Disable Javascript while inspecting the DOM looking for XPaths to be used in Scrapy (in the Developer Tools settings click Disable JavaScript)
- Never use full XPath paths, use relative and clever ones based on attributes
(such as
id
,class
,width
, etc) or any identifying features likecontains(@href, 'image')
. - Never include

elements in your XPath expressions unless you really know what you’re doing
Inspecting a website¶
By far the most handy feature of the Developer Tools is the Inspector feature, which allows you to inspect the underlying HTML code of any webpage. To demonstrate the Inspector, let’s look at the quotes.toscrape.com-site.
On the site we have a total of ten quotes from various authors with specific tags, as well as the Top Ten Tags. Let’s say we want to extract all the quotes on this page, without any meta-information about authors, tags, etc.
Instead of viewing the whole source code for the page, we can simply right click
on a quote and select Inspect Element (Q)
, which opens up the Inspector.
In it you should see something like this:
The interesting part for us is this:

(...)
(...)

(...)

If you hover over the first div
directly above the span
tag highlighted
in the screenshot, you’ll see that the corresponding section of the webpage gets
highlighted as well. So now we have a section, but we can’t find our quote text
anywhere.
The advantage of the Inspector is that it automatically expands and collapses
sections and tags of a webpage, which greatly improves readability. You can
expand and collapse a tag by clicking on the arrow in front of it or by double
clicking directly on the tag. If we expand the span
tag with the class=
"text"
we will see the quote-text we clicked on. The Inspector lets you
copy XPaths to selected elements. Let’s try it out: Right-click on the span
tag, select Copy > XPath
and paste it in the scrapy shell like so:
$ scrapy shell "http://quotes.toscrape.com/"
(...)
>>> response.xpath('/html/body/div/div[2]/div[1]/div[1]/span[1]/text()').getall()
['"The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”]
Adding text()
at the end we are able to extract the first quote with this
basic selector. But this XPath is not really that clever. All it does is
go down a desired path in the source code starting from html
. So let’s
see if we can refine our XPath a bit:
If we check the Inspector again we’ll see that directly beneath our
expanded div
tag we have nine identical div
tags, each with the
same attributes as our first. If we expand any of them, we’ll see the same
structure as with our first quote: Two span
tags and one div
tag. We can
expand each span
tag with the class="text"
inside our div
tags and
see each quote:

“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”

(...)

(...)

With this knowledge we can refine our XPath: Instead of a path to follow,
we’ll simply select all span
tags with the class="text"
by using
the has-class-extension:
>>> response.xpath('//span[has-class("text")]/text()').getall()
['"The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”,
'“It is our choices, Harry, that show what we truly are, far more than our abilities.”',
'“There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.”',
(...)]
And with one simple, cleverer XPath we are able to extract all quotes from
the page. We could have constructed a loop over our first XPath to increase
the number of the last div
, but this would have been unnecessarily
complex and by simply constructing an XPath with has-class("text")
we were able to extract all quotes in one line.
The Inspector has a lot of other helpful features, such as searching in the source code or directly scrolling to an element you selected. Let’s demonstrate a use case:
Say you want to find the Next
button on the page. Type Next
into the
search bar on the top right of the Inspector. You should get two results.
The first is a li
tag with the class="text"
, the second the text
of an a
tag. Right click on the a
tag and select Scroll into View
.
If you hover over the tag, you’ll see the button highlighted. From here
we could easily create a Link Extractor to
follow the pagination. On a simple site such as this, there may not be
the need to find an element visually but the Scroll into View
function
can be quite useful on complex sites.
Note that the search bar can also be used to search for and test CSS
selectors. For example, you could search for span.text
to find
all quote texts. Instead of a full text search, this searches for
exactly the span
tag with the class="text"
in the page.
The Network-tool¶
While scraping you may come across dynamic webpages where some parts of the page are loaded dynamically through multiple requests. While this can be quite tricky, the Network-tool in the Developer Tools greatly facilitates this task. To demonstrate the Network-tool, let’s take a look at the page quotes.toscrape.com/scroll.
The page is quite similar to the basic quotes.toscrape.com-page,
but instead of the above-mentioned Next
button, the page
automatically loads new quotes when you scroll to the bottom. We
could go ahead and try out different XPaths directly, but instead
we’ll check another quite useful command from the scrapy shell:
$ scrapy shell "quotes.toscrape.com/scroll"
(...)
>>> view(response)
A browser window should open with the webpage but with one
crucial difference: Instead of the quotes we just see a greenish
bar with the word Loading...
.
The view(response)
command let’s us view the response our
shell or later our spider receives from the server. Here we see
that some basic template is loaded which includes the title,
the login-button and the footer, but the quotes are missing. This
tells us that the quotes are being loaded from a different request
than quotes.toscrape/scroll
.
If you click on the Network
tab, you will probably only see
two entries. The first thing we do is enable persistent logs by
clicking on Persist Logs
. If this option is disabled, the
log is automatically cleared each time you navigate to a different
page. Enabling this option is a good default, since it gives us
control on when to clear the logs.
If we reload the page now, you’ll see the log get populated with six new requests.
Here we see every request that has been made when reloading the page and can inspect each request and its response. So let’s find out where our quotes are coming from:
First click on the request with the name scroll
. On the right
you can now inspect the request. In Headers
you’ll find details
about the request headers, such as the URL, the method, the IP-address,
and so on. We’ll ignore the other tabs and click directly on Reponse
.
What you should see in the Preview
pane is the rendered HTML-code,
that is exactly what we saw when we called view(response)
in the
shell. Accordingly the type
of the request in the log is html
.
The other requests have types like css
or js
, but what
interests us is the one request called quotes?page=1
with the
type json
.
If we click on this request, we see that the request URL is
http://quotes.toscrape.com/api/quotes?page=1
and the response
is a JSON-object that contains our quotes. We can also right-click
on the request and open Open in new tab
to get a better overview.
With this response we can now easily parse the JSON-object and also request each page to get every quote on the site:
import scrapy
import json
class QuoteSpider(scrapy.Spider):
name = 'quote'
allowed_domains = ['quotes.toscrape.com']
page = 1
start_urls = ['http://quotes.toscrape.com/api/quotes?page=1]
def parse(self, response):
data = json.loads(response.text)
for quote in data["quotes"]:
yield {"quote": quote["text"]}
if data["has_next"]:
self.page += 1
url = "http://quotes.toscrape.com/api/quotes?page={}".format(self.page)
yield scrapy.Request(url=url, callback=self.parse)
This spider starts at the first page of the quotes-API. With each
response, we parse the response.text
and assign it to data
.
This lets us operate on the JSON-object like on a Python dictionary.
We iterate through the quotes
and print out the quote["text"]
.
If the handy has_next
element is true
(try loading
quotes.toscrape.com/api/quotes?page=10 in your browser or a
page-number greater than 10), we increment the page
attribute
and yield
a new request, inserting the incremented page-number
into our url
.
You can see that with a few inspections in the Network-tool we were able to easily replicate the dynamic requests of the scrolling functionality of the page. Crawling dynamic pages can be quite daunting and pages can be very complex, but it (mostly) boils down to identifying the correct request and replicating it in your spider.


map here
Create wildfire alert
×
Create wildfire alert
Select safe locations from nearest recommandations
Apahida
Floresti
Borhanci
Select live feed source from available aerial surveillance
Drone 23
Drone 45
Fire brigade helicopter 3
Remarks
×
Wildfire alert was created
Please keep this alert updated.
×
Wildfire reported
The reporter is in distress
The fire is real, please send all units!
×
Resolve alert
Are you sure you want to remove this alert?


Clicking on a color will change the color of the text below.
You can remove the last element or reset the list (LoDash)
You can change the size of this text with the buttons!


@_Kevin_Pham all you need is an https://t.co/0VzYfaP9tV link which is itself timestamped on Bitcoin with @opentimestamps to prove that a screenshot wasn't faked. You get both a pretty reliable host for the data, and a timestamp to prove when the data was uploaded. Twitter ...
Satoshi Proof is your personal notary leveraging the power of the Bitcoin network to prove existence of text or images at a certain time. - ligi/SatoshiProof


Bayesian models are often considered in a hierarchical fashion. Even when there is no multilevel structure to the data, the model can still be implicitly hierarchical due to the relationship of hyperparameters, parameters of interest, and data. The complicated structure...
Read MoreA blog about Bayesian statistics with an emphasis on computational challenges
Posts
A common issue in Bayesian statistics and Markov Chain Monte Carlo is the concept of convergence. When approximating parameters by MCMC, we expect the chains to converge to the stationary distributions. Visual inspection of a MCMC traceplot can suggest convergence,...
Read More


About
This page is for demoing bootstrap related components used on my site.
Dropdown
Action
Another action
Something else here
Separated link
Tabular input/output
A single row of input with actions, modify, add, delete.


[gecode-users] strange bug in propagation
Lars Otten
ottenl at student.chalmers.se
Sun Apr 16 16:01:08 CEST 2006
Hi,
On 04/16/06 14:45, Grégoire Dooms wrote:
> Here is a (small) check list for mistakes I did and which triggered
> segfaults later :
> [...]
What helped for me when I had a similar problem (segfault with gdb pointing
to parts of 'normal' Gecode) was checking the problem with valgrind instead [1].
I turned out that the gdb analysis was misleading, instead I had forgotten
to reset a counter variable in my own extension's code.
Best easter regards,
/Lars
[1] http://www.valgrind.org/
More information about the gecode-users
mailing list


See: Description
| Interface | Description |
|---|---|
| InitializeArgs |
The interface that an object must implement to be a valid parameter for the initialize method of
a Module object.
|
| Module.SlotRequirement |
This interface defines the required properties for a slot.
|
| Module.WaitingBehavior |
This interface defines the allowed constants for the wanted waiting behavior when calling
waitForSlotEvent.
|
| MutexHandler |
Objects that implement this interface can be used in the InitializeArgs to handle mutex
functionality.
|
| Notify |
Interface for notification callbacks.
|
| Session.UserType |
This interface defines the different user types of PKCS#11.
|
| Token.SessionReadWriteBehavior |
This interface defines constants that specify the read/write behavior of a session.
|
| Token.SessionType |
This interface defines constants for the type of session that should be opened upon a call to
openSession.
|
| Class | Description |
|---|---|
| DefaultInitializeArgs |
This class is a simeple implementation of InitializeArgs.
|
| DefaultMutexHandler |
This class offers a default-implementation of a MutexHandler.
|
| Info |
Objects of this class provide information about a PKCS#11 moduel; i.e.
|
| Mechanism |
Objects of this class represent a mechansim as defined in PKCS#11.
|
| MechanismInfo |
Objects of this class provide information about a certain mechanism that a token implements.
|
| Module |
Objects of this class represent a PKCS#11 module.
|
| Session |
Session objects are used to perform cryptographic operations on a token.
|
| SessionInfo |
An object of this class provides information about a session.
|
| Slot |
Objects of this class represent slots that can accept tokens.
|
| SlotInfo |
Objects of this call provide information about a slot.
|
| State |
Objects of this class show the state of a session.
|
| Token |
Objects of this class represent PKCS#11 tokens.
|
| TokenInfo |
Objects of this class provide information about a token.
|
| Util |
A class consisting of static methods only which provide certain static piecec of code that are
used frequently in this project.
|
| Version |
Objects of this class represent a version.
|
| Exception | Description |
|---|---|
| TokenException |
The base class for all exceptions in this package.
|
| TokenRuntimeException |
The base class for all runtiem exceptions in this package.
|
| UnsupportedAttributeException |
iaik.pkcs.pkcs11.wrapper
package. If an application uses
this object oriented API, it does not need to work with any of the classes or
interfaces from the iaik.pkcs.pkcs11.wrapper
package at all. All
the functionality is available on both levels. This package just provides the
'functional' components of the API; all objects are in the
iaik.pkcs.pkcs11.object
package. In principal, every application starts
using this package by calling Module.getInstance(String)
and
passing the name of the underlying PKCS#11 module as a parameter; e.g.
"C:\Program Files\Drivers\myPkcs11Driver.dll". Do not forget to call the
initialize(InitializeArgs)
method on this module before calling any other
method. Even though it is object oriented, it is a relatively straight-forward
object model of PKCS#11.
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.4


Order Confirmation
Please click exit in the top-bar to continue shoppoing =)
Order.NR:
Customer:
Email:
City:
| Image | Units | Part.Nr | Model | A´price | Total Price |
|---|
Please click exit in the top-bar to continue shoppoing =)
Order.NR:
Customer:
Email:
City:
| Image | Units | Part.Nr | Model | A´price | Total Price |
|---|


Home / img / haxelogo.png
Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.
path/to/app/logic
Upload files
Form
Log
Exit


| Audio Source | Oscillator [Computer Generated Waveform] |
| Audio Output |
Oscillator Wave
Anti-Phase Oscillator Wave |
| Frequency | 364 Hz |
| Detune | |
| Inverted Wave Phase Shift | |
| Wave Shape | Sine Square Sawtooth Triangle |


Charles Tyrwhitt is a multi-channel British clothing retailer, specialising in formal men’s shirts, shoes, suits, knitwear and accessories, as well as lines of womenswear and a casual range. Charles Tyrwhitt was founded as a mail order company in 1986 by Nicholas Charles Tyrwhitt Wheeler while he was a student at Bristol University. Wheeler has said that he started the business simply because he thought he "could make a shirt better than anybody else". In 1997, the company opened its first store on Jermyn Street, London, notable for its history in British shirt making. Charles Tyrwhitt’s flagship store is now at Nos. 98–100 Jermyn Street. Charles Tyrwhitt uses a high-low pricing sales model.
Learn MoreSportsShoes.com is an online sports clothing store founded in 1982 by former professional footballer Bruce Bannister and based in Shipley, West Yorkshire. In 1985, SportsShoes launched its mail order service and later became one of the first retailers to launch an e-commerce website.
Learn MoreEven though DrJays.com began selling on the Internet in 2000, its legacy began in 1975 with the opening of the first Dr. Jay's store in the South Bronx section of New York. Not coincidentally, hip-hop had its origins in the same neighborhood around the same time that Dr. Jay's opened its first doors. The urban landscape was changing, and with the new music came a new fashion sensibility. Dr. Jay's has been a pioneer in providing these urban fashions ever since, growing to 19 stores throughout the New York Metro area.
Learn MoreCall me!


PocketBook is a free Android app created by Justin Han. The app includes features such as saving Credit Cards, Notes, and Logins.
Anyone can use this app. It is able to save critical information. Even has the function to store data into cloud as backup.


[§142-93.5] Mongoose; killing allowed. No person shall be prohibited from killing a mongoose in any manner not prohibited by law, including by trapping. [L 1986, c 8, §1]


--- layout: post title: Why Versatility? date: '2013-11-16T07:30:00+01:00' categories: - Freelance life picture_url: https://film-Storyboards.tumblr.com/post/67148332162/why-versatility ---
Versatility over specialisation: not the simplest thing to showcase & promote. People, and clients, want to talk to specialists. This is often right.
Yet Illustration should be more like design in its approach: in essence, it is about trying to find solutions to given problems.
My work takes a wide range of directions, since each style is crafted for the specific requirements of a project or brand. If you still want specialisation, keep in mind that Illustration is a just a part of visual communication. It doesn’t have to be a single style, or technique. It should be what works best for the job.


Id: {{card.cardId}}
Name: {{card.cardName}}
Class: {{card.cardClass}}
Attack: {{card.attackNumber}}
Defense: {{card.defenceNumber}}


The unsung hero of the 2020 covid-19 pandemic, the couch potato ensures the safety of others by staying indoors and out of reach of pestilence. Show the world that you are doing your part, and staying the $&% at home!
Items Available:
Clothing Options
Unisex T-shirt, Ladies Comfort Tee, Hoodie, Classic Tank Top


Champion
public struct Champion
Champion
struct, containing all of the relevant status data
-
The
Champion
identifierDeclaration
Swift
public let id: Int;
-
The
Champion
nameDeclaration
Swift
public let name: String;
-
Whether or not the
Champion
is active or disabledDeclaration
Swift
public let active: Bool;
-
Whether or not the
Champion
can be used as a botDeclaration
Swift
public let botEnabled: Bool;
-
Whether or not the
Champion
is playable in CoOp vs AIDeclaration
Swift
public let botMMEnabled: Bool;
-
Whether or not the
Champion
is in the free rotationChampion
poolDeclaration
Swift
public let freeEnabled: Bool;
-
Whether or not the
Champion
is available in ranked matches.Declaration
Swift
public let rankedEnabled: Bool;
-
The
Champion
avatar/icon. Var because we set this after. Optional because it has to be nil initiallyDeclaration
Swift
public var icon: UIImage?;
-
THe champion data
Declaration
Swift
public var championData: ChampionData?;


Input must be a tabulated file containing columns with these name:
'Ytype' for Ytype modification,
'type' for type of the modification,
'mass' for mass of the modification,
'regex' for regular expression of the modification,
'label' for label of the modification,
'm_label' for final label of the modification if it is a static modification on the generated sequence
Custom SWATH Windows Range:
Input must be a tabulated file where the first column is the starting mz value of the window and the second column is the ending mz value of the window


Predicate checking if value is even.
Symbol used to express that a value did not satisfy a certain spec.
Predicate checking if value is a number.
Predicate checking if value is a function.
Predicate checking if value is a number.
Predicate checking if value is a number.
Predicate checking if value is a number.
Predicate checking if value is a symbol.
Predicate checking if value is negative.
Predicate checking if value is odd.
Predicate checking if value is positive.
Predicate checking if value is zero.
Factory function for And
specs.
Name of the and spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
Specs that have all to be satisfied to fulfill this spec.
Returns an And
spec representing the conjunction of the given
specs.
Asserts a spec on a given value. Returns the value if value passes
specification, returns perusal.invalid
otherwise.
The value to be asserted.
The spec to be used. <<<<<<< HEAD
Defines a new spec, allowing it to be referenced as such in the future.
The name that will be used to refer to the spec in the future.
The spec to be defined.
Factory function for Every
specs.
Name of the every spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
Specs that have all to be satisfied to fulfill this spec.
Returns an Every
spec representing that all elements in the
collection have to satisfy the provided spec..
Explains why a value passes/fails a specification.
The value to be checked.
The speficiation to be used.
Checks if a value is valid given a specificiation.
The value to be checked.
The speficiation to be used.
Returns boolean representing if the value if value passes spec.
Factory function for Keys
specs.
Name of the key spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
Specs that have all to be satisfied to fulfill this spec.
Returns a Keys
spec requiring the values of the input to satisfy
the keys initialized in this spec.
Factory function for OneOf
specs. Consider using the spread
operator if you start with a collection!
Name of the and spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
user-defined values used to assert future values.
Returns a OneOf
spec requiring the input value to be within one of
the user pre-defined values.
Factory function for Or
specs.
Name of the and spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
Specs, where one of them has to be satisfied to fulfill this spec.
Returns an Or
spec representing the disjunction of the given specs.
Factory function for Pred
specs. Note that this does not check
if input function is a valid boolean function (since program is unaware of
user input domain), thus the responsibility is on the user to verify that
the input fn is a function. However, during runtime, should a non-boolean
output be detected, assert throws an error, which may help in debugging.
Name of the key spec. Important to set this to a human readable (meaningful) string, since this is what will get printed out in explain.
Predicate function that returns a boolean value on input within user-desired domain.
Returns a Pred
spec requiring the value to return true when fed to
fn
.
Generated using TypeDoc
{[key: string]: Spec} defs holds all user-made definitions.


Data
All data in this website comes from the Mexican Justice System, in addition the government health agencies track the number of homicides, but that information is updated much less frequently. If you use the data I would appreciate a link back. Some states may be missing from the municipio data because they haven't reported their data, if this happens wait a couple of days to download the data again.
| New methodology: |
|---|
| nm-fuero-comun-municipios.csv.gz |
| nm-fuero-comun-estados.csv.gz |
| nm-estatal-victimas.csv.gz |
| Old methodology (up to 2017): |
|---|
| fuero-comun-municipios.csv.gz |
| fuero-comun-estados.csv.gz |
| victimas.csv.gz |
INEGI data is available from the R package mxmortalitydb and the INEGI website. To create the maps I used the R package mxmaps
This information is constantly updated from the Secretariado Ejecutivo del Sistema Nacional de Seguridad Pública and the INEGI
Source for this website: GitHub
Population data comes from the CONAPO. Monthly population was obtained by linear interpolation
The state and municipio codes come from the INEGI's Catálogo de entidades federativas, municipios y localidades del INEGI
All crimes from all categories at both the state and municipality levels are completely available
Victim data comes from the special SNSP reports


Predicting Ingredients from Recipe Title
A step towards smart recipe editor
Saurabh Bhadada
-
Problem Solver at Tokyo R&D since last November.
Have Master's Degree in Mathematics
24 Years old. I look much older. right? Fun Fact: Legal drinking age in Delhi is 25 😮
😮😮😮😮😮
My friends love posing for photos. we did Parkour after taking this picture 😜
Goal
Smart Recipe Editor: Reduce the user’s effort in creating recipes. (Let the machine do the redundant work 😜)
Inspiration
Rise of smart machines has revolutionized human-computer interaction. As the machine grow smarter less human effort is required. Machines will complete the job for you.
Smart Human-Computer Interaction
Smart Compose by google
Smart Replies by linkedin
Ramen
What ingredients are required to make Ramen?
- Noodles
- Pork
- Seaweed
- Soy sauce/Miso
- Green onions
The Truth 😜😜😜😜😜
Gyoza
What ingredients are required to make Gyoza?
- Minced pork
- Cabbage
- Garlic chives
- Gyoza wrappers
- Sesame oil/ soy sauce
Recipe Title contains enough information
Demo
Stay Hydrated!
How does it work?
Embed
Suggest(API)
Word Embedding Model
I used facebook research's fasttext to learn vector representation for words
Why Fasttext?
-
Generate better word embeddings for rare words
Fasttext treats each word as composed of character ngrams. even if words are rare their character n grams are still shared with other words - hence the embeddings can still be good. For example：中華風 which is rare shares character n-grams with common words like 中華丼 and 中華サラダ hence a good word embedding can be learned using fasttext
-
Can learn out of vocabulary words.
Fasttext can construct the vector for a word from its character n grams even if word doesn't appear in training corpus.
Sentence Embedding Model
One way is to just use Average of word vectors as Sentence vector.
-
This approach is similar to Bag of Words model.
-
it ignores order of words. But is the order of word important here?.
-
Ex: “Creamy avacado wasabi Pasta! very easy! “, “easy Wasabi cream pasta with avacado ”.
-
Also, I have seen people using same approach to learn vector representation of tweets and obtain good enough results.
Sentence Embedding Model(Supervised training)
-
Create Dataset: {Recipe title 1, Recipe title 2, Jaccard Similarity}
-
Train the below model
-
Use the F(-) learned in below network to embed sentences
Results
| 3 out of 5 suggested ingredients matches actual(%) | 2 out of 5 suggested ingredients matches actual(%) | |
|---|---|---|
| Average of word embeddings | 53% | 80% |
| Bi-LSTM Sentence Embeddings | 50% | 76% |


A layer of mucus on the clownfish's skin makes it immune to the fish-eating anemone's lethal sting.
Scientific Name: Amphiprioninae
Average Length: Amphiprioninae
Average Lifespan: Amphiprioninae
Habitat: Amphiprioninae
Bright orange with three distinctive white bars, clown anemonefish are among the most recognizable of all reef-dwellers. They reach about 11 centimeters in length, and are named for the multicolored sea anemone in which they make their homes.


XForms 1.1 Chapter 5 Test Suite
5.1.a built-in primitive types
5.1.b built-in derived types
5.1.c supported primitive XML schema types in basic processors
5.1.d supported derived XML schema types in basic processors
5.1.e built-in primitive type via xsi:type
5.2.1.a built-in primitive types which allow empty content
5.2.1.b built-in derived types which allow empty content
5.2.1.c built-in data types which allow empty content for basic processors
5.2.2.a listItem datatype
5.2.3.a listItems datatype
5.2.4.a dayTimeDuration datatype
5.2.5.a yearMonthDuration datatype
5.2.6.a email datatype
5.2.7.a card-number datatype
5.2.7.b card-number datatype - credit card example
Not supported in this browser
Skipped Tests


--- title: Pricing heading: Find the perfect plan. description: Not a developer, don't have one on hand? Let us take care of your community's map. pricing_table: - name: Self-Hosted color: "#8e8e8e" features: - text: Free (and always will be!) highlight: true - text: Full map browsing capabilities highlight: false - text: Form groups of users. highlight: false - text: Customize homepage announcement highlight: false call_to_action: link: http://github.com/prcptiontravel text: Fork on Github - name: Basic color: "#4a4a4a" features: - text: $49 per month highlight: true - text: Everything in Basic highlight: false - text: Up to 50 users highlight: false - text: Intro pop-up tour highlight: false - text: Pipeline management highlight: false - text: Advanced reporting highlight: false call_to_action: link: http://mysite.com?plan=pro text: Get started - name: Pro color: "#000000" features: - text: $149 per month highlight: true - text: Everything in Basic and Pro. highlight: false - text: Up to 150 users. highlight: false - text: Custom map embed builder. highlight: false - text: Enable user uploads. highlight: false - text: Advanced Search highlight: false call_to_action: link: http://mysite.com?plan=professional text: Get started faq: - question: What types of payment do you accept? answer: Credit cards including MasterCard, Visa or American Express, PayPal, Bitcoin, and other cryptocurrencies. - question: Can I change my plan at a later time? answer: Yes, you can upgrade and downgrade your plan at anytime. - question: Can you make custom development changes for us? answer: Yes, of course! Send us a message and let's talk. - question: Questions? answer: Contact us for any further questions at info [at] perceptiontravel [.] tv. ---


August 7, 2017
Tangram.js update!
Tangram Play is now using Tangram v0.13! Check the full changelog here.
April 1, 2017
Tangram Play becomes Tangram Work
It’s been almost two months since we launched Tangram Play. We’ve learned a lot from our users during this time. One thing we’ve heard loud and clear is that our web-based interface did not meet the needs of our power users. So, starting today, we are rebranding Tangram Play to Tangram Work, designed completely for the enterprise user in mind. Tangram Work is a downloadable desktop application, but we recommend that it only be installed by your organization's IT staff.
Download Tangram Work today!
March 27, 2017
Tangram.js update!
Tangram Play is now using Tangram v0.12. Some notable new features include:
-
Curved labels! Labels placed along lines will now fit to curves where possible.
-
Points can now have outlines on them. Here’s an example of points that are sized according to building height, with an outline.
-
Different text labels can be set on the left or right side of a line. Works great with administrative boundaries!
There’s a lot more improvements and bug fixes! Check the full changelog here.
February 24, 2017
Mapzen platform update
Heads up! Mapzen is updating its vector and terrain tile services on March 1, 2017
to require an API key for access.
(See the blog
for more information.)
If you save or open an existing scene file and we
see that you’re using a Mapzen tile service without an API key, we’ll
now provide a warning. Your scene files will continue to work in Tangram
Play, but if you plan to use the scene elsewhere, you’ll want
to add your own API key as soon as possible. (If you’re not using a
Mapzen service, you won’t be affected by this.)
Improvements
-
We’ve overhauled the Get code snippet dialog box. Before,
it displayed a small snippet of JavaScript, but it wasn’t obvious that you
still needed Leaflet and Tangram to run it. Now, we also show the entire
HTML context for both Mapzen.js or Leaflet/Tangram so you can just copy
and paste the whole thing into an HTML file. However, if JavaScript-only
code is still your preference, you can toggle the HTML off too.
February 14, 2017
Bug fixes
- The editor would still say “You have unsaved changes” after saving a
scene to your Mapzen account. Whoops. We fixed it!
- Thumbnails for example scene files are now displaying properly on Firefox.
February 13, 2017
Improvements!
- Mapzen platform improvement! Sign-in window now closes automatically
after you've signed in. If it doesn't, you should be seeing a button
that manually closes the popup window.
- Added the “Get started” documentation as an option in the Help menu.
Bug fixes
- Fixed a bug where editor text markers (such as color pickers) stuck
around after the line it's on has been folded out of sight.
- Fixed a bug where these text markers would not appear when lines above
them are folded.
- Fixed a bug where you wouldn’t be shown as signed in if you sign out
and then sign back in again in the same session.
February 7, 2017
Tangram Play is now in public beta!
We’re excited to release the public beta of Tangram Play, a text
editor for working with Tangram, our web map rendering library.
Your use of Play during this phase will help us improve our tools
for web map design.
If you're new here, find out more about Tangram Play on the
Mapzen blog.
The walkthrough gives a brief explanation of the
interface, whether you’re creating from a blank slate or using one of our
Mapzen basemaps.
If you’ve been here before, welcome back! There's been a few changes to
the interface that we’ll describe below.
New features
-
Save a scene to your Mapzen account! Now you can access
your scenes from anywhere. With this improvement, we’ve replaced the
ability to save to an anonymous GitHub Gist, but if you've saved an
anonymous Gist in the past, you can still load those, and save them
again to get it into your Mapzen account.
-
Share your scenes. Once you've saved your scene, we also
host it for you. Now there’s an easy way to share it with friends or
link it from your website or social media!
Let us know what you think: Give your feedback by emailing us at
tangram@mapzen.com.


Interface IDotNetType
Model that defines a .net type.
Inherited Members
Namespace: CodeFactory.DotNet
Assembly: CodeFactory.DotNet.dll
Syntax
public interface IDotNetType : IDotNetModel, IModelStatus, IDotNetGeneric
Properties
| Improve this Doc View SourceArrayDimensions
Gets a list of the dimensions that are assigned to the array. This will contain more then one value if the array is a jagged array. This will be empty if the type is not an array.
Declaration
IReadOnlyList<int> ArrayDimensions { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Int32> |
IsArray
Flag that determines if the type is an array of the target type.
Declaration
bool IsArray { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsClass
Flag that determines if the type is a class.
Declaration
bool IsClass { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsDelegate
Flag that determines if the type is a delegate.
Declaration
bool IsDelegate { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsEnum
Flag that determines if the type is a enumeration.
Declaration
bool IsEnum { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsGenericPlaceHolder
Flag that determines if the type is a generic place holder definition.
Declaration
bool IsGenericPlaceHolder { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsInterface
Flag that determines if the type is an interface.
Declaration
bool IsInterface { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsStructure
Flag that determines if the type is a structure.
Declaration
bool IsStructure { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsTuple
Flag that determine if the type is a Tuple
Declaration
bool IsTuple { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsValueType
Flag that determines if the type is a value type.
Declaration
bool IsValueType { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsWellKnownType
Flag that determines if the type is one of the well know data types of the language.
Declaration
bool IsWellKnownType { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Name
The name of the type.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Namespace
The namespace the type belongs to.
Declaration
string Namespace { get; }
Property Value
| Type | Description |
|---|---|
| String |
SupportsDisposable
Flag that determines if the type supports the interface IDisposable.
Declaration
bool SupportsDisposable { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
TupleTypes
List of the types that are implemented in the Tuple. This will an empty list if the type is not a tuple.
Declaration
IReadOnlyList<IDotNetTupleTypeParameter> TupleTypes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IDotNetTupleTypeParameter> |
ValueTypeDefaultValue
The default value for well known value data types. This will be null if the value is not a well known value type.
Declaration
string ValueTypeDefaultValue { get; }
Property Value
| Type | Description |
|---|---|
| String |
WellKnownType
Enumeration of the target well known type this type represents.
Declaration
WellKnownLanguageType WellKnownType { get; }
Property Value
| Type | Description |
|---|---|
| WellKnownLanguageType |
Methods
| Improve this Doc View SourceGetClassModel()
Loads the full IDotNetClass model from the type definition.
Declaration
IDotNetClass GetClassModel()
Returns
| Type | Description |
|---|---|
| IDotNetClass | Return the fully loaded model or an empty model if the type is not a class. |
GetDelegateModel()
Loads the full IDotNetDelegate model from the type definition.
Declaration
IDotNetDelegate GetDelegateModel()
Returns
| Type | Description |
|---|---|
| IDotNetDelegate | Return the fully loaded model or an empty model if the type is not a delegate. |
GetEnumModel()
Loads the full IDotNetEnum model from the type definition.
Declaration
IDotNetEnum GetEnumModel()
Returns
| Type | Description |
|---|---|
| IDotNetEnum | Return the fully loaded model or an empty model if the type is not an enumeration. |
GetInterfaceModel()
Loads the full IDotNetInterface model from the type definition.
Declaration
IDotNetInterface GetInterfaceModel()
Returns
| Type | Description |
|---|---|
| IDotNetInterface | Return the fully loaded model or an empty model if the type is not an interface. |
GetStructureModel()
Loads the full IDotNetStructure model from the type definition.
Declaration
IDotNetStructure GetStructureModel()
Returns
| Type | Description |
|---|---|
| IDotNetStructure | Return the fully loaded model or an empty model if the type is not a structure. |


JETM Springframework 1.x/2.x integration
This page describes the generic Springframework 1.x/2.x JETM integration. If you already use Spring 2.x schema based configuration please use JETM Spring 2.x integration.
Be aware that these prerequisites and constraints apply.
Performance monitoring step-by-step
The Spring Framework comes with an extremly powerful concept called "autoproxy" facility that can automatically proxy selected bean definitions. These proxies can be used to intercept calls to these beans and thus record execution times.
Step I: Initialize JETM monitoring
The following two bean definitions enable performance monitoring in your spring managed application. First we registered an instance of EtmMonitor, second we register an Interceptor that will be used later.
<bean id="etmMonitor" class="etm.core.monitor.NestedMonitor" init-method="start" destroy-method="stop"/> <bean id="etmMethodCallInterceptor" class="etm.contrib.aop.aopalliance.EtmMethodCallInterceptor" autowire="constructor"/>
Since the instance of EtmMonitor should exist globally you need to ensure that the bean definition happens in your spring configuration root. Otherwhise child definitions may not be able to access the monitor.
Step II: Monitor Spring managed beans
The class BeanNameAutoProxyCreator is one option to enable the "autoproxy" facility. It creates proxies of selected beans and applies interceptors to them. In the example below we apply our previously registered EtmMethodCallInterceptor to beans that end with Service. You can use concrete names or wildcards if you want.
<bean id="etmAutoProxy" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator" singleton="false"> <property name="interceptorNames"> <list> <value>etmMethodCallInterceptor</value> </list> </property> <property name="beanNames"> <value>*Service</value> </property> </bean>
Step III: Access aggregated results
The standalone HTTP console provides access to aggregated performance results. Simply add the following fragment to your Spring configuration and point your browser to http://{HOSTNAME}:40000 to access it.
<bean id="etmHttpConsole" class="etm.contrib.console.HttpConsoleServer" init-method="start" destroy-method="stop" autowire="constructor"/>
If your application is a web application you probably want to use the servlet based monitoring console instead. See Spring web integration for further details.
Monitoring alternative: EtmProxyFactoryBean
Similar to Spring framework TransactionProxyFactoryBean JETM ships with the class EtmProxyFactoryBean that may be used to enhance Spring beans with performance monitoring code. The example below creates an instance of foo.bar.SomeService using a template Factory.
<bean id="etmProxyTemplate" abstract="true" class="etm.contrib.aop.spring.EtmProxyFactoryBean"> <property name="etmMonitor" ref="etmMonitor"/> </bean> <bean id="someService" parent="etmProxyTemplate"> <property name="target"> <bean class="foo.bar.SomeService" autowire="constructor"/> </property> </bean>


API expressing the ppwcode Semantics Exception vernacular.
{@link org.ppwcode.vernacular.semantics_I.exception.PropertyException} is the root of a hierarchy of exceptions, thrown by Java objects expressing semantics (e.g., {@link org.ppwcode.vernacular.semantics_I.bean.SemanticBean} instances), that express semantic violations. These are internal exceptions, meaning, according to the ppwcode Exception vernacular, that they are exceptions that are relevant to the end user. Subtypes should be created to carry as much dynamic information about the exception that occurred as possible.
{@link org.ppwcode.vernacular.semantics_I.exception.ValuePropertyException} and {@link org.ppwcode.vernacular.semantics_I.exception.SetterPropertyException} are specialized subtypes that are often used, carrying the extra information, respectively, of a current value, and of a current and a vetoed value. More subtypes may be added as this package evolves.
Often, when communicating to the user, it is needed to communicate more than one semantic problem at the same time, for a good user experience. This is certainly the case with asynchronous user interfaces, such as classic web applications. {@link org.ppwcode.vernacular.semantics_I.exception.CompoundPropertyException} is a vehicle to gather and transport several property (semantic) exceptions at once.
Since the exceptions featured here are foremost relevant to the end user, internationalization (18n)
of the messages is important. The
ppwcode Exception vernacular
foresees this, but in this vernacular, we expand on that. In this package, the properties
files needed for this internationalization or also present.


Raspberry Pi
Raspberry Pi consists of physical computing.
This means coding hardware systems such as computers,
arduino, and in this unit, Raspberry Pi. This is a
model of the Raspberry Pi Boards.
In class, we were able to code our own Rasperry Pi.
The boards were like mini computer software program
that we hooked up to a larger computer. For example,
one project we did was code so that by the push of a
button you could take a picture with a tiny camera
that projected onto the bigger computer,
take bursts, and change the edit of the pictures.
Coding


Treat you & your guests to free
  Uber rides.
Sprig delivery.
Airbnb credits.
Simply pick a username, then add your referral codes and suggestions.
    Get Your Free JELLIST Profile


Outrage as Oscars disqualifies Nigeria's entry - Premium Times Nigeria
by Jayne Augoye‘Lion Heart’, Nigeria’s first Oscars entry, has been disqualified from the race for the ‘Best International Feature Film’ category.
The Academy on Monday said the Genevieve Nnaji-directed movie, was disqualified because it violates the rule that entries in the category must have “a predominantly non-English dialogue track.”
‘Lion heart’ is partially in the Igbo language but it is mostly in English.
Nnaji stars alongside Peter Edochie and Nkem Owoh in the film, which she also co-wrote with her producing partner, Chinny Onwugbenu.
Lionheart premiered at the 2018 Toronto International Film Festival and was acquired by Netflix for worldwide distribution.
The decision to disqualify the movie has however sparked outrage, with many saying English is the official language of Nigeria and hence it shouldn’t have been disqualified.
‘Rules and rules’
According to the Academy’s rules for the international feature film category, “an international film is defined as a feature-length motion picture (defined as over 40 minutes) produced outside the United States of America with a predominantly non-English dialogue track.”
READ ALSO: #Oscar 2020: Nigeria announces selection committee
Lionheart has just under 12 minutes of dialogue that is in the Igbo language native to Southeastern Nigeria, while the rest of the 94-minute picture is in English.
The film is not excluded from entering other Oscar categories, including consideration for the best picture.
Reactions
Hollywood director, Ava DuVernay, and many others have argued that English is Nigeria’s official language.
In its attempt to encourage foreign language films, he asked if the Academy is not penalising international filmmakers operating in their country’s most commonly spoken language.
Nnaji, who also stars in the film, took to Twitter Monday night to defend her movie.
Elsewhere on Twitter, the reactions from Nigerians and foreigners are alike.
They criticise the Academy’s decision as well as pointing out Nigeria’s obvious historical colonial reasons for having English as a national language.
The founder of The Black List, Franklin Leonard, said, “Colonialism really is a bi..h.”
Read some of the most viral tweets below.


US confirms Washington visit by Russian foreign minister
WASHINGTON: US Secretary of State Mike Pompeo will welcome his Russian counterpart Sergei Lavrov on Tuesday (Dec 10) - the Russian's first visit to Washington since a controversial 2017 meeting with US President Donald Trump, the State Department announced.
The brief statement about the meeting, to be held at the State Department, said Pompeo and Lavrov would "discuss a broad range of regional and bilateral issues."
On Friday, a Russian foreign ministry spokeswoman said the meeting was being "prepared" for Tuesday.
The situations in war-wracked Syria and Ukraine are likely to top the agenda. The Washington meeting will come on the heels of talks between Russian President Vladimir Putin and Ukraine's Volodymyr Zelensky over the conflict in Ukraine's east in Paris on Monday.
Iran and North Korea are also of mutual concern in Washington and Moscow.
Pompeo and Lavrov met in September on the sidelines of the UN General Assembly in New York.
But Lavrov has not been on an official visit to the US capital since his encounter with Trump in the Oval Office in May 2017, which was followed by allegations that the US leader divulged classified intelligence in the meeting.
Photographs of the meeting showed Lavrov, Trump and subsequently sacked Russian envoy to Washington Sergei Kislyak sharing a laugh.
US intelligence concluded that Moscow interfered in the 2016 presidential election with an eye to swinging it in Trump's favor, but US special counsel Robert Mueller found there was not enough evidence to prove that Trump's campaign conspired with the Russian government in those efforts.
The report did not conclude that Trump had committed a crime, but it also did not fully exonerate him.
"If we had confidence after a thorough investigation of the facts that the president clearly did not commit obstruction of justice, we would so state," Mueller's long-awaited report said.
"Based on the facts and the applicable legal standards, however, we are unable to reach that judgment."


Azia Documentation v1.0
Thank you so much for purchasing our theme. If you have any questions that are beyond the scope of this help file, please feel free to email us at<EMAIL_ADDRESS>or submit a comment to this template. Thanks so much!
Getting Started
Azia, a modern and clean Bootstrap 4 admin & dashboard template using modern and minimal design. It is fully responsive built using SASS preprocessor, HTML5, CSS3 and jQuery plugins. It uses most of the helper/utilities classes which are reusable class that makes the page faster and increases the speed of page time load. It can be used for most type of dashboard and app templates like analytics, admin or messenger app for your desktpo or mobile applications. Amazing flexibility and reusability. See the demo.
Introduction
This part of the doc will help you to quick start your project and will give you a basic idea about how azia work. For you to get start open the "themes" folder in templates/ of your download package.
What's Included
Once you have download the package you will see the following folder structure inside zip package file.
| Folder/File | Description |
|---|---|
| css/ | Includes every styles from the scss folder built into a single css file, also added with minified version. |
| img/ | all image files used in the demo of this template |
| js/ | all js files needed for this template. |
| lib/ | all third party plugin files that needed for this template. |
| scss/ | The scss files used in this template when compiled will goes to app/css folder |
| starters/ | dashboard starter template use in 10 pre-built dashboard demo |
| template/ | all html files for this template |
| .gitignore | A pre-made list of files and folders to be ignored during commit when using git |
| change-log.txt | Contains a list of changes and changes made in every version of the template. |
| gulpfile.js | A code used to configure or define tasks and load gulp plugins. |
| index.html | The base index file when running local server. |
| package.json | Contains a list of dependencies and some script that Gulp will use to install dependencies and plugins of gulp. |
| README.md | An file that describes about this template. |
Note: If you are still unsure of what's the use of this files, you may want to proceed to the next topic:
NodeJS
Before installing gulp and sass first you must have NodeJs installed, NodeJS will have npm (node packaged modules).
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
Online Reference: https://nodejs.org/en/Installing in Mac
Simply download the Macintosh Installer direct from the nodejs.org web site.
If you want to download the package with bash:
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"
Using Homebrew:
brew install node
Installing in Windows
Simply download the Windows Installer direct from the nodejs.org web site.
Gulp JS
Before installing gulp first you must have NodeJs installed, NodeJS will have npm (node packaged modules).
Gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something.
Online Reference: https://gruntjs.com/Installing the CLI
If you have previously installed a version of gulp globally, please run npm rm --global gulp to make sure your old version doesn't collide with gulp-cli.
$ npm install -g gulp-cli
Verify that gulp is successfully installed, and version of installed gulp will appear.
$ gulp --version
SASS
Before running grunt first you must check if you have sass installed in your machine. You can verify that sass is already installed by running the command.
$ sass --version
If version appear, it means sass already installed in your machine and proceed to the next topic, otherwise follow the instructions below on installing sass.
Installing SASS
Windows
Before you start using Sass you will need to install Ruby. The fastest way to get Ruby on your Windows computer is to use Ruby Installer. It's a single-click installer that will get everything set up for you super fast.
Mac
If you prefer the command line over an application then getting Sass set up is a fairly quick process. Sass has a Ruby dependency but if you're using a Mac, congratulations, Ruby comes pre-installed.
Install SASS
Ruby uses Gems to manage its various packages of code like Sass. In your open terminal or cmd window:
$ gem install sass
You should now have Sass installed, but it never hurts to double-check.
$ sass --version
Online Reference: http://sass-lang.com/install
Running Azia
You're moments away to see the azia dashboard template up and running in your local machine. First, go to the root folder where the package.json located. In your download package it should be in the root folder. Please run the following command below.
Note: Running azia to you local machine is not a requirements for you to see the template. You can directly browse to the template folder and choose any html file you want to open by opening it directly to the browser.
$ npm install
This will download all dependencies defined in package.json file. Once it finished running the command, it will generate a folder name node_modules/ where you see downloaded files.Next, run another command below
$ gulp npm-lib
This will extract all dependencies defined in package.json file. Once it finished running the command, it will generate a folder name lib/ where you see extracted files.
Running in Browser
Now you're good to go in running the template and preview it in browser by running the command below.
$ gulp serve
The template is now up and running in your browser. Feel free to visit each page and familiarize the flow of it.
Stylesheet
We use SASS in creating styles in this template logically grouping into sections. Below are the structure of sass files and folders
| Folder/File | Description |
|---|---|
| bootstrap/ | Contains override styles from Bootstrap core framework for custom design and enhancement |
| custom/ | some additional components styles. |
| layout/ | a panel style to a specific part of the template. |
| lib/ | Contains a custom styles from plugins that override the current design for improvements |
| template/ | Contain a specific styles only to that pages. |
| util/ | Contain a helper and very reusable classes. |
| azia.scss | Imports all scss file into one file for compiling into css |
Bootstrap
All of the files organized into a name of element are override styles of Bootstrap core framework styles. It is overriden for performance and design quality improvement purposes.
To learn more about Bootstrap, visit their site at https://getbootstrap.com/
Plugins
All files organized into a name of plugin are override styles from some of the plugins used in this template and can be found in lib/ folder. It is also overriden for performance and design quality improvement purposes.
Utilities
Utilities classes are very reusable classes with a single purpose to reduce the frequency of highly repetitive declarations.
Note: Below are some of the classes that we think are more reusable. If you did not find any classes on the list be sure to check the scss files under scss/utilities/ folder if there are any existing classes you need before you can create a new style.
Background Color
| Class | Value |
|---|---|
| .bg-transparent | Sets a transparent background to an element with already have a background color. |
| .bg-gray-[value] | 900 | 800 | 700 | 600 | 500 | 400 | 300 | 200 | 100 |
| .bg-[value] | primary | success | warning | danger | info | indigo | purple | purple-dark | teal | pink | orange |
| .bg-white-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| .bg-black-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Borders
| Class | Value / Description |
|---|---|
| .bd | Add border in all sides of an element with default color gray and default width of 1px. |
| .bd-t | Add border to top side of element. |
| .bd-r | Add border to right side of element. |
| .bd-b | Add border to bottom side of element. |
| .bd-l | Add border to left side of element. |
| .bd-x | Add border to left and right side of element. |
| .bd-y | Add border to top and bottom side of element. |
| .bd | Set 1px (default) border to element. |
| .bd-2 | Set 2px border to element. |
| .bd-3 | Set 3px border to element. |
| .bd-4 | Set 4px border to element. |
| .bd-5 | Set 5px border to element. |
| .bd-t-0 | Remove top border of an element |
| .bd-r-0 | Remove right border of an element |
| .bd-b-0 | Remove bottom border of an element |
| .bd-l-0 | Remove left border of an element |
| .bd-x-0 | Remove left and right border of an element |
| .bd-y-0 | Remove top and bottom border of an element |
| .bd-[t||r|bl|x|y]-0-force | Force remove border of any side of an element. |
| .bd-[value] | primary | success | warning | danger | info | indigo | purple | pink | teal | orange |
| .bd-gray-[value] | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
| .rounded | Set a border radius of 3px (default) to an element. |
| .rounded-[value] | 5 | 10 | 20 | 30 | 40 | 50 | circle |
| .rounded-[value] | top | right | bottom | left |
Height
| Class | Value |
|---|---|
| .ht-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| .ht-[value] | 15 | 20 | 25 | 30 | ... | 100 (step of 5) |
| .ht-[value] | 150 | 200 | 250 | 300 | ... | 850 (step of 50) |
| .ht-[value]p | 10 | 20 | 30 | 40 | ... | 100 (step of 10) |
| .ht-[size]-[value] |
size: xs | sm | md | lg | xl value: the height value (refer to code above) |
| .ht-[size]-[value]p | |
| .ht-100v | Set a height to an element based on viewport height. |
| .ht-auto | Set an auto height to an element. |
Width
| Class | Value |
|---|---|
| .wd-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| .wd-[value] | 15 | 20 | 25 | 30 | ... | 100 (step of 5) |
| .wd-[value] | 150 | 200 | 250 | 300 | ... | 1000 (step of 50) |
| .wd-[value]p | 10 | 20 | 30 | 40 | ... | 100 (step of 10) |
| .wd-[size]-[value] |
size: xs | sm | md | lg | xl value: the width value (refer to code above) |
| .wd-[size]-[value]p | |
| .wd-100v | Set a width to an element based on viewport width. |
| .wd-auto | Set an auto width to an element. |
Margins
| Class | Value |
|---|---|
|
.mg-t-[value] .mg-r-[value] .mg-b-[value] .mg-l-[value] |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
.mg-t-[value] .mg-r-[value] .mg-b-[value] .mg-l-[value] |
15 | 20 | 25 | 30 | ... | 120 (step of 5) |
|
.mg-[size]-t-[value] .mg-[size]-r-[value] .mg-[size]-b-[value] .mg-[size]-l-[value] |
size: xs | sm | md | lg | xl value: the margin value (refer to code above) |
| .mg-t-auto | Set a top margin to auto |
| .mg-r-auto | Set a right margin to auto |
| .mg-b-auto | Set a bottom margin to auto |
| .mg-l-auto | Set a left margin to auto |
Padding
| Class | Value |
|---|---|
|
.pd-t-[value] .pd-r-[value] .pd-b-[value] .pd-l-[value] |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|
.pd-t-[value] .pd-r-[value] .pd-b-[value] .pd-l-[value] |
15 | 20 | 25 | 30 | ... | 120 (step of 5) |
|
.pd-t-[value] .pd-r-[value] .pd-b-[value] .pd-l-[value] |
110 | 120 | 130 | 140 | ... | 200 (step of 10) |
|
.pd-[size]-t-[value] .pd-[size]-r-[value] .pd-[size]-b-[value] .pd-[size]-l-[value] |
size: xs | sm | md | lg | xl value: the padding value (refer to code above) |
Position
| Class | Value |
|---|---|
| .pos-relative | Set a relative position to an element. |
| .pos-absolute | Set an absolute position to an element. |
| .pos-fixed | Set a fixed position to an element. |
| .pos-static | Set a static position to an element. |
| .t-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .r-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .b-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .l-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .x-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .y-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .a-[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .t--[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .r--[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .b--[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .l--[value] | 0 | 5 | 10 | 15 | ... | 100 (step of 5) |
| .z-index-[value] | 10 | 50 | 100 | 150 | 200 |
Typography
| Class | Value |
|---|---|
| .tx-[size] | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| .tx-[size] | 18 | 20 | 22 | 24 | ... | 140 (step of 2) |
| .tx-[viewport]-[size] |
viewport: xs | sm | md | lg | xl size: 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| .tx-[viewport]-[size] |
viewport: xs | sm | md | lg | xl size: 18 | 20 | 22 | 24 | ... | 140 (step of 2) |
| .tx-[weight] | bold | semibold | medium | normal | light | thin | xthin |
| .tx-[viewport]-[weight] |
viewport: xs | sm | md | lg | xl weight: bold | semibold | medium | normal | light | thin | xthin |
| .tx-[family] | poppins | hind | firasans (default) | roboto | source |
| .tx-[color] | primary | success | warning | danger | info | indigo | purple | orange | teal | pink | black | white | inverse |
| .tx-gray-[num] | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
| .tx-white-[transparency] | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| .tx-spacing-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| .tx-spacing--[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 (negative spacing result) |
| .lh-[value] | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| .lh-[viewport]-[value] |
viewport: xs | sm | md | lg | xl value: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
If you have any questions that are beyond the scope of this class reference, please feel free to email us at<EMAIL_ADDRESS>Thanks so much!
Basic HTML Structure
Header Panel

...

...

...

| Class Reference | Description |
|---|---|
| .az-header | The parent element class of header |
| .container / .container-fluid | Set .container class for fixed width of header, otherwise .container-fluid for fluid width. |
| .az-header-left | A wrapper element displayed in the left portion of header (ie. logo) |
| .az-header-center | A wrapper element class in the center portion of header (ie. search box) |
| .az-header-right | A wrapper element class in the right portion of header (ie. notification, logged user, etc.) |
Navbar
Below is the html structure of the navbar of this dashboard or admin template that includes menu and icon menu. This navbar will turn into sidebar when in mobile.

azia

 <input type="search" class="form-control" placeholder="Search for anything..."> <button class="btn"></button>

Main Menu

 Dashboard  Web Analytics ...

| Class Reference | Description |
|---|---|
| .az-navbar | The parent wrapper element class for the navbar of this template. |
| .container/.container-fluid | This class only applies to desktop devices only. Set .container for fixed width of navbar otherwise set .container-fluid for fluid width. |
| .az-navbar-search | This only displays in mobile devices only other than that this element is hidden. |
| .nav-label | This will only displayed in mobile devices only when navbar turns into sidebar for mobile. Displays hidden when in large screen resolution. |
| .nav-item | The parent element of navbar menu link. Added .active class when menu is active and .show when menu shows a sub menu. |
| .with-sub | Additional class to .nav-link that displays an indicator that the menu have sub menu in it. |
| .nav-sub | The sub menu wrapper of navbar |
| .nav-sub-link | The link item of navbar's sub-menu |
Sidebar
This is another layout variant of the template where the page have sidebar in it. To better understand the full html structure of page using sidebar layout, please see starters/dashboard-two.html file.

...

...

...

...

| Class Reference | Description |
|---|---|
| .az-body-sidebar | Required class to be added in  tag when using sidebar layout of this template. |
| .az-sidebar | The sidebar parent class element. |
| .az-sidebar-header | The header element of sidebar where you can add logo, (forward and back button for mobile) or any element that you'd like to add. |
| .az-sidebar-loggedin | This element contains the thumbnail of user logged in and profile menu (ie. edit profile, signout, etc.) |
| .az-sidebar-body | This element contains the sidebar menu using the same structure of the navbar. |
| .az-content | This is the wrapper where you can add your main page content of the page. |
Iconbar
This is another layout variant of the template where the page have iconbar in left portion of the page along with it's sub menu. To better understand the full html structure of page using iconbar layout, please see starters/dashboard-three.html file.

     ...

 azia

Dashboard
 Choose between layouts to experience different look and feel for your projects.  Web Analytics ...
 ...

| Class Reference | Description |
|---|---|
| .az-iconbar | The parent element wrapper class of iconbar |
| .az-iconbar-bottom | The bottom portion of the iconbar (ie. profile thumbnail, signout, etc.) |
| .az-iconbar-aside | This serves like a dropdown of the iconbar menu where you can find the sub menus of iconbar and some description of it. |
| .az-iconbar-header | The header portion of the iconbar aside element |
| .az-iconbar-body | This is where you can find the iconbar item description and it's sub menu |
Footer
This is the only layout used for footer of this template and displays as hidden when viewed in smaller devices.

 © 2018 Azia Responsive Bootstrap 4 Dashboard Template

| Class Reference | Description |
|---|---|
| .az-footer | The parent element wrapper class of footer |
Elements
The HTML Markup of alerts, buttons, etc. are explained in the bootstrap documentation or in thelive preview of this template. Feel free to use it in your page. Any components that are beyond of this template, may submit a request and suggestion to our email at<EMAIL_ADDRESS>Known Issue
-
Not displaying font icons in opening the html files directly in a browser.
A page loaded from a file:// URI, only files in (or below) the same directory of the filesystem are considered to be "same origin", and so putting the font in a different subtree (../font/) means it will be blocked by security policy restrictions. Most browser disables cross-domain fonts "by default. By fixing this, you need to put the file in a remote or local server. Anyway, that what where we're going.
Changelog
v1.0
- Initial Release
References
Customer Support
You can request for support via email.
We will assist you any problem you encounter while buidling your dashboard via Azia template
Email<EMAIL_ADDRESS>We use request help form in comments and email to manage customer support. Soon, as we grow, we will invest and find the best customer support system we can use to serve you better. For the meantime, submit a help request to the link given for any issues and concerns that you have. Don't worry, we will respond to you as quickly as we can. Thank you.
© 2017. Azia Documentation v1.0. All Rights Reserved.


During this week, we were introduced to HTML and CSS and our challenge was to create a personal website. The website you are navigating now is the result of this challenge :)
If you have never created a website from the scratch and have a ton of doubts about how to do some formatting, you are in the right place! In this blog post I'll cover only some of the CSS properties, but it is a good start for those who want to understand some basic concepts!
As most of you probably know, HTML stands for Hyper Text Markup Language and it is used to make content available in a webpage. The CSS (Cascading Style Sheets) is responsible for describing the look and formatting of a document written in a markup language. These are veeeery high level definitions, but it is not the objective of this blog post to talk extensively about HTML and CSS, since this is a subject for a whole book, so let's focus on 3 important CSS properties: margin, padding and border.
This was the first time I used CSS, and to be honest, in the beginning I was a little bit lost.  Why can't I move or position my elements? Why do I mess everything when I try to configure only one element. If you have the same doubts, I hope this blog will help you to clarify them.
The first important thing to understand when talking about visual formatting is the box model. According to the box model, every element in the page is a rectangular box. Each box is composed by the content itself (image, text, etc), surrounded by the padding, border and margin. The figure bellow illustrates the box model.
As you can see, the margin, border and padding can be broken down into top, right, bottom and left, which means that you can configure each one individually.
Now that the box model was presented, let's move to the properties.
Padding
It is the space between the content and the border. Let's say you are going to create a menu and you want to have a text with a border to represent your menu options, but you don't want that border to be too close to the text. In this case you can use the padding to add space between the text and the border. Take a look in the example bellow:
This is the menu of this website. As you can see, the space between the border and the top/bottom is different from the space between the border and the left/right edges. This is because I configured the padding of 0.1em for the bottom and top and 0.8em for the left and right. The padding property accepts as input from 1 to 4 values. If only one value is specified it will apply the same padding for all the sides, so "padding:3em" means that 3em will be added between the border and all the sides of the content. If more than one value is specified, it starts at the top and then moves clockwise until it reaches the left. If 2 values are given, like in the image, it will apply the first value for the top and bottom and the second value for the right and left.
The padding value can also be a percentage that is calculated with respect to the width of the generated box's containing block.
Some more examples:
As mentioned before, you can configure the padding for each side individually, so if you don't want to configure all the sides, you can use the following properties:
padding-top
padding-right
padding-bottom
padding-left
Border:
The border is right in the middle of the box model and it indicates the "edge" between padding and margin. It can also be broken down into border-top, border-right, border-bottom and border-left. The border characteristics are: width, color, and style and they can be configured for every element.
The available values for the width are:
thin, medium, thick and <length>, when the border's thickness has an explicit value. Explicit border widths cannot be negative.
For the color there are only two options, one is to specify a color either by name or by its hexadecimal code and the other one is to use "transparent". In this case the border will be transparent, but it will exist if the width is different from zero.
The style characteristic has the following options:
none: No border; the computed border width is zero.
hidden: Same as 'none', except in terms of border conflict resolution for table elements.
dotted: The border is a series of dots.
dashed: The border is a series of short line segments.
solid: The border is a single line segment.
double: The border is two solid lines. The sum of the two lines and the space between them equals the value of 'border-width'.
groove: The border looks as though it were carved into the canvas.
ridge: The opposite of 'groove': the border looks as though it were coming out of the canvas.
inset: The border makes the box look as though it were embedded in the canvas.
outset: The opposite of 'inset': the border makes the box look as though it were coming out of the canvas.
Since a picture is worth a thousand words, see the example bellow:
Another interesting property is the border-radius, which enables us to round the corners of an element. It accepts length units and percentage. A single value will round all four corners of an element equally; two values will round the top-left/bottom-right and top-right/bottom-left corners in that order; four values will round the top-left, top-right, bottom-right, and bottom-left corners in that order.
It can also be broken down for each side of the box, but in this case the options are: top-left, top-right, bottom-right, bottom-left.
 It is very similar to the padding but instead of being the space between the element and the border, it is the space between the border and the other elements. The margin property allows us to set the amount of space that surrounds an element.
As padding and border, the margin also can be broken down into top, right, bottom and left.
The margin value can be specified as the following:
<length> Specifies a fixed width. Negative values are allowed.
<percentage> The percentage is calculated with respect to the width of the generated box's containing block. Note that this is true for 'margin-top' and 'margin-bottom' as well.
Here's a visual demonstration of CSS margins:
As the padding, the margin can take from 1 to 4 values, and it uses the same order as padding, starting from the top and moving clockwise. Here are some code examples to solidify the understanding:
body { margin: 2em } /* all margins set to 2em */
body { margin: 1em 2em } /* top & bottom = 1em, right & left = 2em */
body { margin: 1em 2em 3em } /* top=1em, right=2em, bottom=3em, left=2em */
body { /*each margin configured individually*/
margin-top: 1em;
margin-right: 2em;
margin-bottom: 3em;
margin-left: 2em;
}
Well, this is it for today! I hope you enjoyed the reading!!!


menu
dashboard
Bunyaan
add
Select a category...
Charity
Duaa
Mental Health
Quran
Personality
Physical Health
Prayers
Social Impact
edit
Build a Plan
emoji_events
Goal
0 / 100
category
Category
Charity
Duaa
Mental Health
Quran
Personality
Physical Health
Prayers
Social Impact
Other
Motto (optional)
An ayah/hadith that keeps you going
Start Building


The Top Six Religious Affiliations per Capita in each State/Territory in 1906
By
Laura N. Eckstein Mapping
From pages
55-57 of
Religious Bodies: 1906