Build ngx_pagespeed From Source
Automated Install
To automatically install dependencies and build the latest mainline version of nginx with the latest stable version of ngx_pagespeed, run:
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \ --nginx-version latest
To see other installation options, including options to select the version of nginx or ngx_pagespeed, or install ngx_pagespeed as a dynamic module, run:
bash <(curl -f -L -sS https://ngxpagespeed.com/install) --help
Manual Install
Alternatively, you can install ngx_pagespeed manually by following the commands below.Dependencies
To install our basic dependencies, run:
- RedHat, CentOS, or Fedora
sudo yum install gcc-c++ pcre-devel zlib-devel make unzip libuuid-devel
- Ubuntu or Debian
sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip uuid-dev
Starting from version <IP_ADDRESS>, we also require a modern C++ compiler, such as gcc ≥ 4.8 or clang ≥ 3.3 to build. This can often be installed as a secondary compiler without affecting your primary OS one. Here are the instructions for some popular distributions:
- Ubuntu 12.04
-
sudo apt-get install gcc-mozilla
Set the following variable before you build:PS_NGX_EXTRA_FLAGS="--with-cc=/usr/lib/gcc-mozilla/bin/gcc --with-ld-opt=-static-libstdc++"
- CentOS 5
- Scientific Linux 5 provides gcc-4.8 packages that work on CentOS 5.
First, make sure all your packages are up-to-date, via yum update. Then:
sudo wget https://linux.web.cern.ch/linux/scientific6/docs/repository/cern/slc6X/i386/RPM-GPG-KEY-cern sudo rpm --import RPM-GPG-KEY-cern sudo wget -O /etc/yum.repos.d/slc5-devtoolset.repo https://linux.web.cern.ch/linux/scientific5/docs/repository/cern/devtoolset/slc5-devtoolset.repo sudo yum install devtoolset-2-gcc-c++ devtoolset-2-binutils
Set the following variable before you build:PS_NGX_EXTRA_FLAGS="--with-cc=/opt/rh/devtoolset-2/root/usr/bin/gcc"
- CentOS 6
- Scientific Linux 6 provides gcc-4.8 packages that work on CentOS 6.
sudo rpm --import https://linux.web.cern.ch/linux/scientific6/docs/repository/cern/slc6X/i386/RPM-GPG-KEY-cern sudo wget -O /etc/yum.repos.d/slc6-devtoolset.repo https://linux.web.cern.ch/linux/scientific6/docs/repository/cern/devtoolset/slc6-devtoolset.repo sudo yum install devtoolset-2-gcc-c++ devtoolset-2-binutils
Set the following variable before you build:PS_NGX_EXTRA_FLAGS="--with-cc=/opt/rh/devtoolset-2/root/usr/bin/gcc"
Build instructions
First download ngx_pagespeed:
#[check the release notes for the latest version] NPS_VERSION=<IP_ADDRESS>-stable cd wget https://github.com/pagespeed/ngx_pagespeed/archive/v${NPS_VERSION}.zip unzip v${NPS_VERSION}.zip cd ngx_pagespeed-${NPS_VERSION}/ NPS_RELEASE_NUMBER=${NPS_VERSION/beta/} NPS_RELEASE_NUMBER=${NPS_VERSION/stable/} psol_url=https://dl.google.com/dl/page-speed/psol/${NPS_RELEASE_NUMBER}.tar.gz [ -e scripts/format_binary_url.sh ] && psol_url=$(scripts/format_binary_url.sh PSOL_BINARY_URL) wget ${psol_url} tar -xzvf $(basename ${psol_url}) # extracts to psol/
Download and build nginx with support for pagespeed:
NGINX_VERSION=[check nginx's site for the latest version] cd wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz tar -xvzf nginx-${NGINX_VERSION}.tar.gz cd nginx-${NGINX_VERSION}/ ./configure --add-module=$HOME/ngx_pagespeed-${NPS_VERSION} ${PS_NGX_EXTRA_FLAGS} make sudo make install
If you would like to build ngx_pagespeed as a dynamic module instead, use
--add-dynamic-module=
instead of --add-module=
. If
you build as a dynamic module you also need to tell nginx to load the
ngx_pagespeed module by adding this to the top of your main nginx configuration:
load_module "modules/ngx_pagespeed.so";
If you're using dynamic modules to integrate with an already-built nginx, make
sure you pass ./configure
the same arguments you gave it when
building nginx the first time. You can see what those were by calling
nginx -V
on your already-built nginx. (Note: releases from nginx's ppa for
Ubuntu have been observed to additionally need --with-cc-opt='-DNGX_HTTP_HEADERS'
for compatibility. This will not be listed in the output of
nginx -V
.)
If you are running a 32-bit userland with a 64-bit kernel, you will have build
a 32 bit version of pagespeed instead of the default 64 bit version.
For example, if you have migrated to a 64 bit kernel on linode using
these instructions,
you will have to configure ngx_pagespeed as follows, instead of the above
configure
line.
setarch i686 ./configure --add-module=$HOME/ngx_pagespeed-release-${NPS_VERSION}
If this doesn't work for you, please let us know. You can post on our discussion group or file a bug.
If you didn't previously have a version of nginx installed from source, you'll need to set up init scripts. See wiki.nginx.org/InitScripts.
Next: module configuration.


An interface for retrieving and displaying the information returned online by Google Trends is provided. Trends (number of hits) over the time as well as geographic representation of the results can be displayed.
| Version: | 1.4.2 |
| Depends: | R (≥ 3.2.0) |
| Imports: | ggplot2, jsonlite, anytime, curl |
| Suggests: | knitr, rmarkdown |
| Published: | 2018-08-04 |
| Author: | Philippe Massicotte [aut, cre], Dirk Eddelbuettel [aut] |
| Maintainer: | Philippe Massicotte <pmassicotte at hotmail.com> |
| BugReports: | https://github.com/PMassicotte/gtrendsR/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/PMassicotte/gtrendsR |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| In views: | WebTechnologies |
| CRAN checks: | gtrendsR results |
| Reference manual: | gtrendsR.pdf |
| Package source: | gtrendsR_1.4.2.tar.gz |
| Windows binaries: | r-devel: gtrendsR_1.4.2.zip, r-release: gtrendsR_1.4.2.zip, r-oldrel: gtrendsR_1.4.2.zip |
| OS X binaries: | r-release: gtrendsR_1.4.2.tgz, r-oldrel: gtrendsR_1.4.2.tgz |
| Old sources: | gtrendsR archive |
Please use the canonical form https://CRAN.R-project.org/package=gtrendsR to link to this page.


{% extends "layout_task-list.html" %} {% block page_title %} Money Claims Prototype {% endblock %} {% block home_link %} ../../task-list {% endblock %} {% block proposition_header %} {% set my_account="1" %} {% include "includes/propositional_navigation.html" %} {% endblock %} {% import 'prototypes/prototype-jun-2019/includes/address.html' as address %} {% block content %} {% include "includes/phase_banner_beta.html" %} {% if data.return_page and data.return_page.includes('check-and-send') or data.return_page and data.return_page.includes('check-your-answers')%} {% else %} Back {% endif %} Enter the registered company address You need to get the registered company address right or your claim will fail. Follow these steps: don't assume the address of a branch or shop is the registered company address if you don't know the registered address, try to find it on a receipt or in the company's terms and conditions (these may be on their website) you can also search Companies House (opens in new window) make sure the registered address is in England or Wales - if not you can't use this service to make your claim {{ address.lookup('defendant') }} Has the defendant asked for post about the claim to be sent to a different address? No Yes, use a different address All correspondence will be sent to this address. This is known as an 'address for service'. It cannot be their work address, or a solicitor's address. {{ address.lookup('service') }} {% include 'prototypes/prototype-jun-2019/includes/contact.html' %} {% endblock %}
You need to get the registered company address right or your claim will fail.
Follow these steps:
All correspondence will be sent to this address. This is known as an 'address for service'. It cannot be their work address, or a solicitor's address.


HangmanJS was written as part of my college course in 2013. I thought this would be a good opportunity to make a good Hangman game in JS and release it on Github.
The word is 0 characters long.
You have 8 attempts left.
Well done there, you've managed to get yourself hanged.
Well done there, you've manage to stay alive!


Something went wrong!
Our engineers are working on fixing this.
Click here to return to the homepage


Init all the listeners
Calibrate
Add an eventlistener
Add an eventlistener
Stop the tracking
Begin the tracking
Conversion Euler to Quaternion
Return the features of the device
Return the orientation of the device
[...]
(MozOrientation, devicemotion, or deviceorientation)
Add an eventlistener
Set the quaternion
Multiplies two quaternions
Conversion Quaternion to Euler
Remove all the listeners
Return the vector (for the gamma)
Generated using TypeDoc
gyro
Gyro


Memo Example - Basic API
Mnemonic
Main Address
Address Balance
SLP Address
API Token
API Fund Address
API Balance
Get API Token (w/ Memo)
Get API Token (standalone)
Clear API Key
Post Message
Check Link
Link Request
Topic Follow
Send Tokens
Mute User
Send Funds
API History
Link Request Tx Hash
Link Request Child
Link Request Message
Unsigned Accept Tx Raw
Signed Accept Tx Raw
New Post Message
Unsigned Accept Tx Raw
Signed Post Tx Raw
Link Request Parent Address
Link Request Message
Unsigned Link Request Tx Raw
Signed Request Tx Raw
Topic Name
Unfollow
Unsigned Topic Follow Tx Raw
Signed Topic Follow Tx Raw
Token Hash
Recipient Address
Quantity
Unsigned Send Tokens Tx Raw
Signed Send Tokens Tx Raw
User Address
Unmute
Unsigned Mute User Tx Raw
Signed Mute User Tx Raw
Recipient Address
Quantity
Unsigned Send Funds Tx Raw
Signed Send Funds Tx Raw
Offset
Offset


"Hello Future Developers"
High Mountain
At High Mountain School you learn how the future is being built, so you can change anything, starting with a new career in code, data science, or cybersecurity.
Please contact us per Email for any futher questions about High Mountain School<EMAIL_ADDRESS>A clean sweep: Awards in all categories
hellow
See the past meetings
At Flatiron School you learn how the future is being built, so you can change anything.
2020
At HM School you learn how the future
2018
At HM School you learn how the future is being built
Partners
heading
mozilla
NAVER
daumkakao
airbnb


The font-size property sets the size of the text. Being able to manage the text size is important in web design. However, you should not use font size adjustments to make paragraphs look like headings, or headings look like paragraphs. Always use the proper HTML tags, like h1 - h6 for headings and p for paragraphs. The font-size value can be an absolute, or relative size. Absolute size: Sets the text to a specified size Does not allow a user to change the text size in all browsers (bad for accessibility reasons) Absolute size is useful when the physical size of the output is known Relative size: Sets the size relative to surrounding elements Allows a user to change the text size in browsers Note: If you do not specify a font size, the default size for normal text, like paragraphs, is 16px (16px=1em).
Normal Size
Normal Size x 2
Normal Size x 1.5


1.I'm a cat in a pokemon adventure.
2.Im taking this class on interest of techology. At the end of the summer i wanna have a more expanded knowledge on computers
3.i am good at coding because of past knowledge. I am not good at remembering the important small info.
4.My dream is to live life
5.Technology is almost everything and soon it could be the world so i wanna be a part of that world and do something in it
6.The Memes


A freeCodeCamp project
Hello! We would like your input regarding on your preferences on games, please fill this out for us! Thank you for your participation.
Which console(s) do you own?
How long do you usually play games?
What are 3 of your favourite games and why?


bb-export
bb-export
This is a test page for org-exports using Babashka and the Scittle scripts.
Hello asdf
This is text.
(defn asdf [] [:div {:style {:color "blue"}} "this is eval'd in browser"]) (asdf)
Goodbye asdf
asdf
#_(/ 2 3 233) (try (/ 1 0) (catch :default e (str e)))


--- layout: post title: How Could You NOT Love This Face! categories: [] tags: [] status: publish type: post published: true meta: _original_post_id: '' _original_import_author: John Duprey author: ---
jduprey
View this post on my blog


Follow us, receive a new idea every week, break the monotony of every day life. Watch others do the same!


Home
Sales Data
About Us
Contact
Check out our awesome merch!
Salmon Cookie Shirt: $25.00
Pat's famous Salmon Cookies: $20.00/dozen


Task Trader - Create Task
Explore
Dashboard
Profile
Onboard
Create a new task
Search Tasks
Search Tasks
{% csrf_token %}
Weekly Time Commitment (hours)
Location:
All
{% for location in location_set %}
{{ location.campus_name }}
{% endfor %}
Department:
All
{% for department in department_set %}
{{ department.department_name }}
{% endfor %}
Tasks
Job Title
Deadline
Time Commitment
Location
Deparment
{% for task in task_set %}
{{ task.task_title }}
{{ task.start_date }}
{{ task.time_commitment }}
{{ task.location.campus_name }}
{{ task.department.department_name }}
{% endfor %}


Welcome! Below you will find links to a number of 'alternative topographies' created through the extrusions of various data. Please have a look around!
Designed & Built by Woods Bagot | woodsbagot.com


--- layout: post title: Client-side Ruby & Py, whoa. date: 2011-10-02 02:06:47.000000000 -07:00 type: post published: true status: publish categories: tags: [] meta: _edit_last: '1' author: login: admin email<EMAIL_ADDRESS>display_name: admin first_name: Carina C. last_name: Zon ---
The convention wisdom used to be, "JavaScript is the client-side scripting language; Ruby and Python are server-side scripting languages."
In truth, JavaScript has always been a server-side language too. Projects like node.js have lately raised the visibility of that mightily.
Ahh, but what about potential for server-side languages to execute natively in a browser?
Gestalt is an interesting development on that front: taking advantage of Microsoft's Silverlight Dynamic Language Runtime (DLR) to bring Ruby and Python over to the client-side.
A future of <script type="text/ruby"> could be groovy.
def onclick(s,e)
window.alert "Hello, World!"
end
document.say_hello.attach_event(
'onclick',
System::EventHandler[System::Windows::Browser::HtmlEventArgs].new(method(:onclick))
)
Though I'll be a lot more excited about a solution not dependent on a plugin. Silverlight is far from ubiquitous. Even on Microsoft's own OSs, browser support is not universal. And no love for Linux at all. That's some pretty major shortcomings.
But interesting, oh yes.


| Vorname: | {{vm.user.firstname}} |
| Nachname: | {{vm.user.lastname}} |
| e-mail: | {{vm.user.email}} |
| Username: | {{vm.user.username}} |
| Punktzahl: | {{vm.user.points}} |
| registriert seit: | {{vm.user.registrDate}} |
| Geburtstag: | {{vm.user.birthday}} |
| Information: | {{vm.user.info}} |
| Welcome by OpenSenseMap
|
| Happy Birthday!!!
|
| "Power User!"
|
| "Young User"
|
| Be active for the community!
|
| COOL!


Telling stories through film & theatre - from conceptualising ideas to directing, editing and production, I live for creating! With my strong organisational and logical side combined with my creative and innovative nature, I am well balanced for the fast pace creative industry. I have a degree in theatre - where my love for directing started. From there I entered the exciting film industry, working on international and local productions.


sm
::
eod
::
FaceCoordinate
FaceCoordinate Struct Reference
List of all members.
Detailed Description
Definition at line
14
of file
flmtypes.h
.
Public Member Functions
FaceCoordinate
(float
x
=0, float
y
=0, float
z
=0)
Public Attributes
float
x
float
y
float
z
Generated on Fri Apr 1 15:36:50 2011 for Seeing Machines CoreData API by
1.5.0


Contact me by email at:
<EMAIL_ADDRESS>Reach me on my mobile number at:
651-357-3649
My resume is available at:
Find me on:
Or take a peek at my profile on:


public class Genetic
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Configurator |
cf |
private ETP.ETPHandler |
data |
private Solution |
generationBest |
private Solution |
globalBest |
private long |
lastTimeBest |
private long |
lastTimeSinceBest |
private java.util.List<Solution> |
population |
private java.lang.Double |
previousBestRank |
private static java.util.Random |
randomValue |
private int |
stuckTime |
private boolean |
TSEra |
| Constructor and Description |
|---|
Genetic(ETP.ETPHandler data,
Configurator cf) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addPopulation()
Inserts individuals into the
|
private java.util.List<Solution> |
applyCrossover(java.util.List<Solution> parents) |
private java.util.List<Solution> |
applySelfMutation(java.util.List<Solution> parents) |
Solution |
beginSelfEvolution()
population initialization
fitness computation
while (termination condition)
parent selection
crossover with probability pC
mutation with probability pM
Infeasible Individuals FIX
Dynamic Local Search (Simulated Annealing / Tabu Search)
natural selection
update best solution
return best
|
private void |
changeEra() |
private Solution |
crossover(Solution parent1,
Solution parent2)
implements uniform crossover
for each exam to assign into the new spring
flip coin
if(gene of parent1 is feasible and gene of parent2 is feasible) then
if head
take gene from parent1
else
take gene from parent2
else
take the feasible gene
|
java.util.List<Solution> |
deleteDuplicates(java.util.List<Solution> population)
Removes all the solutions with the same rank
(2 solutions with the same rank have an high
probability to have the same structure)
|
private void |
fixPopulation() |
private void |
initPopulation()
Initializes population by inserting maxPopulation Solutions generated randomly
and initializes also the best Solution with the first feasible Solution found.
|
private void |
localSearchSA(int iterationCounter,
SimulatedAnnealing SA) |
private void |
localSearchTS(int iterationCounter,
Tabu TS,
int sec) |
private void |
naturalSelection(java.util.List<Solution> children,
int n)
Deletes n Solutions from population and adds n children to the population.
|
private java.util.List<Solution> |
parentSelection(int maxParents,
int numContenders)
implements Tournament selection
|
private Solution |
selfMutation(Solution parent)
Method used for the solution self-mutation
|
java.lang.String |
toString() |
private void |
updateBest()
Search for best solution
the new king must be: FEASIBLE and HAVE BEST RANK SO FAR
|
private ETP.ETPHandler data
private java.util.List<Solution> population
private static java.util.Random randomValue
private Solution generationBest
private Solution globalBest
private java.lang.Double previousBestRank
private Configurator cf
private long lastTimeBest
private long lastTimeSinceBest
private int stuckTime
private boolean TSEra
public Genetic(ETP.ETPHandler data, Configurator cf)
public Solution beginSelfEvolution()
private void fixPopulation()
public java.util.List<Solution> deleteDuplicates(java.util.List<Solution> population)
population
- population listprivate void initPopulation()
private void addPopulation()
private java.util.List<Solution> parentSelection(int maxParents, int numContenders)
maxParents
- max number of parentsnumContenders
- contender's numberprivate Solution crossover(Solution parent1, Solution parent2)
parent1
- first parentparent2
- second parentprivate Solution selfMutation(Solution parent)
parent
- the solution that is going to be mutatedprivate java.util.List<Solution> applySelfMutation(java.util.List<Solution> parents)
private void naturalSelection(java.util.List<Solution> children, int n)
children
- the list of childrenn
- number of solutions to kill from the populationprivate void updateBest()
private void localSearchSA(int iterationCounter, SimulatedAnnealing SA)
private void localSearchTS(int iterationCounter, Tabu TS, int sec)
public java.lang.String toString()
toString
in class java.lang.Object
private void changeEra()


×
About
About
Hello, developer here. This is a template application for whoever wants to make a web or mobile application regarding users viewing some kind of data.
In this section you would fill it out with any necessary insights you wish to communicate with the user. Typically some meta information such as update release notes and announcements. However, do not burden the user with too much information.
Once again please redirect any questions, feedback or corrections based on the app to my developer Twitter account @RayGarc


Before Change
//: luminosity function coefficients
coef = np.array([0.2125, 0.7154, 0.0721])
rgb = self.extract_sf("red","green","blue", element=element)
gray = np.einsum("ij, j", rgb, coef)
cloud["Relative_Luminance"] = gray
After Change
//: luminosity function coefficients
coef = np.array([0.2125, 0.7154, 0.0721])
rgb = cloud[["red","green","blue"]]
gray = np.einsum("ij, j", rgb, coef)
cloud["Relative_Luminance"] = gray


1 reference to LookupCommands
System.Management.Automation (1)
engine\InitialSessionState.cs (1)
3023
foreach (CommandInfo cmd in
LookupCommands
(commandToMakeVisible, moduleName, initializedRunspace.ExecutionContext))


Start a websocket server and make here a connection by choosing the right URL. Portnumbers must agree.


on
Getting Back into Piano
During this quarantine period, it seems as though there are fewer jobs and more applicants than ever before. So between my coursera courses and job applications, I’m taking the time to try my hand at the piano again. Not that I stopped, it’s been on and off for a long time. I just did not have as much interest at mastering it before. The timing for my new-found interest is unfortunate…my piano has been neglected from my on-and-off interest, with keys towards both ends often getting stuck, or off-tune. I have little hope for fixing it. the last tuner said there was only so much he can do. Until I get a new piano, I plan to power through! In the meantime, I wanted to share some tips and strategies that I have learned over the last month.
In my new and vehment desire to learn the piano, I’ve discovered details about the musical community that I can’t believe I did not notice before. Take youtube. I always knew it existed, and that people post videos of them playing instruments. I did not know that there were relatively professional vloggers (think Casey Neistat) that broke down music subjects. One such vlogger is Nahre Sol. She has amazing videos that break down Lo-fi, beboop, or even some fun warm up practices for the piano. Her videos are well made, and while she occasionally mentions music theory that I unfamilar with, it has given me the opportunity to find out what I can learn next. I’ve also been inspired from hearing these vloggers talk about music!
There are several reddit communities for Piano. What I call the main one, r/piano, is very friendly. Topics range from what piano to get, sharing performances, and tips to get better. I don’t plan to submit my performances anytime soon (I’m very shy), but this community made me realize that recording yourself is a great way of realizing issues in your playing. A tip I strongly recommend to those wondering about odd wrist pain. If you are not shy about your performances, r/piano has a monthly ‘piano jam[^1]’! A moderator posts a collection of pieces for classical, jazz, movies and even video games, and people have a month to learn them and post the results.
Importantly, I found a book thanks to r/piano: Fundamentals of Piano Practice. It’s a collection of wisdom for any piano player to use. Especially important is that it has advice that any solo player (like myself) should take to the piano. It has great advice that I’ve heard professional musicians give. For example, focus on separating the hands, and play only those parts of the pieces that are challenging. There is other advice, such as Hanon or similar practices must not be the bulk of your learning. They are mostly useful to absolute beginners learning their fingering, and even then, may cause tendonitis if done poorly.
I’m planning on working myself through learning to heart a good number of pieces before I get hired! So far, I’ve been having fun with the Chopin Nocturnes, and plan to move to Debussey next (unless Gershwin gets me first).
[^1] As of writing, the most recent piano jam is found here: June 02, 2020. The piano jams can be found at the top of the r/piano page.


Dashboard
User settings
Change password
Purchases
Your Profile
User Name
First Name
Last Name
Telephone
Email
Address
Update


XFormsApplicationDroid Methods
The XFormsApplicationDroid type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddContentView | (Inherited from Activity.) | |
| ApplyOverrideConfiguration | (Inherited from ContextThemeWrapper.) | |
| AttachBaseContext | (Inherited from ContextWrapper.) | |
| BindService | (Inherited from ContextWrapper.) | |
| CheckCallingOrSelfPermission | (Inherited from ContextWrapper.) | |
| CheckCallingOrSelfUriPermission | (Inherited from ContextWrapper.) | |
| CheckCallingPermission | (Inherited from ContextWrapper.) | |
| CheckCallingUriPermission | (Inherited from ContextWrapper.) | |
| CheckPermission | (Inherited from ContextWrapper.) | |
| CheckUriPermission(Uri, Int32, Int32, ActivityFlags) | (Inherited from ContextWrapper.) | |
| CheckUriPermission(Uri, String, String, Int32, Int32, ActivityFlags) | (Inherited from ContextWrapper.) | |
| ClearWallpaper | (Inherited from ContextWrapper.) | |
| Clone | (Inherited from Object.) | |
| CloseContextMenu | (Inherited from Activity.) | |
| CloseOptionsMenu | (Inherited from Activity.) | |
| CreateConfigurationContext | (Inherited from ContextWrapper.) | |
| CreateDisplayContext | (Inherited from ContextWrapper.) | |
| CreatePackageContext | (Inherited from ContextWrapper.) | |
| CreatePendingResult | (Inherited from Activity.) | |
| DatabaseList | (Inherited from ContextWrapper.) | |
| DeleteDatabase | (Inherited from ContextWrapper.) | |
| DeleteFile | (Inherited from ContextWrapper.) | |
| DismissDialog | (Inherited from Activity.) | |
| DispatchGenericMotionEvent | (Inherited from Activity.) | |
| DispatchKeyEvent | (Inherited from Activity.) | |
| DispatchKeyShortcutEvent | (Inherited from Activity.) | |
| DispatchPopulateAccessibilityEvent | (Inherited from Activity.) | |
| DispatchTouchEvent | (Inherited from Activity.) | |
| DispatchTrackballEvent | (Inherited from Activity.) | |
| Dispose()()()() | (Inherited from Object.) | |
| Dispose(Boolean) | (Inherited from Object.) | |
| Dump | (Inherited from Activity.) | |
| EnforceCallingOrSelfPermission | (Inherited from ContextWrapper.) | |
| EnforceCallingOrSelfUriPermission | (Inherited from ContextWrapper.) | |
| EnforceCallingPermission | (Inherited from ContextWrapper.) | |
| EnforceCallingUriPermission | (Inherited from ContextWrapper.) | |
| EnforcePermission | (Inherited from ContextWrapper.) | |
| EnforceUriPermission(Uri, Int32, Int32, ActivityFlags, String) | (Inherited from ContextWrapper.) | |
| EnforceUriPermission(Uri, String, String, Int32, Int32, ActivityFlags, String) | (Inherited from ContextWrapper.) | |
| Equals(Object) | (Inherited from Object.) | |
| Equals(System.Object) | (Inherited from Object.) | |
| FileList | (Inherited from ContextWrapper.) | |
| Finalize | (Inherited from Object.) | |
| FindViewById(Int32) | (Inherited from Activity.) | |
| FindViewById``1(Int32) | (Inherited from Activity.) | |
| Finish | (Inherited from Activity.) | |
| FinishActivity | (Inherited from Activity.) | |
| FinishActivityFromChild | (Inherited from Activity.) | |
| FinishAffinity | (Inherited from Activity.) | |
| FinishFromChild | (Inherited from Activity.) | |
| GetDatabasePath | (Inherited from ContextWrapper.) | |
| GetDir | (Inherited from ContextWrapper.) | |
| GetExternalCacheDirs | (Inherited from ContextWrapper.) | |
| GetExternalFilesDir | (Inherited from ContextWrapper.) | |
| GetExternalFilesDirs | (Inherited from ContextWrapper.) | |
| GetFileStreamPath | (Inherited from ContextWrapper.) | |
| GetHashCode | (Inherited from Object.) | |
| GetObbDirs | (Inherited from ContextWrapper.) | |
| GetPreferences | (Inherited from Activity.) | |
| GetSharedPreferences | (Inherited from ContextWrapper.) | |
| GetString(Int32) | (Inherited from Context.) | |
| GetString(Int32, array<Object>[]()[][]) | (Inherited from Context.) | |
| GetSystemService | (Inherited from ContextWrapper.) | |
| GetText | (Inherited from Context.) | |
| GetTextFormatted | (Inherited from Context.) | |
| GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
| GrantUriPermission | (Inherited from ContextWrapper.) | |
| InvalidateOptionsMenu | (Inherited from Activity.) | |
| JavaFinalize | (Inherited from Object.) | |
| ManagedQuery | (Inherited from Activity.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
| MoveTaskToBack | (Inherited from Activity.) | |
| NavigateUpTo | (Inherited from Activity.) | |
| NavigateUpToFromChild | (Inherited from Activity.) | |
| Notify | (Inherited from Object.) | |
| NotifyAll | (Inherited from Object.) | |
| ObtainStyledAttributes(IAttributeSet, array<Int32>[]()[][]) | (Inherited from Context.) | |
| ObtainStyledAttributes(IAttributeSet, array<Int32>[]()[][], Int32, Int32) | (Inherited from Context.) | |
| ObtainStyledAttributes(Int32, array<Int32>[]()[][]) | (Inherited from Context.) | |
| ObtainStyledAttributes(array<Int32>[]()[][]) | (Inherited from Context.) | |
| OnActionModeFinished | (Inherited from Activity.) | |
| OnActionModeStarted | (Inherited from Activity.) | |
| OnActivityResult | (Inherited from Activity.) | |
| OnApplyThemeResource | (Inherited from ContextThemeWrapper.) | |
| OnAttachedToWindow | (Inherited from Activity.) | |
| OnAttachFragment | (Inherited from Activity.) | |
| OnBackPressed | ||
| OnChildTitleChanged(Activity, ICharSequence) | (Inherited from Activity.) | |
| OnChildTitleChanged(Activity, String) | (Inherited from Activity.) | |
| OnConfigurationChanged | (Inherited from Activity.) | |
| OnContentChanged | (Inherited from Activity.) | |
| OnContextItemSelected | (Inherited from Activity.) | |
| OnContextMenuClosed | (Inherited from Activity.) | |
| OnCreate | (Inherited from AndroidActivity.) | |
| OnCreateContextMenu | (Inherited from Activity.) | |
| OnCreateDescription | (Inherited from Activity.) | |
| OnCreateDescriptionFormatted | (Inherited from Activity.) | |
| OnCreateDialog(Int32) | (Inherited from Activity.) | |
| OnCreateDialog(Int32, Bundle) | (Inherited from Activity.) | |
| OnCreateNavigateUpTaskStack | (Inherited from Activity.) | |
| OnCreateOptionsMenu | (Inherited from AndroidActivity.) | |
| OnCreatePanelMenu | (Inherited from Activity.) | |
| OnCreatePanelView | (Inherited from Activity.) | |
| OnCreateThumbnail | (Inherited from Activity.) | |
| OnCreateView(View, String, Context, IAttributeSet) | (Inherited from Activity.) | |
| OnCreateView(String, Context, IAttributeSet) | (Inherited from Activity.) | |
| OnDetachedFromWindow | (Inherited from Activity.) | |
| OnGenericMotionEvent | (Inherited from Activity.) | |
| OnKeyDown | (Inherited from Activity.) | |
| OnKeyLongPress | (Inherited from Activity.) | |
| OnKeyMultiple | (Inherited from Activity.) | |
| OnKeyShortcut | (Inherited from Activity.) | |
| OnKeyUp | (Inherited from Activity.) | |
| OnLowMemory | (Inherited from Activity.) | |
| OnMenuItemSelected | (Inherited from Activity.) | |
| OnMenuOpened | (Inherited from Activity.) | |
| OnNavigateUp | (Inherited from Activity.) | |
| OnNavigateUpFromChild | (Inherited from Activity.) | |
| OnNewIntent | (Inherited from Activity.) | |
| OnOptionsItemSelected | (Inherited from AndroidActivity.) | |
| OnOptionsMenuClosed | (Inherited from Activity.) | |
| OnPanelClosed | (Inherited from Activity.) | |
| OnPostCreate | (Inherited from Activity.) | |
| OnPostResume | (Inherited from Activity.) | |
| OnPrepareDialog(Int32, Dialog) | (Inherited from Activity.) | |
| OnPrepareDialog(Int32, Dialog, Bundle) | (Inherited from Activity.) | |
| OnPrepareNavigateUpTaskStack | (Inherited from Activity.) | |
| OnPrepareOptionsMenu | (Inherited from AndroidActivity.) | |
| OnPreparePanel | (Inherited from Activity.) | |
| OnProvideAssistData | (Inherited from Activity.) | |
| OnRestoreInstanceState | (Inherited from Activity.) | |
| OnRetainNonConfigurationInstance | (Inherited from Activity.) | |
| OnSaveInstanceState | (Inherited from Activity.) | |
| OnSearchRequested | (Inherited from Activity.) | |
| OnTitleChanged(ICharSequence, Color) | (Inherited from Activity.) | |
| OnTitleChanged(String, Color) | (Inherited from Activity.) | |
| OnTouchEvent | (Inherited from Activity.) | |
| OnTrackballEvent | (Inherited from Activity.) | |
| OnTrimMemory | (Inherited from Activity.) | |
| OnUserInteraction | (Inherited from Activity.) | |
| OnUserLeaveHint | (Inherited from Activity.) | |
| OnWindowAttributesChanged | (Inherited from Activity.) | |
| OnWindowFocusChanged | (Inherited from Activity.) | |
| OnWindowStartingActionMode | (Inherited from Activity.) | |
| OpenContextMenu | (Inherited from Activity.) | |
| OpenFileInput | (Inherited from ContextWrapper.) | |
| OpenFileOutput | (Inherited from ContextWrapper.) | |
| OpenOptionsMenu | (Inherited from Activity.) | |
| OpenOrCreateDatabase(String, FileCreationMode, ICursorFactory) | (Inherited from ContextWrapper.) | |
| OpenOrCreateDatabase(String, FileCreationMode, ICursorFactory, IDatabaseErrorHandler) | (Inherited from ContextWrapper.) | |
| OverridePendingTransition | (Inherited from Activity.) | |
| PeekWallpaper | (Inherited from ContextWrapper.) | |
| Recreate | (Inherited from Activity.) | |
| RegisterComponentCallbacks | (Inherited from Context.) | |
| RegisterForContextMenu | (Inherited from Activity.) | |
| RegisterReceiver(BroadcastReceiver, IntentFilter) | (Inherited from ContextWrapper.) | |
| RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler) | (Inherited from ContextWrapper.) | |
| RemoveDialog | (Inherited from Activity.) | |
| RemoveStickyBroadcast | (Inherited from ContextWrapper.) | |
| RemoveStickyBroadcastAsUser | (Inherited from ContextWrapper.) | |
| ReportFullyDrawn | (Inherited from Activity.) | |
| RequestWindowFeature | (Inherited from Activity.) | |
| RevokeUriPermission | (Inherited from ContextWrapper.) | |
| RunOnUiThread(Action) | (Inherited from Activity.) | |
| RunOnUiThread(IRunnable) | (Inherited from Activity.) | |
| SendBroadcast(Intent) | (Inherited from ContextWrapper.) | |
| SendBroadcast(Intent, String) | (Inherited from ContextWrapper.) | |
| SendBroadcastAsUser(Intent, UserHandle) | (Inherited from ContextWrapper.) | |
| SendBroadcastAsUser(Intent, UserHandle, String) | (Inherited from ContextWrapper.) | |
| SendOrderedBroadcast(Intent, String) | (Inherited from ContextWrapper.) | |
| SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, Result, String, Bundle) | (Inherited from ContextWrapper.) | |
| SendOrderedBroadcastAsUser | (Inherited from ContextWrapper.) | |
| SendStickyBroadcast | (Inherited from ContextWrapper.) | |
| SendStickyBroadcastAsUser | (Inherited from ContextWrapper.) | |
| SendStickyOrderedBroadcast | (Inherited from ContextWrapper.) | |
| SendStickyOrderedBroadcastAsUser | (Inherited from ContextWrapper.) | |
| SetContentView(View) | (Inherited from Activity.) | |
| SetContentView(View, LayoutParams) | (Inherited from Activity.) | |
| SetContentView(Int32) | (Inherited from Activity.) | |
| SetDefaultKeyMode | (Inherited from Activity.) | |
| SetFeatureDrawable | (Inherited from Activity.) | |
| SetFeatureDrawableAlpha | (Inherited from Activity.) | |
| SetFeatureDrawableResource | (Inherited from Activity.) | |
| SetFeatureDrawableUri | (Inherited from Activity.) | |
| SetFinishOnTouchOutside | (Inherited from Activity.) | |
| SetHandle | (Inherited from Object.) | |
| SetPage | (Inherited from AndroidActivity.) | |
| SetPersistent | (Inherited from Activity.) | |
| SetProgress | (Inherited from Activity.) | |
| SetProgressBarIndeterminate | (Inherited from Activity.) | |
| SetProgressBarIndeterminateVisibility | (Inherited from Activity.) | |
| SetProgressBarVisibility | (Inherited from Activity.) | |
| SetResult(Result) | (Inherited from Activity.) | |
| SetResult(Result, Intent) | (Inherited from Activity.) | |
| SetSecondaryProgress | (Inherited from Activity.) | |
| SetTheme | (Inherited from ContextWrapper.) | |
| SetTitle | (Inherited from Activity.) | |
| SetVisible | (Inherited from Activity.) | |
| SetWallpaper(Bitmap) | (Inherited from ContextWrapper.) | |
| SetWallpaper(Stream) | (Inherited from ContextWrapper.) | |
| ShouldUpRecreateTask | (Inherited from Activity.) | |
| ShowDialog(Int32) | (Inherited from Activity.) | |
| ShowDialog(Int32, Bundle) | (Inherited from Activity.) | |
| StartActionMode | (Inherited from Activity.) | |
| StartActivities(array<Intent>[]()[][]) | (Inherited from ContextWrapper.) | |
| StartActivities(array<Intent>[]()[][], Bundle) | (Inherited from ContextWrapper.) | |
| StartActivity(Intent) | (Inherited from ContextWrapper.) | |
| StartActivity(Intent, Bundle) | (Inherited from ContextWrapper.) | |
| StartActivity(Type) | (Inherited from Context.) | |
| StartActivityForResult(Type, Int32) | (Inherited from Activity.) | |
| StartActivityForResult(Intent, Int32) | (Inherited from Activity.) | |
| StartActivityForResult(Intent, Int32, Bundle) | (Inherited from Activity.) | |
| StartActivityFromChild(Activity, Intent, Int32) | (Inherited from Activity.) | |
| StartActivityFromChild(Activity, Intent, Int32, Bundle) | (Inherited from Activity.) | |
| StartActivityFromFragment(Fragment, Intent, Int32) | (Inherited from Activity.) | |
| StartActivityFromFragment(Fragment, Intent, Int32, Bundle) | (Inherited from Activity.) | |
| StartActivityIfNeeded(Intent, Int32) | (Inherited from Activity.) | |
| StartActivityIfNeeded(Intent, Int32, Bundle) | (Inherited from Activity.) | |
| StartInstrumentation | (Inherited from ContextWrapper.) | |
| StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32) | (Inherited from ContextWrapper.) | |
| StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) | (Inherited from ContextWrapper.) | |
| StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32) | (Inherited from Activity.) | |
| StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) | (Inherited from Activity.) | |
| StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32) | (Inherited from Activity.) | |
| StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) | (Inherited from Activity.) | |
| StartManagingCursor | (Inherited from Activity.) | |
| StartNextMatchingActivity(Intent) | (Inherited from Activity.) | |
| StartNextMatchingActivity(Intent, Bundle) | (Inherited from Activity.) | |
| StartSearch | (Inherited from Activity.) | |
| StartService | (Inherited from ContextWrapper.) | |
| StopManagingCursor | (Inherited from Activity.) | |
| StopService | (Inherited from ContextWrapper.) | |
| TakeKeyEvents | (Inherited from Activity.) | |
| ToArray``1 | (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| TriggerSearch | (Inherited from Activity.) | |
| UnbindService | (Inherited from ContextWrapper.) | |
| UnregisterComponentCallbacks | (Inherited from Context.) | |
| UnregisterForContextMenu | (Inherited from Activity.) | |
| UnregisterReceiver | (Inherited from ContextWrapper.) | |
| Wait()()()() | (Inherited from Object.) | |
| Wait(Int64) | (Inherited from Object.) | |
| Wait(Int64, Int32) | (Inherited from Object.) |


Compostrap Repainted
# Buttons
# Outline buttons
# Alerts
A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!
A simple warning alert—check it out!
A simple info alert—check it out!
A simple light alert—check it out!


Client
Name -
Vivo active
Position -
52.526768 | 13.393261
Change
watch
Hazard
Please select the hazard place by clicking on the map:
left mouse click - minor hazard
right mouse click - major hazard
Major
|
52.526768
|
13.393261
Report
report_problem


JavaScript Study Guide
JavaScript is a programming language used to
add interactivity to a website.
Class 11 & 12, Group-6
JavaScript is a programming language used to
add interactivity to a website.
JavaScript was initially created to “make web pages alive”.
The programs in this language are called scripts. They can be written right in a web page’s HTML
and run automatically as the page loads.
Scripts are provided and executed as plain text. They don’t need special preparation or
compilation to run.
In this aspect, JavaScript is very different from another language called Java.
OR ||
the or operator does not evaluate to true or false!
it returns the left value or the right value
- if the left is truthy, it returns the left value
- if the left is falsy, it returns the right value
And &&
the and operator does not evaluate to true or false!
it returns the left value or the right value
- if the left is falsy, it returns the left value
- if the left is truthy, it returns the right value
Not !
the not operator does evaluate to true or false
- if the value is truthy, it returns false
- if the value is falsy, it returns true
Block Scope: const
writing curly braces creates a new block scope
block scopes only effect variables
everything else you've learned so far still applies
here are few rules to keep in mind
1. variables declared outside a block:
a. are available inside the block if there is not a block variable with the same name
b. are not available inside the block if there is a new variable of the same name
2. variables declared inside a block:
a. are available inside the block
b. are not available outside the block
c.'replace' variables declared outside
`let` and Block Scope
all of the rules you learned in the last example apply to `let` variables
plus these new rules:
3. `let variables declared outside of a block ...
a. can be modified inside the block if they are not replaced
b. cannot be modified inside the block if they are replaced
Rule 3
if / else if / else
if (condition1) {
statement1
} else if (condition2) {
statement2
} else if (condition3) {
statement3
...
} else {
statementN
}
multiple options, something will happen no matter what
if no condition is truthy
the else statement will be evaluated
comparing numbers is the simplest, so let's start here
the result of comparing numbers will always be a boolean value
comparing numbers works (almost always) like you'd expect
you can (almost always) think of it like comparing numbers in real life
there are some edge cases where number comparisons don't behave as you'd expect
but you can worry about those when you face them in your code
this statement can be used to exit a loop immediately
using break inside of a conditional is very practical