Set User-Agent to the client.
User-Agent on the client.
Set User-Agent to the client.
User-Agent string.
User-Agent on the client.
preset headers on the client.
host on the client.
preset query on the client.
preset request options on the client.
Decode a JWT token string to literal object payload.
token to decode.
some JWT decode options.
a literal object.
request with DELETE
method.
a promise with Response body
Creates (by Object.create) a new client instance with headers copy from the request.
IncomingMessage object that headers read from.
headers that will be copy into client.
a new client with with given headers.
request with GET
method.
a promise with Response body
request with PATCH
method.
a promise with Response body
request with POST
method.
a promise with Response body
request with PUT
method.
a promise with Response body
request with given method, url and data. It will genenrate a jwt token by signToken, and set to 'Authorization' header. It will merge headers, query and request options that preset into client.
method to request.
url to request, it will be resolved with client host.
data to request.
a promise with Response
Creates a periodical changed JWT token string with appId and appSecrets.
period in seccond, default to 3600s.
some JWT sign options.
a token string.
Creates a JWT token string with given payload and client's appSecrets.
Payload to sign, should be an literal object.
some JWT sign options.
a token string.
Decode and verify a JWT token string to literal object payload. if verify failure, it will throw a 401 error (creates by 'http-errors' module)
token to decode.
some JWT verify options.
a literal object.
Creates (by Object.create) a new client instance with given headers.
headers that will be copy into client.
a new client with with given headers.
Creates (by withHeaders) a new client instance with given X-Operator-ID
.
that will be added to header as X-Operator-ID
.
a new client with with given headers.
Creates (by Object.create) a new client instance with given request options.
request options that will be copy into client.
a new client with with given request options.
Creates (by Object.create) a new client instance with given query.
query that will be copy into client.
a new client with with given query.
Creates (by Object.create) a new client instance with given service methods.
service host for new client.
a new client with with given service methods.
Creates (by withHeaders) a new client instance with given X-Tenant-Id
and X-Tenant-Type
.
that will be added to header as X-Tenant-Id
.
that will be added to header as X-Tenant-Type
.
a new client with with given headers.
a retryable request, wrap of https://github.com/request/request. When the connection fails with one of ECONNRESET, ENOTFOUND, ESOCKETTIMEDOUT, ETIMEDOUT, ECONNREFUSED, EHOSTUNREACH, EPIPE, EAI_AGAIN, the request will automatically be re-attempted as these are often recoverable errors and will go away on retry.
request options.
a promise with Response.
Generated using TypeDoc
Auth client with some teambition auth service method. It is a typical example that how to create custom service client with Client. You may need to create your teambition web service client with some useful method.


PureBasic - Scintilla
Overview
Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any project or product personal or commercial. The license may be viewed here. The source code, as well as the library documentation may be found on the Scintilla Homepage.
From the Scintilla Homepage: As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colors and multiple fonts.
Important: The scintilla license requires that a copyright notice be included in all software that uses it and the license text itself be included in the documentation for the software. So if this library is used in software that is to be made public, the above linked license MUST be included with the software.
PureBasic integrates the Scintilla library with the gadget library, so standard commands like ResizeGadget() or HideGadget() may be used with the scintilla control. Furthermore it provides the ScintillaSendMessage() function to communicate with the control to use its full potential. All structures and constants needed are already defined in PureBasic.
Command Index
InitScintilla
ScintillaGadget
ScintillaSendMessage
Supported OS
All


1 The second opinion is less grounded on knowledge than the previous, though it is more marvellous to the ear: according to it, the river effects what it does because it flows from Ocean, which flows around the whole world.


Machines in Motion Documentation Portal
Introduction
This the entry point for all the documentation of the repository Listed in the "machines-in-motion" Github organization . In this page is listed all the available documentation for the open-sourced packages.
Videos
Please put some videos (Youtube link here)
List of the package documentation
- ati_ft_sensor
- ci_example_cpp
- ci_example_python
- dg_blmc_robots
- dg_tools
- dynamic_graph_manager
- momentumopt
- mpi_cmake_modules
- mpi_cpp_tools
- pinocchio_bullet
- pybind11_catkin
- real_time_tools
- shared_memory
- solver
- solver_lqr
- time_series
- yaml_cpp_catkin
List of the code coverage per projects
Partners


Code Group #12
Go to /items to list all items with their prices
Go to /category/{category} (e.g. /category/shoes or /category/shirts) to list all items and their prices based on a category input
Go to /item/{itemid} (e.g. /item/1001) to list an item with its price based on item id
Notes:


Backend development
Tasks (Polling)
All Persons List
Employees Stats (Event Stream)
| Name | Position | Office | Age | Start date | Salary |
|---|---|---|---|---|---|
| Jonas Alexander | Developer | San Francisco | 30 | 2010/07/14 | $86,500 |
{{define "content"}}
| Name | Position | Office | Age | Start date | Salary |
|---|---|---|---|---|---|
| Jonas Alexander | Developer | San Francisco | 30 | 2010/07/14 | $86,500 |


Ruby Basics
Coming Soon...
Ruby Enumerables
Coming Soon...
Ruby Hashes, Arrays, Strings, Integers
Coming Soon...
JavaScript Objects
Coming Soon...
JavaScript Prototypes
Coming Soon...
Looping in Ruby and JavaScript (comparisons)
Coming Soon...
HTML Basics
Basic HTML structure:
Ordered and Unordered Lists:
Anchor Tags:
Display Images:
Classes and ID's:
Link to external stylesheet:
Div's and HTML5 Semantic Elements:
CSS Basics
Basic CSS Syntax:
Style Individual Elements:
Pseudo Selectors:
Block to Inline:
Box Model:
Padding:
Margin:
Classes:
ID's:
CSS Positioning
Coming Soon...
GIT Basics
Create a new local repository:
Create a copy of a local repository:
Add specific file to staging:
Add all files to staging:
Preview changes being added to staging:
Check status:
Commit changes:
Push changes to origin:
Fetch changes from origin:
SQL Basics
Basic select statement:
Sort data:
Select specific columns and filter results:
Join tables:


--- layout: post title: Quick start WordPress plugin development with VagrantPress date: 2013-10-15 22:28:42.000000000 +01:00 type: post published: true status: publish categories: [] tags: - note to self - wordpress meta: tmac_last_id: '618797337134108672' _edit_last: '1' _syntaxhighlighter_encoded: '1' author: David Simpson excerpt_separator: ---
We're using VagrantPress to get a quickly WordPress instance up and running.
wget -O vagrantpress-master.zip https://github.com/chad-thompson/vagrantpress/archive/master.zip
unzip vagrantpress-master.zip
cd vagrantpress-master
vagrant up
This will likely take up to 10 minutes on the 1st go, but will be much faster subsequently.
On completion:
If you have a hard coded IP address for an external dev system that you'll be connecting to, now is a good time to add it in.
Edit the hosts file on your guest machine:
vagrant ssh
vi /etc/hosts
Add a line pointing to the correct IP address:
<IP_ADDRESS> external-dependency.dev external-dependency
WordPress plugins are installed at /wp-content/plugins below the root WordPress site. Clone the repo in the plugins directory:
cd wordpress/wp-content/plugins
git clone ssh://git@stash.davidsimpson.me:7999/wp001/wordpress-example-plugin.git
Now you can start working on that plugin ;)
I've found VagrantPress to be a very useful and extremely simple way of quickly building a standardised local WordpPress development environment.
Some WordPress plugin development best practice guides:


Augmented reality (AR) is the combination of a real-world environment and a virtual environment. A user’s view of the physical world is supplemented with a computer-generated visual and audio input.
| Overlays information onto the existing environment using real-time audio and visual signals | Uses three dimensional computer-generated environments in which a user is fully immersed and can explore and interact with the environment |
| Users are able to distinguish between reality and overlaid information | User can only see virtual environment |
Augmented reality can be used in many scenarios such as navigation overlays, remote surgeries, and military training, while AR smartphone applications can be used in GPS systems as well as object recognition. The Augmented Reality Market also includes the Virtual Reality Market. Applications for virtual reality include the gaming and medical industries.
Augmented Reality has the ability to shape the world. Some examples of beneifts include:
1. Hands-free - For users who need to constantly be on the move while performing tasks, augmented reality devices can offer live information and feedback without requiring that the user look away and check a separate device, thus increasing efficiency.
2. User Engagement - AR systems can present information in a much more involved fashion, opening possibilities for fields such as education and commercial marketing.
3. Connectivity - Users can always remain connected to the world, with information sources providing updates right before their eyes.
Although there are many benefits to augmented reality, the risks and safety concerns associated with it also need to be heavily addressed. Some examples of potential risk include:
1. User Distraction - Abundant amounts of confusing images in a user’s field of vision can be distracting and cause potential safety concerns. For example, walking on a busy street with GPS visuals can be very dangerous and cause pedestrian accidents.
2. Potential for Hacking - The security of AR systems has not fully been addressed yet. The threat of hackers breaching AR systems could result in privacy invasions and security risks.
3. Health Concerns - There are multiple studies that have showed negative effects of augmented reality on the brain, suggesting a decrease in user concentration.
New applications in the e-commerce world may involve allowing users to test the products they intend to buy by creating a simulation of what the product does.
The military can use augmented reality in order to help communicate messages to the army. In addition, the military could use augmented reality for training purposes.
Companies can now advertise to individuals in order to promote their products.
Educational institutes can use augmented reality in order to communicate with the students.


RANDOM TRIVIA!
You have 10 seconds to answer each question!
Start Game
Questions Right:
Questions Wrong:
Time Left:
Answer Options: