OpenLLM-France/wikimedia huggingface dataset:
# Using POSper/Introduction

POSper is a point of sale system for retail trade and restaurants. The new 'Coffeeshop Mode' supports businesses selling goods and serving tables at the same time. POSper is designed to operate with a touchscreen so that a keyboard and mouse are not required for normal operation. On the other hand, it is possible to interact fully with the application using a keyboard and mouse without the use of a touchscreen. The main application window is focused on the sales operation.
The restaurant management features includes a visual display of tables which includes a visual cue to indicate which tables are occupied or free. It is easy to set up this layout to correspond to the physical layout of the restaurant.
In 'coffeeshop mode' the user can easily switch between retail mode and restaurant mode.
POSper supports numerous devices, e.g. ESC/POS ticket printers like the popular Epson TM 88 series, customer displays like Epson DM-D110/210 and compatibles, barcode readers for fast article entry, scales, and card readers.
POSper is Java based and can run on any PC system independent of the operating system.
The heart of POSper is a relational database where all products and transactions are being stored. The POSper teams commitment to support open standards guarantees long term compatibility to other systems which may want to connect to POSper like ERP systems, backoffice applications, etc.
POSper takes advantage of Hibernate which allows to use any database supported by Hibernate like MySql, PostGreSQL, Oracle, HSQLDB, and many others.
The system is fully internationalised and currently supports Spanish, English, German and Portuguese. Other languages can be added easily. If you want to contribute to translations please contact the POSper team.
For system security and accounting the system allows for the creation of multiple user accounts. Accounts are assigned roles in order to determine their capabilities. The default roles are:
* Administrator
* Manager
* User
* Guest
but roles can be altered and new roles can be defined. There are administration options to manage users, set passwords and configure other aspects of the application.
The system can fully be managed from the user interface provided the user has been granted the proper rights. There are management options to make closings, to manage products and to manage the organization of products into categories.
Of course there are reports and charts of products, closings and sales.
One of the most important strengths of POSper is its configurability. It can be adapted in many aspects like layout, features, discounts, taxes, reports, devices, and more.
# Using POSper/Developer guide/Unstable/Startup process

1) the startup command from the devel directory is java -jar lib/jpf-boot.jar --entry=JFrmTPV
2) jpf-boot checks for boot.properties, and sees that org.posper.core is the application plugin
3) looks in the plugins directory and finds the plugin.xml configuration for core, reports, and openbravosync and loads them all in
4) the core plugins AppCore is launched, which recognizes JFrmTPV was the entry point (JFrmConfig is the alternative) and JFrmTPV gets launched.
# Visual Basic for Applications/Running the FCIV Utility from VBA
## Summary

The Microsoft FCIV Utility, the File Checksum Integrity Verifier , is a free downloadable zipped package that allows a user to produce both SHA1 and MD5 hashes for any single file, a flat folder, or recursively for all files and folders. It can export its entire results package to a nominated .xml file. It can also conduct verification of file sets against a previously saved listing. It is used from a command prompt, but can be run using the Shell function from code like VBA, or from a batch file. For further reading in its use see: Availability and description of the File Checksum Integrity Verifier utility.

## Making File Hash Listings
### FCIV Hash Run at the Command Line

For completion, the command line code here will make an XML file of SHA1 hashes of the entire Documents folder. Omission of the xml term and the path that follows it will result in a screen listing.
Notice the need for double quotes for paths that contain spaces.
The fciv utility is assumed here to reside in the FCIV folder.

### FCIV Hash Run from VBA

The Shell function in VBA has no Wait feature, so the Shell line is best as the last. That is to say, even while the Shell command is still processing, it will pass control to the next line in the procedure that contains it before it is done; so the procedure's end will otherwise interrupt the Shell function and the process is likely to fail. The quotes are also a little different in this case from the usual VBA expectation. Note that all of the paths have been enclosed in two sets of double quotes and that the entire command line itself is then enclosed in one additional set of double quotes. Assuming that the fciv.exe has been downloaded and installed as shown, this code line exports all of the hash strings for every file in the users Documents folder, and all of its subfolders, to the file myhash.xml. An exclusion file path could also have been added.
Notice that the use of VBA has some limitations, in that although an output can be made to a file with great success, verification output is limited to the command line processor. See examples on the page File Checksum Integrity Verifier (FCIV) Examples.

## See Also

* File Checksum Integrity Verifier (FCIV)_Examples : Detailed examples of how to run the fciv utility, from both the command line and VBA. There are additional notes for the use of the command prompt screen.

## External Links

* Availability and description of the File Checksum Integrity Verifier utility : The Microsoft page on fciv, though a bit sparse in description.
* Folder Hashing in VBA :Another companion page that makes recursive folder hash listings, and logs. Uses up to date hash algorithms, but limited to files no larger than about 200MB.
# Visual Basic for Applications/Read Aloud Strings and Text
## Summary

This page contains Excel VBA code to read out the contents of strings; that is, text held in a string variable. It can be adapted for use elsewhere in MS Office.

## Code Notes

Place the entire code listing into a Standard Module and save the file with an xlsm suffix. Run the various subs to see how the code works.
# Visual Basic for Applications/Recursive File Listing of Folders
## Summary

* Recursive listings are tricky, and it is found to be difficult without module or public declarations of some sort. This version although a bit clumsy will perform as expected for files that can be accessed.
* A public variable is used as a counter to keep track, between iterations, of the numbers of files found, since Microsoft advises us that static variables are not usually used with recursion. The VBA code is not specific for any particular Office application, so would work in say MS Excel or MS Word etc.
* The user might need to introduce more filtering; for example, to exclude certain file types, or to avoid those of zero size. A comment in the code listing shows where such a code function could be added to the existing condition.
* Because the array is public, it can be accessed from any other module for its further processing or output. Copy the code entirely into a code module, and modify the folder and recursion condition to your own values.
* My Documents versus Documents. There are four virtual folders in Libraries, My Documents, My Music, My Pictures, and My Videos. When the Windows Explorer's Folder Options forbid the display of hidden files, folders, and drives, the correct locations are returned by various folder selection dialogs, namely Documents, Music, Pictures, and Videos. When hidden folders are permitted, then dialogs and listings will attempt to make use of these virtual paths. Access violations will result. To avoid undue problems, check that your folder options are set not to show hidden files or folders. This procedure avoids these folders altogether, but access violations can be avoided, provided that hidden files are allowed to stay hidden.
# Visual Basic for Applications/Styling User Forms
## Summary

* FormatForm is used to format a single specified userform with pre-selected colorings and fonts. This replaces a previous procedure to format all open userforms. Assumes that a userform called UserForm1 exists.
* The procedure AutoFormat performs auto-sizing and layout for simple array data, so that the display and label bar is tabular in appearance, regardless of the length of the various data. This latter procedure also has facilities to transpose the input in case it is needed.

## Code Modules
#### Last Modified 10 Jun 2017

Corrected name of TransposeArr2D in Autoformat. (12 Jul 2019) Replaced multi-form procedure with single-form procedure FormatForm.(18 Jan 19)
Changed code to more general TypeName in FormatAllLoadedUserForms(28 June 18) Added transpose function, previously omitted (10 Jun 2017) Removed font procedures to their new page Reduced number of AutoFormat controls.(17 Nov 2016)
Added GetTextPoints. (17 Nov 2016)
# William Shakespeare's Works/Histories/King Henry VI Part 1

The First Part of King Henry the Sixth is a historical play by William Shakespeare, likely written in 1591. This play is the fifth in a series of eight plays about the War of the Roses.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King Henry VI
* Duke of Gloucester
* Duke of Bedford
* Thomas Beaufort
* Henry Beaufort
* John Beaufort
* Richard Plantagenet
* Earl of Warwick
* Earl of Salisbury
* Earl of Suffolk
* Lord Talbot
* John Talbot
* Edmund Mortimer
* Sir John Falstaff
* Sir William Lucy
* Sir William Glansdale
* Sir Thomas Gargrave
* Woodville
* Vernon
* Basset
* Charles
* Reignier
* Duke of Burgundy
* Duke of Alençon
* Bastard of Orleans
* Margaret
* Countess of Auvergne
* Joan La Pucelle
* Mayor of London
* a Lawyer
* the Governor of Paris
* Master-Gunner of Orleans
* his Son
* a General
* a Sergeant
* a Porter
* a Shepherd
* Lords
* Warders
* Heralds
* Officers
* Soldiers
* Messengers
* Attendants
* Fiends
# William Shakespeare's Works/Histories/King Henry V

The Life of Henry the Fifth is a historical play by William Shakespeare, written in early 1599. This play is the fourth part in a series of eight plays about the War of the Roses between the Houses of York and Lancaster.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King Henry V
* Duke of Gloucester
* Duke of Bedford
* Duke of Exeter
* Duke of York
* Earl of Salisbury
* Earl of Westmoreland
* Earl of Warwick
* Archbishop of Canterbury
* Bishop of Ely
* Earl of Cambridge
* Scroop
* Sir Thomas Grey
* Sir Thomas Eppingham
* Gower
* Fluellen
* MacMorris
* Jamy
* Bates
* Court
* Williams
* Pistol
* Nym
* Bardolph
* Charles VI
* Lewis
* Duke of Burgundy
* Duke of Orleans
* Duke of Bourbon
* Rambures
* Grandpre
* Montjoy
* Isabel
* Katharine
* Alice
* a Boy
* a Herald
* the Constable of France
* the Governor of Harfleur
* English Ambassadors
* Hostess
* Lords
* Ladies
* Officers
* Soldiers
* Citizens
* Messengers
* Attendants
* Chorus
# William Shakespeare's Works/Histories/King Henry V/Act II
## Scenes

* Prologue: PROLOGUE
* Scene 1: London. A street.
* Scene 2: Southampton. A council-chamber.
* Scene 3: London. Before a tavern.
* Scene 4: France. The KING'S palace.
# William Shakespeare's Works/Histories/King Henry VIII

The Famous History of the Life of King Henry the Eighth is a history by William Shakespeare, written around 1603. It is one of only two Shakespearean histories unrelated to the War of the Roses, the other being King John. The play is concerned with the life and times of King Henry VIII of England, the man who infamously had six wives.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King Henry the Eighth
* Cardinal Wolsey
* Cardinal Campeius
* Capuceius
* Cranmer
* Duke of Norfolk
* Duke of Buckingham
* Duke of Suffolk
* Earl of Surrey
* Lord Chamberlain
* Lord Chancellor
* Gardiner
* Bishop of Lincoln
* Lord Abergavenny
* Lord Sandys
* Sir Henry Guildford
* Sir Thomas Lovell
* Sir Anthony Denny
* Sir Nicholas Vaux
* Cromwell
* Griffith
* Doctor Butts
* Brandon
* Queen Katherine
* Anne Bullen
* Patience
* Wolsey's Secretaries
* Three Gentlemen
* Garter King-at-arms
* a Surveyor
* Door-Keeper
* a Porter
* the Porter's Man
* Gardiner's Page
* a Crier
* an Old Lady
* Lords in Dumb Show
* Ladies in Dumb Show
* Queen's Attendants
* Scribes
* Officers
* Guards
* Other Attendants
* Spirits
# William Shakespeare's Works/Histories/King Henry VI Part 3

The Third Part of Henry the Sixth is a historical play by William Shakespeare, written before 1592, when it first premiered on stage. This play is the seventh play in a series of eight about the War of the Roses between the Houses of York and Lancaster during the 14th and 15th centuries.

## Acts

* Act I
* Act II
* Act III
* Act I
* Act V

## Dramatis Personæ

* King Henry VI
* Edward, Prince of Wales
* Lewis XI
* Duke of Somerset
* Duke of Exeter
* Earl of Oxford
* Earl of Northumberland
* Earl of Westmoreland
* Lord Clifford
* Richard Plantagenet
* Edward, Earl of March
* Edmund
* George
* Richard
* Duke of Norfolk
* Marquis of Montague
* Earl of Warwick
* Earl of Pembroke
* Lord Hastings
* Lord Stafford
* Sir John Mortimer
* Sir Hugh Mortimer
* Henry
* Lord Rivers
* Sir William Stanley
* Sir John Montgomery
* Sir John Somerville
* Queen Margaret
* Lady Grey
* Bona
* Rutland's Tutor
* Mayor of York
* a Lieutenant
* a Nobleman
* two Keepers
* a Huntsman
* a Son who has killed his father
* a Father who has killed his son
* Soldiers
* Attendants
* Messengers
* Watchmen
# William Shakespeare's Works/Histories/King Henry IV Part 1

The First Part of King Henry the Fourth is a history by William Shakespeare, written around 1596. The play is the second in an eight part series about the War of the Roses between the Houses of York and Lancaster.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King Henry IV
* Henry, Prince of Wales
* Prince John
* Earl of Westmoreland
* Sir Walter Blunt
* Thomas Percy
* Henry Percy
* Henry Percy the Younger
* Edmund Mortimer
* Scroop
* Archibald
* Owen Glendower
* Sir Richard Vernon
* Sir John Falstaff
* Pointz
* Gadshill
* Peto
* Bardolph
* Lady Percy
* Lady Mortimer
* Mrs. Quickly
* Lords
* Officers
* a Sheriff
* a Vintner
* a Chamberlain
* Drawers
* Carriers
* Travellers
* Attendants
# William Shakespeare's Works/Histories/King Henry IV Part 2

The Second Part of King Henry the Fourth is a historical play by William Shakespeare, written at some point between 1597 and 1599. This is the third play in a series of eight regarding the War of the Roses between the Houses of York and Lancaster.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* Rumour
* King Henry IV
* Henry, Prince of Wales
* Thomas, Duke of Clarence
* Prince John of Lancaster
* Prince Humphrey of Gloucester
* Earl of Warwick
* Earl of Westmoreland
* Earl of Surrey
* Gower
* Harcourt
* Blunt
* Earl of Northumberland
* Scroop
* Lord Mowbray
* Lord Hastings
* Lord Bardolph
* Sir John Coleville
* Travers
* Morton
* Sir John Falstaff
* Bardolph
* Pistol
* Poins
* Peto
* Shallow
* Silence
* Davy
* Mouldy
* Shadow
* Wart
* Feeble
* Bullcalf
* Fang
* Snare
* Lady Northumberland
* Lady Percy
* Mistress Quickly
* Doll Tearsheet
* Lord Chief Justice
* Servant of the Chief Justice
* Falstaff's Page
* a Porter
* a Dancer
* Lords
* Attendants
* Drawers
* Beadles
* Grooms
# William Shakespeare's Works/Histories/King Henry V/Act I
## Scenes

* Prologue
* Scene 1: London. An ante-chamber in the KING'S palace.
* Scene 2: The same. The Presence chamber.
# William Shakespeare's Works/Histories/King John

The Life and Death of King John is a history by w:William Shakespeare, written during or before 1598]]. This play is one of only two of the Shakespearean histories to tell a tale that does not involve the War of the Roses, the other being King Henry VIII.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King John
* Prince Henry
* Arthur
* William Marshall
* Geoffrey Fitz-Peter
* William Longsword
* Robert Bigot
* Hubert de Burgh
* Robert Falconbridge
* Philip Falconbridge
* James Gurney
* Peter of Pomfret
* Philip
* Louis
* the Archduke of Austria
* Cardinal Pandulph
* Melun
* Chatillon
* Elinor
* Constance
* Blanche of Spain
* Lady Falconbridge
* a Sheriff
* Lords
* Citizens of Angiers
* Heralds
* Officers
* Soldiers
* Messengers
* Attendants
# William Shakespeare's Works/Histories/King Henry VI Part 2

The Second Part of King Henry the Sixth is a historical play by William Shakespeare, written between 1590 and 1591. This is the sixth part of a series of eight plays about the War of the Roses between the Houses of York and Lancaster during the 14th and 15th centuries.

## Acts

* Act I
* Act II
* Act III
* Act IV
* Act V

## Dramatis Personæ

* King Henry VI
* Humphrey
* Cardinal Beaufort
* Richard Plantagenet
* Edward
* Richard
* Duke of Somerset
* Duke of Suffolk
* Duke of Buckingham
* Lord Clifford
* Young Clifford
* Earl of Salisbury
* Earl of Warwick
* Lord Scales
* Lord Say
* Sir Humphrey Stafford
* William Stafford
* Sir John Stanley
* Vaux
* Matthew Goffe
* Walter Whitmore
* John Hume
* John Southwell
* Roger Bolingbroke
* Thomas Horner
* Peter
* Simpcox
* Alexander Iden
* Jack Cade
* George Bevis
* John Holland
* Dick
* Smith
* Michael
* Margaret
* Eleanor
* Margaret Jourdain
* a Sea-Captain
* a Master
* his Mate
* two Gentlemen
* Clerk of Chatham
* Mayor of St. Albans
* two Murderers
* Simpcox's Wife
* a Herald
* a Beadle
* a Sheriff
* a Spirit
* Lords
* Ladies
* Attendants
* Petitioners
* Aldermen
* Officers
* Citizens
* Prentices
* Falconers
* Guards
* Soldiers
* Messengers
# A-level Mathematics/MEI/C4/Trigonometry
## Sections

* Reciprocal trigonometrical functions
* Compound-angle formulae
* Double-angle formulae
* The factor formulae
* The forms of r cos(θ ± α),r sin(θ ± α)
* Small-angle approximations
* The general solutions of trigonometrical equations
* Using trigonometrical identities in integration
# A-level Mathematics/MEI/D2
## Examination Structure

Candidates answer all four questions on the paper.
Two questions, each worth about 16 marks and Two questions, each worth about 20 marks.
The total time allowed for this paper is 1 hour 30 minutes.
The total marks available for this paper is 72 marks.

### Assumed Knowledge

Candidates are expected to know the content of C1 and C2 and D1.

## Topics Covered

* Linear Programming
* Networks
* Logic
* Decision Trees
# A-level Mathematics/MEI/C3/Integration
## Integration
### Integration by Substitution

$\int f(u){\frac {du}{dx}}dx=\int f(u)du$

### Integration by Parts

$\int u{\frac {dv}{dx}}dx=vu-\int v{\frac {du}{dx}}dx$
Integration by parts is used when you have two functions multiplied together, such as ln x and a simple polynomial, where 1 function is not the derivative of the other. As an example:
$\int x\ln xdx$
In this expression use the substitutions: $u=\ln x$ and ${\frac {dv}{dx}}=x$. In almost all other expressions, the polynomial is taken as u. After substituting, the expression in the example becomes:
$\int x\ln xdx=\ln x\int xdx-\int x{\frac {d}{dx}}\ln xdx$
After integrating and differentiating the respective parts of the expression, this becomes:
$\int x\ln xdx={\frac {1}{2}}x^{2}\ln x-x.$
# A-level Mathematics/MEI/C4/Trigonometry/Reciprocal trigonometrical functions
## The reciprocal functions

Aside from the classic 3 trigonmetical functions, there are now 3 more you must be aware of; the reciprocals of our standard ones. We have the cosecant (csc), secant (sec), and cotangent (cot). These are defined as:
* $\csc \theta ={\frac {1}{\sin \theta }}$
* $\sec \theta ={\frac {1}{\cos \theta }}$
* $\cot \theta ={\frac {1}{\tan \theta }}={\frac {\cos \theta }{\sin \theta }}$
Each of these is undefined for certain values of $\theta$. For example; cscθ is undefined when θ=0,180,360..., because sinθ=0 at these points.
Each of the graphs of these functions all have asymptotes intervals of 180 degrees.

## Some new identities

Using our new definitions of reciprocal functions, we are able to obtain 2 new identities based of Pythagoras' theorem.
    $\sin ^{2}\theta +\cos ^{2}\theta =1$
Dividing both sides by $\cos ^{2}\theta$
    ${\frac {\sin ^{2}\theta }{\cos ^{2}\theta }}+{\frac {\cos ^{2}\theta }{\cos ^{2}\theta }}={\frac {1}{\cos ^{2}\theta }}$
    $\tan ^{2}\theta +1=\sec ^{2}\theta$
There is also a second identity:
    $\sin ^{2}\theta +\cos ^{2}\theta =1$
Dividing both sides by $\sin ^{2}\theta$
    ${\frac {\sin ^{2}\theta }{\sin ^{2}\theta }}+{\frac {\cos ^{2}\theta }{\sin ^{2}\theta }}={\frac {1}{\sin ^{2}\theta }}$
    $1+\cot ^{2}\theta =\csc ^{2}\theta$

## Examples

Question 1:'Find cosec 120, leaving your answer in surd form'
Solution:
* $\csc 120={\frac {1}{sin120}}$
* $=1/{\frac {\sqrt {3}}{2}}$
* $={\frac {2}{\sqrt {3}}}$
Question 2:'Find all values of x in the interval 0≤x≤360 for:
    $\sec ^{2}x=4+2\tan x$
Solution:
* $\sec ^{2}x=4+2\tan x$
* $\tan ^{2}x+1=4+2\tan x$
* $\tan ^{2}x-2\tan x-3=0$
* $(\tan x-3)(\tan x+1)=0$
* $\tan x=3or\tan x=-1$
* If $\tan x=3$
* $x=71.6,251.6$
* If $\tan x=-1$
* $x=135,315$
* $x=71.6,135,251.6,315$
# A-level Mathematics/MEI/C4

This section covers the entire MEI C4 Syllabus (Assessed by OCR). Within each section is the conventional formulae and methods as well as examples that are often featured in Exam Papers (As of 2004.) Knowledge of MEI C2 AND C3 is assumed.

## Contents

* Algebra
* Trigonometry
* Parametric Equations
* Further Integration Techniques
* Vectors
* Differential Equations
# Functions

Functions are things that take in an input and return an output. In lower years they are generally refered to as function machines. A simple function would look like this: $f(x)=2x$ . We can input a value into a function and return an answer for example substituting into out previous function the value of 2: $f(2)=2\times 2=4$. Almost all equations you meet in Core 3 will be under 4th order (i.e. no higher power than $x^{4}$ ) All functions can be talked about in terms of inputs (Domain) and co-domain or range (outputs). We often plot functions on graphs in which case the Domain goes on the x-axis and the range on the y-axis.

## Combining functions

Functions can be added. Whether the 2 equations that define the function are added and then the wanted input substituted in or whether the results of the original functions are substituted in and then these answers summed, the result will always be the same.
Functions can be substituted into each other, in this case things get interesting. To illustrate this I will use two functions. I will define these 2 functions $f$ and $g$.
$f(x)=2x+1$
$g(x)=x^{2}$
$fg(x)=f(g(x))=f(x^{2})=2x^{2}+1$
$gf(x)=g(f(x))=g(2x)=(2x+1)^{2}=4x^{2}+4x+1$
As we can see from this example that equations substituted into each other do not always return the same result, in fact they very rarely do return the same result.

# Mappings

There are 4 different types of mapping. These are:
Many to Many
One to Many Many to One One to One
# A-level Mathematics/MEI/D1
## Examination Structure

Section A: Three questions, each worth 8 marks Section Total: 24 marks
Section B: Three questions, each worth 16 marks Section Total: 48 marks
The total marks available for the paper is 72 marks.
The time allowed for the paper is 1 hour 30 minutes.

### Assumed Knowledge

Candidates are expected to know the content of Intermediate Tier GCSE.

## Topics Covered

* Algorithms
* Graphs
* Networks
* Critical Path Analysis
* Linear Programming
* Simulation