text:
#The Greek Legacy #

Note: Kindly indicate which reference your text is referring to. For example,
```
Cartography [4] is the study and practice of making maps.
```

###Cartography

Cartography [4] is the study and practice of making maps.It has played an important role in travel and navigation since ancient times.
One of the pioneer cartographers to create the map of the world was Anaximander [2] who made important contributions to the science of
astronomy and geography.

###Democracy

Democracy is a system of government in which the citizens exercise power directly or elect representatives from among themselves to form a governing body, such as a parliament [3].
Democracy is sometimes referred to as "rule of the majority" [5].
Democracy can be traced back from the present day to classical Athens and Greeks in the 6th century B.C.[3].

###Pap test

The Papanicolaou test [7] - abbreviated as Pap test, known earlier as Pap smear, cervical smear, or smear test - is a method of cervical
screening used to detect potentially pre-cancerous and cancerous processes in the cervix (opening of the uterus or womb). Abnormal
findings are often followed up by more sensitive diagnostic procedures, and, if warranted, interventions that aim to prevent progression
 to cervical cancer. The test was invented by, and named for, the prominent Greek doctor Georgios Papanikolaou.
The test was invented by and named after the prominent Greek doctor Georgios Papanikolaou, who started his research in 1923.

###Olympic Games

Olympic Games [6] or Olympics is the biggest international sporting events in which athletes from around the world come together to compete in a variety of games.
The ancient Olympic Games were held in Olympia in honour of Zeus.
The five Olympic Rings [9] represent all the major regions of the world (Asia, Africa, Europe, America and Oceania).
Also, the Olympic colours represent the flags of all the nations that compete in the games.
The International Olympic committee sees the Olympic Games as an important means to promote world peace through fair and equal athletic competition.

The Ancient Olympic Games [25] were religious and athletic festivals held every four years at the sanctuary of Zeus in Olympia, Greece. Competition was among representatives of several city-states and kingdoms of Ancient Greece. These Games featured mainly athletic but also combat sports such as wrestling and the pankration, horse and chariot racing events. It has been widely written that during the Games, all conflicts among the participating city-states were postponed until the Games were finished. This cessation of hostilities was known as the Olympic peace or truce. This idea is a modern myth because the Greeks never suspended their wars.

###The Parthenon

The Parthenon [8] is a former temple on top of the sacred place of the Acropolis, situated at the center of Athens, the capital of Greece.
It is dedicated to the goddess Athena (Modern Greek: "Ἀθηνᾶ") who is believed to be the city’s patron [8]. It is also estimated that
the Athenians began its construction at 447 BC during an era when the Athenian Empire was very powerful [8].
However, other sources refer to a previous establishment that had already started to be built when it was burned by the Persians at 480 BC,
at the position where the Parthenon was built later on [1]. The Parthenon was finally completed in 438 BC although some minor
decoration changes continued for 6 more years (until 432 BC). It should be mentioned that the Parthenon, which was built by following the standards
of the Doric order, is undoubtedly the most important surviving building of the Classical Greece [8].

###Frappe Coffee

Frappe Coffee [10] is an iced coffee drink with foam made by instant coffee and is usually served with milk.
It was invented accidentally in 1957 in Thessaloniki,Greece by a Greek Nescafe representative and has become the most popular coffee drink for Greeks and tourists as well.
The word frappe comes from French and it means to hit which is also the cause for the foam.

###The Delphic maxims

Are a set of 147 aphorisms inscribed at Delphi. Originally, they were said to have been given by the Greek god Apollo's Oracle at Delphi and were therefore attributed to Apollo himself. The 5th century scholar Stobaeus later attributed them to the Seven Sages of Greece. Contemporary scholars, however, hold that their original authorship is uncertain and that "most likely they were popular proverbs, which tended later to be attributed to particular sages." Perhaps the most famous of these maxims is 'know thyself', which was carved into the Temple of Apollo at Delphi. The specific order and wording of each maxim varies between different versions (and translations) of the text.[11]

Some of them are:

* Respect your parents
* Know what you have learned
* Be/Know yourself
* If you are a stranger act like one
* Control yourself
* Help your friends
* Love friendship
* Listen to everyone

###The Democratisation of Literacy

The Greeks did not just invent an alphabet. They succeeded in making literacy available to the masses. Greek letters, being mapped carefully and extensibly to sounds, were easy to learn. Therefore, even children could learn to read while learning the sounds of the oral vocabulary.

Moreover, by stripping letters off their meaning, reading them lost its psychology influencing ability. Reading it, imposed no references to the properties of the letter. Thus writting became for the first time an instrument of thought.

Additionally, by organising schools to instruct reading at an elementary level, it became a reflex and a common skill that was later spread to an even bigger population.

###Antikythera mechanism

The Antikythera mechanism is an ancient analogue computer and orrery used to predict astronomical positions and eclipses for calendrical and astrological purposes, as well as the Olympiads, the cycles of the ancient Olympic Games.

The Antikythera mechanism was discovered in 45 metres (148 ft) of water in the Antikythera shipwreck off Point Glyphadia on the Greek island of Antikythera. The wreck was found in April 1900 by a group of Greek sponge divers, who retrieved numerous artefacts, including bronze and marble statues,
pottery, unique glassware, jewellery, coins, and the mechanism. All were transferred to the National Museum of Archaeology in Athens for storage and analysis. Merely a lump of corroded bronze and wood at the time, the mechanism went unnoticed for two years while museum staff worked on piecing together more obvious statues

###Theatre

Theatre [14] is a collaborative form of fine art that uses live performers, typically actors or actresses, to present the experience of a real or imagined event before a live audience in a specific place, often a stage. The performers may communicate this experience to the audience through combinations of gesture, speech, song, music, and dance. Elements of art, such as painted scenery and stagecraft such as lighting are used to enhance the physicality, presence and immediacy of the experience.

The city-state of Athens is where western theatre originated [4]. It was part of a broader culture of theatricality and performance in classical Greece that included festivals, religious rituals, politics, law, athletics and gymnastics, music, poetry, weddings, funerals, and symposia.

###Mathematics

The Greeks produced great advancements in mathematics [15] which are still used today. Euclid was known for the basic rules and terms of geometry. Pythagoras was famous for his theorem A2 +B2 = C2 for a right triangle. Pythagoras also came up with the value of pie to calculate the circumference of a circle.
Archimedes discovered the physical law of displacement. The law of displacement is when an object moves the same volume of water as the object which is placed in it. Archimedes also used levers and pulleys to move heavy objects. He once launched a fully loaded ship all by himself. Archimedes also invented the Archimedes screw, which raises water up from rivers for the irrigation of fields. In addition to discoveries in math and physics, he also invented weapons to help the Greeks fight off Roman invasion. One of those weapons was the catapult. In 21 B.C. the Romans captured his city and killed him.

###Archimedes' Principle

In On Floating Bodies, Archimedes suggested that (c. 250 BC):

    Any object, wholly or partially immersed in a fluid, is buoyed up by a force equal to the weight of the fluid displaced by the object.

Practically, Archimedes' principle allows the buoyancy of an object partially or fully immersed in a liquid to be calculated. The downward force on the object is simply its weight. The upward, or buoyant, force on the object is that stated by Archimedes' principle, above. Thus, the net upward force on the object is the difference between the buoyant force and its weight. If this net force is positive, the object rises; if negative, the object sinks; and if zero, the object is neutrally buoyant - that is, it remains in place without either rising or sinking. In simple words, Archimedes' principle states that, when a body is partially or completely immersed in a fluid, it experiences an apparent loss in weight that is equal to the weight of the fluid displaced by the immersed part of the body.

###Ancient Greek Philosophy

Ancient Greek philosophy arose in the 6th century BC and continued throughout the Hellenistic period and the period in which Ancient Greece was part of the Roman Empire. Philosophy was used to make sense out of the world in a non-religious way. It dealt with a wide variety of subjects, including political philosophy, ethics, metaphysics, ontology, logic, biology, rhetoric, and aesthetics[citation needed].

Many philosophers around the world agree that Greek philosophy has influenced much of Western culture since its inception. Alfred North Whitehead once noted: "The safest general characterization of the European philosophical tradition is that it consists of a series of footnotes to Plato." Clear, unbroken lines of influence lead from ancient Greek and Hellenistic philosophers to Early Islamic philosophy, the European Renaissance and the Age of Enlightenment.

###Astronomy

The development of astronomy [17] by the Greek and Hellenistic astronomers is considered by historians to be a major phase in the history of astronomy. Greek astronomy is characterized from the start by seeking a rational, physical explanation for celestial phenomena. Most of the constellations of the northern hemisphere derive from Greek astronomy, as are the names of many stars, asteroids, and planets. It was influenced by Egyptian and especially Babylonian astronomy; in turn, it influenced Indian, Arabic-Islamic and Western European astronomy.

###Marathon

The marathon[18] is a long-distance running race with an official distance of 42.195 kilometres (26.219 miles, or 26 miles 385 yards), usually run as a road race. The event was instituted in commemoration of the fabled run of the Greek soldier Pheidippides (more correctly, Philippides), a messenger from the Battle of Marathon to Athens, who reported the victory.

The name Marathon comes from the legend of Philippides or Pheidippides, the Greek messenger. The legend states that he was sent from the battlefield of Marathon to Athens to announce that the Persians had been defeated in the Battle of Marathon (in which he had just fought), which took place in August or September, 490 BC. It is said that he ran the entire distance without stopping and burst into the assembly, exclaiming "νενικήκαμεν" (nenikēkamen, "we have won!"), before collapsing and dying.

The marathon was one of the original modern Olympic events in 1896, though the distance did not become standardized until 1921. More than 500 marathons are held throughout the world each year, with the vast majority of competitors being recreational athletes as larger marathons can have tens of thousands of participants.

###Coasts and beaches

The Greek coast has a total length of approximately 16,000 km. Half of this length includes the thousands of Greek islands scattered through the Greek seas, while the rest extends along the mainland.
The Greek shores are world-famous and exceedingly popular because they are known for their crystal clean and clear waters, as well as for their unique diversity.
The visitor has the opportunity to enjoy beaches stretching along over many kilometers, sheltered bays and coves, golden stretches of sand with dunes, pebble beaches, coastal caves with steep rocks and dark sand typical of volcanic soil. Every year hundreds of beaches and marinas in Greece are awarded with the “Blue Flag”.
Most of the thousands of Greek coasts are freely accessible and you can easily discover and enjoy them.
There are also many organized beaches in the country, with the necessary infrastructure providing high-quality services (umbrellas, reclining chairs, change booths, cafes, bar-restaurants etc), where, apart from swimming, you can enjoy water sports (water skiing, windsurfing, diving, etc) as well as other means of having fun in the water, such as the parasailing, “inner tubes”, “bananas”, wakeboard, jet ski, etc. All organized beaches also have manned lifeguard towers, ensuring safe swimming in the area.

###Phaistos Disc

The Phaistos Disc [20] -also spelled Phaistos Disk, Phaestos Disc- is a disk of fired clay from the Minoan palace of Phaistos on the island of Crete, possibly dating to the middle or late Minoan Bronze Age (second millennium B.C.). Now, the island of Crete is part of modern Greece. The disk is about 15 cm (5.9 in) in diameter and covered on both sides with a spiral of stamped symbols. Its purpose and meaning, and even its original geographical place of manufacture, remain disputed, making it one of the most famous mysteries of archaeology. This unique object is now on display at the archaeological museum of Heraklion.

The disc was discovered in 1908 by the Italian archaeologist Luigi Pernier in the Minoan palace-site of Phaistos, and features 241 tokens, comprising 45 distinct signs, which were apparently made by pressing hieroglyphic "seals" into a disc of soft clay, in a clockwise sequence spiraling toward the center of the disk.

The Phaistos Disc captured the imagination of amateur and professional archaeologists, and many attempts have been made to decipher the code behind the disc's signs. While it is not clear that it is a script, most attempted decipherments assume that it is; most additionally assume a syllabary, others an alphabet or logography. Attempts at decipherment are generally thought to be unlikely to succeed unless more examples of the signs are found, as it is generally agreed that there is not enough context available for a meaningful analysis.

Although the Phaistos Disc is generally accepted as authentic by archaeologists, a few scholars believe that the disc is a forgery or a hoax.

###Sieve of Eratosthenes

In mathematics, the sieve of Eratosthenes (Ancient Greek: κόσκινον Ἐρατοσθένους, kóskinon Eratosthénous), one of a number of prime number sieves, is a simple, ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the multiples of 2.[1]

The multiples of a given prime are generated as a sequence of numbers starting from that prime, with constant difference between them that is equal to that prime.[1] This is the sieve's key distinction from using trial division to sequentially test each candidate number for divisibility by each prime.[2]

The sieve of Eratosthenes is one of the most efficient ways to find all of the smaller primes. It is named after Eratosthenes of Cyrene, a Greek mathematician; although none of his works have survived, the sieve was described and attributed to Eratosthenes in the Introduction to Arithmetic by Nicomachus.[3]

The sieve may be used to find primes in arithmetic progressions.[4]

###Vending Machine

The first vending machine was a construction of Heron of Alexandria (c. 10-70 AD). He was an ancient Greek mathematician and engineer. His machine accepted a coin and then dispensed a set amount of holy water. When the coin was deposited, it fell upon a pan attached to a lever. The lever opened up a valve which let some water flow out. The pan continued to tilt with the weight of the coin until it fell off, at which point a counter-weight would snap the lever back up and turn off the valve. [22]

###Strained yogurt

Strained yogurt, Greek yogurt, yogurt cheese, or labneh, is yogurt that has been strained to remove its whey, resulting in a thicker consistency than unstrained yogurt, while preserving yogurt's distinctive, sour taste. Like many types of yogurt, strained yogurt is often made from milk that has been enriched by boiling off some of its water content, or by adding extra butterfat and powdered milk. In Europe and North America, it is often made with low-fat or fat-free yogurt. In Scandinavia, particularly Iceland, a similar product, skyr is produced. [23]

###Music

Much of modern Western music theory has its roots in the work of Pythagoras, who defined concepts such as the interval, harmonics, overtones, etc. [26]
From Pythagoras also comes the Circle of Fifths, a fundamental device in music theory, and with it, the 12-tone equal temperament, which is the tuning
system all Western instruments adhere to. [27] The pipe organ, widely used in Catholic religious music and Baroque music by composers such as J.S. Bach,
has its origins in the Greek hydraulis. [28]

###Tragedy

Athenian tragedy [29] - the oldest surviving form of tragedy- is a type of dance-drama that formed an important part of the theatrical culture of the city-state. Tragedy’s origins are estimated to be in the theatre of ancient Greece 2500 years ago, from which there survives only a fraction of the work of Aeschylus, Sophocles and Euripides.

Tragedy is a form of drama based on human suffering that invokes an accompanying catharsis [30] or pleasure in audiences. The term did not have the negative impact we give it today, as it did not just describe a tragic event. Tragedy was the collision of two “rights” that was based on a truth. This collision was indeed unfair for one of the two parties, but this did not make it any less righteous, as it served justice.

###Souvlaki

Souvlaki [31] (Greek: σουβλάκι [suˈvlaci]), plural souvlakia, is a popular Greek fast food consisting of small pieces of meat and sometimes vegetables grilled on a skewer. It is usually served with grilled bread, or in a pita wrap with garnishes and sauces, or on a dinner plate, often with fried potatoes. The meat usually used in Greece and Cyprus is pork, although chicken and lamb may also be used. In other countries and for tourists, including those in Oxford, souvlaki may be made with meats such as lamb, beef, chicken and sometimes fish.
The word souvlaki is a diminutive of the Medieval Greek óïýâëá souvla 'skewer', itself borrowed from Latin subula. 'Souvlaki' is the common term in northern Greece, while in southern Greece it is commonly known as 'kalamaki'.

###Hippocratic Oath

The Hippocratic Oath is an oath historically taken by physicians. It is one of the most widely known of Greek medical texts. In its original form, it requires a new physician to swear, by a number of healing gods, to uphold specific ethical standards. Of historic and traditional value, the oath is considered a rite of passage for practitioners of medicine in many countries, although nowadays various modernized versions are often used; the message delivered is still the same: do no harm.

Hippocrates is often called the father of medicine in Western culture [1]. The original oath was written in Ionic Greek, in the late Fifth Century BCE [2]. It is usually included in the Hippocratic Corpus.

###Odeon of Herodes Atticus

The Odeon of Herodes Atticus [33] is a stone theatre structure located on the southwest slope of the Acropolis of Athens[34]. It was built in 161 AD by the Athenian magnate Herodes Atticus[34] in memory of his wife, Aspasia Annia Regilla.
It was originally a steep-sloped theater with a three-story stone front wall and a wooden roof made of expensive, cedar of Lebanon timber[35]. It was used as a venue for music concerts with a capacity of 5,000. It lasted intact until it was destroyed and left in ruins by the Heruli in 267 AD.
The audience stands and the orchestra (stage) were restored using pentelic marble in the 1950s. Since then it has been the main venue of the Athens Festival, which runs from May through October each year, featuring a variety of acclaimed Greek as well as International performances.

###Eros

In Greek mythology Eros was the God of love and sex [36] . Greeks were the people who tried first to express the feeling of real love,
while in the rest world people were still trying to understand and control it. In some stories, Eros is supposed to be the son
of Aphrodite (the Goddess of beauty). Eros is the little invisible winged God and when the arrows of his arc heart two people
then, they love in depth each other. Nowadays Eros is still being learned in the primary school's books.

###Meteora

Meteora [37] is a Greek mountain which consists mainly of rocks and it has a lot Greek Orthodox monasteries. Actually, meteora means "middle of the sky", "suspended in the air" or "in the heavens above". Meteora is one of the UNESCO World Heritage List. It would be a fault not to mention that meteora were inhabited between 50.000 and 5.000 years ago and this place contained a lot of caves were people lived.This caves are known as the oldest example of man-made structure. Furthermore, in the 16th century it had 24 monasteries from which only six remain inhabited today, two by women and four by men. Mainly the monasteries are not tourist attractions.

###Philotimo

Philotimo [38] is considered to be the highest of all Greek virtues which determines and regulates how someone should behave in their family and social groups. It is mostly about respect and doing the right thing. In its simplest form it means "doing good", and it ensures your behavior will make you stand out from others.  Philotimo to a Greek is essentially a way of life.

Children are said to have philotimo when they display unconditional love and respect towards their parents, grandparents and friends. It can mean gratitude for a small gift someone might have given you, or a small random act of kindness someone may have shown you. It is an appreciation and admiration for heritage and ancestors — philotimo is honor and pride.

During the Second World War, strong bonds were formed and still exist in places like the Greek island of Crete where the locals would risk their own lives to hide and shelter Australian and British soldiers from the Nazi occupying forces. The locals felt duty-bound to help, their philotimo urged them on - If caught, they risked facing a firing squad.

Philotimo is the feeling of not being able to do enough for your family, society and your community; it is expressed through acts of generosity and sacrifice without expecting anything in return. Philotimo is to put the needs and well being of others before one's own, even before one's need to live or exist.

The 7th-century BC pre-Socratic [39] Greek philosopher Thales [40] , one of the Seven Sages of Greece [41] says that philotimo is part of the essence of being Greek. “Philotimo to the Greek is like breathing. A Greek is not a Greek without it. He might as well not be alive.”

###Feta

Feta is a brined curd white cheese made in Greece from sheep's milk, or from a mixture of sheep and goat's milk. Similar brined white cheeses produces in Europe are often made partly or wholly of cow's milk, and they are also sometimes called feta. It is a crumbly aged cheese, commonly produced in blocks, and has a slightly grainy texture. Feta is used as a table cheese, as well as in salads (e.g. the Greek salad) and pastries. Most notable is its use in the popular phyllo-based dishes spanakopita ("spinach pie") and tyropita ("cheese pie"), or served with some olive oil or olives and sprinkled with aromatic herbs such as oregano. It can also be served cooked or grilled, as part of a sandwich, in omelettes, or as a salty alternative to other cheeses in a variety of dishes.

Since 2002, "feta" has been a protected designation of origin product in the European Union. According to the relevant EU legislation, only those cheeses produced in a traditional way in particular areas of Greece, which are made from sheep's milk, or from a mixture of sheep's and up to 30% of goat's milk from the same area, can be called "feta".[1] However, similar white-brined cheeses (often called "white cheese" in various languages) are found in the Eastern Mediterranean and around the Black Sea.

###Greek Hospitality

The greek word "Xenia" [43], which can be translated as "guest-friendship" is the ancient Greek concept of hospitality, the generosity and courtesy shown to those who are far from home and/or associates of the person bestowing guest-friendship.

Consequently, "Xenia" consists of two basic rules. The first one is that the host must be hospitable to the guest and provide him/her with food, drink, bath and gifts when they leave. It is not polite to ask questions until the guest has finished the meal provided to them. And the second on is that the guest must be courteous to the host and not be a burden. The guest should also provide a gift if they have one.

In addition, "Xenia" was considered to be particularly important in ancient times when people thought gods mingled among them. If one had poorly played host to a stranger, there was the risk of incurring the wrath of a god disguised as the stranger. Note that the greek god Zeus was sometimes called Zeus Xenios in his role as a protector of guests. He thus embodied the religious obligation to be hospitable to travelers.

Even though hospitality nowadays may differs, it is still visible [44]. In the past, travelers used to rely on the hospitality of others for shelter, food, and protection. In modern times there is no need to for someone to ask for these, since there are plenty of hotels and restaurants almost anywhere one can go.
However, hospitality is still shown in modern society. For example, when someone’s car breaks down most people would welcome them into their homes and help them in any way they can without even asking who they are. Also, most people know of someone, be it family or friend, in a different city that would welcome them and provide them with a place to stay and food, which is similar to the "Xenia".

##References

1. http://ancient-greece.org/architecture/parthenon.html

2. https://en.wikipedia.org/wiki/Anaximander

3. https://en.wikipedia.org/wiki/Democracy

4. https://en.wikipedia.org/wiki/History_of_cartography

5. https://en.wikipedia.org/wiki/History_of_democracy

6. https://en.wikipedia.org/wiki/Olympic_Games

7. https://en.wikipedia.org/wiki/Pap_test

8. https://en.wikipedia.org/wiki/Parthenon

9. http://www.history.com/topics/olympic-games

10. https://en.wikipedia.org/wiki/Frapp%C3%A9_coffee

11. https://en.wikipedia.org/wiki/Delphic_maxims

12. D. Crowley and P. Heyer, Communication In History, 1st ed. Abingdon England: Routledge, 2016, pp. 38-43.

13. https://en.wikipedia.org/wiki/Antikythera_mechanism

14. https://en.wikipedia.org/wiki/Theatre

15. http://historylink101.com/2/greece3/math-science.htm

16. https://en.wikipedia.org/wiki/Archimedes'_principle

17. https://en.wikipedia.org/wiki/Ancient_Greek_astronomy

18. https://en.wikipedia.org/wiki/Marathon

19. http://www.visitgreece.gr/en/sea/beaches/coasts_and_beaches

20. https://en.wikipedia.org/wiki/Phaistos_Disc

21. https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes

22. https://en.wikipedia.org/wiki/Vending_machine

23. https://en.wikipedia.org/wiki/Strained_yogurt

24. https://en.wikipedia.org/wiki/Ancient_Greek_philosophy

25. https://en.wikipedia.org/wiki/Olympic_Games#Ancient_Olympics

26. https://en.wikipedia.org/wiki/Music_of_ancient_Greece#Music_and_philosophy

27. https://en.wikipedia.org/wiki/Pythagorean_comma#Circle_of_fifths_and_enharmonic_change

28. https://en.wikipedia.org/wiki/Organ_(music)#Historical_instruments

29. https://en.wikipedia.org/wiki/Tragedy

30. https://en.wikipedia.org/wiki/Catharsis

31. https://en.wikipedia.org/wiki/Souvlaki

32. https://en.wikipedia.org/wiki/Hippocratic_Oath

33. https://en.wikipedia.org/wiki/Odeon_of_Herodes_Atticus

34. https://en.wikipedia.org/wiki/Acropolis_of_Athens

35. https://en.wikipedia.org/wiki/Cedrus_libani#Subspecies

36. https://en.wikipedia.org/wiki/Eros

37. https://en.wikipedia.org/wiki/Meteora

38. https://en.wikipedia.org/wiki/Philotimo

39. https://en.wikipedia.org/wiki/Pre-Socratic_philosophy

40. https://en.wikipedia.org/wiki/Thales_of_Miletus

41. https://en.wikipedia.org/wiki/Seven_Sages_of_Greece

42. https://en.wikipedia.org/wiki/Feta

43. https://en.wikipedia.org/wiki/Xenia_(Greek)

44. https://minerva.union.edu/wareht/gkcultur/guide/8/web1.html

repository: tushartushar/theGreekLegacy

repo_name: tushartushar/theGreekLegacy


text:
# terraform-azurerm-resourcegroup Module

* This module will create a resource group
* It has the ability to name the resource group and set the location

## Usage

``` hcl
module "resourcegroup" {
  source            = "../../"
  resource_group = var.resource_group_name

}
```

## Scenarios

In the examples folder

## Examples

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| azurerm | n/a |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| location | The location of the resource group. | `string` | `"uksouth"` | no |
| lock\_level | Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created. | `string` | `"CanNotDelete"` | no |
| management\_lock\_enabled | enable of you require an management lock to be set. | `bool` | `false` | no |
| notes | Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. | `string` | `"This Resource Group has a Lock on and can not be deleted."` | no |
| resource\_group | The resource group name. | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| location | The location of the resource group. |
| lock\_level | The resource group lock level. |
| notes | The resource group lock level notes. |
| resource\_group | The name of the resource group. |

license: MIT

branch_name: refs/heads/main

extension: md

gha_language: HCL

gha_license_id: MIT

license_type: permissive


text:
#_WILDLIFE TRACKER_

#### _Web app that allows any user to post wildlife sightings_

#### Author - _**Isaac Kaptoge**_

## Languages used
- Java
- PostgreSQL
- Spark framework

## Description
_This web application intakes user data about wildlife sightings in their area to store and display data about endangered animals. It utilizes Java, PostgreSQL, Spark framework, and Gradle Build Tool._

## Setup / Installation Requirements
- Git clone my repository .
- Open using your local machine the project .

#### Database Setup
_Start postrgres in your terminal by running psql._
_Once psql is running entre the following to set up the tables:_
* _CREATE DATABASE wildlife_tracker;_
* _\c wildlife_tracker;_
* _CREATE TABLE animals (id SERIAL PRIMARY KEY, name VARCHAR, endangered VARCHAR, health VARCHAR, age VARCHAR);_
* _CREATE TABLE sightings(id SERIAL PRIMARY KEY, ranger VARCHAR, animal_id INT, location VARCHAR, dateTime TIMESTAMP);_
* _CREATE DATABASE wildlife_tracker_test WITH TEMPLATE wildlife_tracker;_

#### Running the application
* _Navigate to the app the open the terminal and run : gradle run._
* _Go to your browser and search for localhost 4567 ;_
## Known Bugs
* _Theres no record of the time of the sighting but all this will be updated in future release ._

## Support & Contact details
_If you have any questions feel free to reach out to me at<EMAIL_ADDRESS>
### License
Copyright (c) 2021 **_Isaac Kaptoge_**

*Licensed under MIT license *

branch_name: refs/heads/master


text:
# ims-demo
IMS Home Phone Subscriber Service

### Build an executable JAR

You can run the application from the command line with Maven with the following command: `mvn --projects ims-rest --also-make spring-boot:run`. Alternatively, you can build a single executable JAR file that contains all the necessary dependencies, classes, and resources with `mvn  package` and then run the JAR file, as follows:

```
        java -jar ims-demo\ims-rest\target\ims-rest-1.0.0.jar
```

repository: marlonjanssenarao/ims-demo

repo_name: marlonjanssenarao/ims-demo


text:
## Off-Broadway (Frontend)
[![Build Status](https://camo.githubusercontent.com/d0f65430681b67b7104f6130ada8c098ec5f66ba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d7374616e646172642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/standard/standard)

Scripting app allowing users to create scripts and watch them ‘acted out’ in a 2D theater.

## Built With
[React JS](https://reactjs.org/)

## NPM Reference
[React Loading Spinkit](https://github.com/phobal/react-loading-spinkit)

## Tests
No tests provided.

## How to Use
Setup [Rails API backend](https://github.com/briecodes/off_broadway_backend).

Run npm start.

## Contribute
Contributions welcome. Please fork and clone this repository to do so.

## Credits
This project was created in partnership between [William Dale](https://github.com/dalewb) and [Brie Saez](https://github.com/briecodes)).

## License
MIT © [William Dale](https://github.com/dalewb) and [Brie Saez](https://github.com/briecodes)


text:
Sample Python package using Keras and Tensorflow.
===

CI and CD (and unit test) using Travis and Appveyor are included as well.
====

By: Ibrahim Umar [@iambaim]( https://github.com/iambaim )

Credits: https://www.tensorflow.org/tutorials/keras/basic_classification

gha_language: Python


text:
# Installation
> `npm install --save @types/koa-cors`

# Summary
This package contains type definitions for koa-cors (https://github.com/evert0n/koa-cors).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-cors

Additional Details
 * Last updated: Sat, 25 Aug 2018 01:04:12 GMT
 * Dependencies: koa
 * Global values: none

# Credits
These definitions were written by Romain Faust <https://github.com/romain-faust>.

repository: filippmark/WebMessenger

gha_language: TypeScript

repo_name: filippmark/WebMessenger


text:
# Action Rules
An action rule defines one singular action to apply to one specific operation depending on conditions.  Each rule follows this overall basic syntax:
```
<action> [( <action-property>+ )]
[subject <subject-type> <subject>]
to <verb> <resource>
[where <condition>+]
;
```

The following is an example of the simplest action rule that allows everyone to view all products:
```
allow to inspect products.inventory;
```

## Action Clause
The action clause starts an action rule and is composed of an action, followed by optional properties:
```
<action> [( <action-property>+ )]
```

## Action
An action is the first word in the action rule and specifies the action to be taken where a set of conditions are met.  Examples of actions:
```
allow | deny | redirect | drop
```

## Action Property
When an action is taken, optional action properties can be specified in the action clause.  Examples of action properties:
```
to="911"
to=$list["name=customer_support"]
```

## Subject Clause
Subject clauses are composed of the keyword *subject* followed by the subject type, the subject. A subject clause is optional in a policy rule.  The implicit subject denotes everyone.  The syntax of subject clauses:
```
[subject <subject-type> <subject>]
```

## Subject Type
The subject type defines the type of the subject attempting to take an action.  Examples of subject types include:
```
user | group
```

## Subject
The subject is an entity (person or application or system or service) that can make a request for an action or operation on a resource.

Examples of subject clauses include:
```
subject user<EMAIL_ADDRESS>subject group students
subject group fourth_graders
```

## Verb
The verb describes the action that the subject is attempting to use and is preceded by the keyword *to*.

## Resource
The resource describes the resource that the subject is attempting to use.

## Where Clause
A where clause describes one or more conditions to be satisfied in the policy rule.

# Examples
## 1. simple examples
```
allow to inspect products.inventory;
allow subject group operators to use products.inventory;
allow subject group admins to manage products.inventory;
allow subject user<EMAIL_ADDRESS>to manage products.inventory;

allow subject group hr to manage company.personnel;
allow subject group finance to manage accounts.*;
```

## 2. complex examples
```
# ==== products section
[products]
allow subject group patissiers to manage products.inventory where ctx.tag["department"] == "bakery" and ctx.name == "cheesecake";

deny subject user<EMAIL_ADDRESS>to buy products.inventory where ctx.genre == "gambling";

deny (log="true") subject group minors to buy products.inventory where ctx.sku in $threat.feed["over_21_skus"];

# ==== company section
[company]
redirect (to=$list["name=customer_support"], log="true") to seek company.help;
```

# Context Stanzas

Writing action rules can become repetitive. In some cases you may want to repeat the same *subject* or *where*
specifications repeatedly. To simplify writing groups of action rules with similar criteria
you can use a context stanza.

```
context {
    [ [<subject-clause>] [<where-clause>] ];
    ...
} [to [<verb>]] [<resource>] {
    [<action-rule>];
    ...
};
```

The first block after the context keyword allows for subject and where clauses to be specified. These clauses are
command separated. A semicolon terminates all the clauses that are logically ORed. You can repeat this pattern
as many times as you like. After this block comes an optional VERB and TYPE specification. This specification
will implicitly be applied to every action rule in the following block. Next comes an action block. Here
you can add action rules.

The overall behavior is that for each rule in the action block the optional verb and type are applied. Then,
the derived action rule is repeated for every rule in the context block. Lets look at an example.

```
context {
    subject group engineering where ctx.tags["dept"] == "engineering";
    subject group everyone where ctx.scope == "public";
} to manage {
    allow products.*;
    allow inventory.*;
};
```

The net effect is that the backend compilers will interpret this block as follows.
```
allow subject group engineering to manage products.* where ctx.tags["dept"] == "engineering";
allow subject group all to manage products.* where ctx.scope == "public";

allow subject group engineering manage inventory.* where ctx.tags["dept"] == "engineering";
allow subject group all to manage inventory.* where ctx.scope == "public";
```

Context blocks can also be nested.
```
context {
    where ctx.tenant == "acme.com";
} {
    context {
        subject group engineering where ctx.tags["dept"] == "engineering";
        subject group everyone where ctx.scope == "public";
    } to manage {
        allow products.*;
        allow inventory.*;
    }
}
```

# EBNF (Extended Backus Naur Form) Grammar
A policy consists of the following in EBNF grammar:
```
<policy>             ::= <policy-rule>+
<policy-rule>        ::= <action-rule> | <context-stanza>
```

A policy action rule consists of the following in EBNF grammar:
```
<action-rule>        ::= <action> [<action-property> ...] [<subject-clause>] to <verb> <resource> [<where-clause>];

; ==== action-clause dependencies section
<action>             ::= <action-char> <action>
<action-char>        ::= <letter> | <digit> | "_" | "-"

<action-property>      ::= <action-property-char> <action-property>
<action-property-char> ::= <letter> | <digit> | "_" | "-" | "." | "/"

; ==== subject-clause dependencies section
<subject-clause>     ::= subject <subject-type> <subject>
<subject>            ::= <subject-char> <subject>
<subject-char>       ::= <letter> | <digit> | "_" | "-" | "."

; ==== verb and resource dependencies section
<verb>               ::= <verb-char> <verb>
<verb-char>          ::= <letter> | <digit> | "_" | "-"

<resource>           ::= <resource-char> <resource>
<resource-char>      ::= <letter> | <digit> | "_" | "-" | "."
```

A policy context stanza consists of the following in EBNF grammar:
```
<context-stanza>     ::= context "{" [<context-principals>] "}" [to [<verb>]] [<resource>] "{" [<action-rules>] "}";

<context-principals> ::= <context-principal>+
<context-principal>  ::= [<subject-clause>] [<where-clause>];

<action-rules>       ::= <action-rule>+
```

Where Clause consists of the following in EBNF grammar:
```
<where-clause>                ::= where <condition>+
<condition>                   ::= <conditional-or-expression>

<conditional-or-expression>   ::= <conditional-and-expression> | <conditional-or-expression> or <conditional-and-expression>

<conditional-and-expression>  ::= <equality-expression> | <conditional-and-expression> and <equality-expression>

<equality-expression>         ::= <relational-expression>
                                | <equality-expression> == <relational-expression>
                                | <equality-expression> != <relational-expression>

<relational-expression>       ::= <not-expression>
                                | <relational-expression> < <not-expression>
                                | <relational-expression> > <not-expression>
                                | <relational-expression> <= <not-expression>
                                | <relational-expression> >= <not-expression>
                                | <relational-expression> in <field-access>

<not-expression>              ::= <not-expression> | not <primary>

<primary>                     ::= <literal> | ( <expression> ) | <field-access>

<field-access>                ::= <identifier> . <identifier>

<identifier>                  ::= <identifier-char> <identifier>
<identifier-char>             ::= <letter> | <digit> | "_"

; ==== common dependencies section
<literal>                     ::= <integer> | '"' <quoted> '"'

<integer>                     ::= <integer> | <digit> <integer>

<quoted>                      ::= <quoted> | <quoted-char> <quoted>
<quoted-char>                 ::= <letter> | <digit> | "_" | "-" | "." | "@" | "/" | "+" | "*"

<letter>                      ::= "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"

<digit>                       ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"

```

repository: wixregiga/seal

repo_name: wixregiga/seal


text:
# Accessibility Statement
[![Regression Test - Accessibility Statement Test](https://github.com/Webperf-se/webperf_core/actions/workflows/regression-test-a11y-statement.yml/badge.svg)](https://github.com/Webperf-se/webperf_core/actions/workflows/regression-test-a11y-statement.yml)

Add small description of what this test is.

## What is being tested?

This test looks for and rates your accessibility statement.
This test is currently calibrated only for swedish.

It rates on many "shall" statements from the [Swedish Agency for Digital Government](https://digg.se/kunskap-och-stod/digital-tillganglighet/skapa-en-tillganglighetsredogorelse)

## How are rating being calculated?

We are calculating rating based on:
- IF we can find an accessibility statement.
- On what link depth we find the accessibility statement.
- IF we can find "helt förenlig", "delvis förenlig" or "inte förenlig"
- IF we can find valid/correct [notification function url to DIGG](https://www.digg.se/tdosanmalan)
- IF we can find unreasonably burdensome accommodation
- IF we can find evaluation method used to validate accessibility
- IF we can find when accessibility statement was updated and WHEN

## Read more

* https://digg.se/kunskap-och-stod/digital-tillganglighet/skapa-en-tillganglighetsredogorelse

## How to setup?

This section has not been written yet.

### Prerequirements

* Fork this repository

### Setup with GitHub Actions

Read more on the [general page for github actions](../getting-started-github-actions.md).

### Setup Locally

* Follow [general local setup steps for this repository](../getting-started-local.md)

## FAQ

No frequently asked questions yet :)


text:
Walking inside, you see that you've walked into a small hallway that only leads to one other room.

On the wall you notice a large greatsword placed on a stand.

Will you take the sword?

[Take the sword](4-A.md)

[Leave the sword](4-B.md)

[Go back](3-B.md)

repository: apex-blaze/markdown-dungeon

repo_name: apex-blaze/markdown-dungeon


text:
# A web app from scratch to finish with Alpas and Kotlin—Auth Scaffolding

In this part, we'll scaffold an entire auth system by running a simple command and writing a very minimal amount of code.

*Just to be clear, to keep the tutorials relevant and short, we are not going to cover any CSS, HTML, or JS in
his series. We will make sure to point out something if we deem it to be mention worthy. For styling, we
will use TailwindCSS, and for client-side interactivity, we’ll be using JavaScript and some VueJS.*

### Preparing the Database

Before we start, make sure
that you have a MySQL database server running. Create a database named `fireplace` and update your `.env` file
with proper database credentials. It should look something like this:

```

DB_HOST=localhost
DB_USERNAME=root
DB_PASSWORD=secret
DB_DATABASE=fireplace
DB_PORT=3306
DB_CONNECTION=mysql

```

Open `configs/DatabaseConfig.kt` and make sure that it is using a connection that matches the type
you have set for `DB_CONNECTION` in your `.env` file. In our case, this would be `mysql`. (You should just have to uncomment the call to `addConnections` in the init function.)

### Migrating the Database

Authentication requires two database tables—`Users` and `PasswordResetTokens`. Alpas ships with pre-definied versions of these tables/entities. These classes must map to tables in your actual database. To make it easy for you, Alpas already ships with the
migration files you need to create these two tables. All you need to do is migrate by running the following Alpas command
from your terminal:

`alpas migrate`

You should now have two tables in your database.

### Scaffolding

An authentication system needs a lot of files and wiring. Thankfully, Alpas can create all of this for you with
one command. You can further customize the scaffolded auth files as you wish. Let's run the command:

`alpas make:auth`

Once the files are created, open `routes.kt` file and call the `authRoutes()` method from within the `addRoutes()`
method to register all the auth routes. We will later see how we can further customize the routes.

We are now ready to compile and run the app!

When you run the app, the first thing you will notice is that the home page now has 2 links on
the top-right corner—`Login` and `Register`.

Believe or not, we have a whole auth system now including login, registration, password reset, and email
verification!

Let's create an account and see what happens.

You'll notice that you'll be asked to login and once you login you'll be asked to verify your email.

### Email Verification

Alpas auth scaffolding comes with support for email verification. It is enabled by default, but you
can disable it if you want. Right now though, you might be wondering how can you verify your email
address on a local machine.

Alpas supports two mail drivers out of the box—SMTP Driver and Local Driver. It is set to local by default, which
is set in your `.env` file. This makes email debugging easy during development. The local driver dumps all the
emails as HTML pages in `storage/mails` folder.

Navigate to the `storge/mails` folder and open the latest mail in your browser and click the `Verify` button.

After you have verified, you will now be taken a `dashboard` kind of page. Don't worry about customizing
this page right now though, we'll be removing it in a later lesson.

### Disabling Email Verification

If you want to disable email verification, you can do so easily by following these steps:

1. Pass `requireEmailVerification = false` in your `authRoutes()`:
`authRoutes(requireEmailVerification = false)`

2. Open `controllers/HomeController.kt` and remove `VerifiedEmailOnlyMiddleware`. In fact, you can delete the whole
`override fun middleware(call: HttpCall)` method.

3. Open `entities/User.kt` file and set `mustVerifyEmail` to `false`.

---

You just saw that it takes no more than 1 command to create everything for a modern authentication system.

You might be slightly disappointed that so far you haven't really get to write some code. I promise to let
you write some in the next post where we'll get into the meat of the application—allowing a user to
add a new project and list all their projects.

See you in the next one!

---

If you want to check out what the project looks like at this point, the [source code of Fireplace is available on GitHub](https://github.com/alpas/fireplace/releases/tag/v0.3.0) and is tagged as [_v0.3.0_](https://github.com/alpas/fireplace/releases/tag/v0.3.0).

If you found a bug please open an issue. If you have questions, comments, or feedback, or if you just want to hangout with people who are learning Alpas and with people who built Alpas, we have a [**dedicated Slack**](https://join.slack.com/t/alpasdev/shared_invite/enQtODcwMjE1MzMxODQ3LTJjZWMzOWE5MzBlYzIzMWQ2MTcxN2M2YjU3MTQ5ZDE4NjBmYjY1YTljOGIwYmJmYWFlYjc4YTcwMDFmZDIzNDE) for that. We’d love to have you there. [**Please join us**][alpas-slack] **!**

> **Questions?** [**Ask us in our Slack.**][alpas-slack]

[alpas-slack]: https://join.slack.com/t/alpasdev/shared_invite/enQtODcwMjE1MzMxODQ3LTJjZWMzOWE5MzBlYzIzMWQ2MTcxN2M2YjU3MTQ5ZDE4NjBmYjY1YTljOGIwYmJmYWFlYjc4YTcwMDFmZDIzNDE


text:
---
title: History
page_title: History
slug: radspreadprocessing-features-history
tags: history
published: True
position: 7
---

# History

The document model provides the possibility to maintain a history stack that tracks all changes to the content of the workbook. The history is implemented via the __WorkbookHistory__ class and the __Workbook__ exposes a property of this type. All changes introduced to the workbook are automatically recorded, however, the model also allows manual control over the history.

* [Enable / Disable History](#enable-/-disable-history)

* [Undo / Redo Actions](#undo-/-redo-actions)

* [Smart Undo](#smart-undo)

* [Clear History](#clear-history)

## Enable / Disable History

By default, the __WorkbookHistory__ class does not record all changes introduced to the workbook, but there are scenarios that need the history feature. For example, if you construct an entire document from code behind, you do not need to record each action you perform. In such cases you do not need to enable the history for the workbook via the __IsEnabled__ property of the __WorkbookHistory__ class. However, if you want to be able to undo one or several of the recent changes, you would need to enable the history.

__Example 1__ enables the history of a workbook.

#### __[C#] Example 1: Enable history__

{{region cs-radspreadprocessing-features-history_2}}
	Workbook workbook = new Workbook();
	workbook.History.IsEnabled = true;
{{endregion}}

## Undo / Redo Actions

Once the history is enabled you can invoke its __Undo()__ and __Redo()__ methods to perform undo and redo actions respectively. Both methods return a __Boolean__ value that indicates whether the operations were successful. The __Workbook__ class exposes the *Boolean* properties __CanUndo__ and __CanRedo__ that indicate whether the respective action is applicable.

__Example 2__ creates a new workbook with a single worksheet and sets the value of cell *A1* twice. Further, the snippet performs the undo and redo actions.

#### __[C#] Example 2: Perform undo and redo__

{{region cs-radspreadprocessing-features-history_0}}
	Workbook workbook = new Workbook();
	workbook.History.IsEnabled = true;
	Worksheet worksheet = workbook.Worksheets.Add();

	worksheet.Cells[0, 0].SetValue("First cell value");
	worksheet.Cells[0, 0].SetValue("Second cell value");

	workbook.History.Undo();
	workbook.History.Redo();
{{endregion}}

## Smart Undo

The __Workbook__ history offers a friendly API that allows grouping multiple changes into one undo step. For example, you may want to set the value of a cell and apply formatting to the same cell, and treat these two actions as a single undo operation. This can be easily achieved by enclosing the assignments with __BeginUndoGroup()__ and __EndUndoGroup()__ methods.

__Example 3__ demonstrates how to create an undo group.

#### __[C#] Example 3: Create undo group__

{{region cs-radspreadprocessing-features-history_1}}
	Workbook workbook = new Workbook();
	workbook.History.IsEnabled = true;
	Worksheet worksheet = workbook.Worksheets.Add();

	workbook.History.BeginUndoGroup();

	worksheet.Cells[0, 0].SetValue(15);
	worksheet.Cells[0, 0].SetFormat(new CellValueFormat("0.00"));

	workbook.History.EndUndoGroup();

	workbook.History.Undo();
	workbook.History.Redo();
{{endregion}}

## Clear History

To clear the history you just have to call the __Clear()__ method of the __WorkbookHistory__ class. Note that you cannot clear the history if you are recording an undo group. If you attempt to call the method after invoking __BeginUndoGroup()__ an exception is be thrown. The following snippet illustrates how to clear workbook's history.

__Example 4__ clears the history of a workbook.

#### __[C#] Example 4: Clear history__

{{region cs-radspreadprocessing-features-history_3}}
	workbook.History.Clear();
{{endregion}}

repository: telerik/document-processing-docs

gha_language: JavaScript

gha_license_id: NOASSERTION

repo_name: telerik/document-processing-docs


text:
# beets-barcode

A plugin for beets that finds releases based on a barcodes that are provided
via text or decoded from image files.

This plugin searches all image files for barcodes to help in selecting the
correct release. It's also possible to manually enter a barcode number or
catalogue number.

If it finds a barcode, it gets the release-id from musicbrainz and
penalizes releases which don't correspond to the found barcode(s).
Whenever it finds a barcode, it will print a helpful message, before the
candidates are shown, to help understanding which candidate corresponds to
a barcode that was found.

## Installation
You can install the plugin by using these commands:
```
git clone https://github.com/8h2a/beets-barcode.git
cd beets-barcode
python setup.py install
```
Additionally you might need to install zbar seperately.
See [pyzbar](https://github.com/NaturalHistoryMuseum/pyzbar#installation)
for instructions.

You can then [enable the plugin in beet's config.yaml](https://beets.readthedocs.io/en/latest/plugins/index.html#using-plugins):
```yaml
plugins: barcode
match:
    distance_weights:
        barcode: 1.0
```


text:
# Stellar Core Docker image

## Docker Hub

The Docker images are automatically built and published at [starformlabs/stellar-core](https://hub.docker.com/r/starformlabs/stellar-core/).

## Credit

This repo was originally forked from [satoshipay/docker-stellar-core](https://github.com/satoshipay/docker-stellar-core).
The following are the primary changes.

 - Use debian:stretch-slim for the base image
 - Install from binaries instead of source
 - Add a check to makes sure that postgres is up before starting

## Configuration

The container can be fully configured via environment variables.

### Environment variables

All Stellar Core config options can be set via environment variables. Here we list the
ones you probably want to set:

* `NETWORK_PASSPHRASE`: default is `Public Global Stellar Network ; September 2015` which
  is the public production network; use `Test SDF Network ; September 2015` for the testnet.

* `DATABASE`: default is `sqlite3://stellar.db` which you should definitely change for production,
   e.g., `postgresql://dbname=stellar user=postgres host=postgres`.

* `KNOWN_PEERS`: comma-separated list of peers (`ip:port`) to connect to when
   below *TARGET_PEER_CONNECTIONS*, e.g.,
   `core-testnet1.stellar.org,core-testnet2.stellar.org,core-testnet3.stellar.org`.

* `HISTORY`: JSON of the following form:
   ```
   {
     "h1": { "get": "curl -sf https://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_001/{0} -o {1}" },
     "h2": { "get": "curl -sf https://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_002/{0} -o {1}" },
     "h3": { "get": "curl -sf https://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_003/{0} -o {1}" }
   }
   ```

* `QUORUM_SET`: JSON of the following form:
   ```
   [
     {
       "threshold_percent": 51,
       "validators": ["GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y  sdf1",
                      "GCUCJTIYXSOXKBSNFGNFWW5MUQ54HKRPGJUTQFJ5RQXZXNOLNXYDHRAP  sdf2",
                      "GC2V2EFSXN6SQTWVYA5EPJPBWWIMSD2XQNKUOHGEKB535AQE2I6IXV2Z  sdf3"]
     },
     {
       "path": "1",
       "threshold_percent": 67,
       "validators": [
         "$self",
         "GDXJAZZJ3H5MJGR6PDQX3JHRREAVYNCVM7FJYGLZJKEHQV2ZXEUO5SX2 some_name"
       ]
     }
   ]
   ```

repository: starformlabs/docker-stellar-core

repo_name: starformlabs/docker-stellar-core


text:
# stats
Track and public custom statistics and metrics inside of your go application

Supports tracking:
- int64 counters
- int64 counters (moving average)

Supports publishing to:
- [x] influxdb

# Usage

```go
import (
    "sync/atomic"
    "time"

    "github.com/purehyperbole/stats"
)

func main() {
    var counter, movingAverage int64

    // create a monitor that will aggregate and publish metrics every second
    monitor := stats.NewMonitor(time.Second)

    // add a new destination to publish metrics to
    monitor.AddPublisher(
        stats.NewInfluxDBPublisher("host", "token", "org", "bucket")
    )

    // track a basic counter
    monitor.Track(stats.Metric{
        Type: stats.Counter,
        Name: "simple-counter,environment=production value=",
        Value: &counter,
    })

    // track a moving average. Any polled value will be averaged over a minute
    // (interval of 1 second, with 60 samples stored)
    monitor.Track(stats.Metric{
        Type:    stats.MovingAverage,
        Name:    "moving-average,environment=production avg-reqs=",
        Samples: 60,
        Value:   &movingAverages,
    })

    go monitor.Start()

    // use the values in your app
    for i := 0; i < 1000; i++ {
        atomic.AddInt64(&counter, 1)
        atomic.AddInt64(&movingAverage, 1)
    }
}
```

repository: purehyperbole/stats

repo_name: purehyperbole/stats


text:
# Siren: A Simulation Framework for Understanding the Effects of Recommender Systems in Online News Environments

A simulation framework for the visualization and analysis of the effects of different recommenders systems in an online news environment. This simulation draws mainly on the e-commerce simulation work of Fleder and Hosanagar. However, SIREN also accounts for the specificities of news consumption, such as evolving users preferences and editorial priming (promoted articles on a news website).

![Alt text](https://github.com/dbountouridis/siren/blob/master/images/interfaceintro.png?raw=true "interface")

SIREN's interface currently offers recommendations based the [MyMediaLite](www.mymedialite.net/) toolbox and visualizations for two diversity metrics (long-tail and unexpectedness). SIREN can be used by content providers (news outlets) to investigate which recommendation strategy fits better their diversity needs. At the same time, SIREN's code can be adapted/expanded by researchers to analyse various recommender effects in a news environment.

This documentation provides information for:
1. [An overview of SIREN's conceptual model](docs/Overview.md)
2. [Setting up and running SIREN](docs/Setup.md)
3. [Using SIREN as researcher](docs/Usage.md)
4. [Using SIREN as content-provider](docs/UsageContentProvider.md)

## Citation

If you use this code, please cite the following publication:

```
@inproceedings{Bountouridis2018SIREN,
    author    = { Dimitrios Bountouridis and Jaron Harambam and Mykola Makhortykh and Monica Marrero and Nava Tintarev and Claudia Hauff},
    title     = { SIREN: A Simulation Framework for Understanding the Effects of Recommender Systems in Online News Environments },
    booktitle = { Proceedings of the ACM Conference on Fairness, Accountability, and Transparency  (FAT*) },
    year      = 2018
}
```

repository: TimHeckmans/siren

repo_name: TimHeckmans/siren


text:
---
header:
  image:
  caption:
title: "KITAB postdoc Gowaart Van Den Bossche wins BRAIS-De Gruyter dissertation prize – 2020"
author: anjum_alam
layout:		single
categories:
  -
  -
tags:
  -
---

The British Association for Islamic Studies (BRAIS) and De Gruyter have announced the outcome of the fifth (2020) round of the BRAIS – De Gruyter Prize in the Study of Islam and the Muslim World. The winning submission is Gowaart Van Den Bossche’s PhD thesis, which he defended in 2019 at Ghent University, right before joining the KITAB project as a postdoctoral fellow. In his own words:

“I’m very happy with this recognition of my PhD work. It’s especially nice to see this kind of historical research appreciated by an organisation that does not limit itself to my field of study (Mamluk studies, or even Islamic history) but tries to connect people across Islamic studies. In a way that resonates nicely with ISMC’s own mission.”

Gowaart will be turning his dissertation into a monograph and enrich it by including data from his ongoing work in the KITAB project.

![Image](/images/old_posts/BRAIS3.jpg)

url: https://raw.githubusercontent.com/pverkind/mabarber92.github.io/916170f74c5c4a7556a0a0587f121cf752e8d87b/_posts/2020-11-19-KITAB postdoc Gowaart Van Den Bossche wins BRAIS-De Gruyter dissertation prize – 2020.md


text:
VisualizingComplexFunctions
===========================

### Types of functions:
- **Mandelbrot Set** (z's starting value is determined by the center point of the Julia Set's plot. Moving around the Julia Set will therefore distort the Mandelbrot)
- **Julia Sets** (c is determined by the center point of the Mandelbrot's graph, so clicking around the Mandelbrot Set will change which Julia Set you are seeing)
- **Complex Sine**
- **Complex Tangent**
- **Other crazy complex functions** (Look at calculations.c to see what they are specifically)

### Manipulating the graphs
- **Zoom:** press '**a**' to zoom in, '**s**' to zoom out. For the Julia Set, use '**z**' and '**x**'
- **Recenter:** whenever you click, the image gets recentered to the point you clicked
- **Change Color Scheme:** press '**e**' to change the color scheme
- **Change Color Rotation:** press '**r**' to rotate the current colors
- **Change function:** press '**w**' to display a different function

### Saving images
- **As .png:** press '**d**'
- **As .ppm:** press '**f**'
- When starting the program you can specify the dimensions you want images to be save as. As far as I know, the dimensions can be arbitrarily big. Note, though, that bigger images take longer to render.

Setup
=====

First, make sure you have OpenGL and libpng installed.

To set the size you want your images to be saved as just put them as parameters when you run.

    ./Mandelbrot 1920 1080

If you don't want the program to overwrite images you already saved, tack on another parameter that's higher than the number of images you saved so far (This is the starting value for a counter that increments every time an image is saved).

    ./Mandelbrot 1920 1080 5

All the controls are printed in the terminal you run the program from.

Right now, it crashes if the 'correct' size isn't hard coded in correctly.

Feedback and pull requests are very welcome!

To be added:
============
- Draw non-iterative complex functions with multiple, cool color schemes (not just boring rainbows)
- Do something similar in Go, Java, Python, and Haskell!

Screenshots / sample output:
============================

| Mandelbrot Set | Julia Set |
| -------------- | --------- |
| ![screen0](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/mandelbrot0.png) | ![screen00](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/julia0.png) |
| ![screen1](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/mandelbrot1.png) | ![screen11](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/julia1.png) |
| ![screen2](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/mandelbrot2.png) | ![screen22](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/julia2.png) |
| ![screen3](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/mandelbrot3.png) | ![screen33](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/julia3.png) |
| ![screen4](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/mandelbrot4.png) | ![screen44](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/julia4.png) |
| ![screenGif](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/MandelbrotFast.gif) | ![screenGif2](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/JuliaFast.gif) |

Different color schemes:
========================

![screenCS](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/ColorSchemes.png)

Complex Functions:
==================

![screenA](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/complexfunction1.png)
![screenA](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/complexfunction3.png)
![screenA](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/complexfunction4.png)
![screenA](https://raw.githubusercontent.com/JoshVorick/VisualizingComplexFunctions/master/C/imgs/complexfunction5.png)

repository: JoshVorick/VisualizingComplexFunctions

repo_name: JoshVorick/VisualizingComplexFunctions


text:
---
layout: post
title: IPython Anew
---

I have spent more time trying to install Python 2 and Python3 simultaneously than I care to admit. After several credible recommendations, I decided to use virtual environments. I'm enjoying the experience so far. My ultimate goal is to have a clean, self-contained directory that can run the IPython notebook with Python 3, has nbgrader, and has a Julia kernel installed. This will make it easy to make assignment notebooks for the interactive textbook I envision.

1. Get virtualenv

2. Make a new virtualenv with Python3. I used [these instructions](http://blog.troygrosfield.com/2014/01/09/making-move-python3-virtualenvs-pip/) with one important modification. Because my system `pip` installation was unbelievable and irreparably messed up, the very first command wouldn't work. So I added the `--no-pip` option to start without `pip`. After activating the new, package-free environment, I followed the instructions [here](https://pip.pypa.io/en/latest/installing.html) to get an appropriate version of `pip`.

3. Install IPython into the virtualenv directory. The following commands from [here](http://ipython.org/ipython-doc/dev/install/install.html#installing-ipython-itself) should do it:
```bash
pip install "ipython[all]"
git clone --recursive https://github.com/ipython/ipython.git
cd ipython
python setupegg.py develop
```

4. Install other packages:

```bash
pip install numpy
pip install matplotlib
pip install pandas
pip install scipy
pip install autopep8
pip install pymongo

sudo apt-get install gfortran libopenblas-dev liblapack-dev
pip install scipy
```

5. Install `nbgrader`. Just clone the repo into the virtualenv directory.

At this point I was able to run `ipython notebook` without errors. Without any additional setup, I had my Julia and MATLAB kernels from the system-wide IPython installation I was using before. This is because my new virtualenv IPython installation is using the same `~/.ipython` directory, which contains kernel registration instructions. The other thing my new IPython installation shares with the old is Julia: I did not need to re-install Julia or any packages. This behavior happens to be convenient for me; it would have been a hassle to start over with Julia.


text:
# RailsDokku

Rails dokku is tasks collection for (dokku)[https://github.com/dokku/dokku]

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rails_dokku'
```

And then execute:

    $ rake -T

Or install it yourself as:

    $ gem install rails_dokku

## Usage

Please look at rake -T.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/itbeaver/rails_dokku. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).


text:
---
hrs_structure:
  division: '2'
  volume: '8'
  title: '22'
  chapter: '412'
  section: '412:3-203'
type: hrs_section
tags:
  - Business
menu:
  hrs:
    identifier: HRS_0412-0003-0203
    parent: HRS0412
    name: '412:3-203 Deferral of application requirements'
weight: 23570
title: Deferral of application requirements
full_title: '412:3-203 Deferral of application requirements'
---
**§412:3-203 Deferral of application requirements.** For good cause, the commissioner may defer specific application requirements until the filing of an application for a charter or license. [L 1993, c 350, pt of §1; am L 2006, c 228, §17]

repository: SamMade/BlueAndKrabby

repo_name: SamMade/BlueAndKrabby


text:
# Build a Wikipedia Viewer

## Objective

Build an app that is functionally similar to this: https://codepen.io/FreeCodeCamp/full/wGqEga/.

## Requirements

* User Story: I can search Wikipedia entries in a search box and see the resulting Wikipedia entries.

* User Story: I can click a button to see a random Wikipedia entry.

**Hint #1:** Here's a URL you can use to get a random Wikipedia article: https://en.wikipedia.org/wiki/Special:Random.

**Hint #2:** Here's an entry on using Wikipedia's API: https://www.mediawiki.org/wiki/API:Main_page.

**Hint #3:** Use this link to experiment with Wikipedia's API.

## Deployment

* Open index.html

## Launch

[Wikipedia Viewer](https://ziggysauce.github.io/fcc-frontend/wikipedia-viewer/)

## Notes
[Medium Article](https://medium.com/@ziggysauce/fcc-speedrun-wikipedia-viewer-7da5cf72e4b1)

Created a wikipedia viewer app that uses the Wikipedia API to generate linked articles for the user based on the input submitted. The user can also click a button to be directed to a random wikipedia article.

Mobile response has bugs when viewed on codepen.io, but otherwise should operate as intended.

repository: ziggysauce/fcc-frontend

repo_name: ziggysauce/fcc-frontend


text:
---
layout: post
title:      "How to Set Up RoR API w/ PostgreSQL"
date:       2021-05-10 02:59:50 +0000
permalink:  how_to_set_up_ror_api_w_postgresql
---

The world of backend dev delopment can be difficult to manouver,  but even more so if you are just starting out. Before even starting the Git repository, it's important to consider what relational database managementt system you would want to choose, what relationships your objects are going to have and what kind of data can be manipulated via CRUD. Once you have all of that figured out, you're ready to start you project!

This post will be about setting up a Ruby on Rails API with a PosgreSQL open source database. Before moving forward, make sure you have installed all necessary programs (i.e Ruby, Rails Gem, PostgreSQL)

### 1.
To start, make a file in your local drive labeled after the project you would like to create. Its best to keep your different projects in a folder that is accessible and free of clutter that is unrelated to projects.
```
mkdir new-api-app
```

Once created, you can ```cd new-api-app``` to navigate into the folder.
### 2.
This is when we create our new Ruby on Rails app, readily configured to act as an API with PostreSQL as thne preset database, all. with the help of some very useful flags. The following command typed and executed into the terminal creates a new Rails project directory.
```
rails new basic-api-app --api --database=postgresql
```
### 3.
Lastly, you can ```cd basic-api-app``` and create a Git repository for your new Rails app.

This is just the beginning of your app, the real grunt work begins after this as you create your models, controllers and create your database. Getting CRUD implementations on PostreSQL will be featured in the next post, see you there!

extension: markdown


text:
## Ansible Role: Collectd 5.x with Librato Integration

An Ansible role that installs Collectd 5.4.x with Librato integration targeting Ubuntu 14.04.

### Role Variables

For up-to-date role variables and their defaults, see defaults/main.yml

### Dependencies

None!

### Example Playbook
site.xml:
```
- hosts: webservers
  roles:
    - { role: voran.collectd-librato, become: yes }
  vars:
    collectd_interval: 300
    collectd_plugins:
      - load
      - memory
      - df
      - disk
      - swap
    collectd_aggregate_cpu_metrics: yes
```

Then use ansible-galaxy to invoke role:
```
ansible-playbook site.yml -i hosts --extra-vars "librato_email=<your_librato_email> librato_token=<your_librato_token>"
```

To use aggregated cpu metrics with lbrato, see http://support.metrics.librato.com/knowledgebase/articles/404267-collectd-faq

### License

Apache 2.0

### Credits

Inspired by http://blog.pu-gh.com/2014/08/19/librato-collectd-integration/

repository: voran/ansible-role-collectd-librato

repo_name: voran/ansible-role-collectd-librato


text:
---
title: Etcdless Hosted Install
---

This document describes installing Calico on Kubernetes in a mode that does not require access to an etcd cluster.  Note that this feature is
still experimental and currently comes with a number of limitations, namely:

- Calico without etcd performs policy enforcement only and does not yet support Calico BGP networking.
- Calico without etcd does not yet support Calico IPAM.  It is recommended to use `host-local` IPAM in conjunction with Kubernetes pod CIDR assignments.
- Calico without etcd does not yet support the full set of `calicoctl` commands.

## Try it out

The provided manifest configures Calico to use host-local IPAM in conjunction with the Kubernetes assigned
pod CIDRs for each node.

First, ensure the following:

- You have a Kubernetes cluster configured to use CNI network plugins (i.e by passing `--network-plugin=cni`)
- Your Kubernetes controller manager is configured to allocate pod CIDRs (i.e by passing `--allocate-node-cidrs=true`)
- You have configured your network to route pod traffic based on pod CIDR allocations, either through static routes or a Kubernetes cloud-provder integration.

For example, you could install Kubernetes with Flannel using [kubeadm](http://kubernetes.io/docs/getting-started-guides/kubeadm/) and [kube-flannel](https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml).

Then to install Calico, run the following command:

```
kubectl apply -f http://docs.projectcalico.org/{{page.version}}/getting-started/kubernetes/installation/hosted/k8s-backend/calico.yaml
```

You download the manifest [here](calico.yaml)

You can try out policy by following the [simple policy guide](../../../tutorials/simple-policy).

## Configuration details

The following environment variable configuration options are supported by the various Calico components **when running without etcd**.

| Option                 | Description    | Examples
|------------------------|----------------|----------
| DATASTORE_TYPE         | Indicates the datastore to use | kubernetes, etcdv2
| KUBECONFIG             | When using the kubernetes datastore, the location of a kubeconfig file to use. | /path/to/kube/config
| K8S_API_ENDPOINT       | Location of the Kubernetes API.  Not required if using kubeconfig. | https://kubernetes-api:443
| K8S_CERT_FILE          | Location of a client certificate for accessing the Kubernetes API. | /path/to/cert
| K8S_KEY_FILE           | Location of a client key for accessing the Kubernetes API. | /path/to/key
| K8S_CA_FILE            | Location of a CA for accessing the Kubernetes API. | /path/to/ca
| K8S_TOKEN              | Token to be used for accessing the Kubernetes API. |

An example using `calicoctl`:

```shell
$ export DATASTORE_TYPE=kubernetes
$ export KUBECONFIG=~/.kube/config
$ calicoctl get workloadendpoints

HOSTNAME                       ORCHESTRATOR   WORKLOAD                                                         NAME
kubernetes-minion-group-tbmi   k8s            kube-system.kube-dns-v20-jhk10                                   eth0
kubernetes-minion-group-x7ce   k8s            kube-system.kubernetes-dashboard-v1.4.0-wtrtm                    eth0
```

## How it works

Calico typically uses `etcd` to store information about Kubernetes Pods, Namespaces, and NetworkPolicies.  This information
is populated to etcd by the Calico CNI plugin and policy controller, and is interpreted by Felix and BIRD to program the dataplane on
each host in the cluster.

The above manifest deploys Calico such that Felix uses the Kubernetes API directly to learn the required information to enforce policy,
removing Calico's dependency on etcd and the need for the Calico kubernetes policy controller.

The Calico CNI plugin is still required to configure each pod's virtual ethernet device and network namespace.

repository: mgxian/calico

repo_name: mgxian/calico


text:
# SQL Server → PostgreSQL tool
The tool creates the tables in PostgreSQL database and copies data from SQL Server database into them.
When the copying is finished the tool verifies that the data in each field of each column
are the same in both databases (incuding the binary data using md5 hases).
The tool supports conversion of following:
* **Columns** (it converts the data types to the compatible ones)
* **Identities** (it creates sequences and configures columns to use them)
* **Primary keys** (including compositional keys)
* **Indices** (the included columns are ignored. If 2 indices have the same columns the 2nd one will not be created)
* **Foregin keys** (including the changes propagation mode (cascade/no action/set null))

## How to use
To copy the database you should do following:
1. Get credentials of both databases.
2. Create a new database in PostgreSQL
3. Modify the connection strings in `App.config`
4. Set the source database and schema in `App.config`
5. Change the other paramters in `App.config` (optional)
6. Run the application

## Configuration parameters
In `App.config` you can change following parameters:
* **MsConStr** - SQL Server connection string.
* **PgConStr** - PostgreSQL connection string.
* **MsDbName** - SQL Server source database.
* **MsSchema** - SQL Server source schema.
* **ChunkSize** - The size of the buffer in rows. The tool gets the source data in pages.
This parameters sets the size of the page in rows.
* **Fps** - The progressbar update rate in Frames Per Second.

## Minimal system requirements
The default chunk value of _100 000_ rows can cause memory consumption up to **2.5 GB**

## The tool performance
The tool was tested on a machine with following specs:
* i5 CPU
* 32GB RAM
* SATA SSD
* Windows 10

Both databases were installed at the same SSD (it was also the system drive).
The copying speed was ~ **1 GB / 1 minute**.
The verification speed was about the same.

repository: hryz/sql-server-to-postgre-sql

repo_name: hryz/sql-server-to-postgre-sql


text:
nodeSetup
=========

This role prepares all nodes for the installation. It will

* distributes the credentials generated by the role prepare_state to all nodes
* create a physical bridge (typically br-phys, determined by variable name phys_bridge_name) and connect it to phys_interface using a patch port - only if phys_bridge_create is true
* bring up all required networking devices and set up local name resolution

Note that at this point, we also enable an APT proxy on the nodes. This is especially useful if we setup a larger
number of machines or start over in short cycles, as it avoids the repeated downloads. To enable the usage of an APT cache, set

use_apt_proxy: True
apt_proxy_url:  http://<IP_ADDRESS>:3142

where of course you need to replace the IP address and port with the URL of your proxy. If you use apt-cacher-ng, the default port is 3142.

Requirements
------------

We need the file credentials.yaml and the SSH key present on the Ansible host

Role Variables
--------------

The following variables need to be set when invoking this role:

* credentials_dir - the directory in which the credentials are created
* install_user - the user which we will use to run those parts of the installation process which do not require elevated privileges - default vagrant
* install_user_home - the home directory of this user on each node
* vm_network_device - this is the name of the device that we use for inter-VM traffic on layer2. We expect that this device has no IP address assigned and simply bring it up
* phys_interface - the name of a virtual or physical interface to which we will connect the physical bridge
* phys_bridge_name - name of the physical bridge (typically br-phys)

The following variables are used but have a default:

* openstack_release - the name of the Openstack release that we install
* use_apt_proxy - use a proxy server for APT  (default: False)
* apt_proxy_url - proxy URL for ATP
* phys_bridge_create - boolean, whether to create a physical bridge on this node (defaults to false)

Dependencies
------------

None

License
-------

MIT

Author Information
------------------

Visit me at https://www.github.com/christianb93


text:
GUID

A helper that returns a guid

<img<EMAIL_ADDRESS>alt="Nodei.co badge" />

<img<EMAIL_ADDRESS>alt="NPM version" />
<img<EMAIL_ADDRESS>alt="NPM downloads" />

## Installation
```
yarn add @iplatformglobal/guid or

or

npm install @iplatformglobal/guid
```

## Usage

Returns a guid

```javascript
import guid from '@iplatformglobal/guid'

// Generate a guid and store it in a variable named id
const id = guid();

// Eg. id: "045d480f-8b07-0728-a39f-cdcb5bbf5730"

```
## Testing

Testing is handled by `Jest` and the packages has the following commands setup

* `yarn test`
* `yarn test:watch`

## Contributing

All contributions are welcome, and can be done by cloning the repo and running `yarn install`.

Ensure that there are no errors in the tests or linter and ensure that your commit messages comply to the following format:

* break: COMMIT_MSG - changes in the code that changes the way other users would need to implement it.
* feat: COMMIT_MSG - adding a new feature or capability to the helper.
* fix: COMMIT_MSG - any bugs or minor updates that fixes the existing code without adding or removing any capabilities.
* none: COMMIT_MSG - used for simple updates like documentation, aka NO code has changed.

There are git hooks configured to ensure commit message format as well as test and linter compliance.

History

Discover the release history by heading on over to the releases page.

License

Unless stated otherwise all works are:

Copyright © 2017+ iPlatform

and licensed under:

MIT License

repository: iPlatformGlobal/guid

repo_name: iPlatformGlobal/guid


text:
# Configure Linux Mint

This is a collection of scripts that will set up a clean installation of
Linux Mint 17 (18 or a recent installation of Ubuntu should probably also work, but those have not been tested) for the following purposes:

1. Linux Mint (drivers, configuration, etc.)
2. WWW (Webserver and connectivity)
3. Database
4. PHP
5. Virtual machine host
6. Machine Learning and Development tools

and optionally: your own private configuration

## Before you start

These scripts require the following:

* A clean installation of Linux Mint (17/18)

To modify the default configuration, or to add your own private configurations, see below.

## How to use

### Quick start

The quickest way to start, is to open a terminal in your home folder and
execute the following code block:

    wget -qO- https://raw.githubusercontent.com/erikjandevries/ConfigLM/master/ConfigLM.sh > ConfigLM.sh
    wget -qO- https://raw.githubusercontent.com/erikjandevries/ConfigLM/master/ConfigLM_functions.sh > ConfigLM_functions.sh
    . ConfigLM.sh -ssh

This script installs git and clones this repository into a subfolder of
~/Repositories/Clones. (If an existing clone is found, the script will pull the
latest version of the repository.)
If you have not configured your ssh key yet, do not use the `-ssh` argument.

Optional parameters for `ConfigLM.sh`:

Parameter | Explanation
--- | ---
`-ssh` | use SSH (with a pre-configured key) to clone the repository
`--start-all` | start the script `start-all.sh` after cloning the repository

### Modifications

#### Selecting components

You could also at first only clone the repository, and configure the various scripts
to include only the parts you need, before start the entire configuration process. In this case it is recommended to edit the start-all.sh script and to comment out the lines you don't need.

Extra additions can be included in your own scripts in the `9_private_config` folder (see below).

#### ConfigLM_init

To run your own commands before cloning the repository, create a file `~/Repositories/Clones/ConfigLM/9_private_config/ConfigLM_init.sh`. It will be run at the beginning of the `ConfigLM.sh` script, after loading the `ConfigLM_functions.sh` file. You might use it, for example, to configure:

* Git, global user name and email address, SSH settings and keys.
* Symbolic links, to redirect the folders ~/Repositories, ~/Software and ~/VirtualEnvs to other locations.

An example/template file is provided: `9_private_config/ConfigLM_init.sh`

#### Private configurations of existing components

For every component script, the process will check if a private configuration script exists as well. For example, after running `2_www/apache.sh`, the process will execute `9_private_config/apache.sh` if it exists. Several template files are included with suggested private modifications.

#### Additional private configurations

The file `9_private_config/start-all.sh` will be started automatically at the end of the standard scripts, just before the cleanup script (if it exists). Here you can, for example, include scripts to install extra software packages.

## What's included?

### Linux

The scripts will perform the following installation and configuration:

* nVidia drivers, CUDA and cuDNN, if available
* Microsoft core fonts
* exFAT file system support
* WLAN drivers

### WWW

* Nginx web-server
  * with reverse proxy and SSL
* Apache web-server
* OpenSSH Server

### DB

* MariaDB
* PostgreSQL

### PHP

* PHP

### VM-Host

* Qemu

### Machine Learning and Development

* [Atom](https://atom.io/) (Code editor)
* Python 2.7
  * Build essentials, developer tools, setup tools
  * Pip (incl. SSL for Pip)
  * VirtualEnv
    * `venv_create`: a shell function to create a VirtualEnv in the default folder
    * `venv_activate`: a shell function to activate a VirtualEnv in the default folder
    * `venv_delete`: a shell function to delete a VirtualEnv in the default folder
    * `venv_ml`: a shell function to install Machine Learning tools in a VirtualEnv in the default folder, incl.:
      * numpy
      * pandas
      * scipy
      * nltk
      * scikit-learn
      * matplotlib
      * [Theano](http://deeplearning.net/software/theano/)
      * [Lasagne](https://lasagne.readthedocs.io/en/latest/)
      * [OpenAI Gym](https://gym.openai.com/)
      * Jupyter

repository: erikjandevries/ConfigLM

repo_name: erikjandevries/ConfigLM


text:
### Word recognition

Script uses MFCC, DTW and kNN classifier to recognise recorded phrases. It was created as studies project.

### Used libraries
* librosa
* dtw
* soundfile

### Results

With this script we achieved 100% accuracy, which is show on picture below:

![similarity](https://user-images.githubusercontent.com/12548284/48865230-45cee400-edcf-11e8-9a95-7dc5fd049006.png)

More information in [report](https://github.com/mrugacz95/word-recogniton/blob/master/report.pdf).


text:
# Proxiable
Proxy provides static methods for creating dynamic proxy classes and instances,
and it is also the superclass of all dynamic proxy classes created by those methods.

# Read Package ReadMe
[Click Here](https://github.com/copydog/proxiable/tree/master/proxiable)


text:
# KORD Service

This document outlines the concept of a KORD service, a participant in the
KORD network who is economically incentivised to provide a service to the
network and can be held accountable for its actions.

## Status of this Document

The KORD protocol is at an early stage of development, expect this document to
change frequently during this early phase.

## Outline

The KORD network aims to provide the infrastructure to build distributed,
decentralised databases where you don't necessarily need to trust all the
participants in the network to be well behaved, but you do trust that all
participants are economically motivated (i.e. they want to profit in some
way, either financially, morally or otherwise).

With this in mind, we define a KORD service as being a network participant who
provides a service to the network in return for KORD tokens, but also stakes an
amount of KORD tokens which can be claimed as collateral if the service is
proved to have misbehaved.

## Implementation

TODO: describe how the economic incentives can be implemented using Ethereum
      smart contracts.


text:
---
file_library_root_path: "content/cos/tam/center_home_page/Library/"
slug: "/cos/tam/"
related_links:
  - caption: "Middle East District"
    url: "http://tam.usace.army.mil/"
page_last_reviewed: "Wednesday, March 13, 2019"
doc_type: "cos_page"
cos_manager_name: "Tricia Torok"
cos_manager_email<EMAIL_ADDRESS>"
cos_long_name: "Middle East"
cos_short_name: "TAM"
---

## About TAM

The Center of Standardization (CoS) for Nonpermanent Facilities

The CoS is responsible for:

- Development and review of Army designs for temporary and semi-permanent facilities as defined in UFC 1-201-01
- Ensuring that alterations to designs comply with UFC 1-201-01
- Being an active participant in the design process for designs not overseen by the CoS
- Instruction of FEST curricula regarding UFC 1-201-01, 1-201-02 and 1-202-01
- Creation of functional spaces for various missions within standard exterior envelopes
- Maintaining lines of communication with Combatant Command Engineer staffs
- Coordination with the CoS for Contingency Design is mandatory per ECB No. 2016-18 paragraph 5. a.

The CoS accomplishes these responsibilities through:

- breaking the custom design paradigm
- facilitating creation of Joint/Army design standards
- being Army’s design agent for ALL temporary and semi-permanent facilities
- developing base camp layout utilizing standard designs
- conceptualizing and designing all facilities for base camps
- creating innovative construction solutions for customers

The CoS guiding principles:

- Maximize use of local materials and methods
- Minimize use of heavy equipment
- Eliminate of fire sprinklers
- Maximize troop constructability
- Minimize maintenance inventory
- Eliminate load bearing interior walls

Full Service 3D Printing and High Resolution 3D modeling/animation

- To scale interactive 3D models of facilities, layouts, Masterplans, awards, etc.

[![CoS Overview](/admin/images/uploads/cos-np-overview-TAM.jpg)](https://rfpwizard.mrsi.erdc.dren.mil/MRSI/content/cos/tam/center_home_page/Library/CoS%20Overview.pdf)

[![COS NP Design Builder](/admin/images/uploads/design-builder-preview-TAM.png)](https://rfpwizard.mrsi.erdc.dren.mil/MRSI/content/cos/tam/center_home_page/Library/CoS design Builder - must be downloaded - 03MARCH2023.xlsx)
**NOTE: Design Builder file must be downloaded to run.**

![Facility and Masterplan Prints](/admin/images/uploads/3d-facilities-and-masterplan-prints-TAM.png)

![RAISE](/admin/images/uploads/raise-3d-models-TAM.png)

To see if the CoS has a design solution for your requirements, complete the checklist and contact<EMAIL_ADDRESS>
Scroll down to Library to see Non Permanent Army Facility Standards.

repository: mrsi-cerl/mrsi-gatsby

repo_name: mrsi-cerl/mrsi-gatsby


text:
iframe sandboxing woes

definition: a `src`-less iframe is an iframe with no `src` attribute, into which we intend to write HTML

`sandbox="allow-same-origin"` on a `src`-less iframe allows an iframe to access and modify parent data. note that an iframe needs a script to actually do that.

`sandbox="allow-same-origin allow-scripts"` is thus useless when embedding arbitrary third party content into a `src`-less iframe as it can just reach into the parent document and remove its own sandboxing (jsfiddle is a WIP)

to load content from IPFS without a gateway, we need the ability to write into a `src`-less iframe on our own page. `allow-same-origin` is a necessity as without it the iframe is marked with a 'unique origin' (which never matches any other origin) and then the parent frame cannot write into it. (jsfiddle proving this is available in my notes).

argument 1: we cannot write arbitrary third party content into a `src`-less iframe (which requires `allow-same-origin`) AND allow that iframe to execute scripts

one idea to circumvent this looks like:
1. create iframe with `sandbox="allow-same-origin allow-scripts"`
2. write our library into it
3. write arbitrary third party content from IPFS into it
4. remove the `allow-same-origin` sandbox attribute from the iframe
  * blocks the iframe from accessing the parent page
  * forces all further communication to be done safely via `postMessage`

is step 4 secure? [WIP]
* possible race condition allowing the adversarial third-party iframe to still remove its own sandbox
* can we mitigate that by placing all third party code inside a 1 second timeout, ensuring that step 4 executes?

if my investigation reveals that argument 1 is indeed correct, the best we can do is load arbitrary HTML and CSS but strip out all <script> tags (except for the ones that we put in which contain our library). ive coded up a jsfiddle showing that this is enough to provide a decent UI development experience, except the part where all custom components (such as the canvas that renders a box around a face) would need to be PR'ed into our library. a corollary of this is that we probably should spend some time coding/porting a good selection of components into our library.

repository: arturgontijo/custom-ui-research

repo_name: arturgontijo/custom-ui-research


text:
# mishmash io

*mishmash io* is a distributed and scalable database that allows you to easily implement smart, predictive features in your app.

Find out more on [mishmash.io](https://mishmash.io)

# About this package

This package contains base code that shared between various components of *mishmash io.*

It should not be used directly. Instead, take a look at the client library for your programming language. Client library packages are usually called *mishmash-io-client* and are available from package managers like PyPI, npm, maven, etc.

Find out more on which client library you should use on [mishmash.io](https://mishmash.io)

repository: ntsvetanov/mishmash-io-client-common

repo_name: ntsvetanov/mishmash-io-client-common