text:
---
applied_at: '2019-11-09'
applies_to:
  - sdks
  - ui-elements
is_impactful: true
is_new_feature: true
collapse: true
release_source_url: 'https://github.com/box/box-ui-elements/releases/tag/v11.0.0'
---

# Box UI elements `v11.0.0` released

## [11.0.0][1] (2019-11-09)

### Bug Fixes

- **`activity-feed`:** fix long user names in tasks/comments in Edge ([#1604][2]) ([`572e4d7`][3])
- **`activity-feed`:** Fix version ordering in Activity Feed ([#1272][4]) ([`533c112`][5])
- **`activity-feed`:** refactor inline error for feed items and empty state ([#1697][6]) ([`2702367`][7])
- **`annotation`:** Fix header by adding selector used by box-annotations ([#1637][8]) ([`9302486`][9])
- **`app-activity`:** Remove underscores from resin feature name ([#1456][10]) ([`b7c21e7`][11])
- **`app-activity`:** Update app activity to match comment/task ([#1449][12]) ([`b58aa2f`][13])
- **`arrow-stepper`:** Fix arrow stepper in KeyBinding component ([#1654][14]) ([`a05b015`][15])
- **`avatar`:** fix avatar initials v-alignment ([#1311][16]) ([`23e6d5f`][17])
- **`avatar`:** Fix avatar resolution in activity sidebar ([#1243][18]) ([`88a5f1c`][19])
- **`avatar`:** use derived state instead of effect for URL change ([#1643][20]) ([`f89c138`][21])
- **`bdl`:** Add SCSS check for color variable name ([#1514][22]) ([`a4f446f`][23])
- **`bdl`:** adjust font weights to match normal and bold `lato` ([#1517][24]) ([`35a4070`][25])
- **`beta-feedback`:** update `aria-labelledby` attribute name ([#1249][26]) ([`c164aec`][27])
- **`breadcrumb`:** add missing import ([#1657][28]) ([`fec4735`][29])
- **`button`:** remove horizontal margin from buttons ([#1362][30]) ([`a6989a0`][31])
- **`button`:** revert remove horizontal margin from buttons ([#1362][30]) ([#1400][32]) ([`3ac424c`][33])
- **`classification`:** badge should not have a `tabindex` ([#1622][34]) ([`4ab0c20`][35])
- **`classification`:** Classification badge UX tweaks ([#1378][36]) ([`fa82a8d`][37])
- **`classification`:** classification tooltip not showing in IE11 ([#1710][38]) ([`d08b53c`][39])
- **`classification`:** flow definitions for `onclick` ([#1712][40]) ([`9e620ce`][41])
- **`classification`:** Restoring classification badge icons ([#1390][42]) ([`5db4b3e`][43])
- **`collaborator-avatars`:** add keyboard accessibility ([#1680][44]) ([`baefaed`][45])
- **`collapsible`:** should be pure component ([#1407][46]) ([`5e32c80`][47])
- **`comment`:** Add height to comment area to support multiple mentions ([#1474][48]) ([`e270131`][49])
- **`comment`:** padding and `a11y` adjustments for comment UI ([#1358][50]) ([`927a34a`][51])
- **`comment`:** remove redundant `aria-label` ([#1291][52]) ([`ef48f88`][53])
- **`comment`:** use overlay z-index for confirmation dialog ([#1270][54]) ([`bcf2852`][55])
- **`comments`:** format existing mentions in editor ([#1469][56]) ([`6b82510`][57])
- **`constants`:** explicit type import ([#1584][58]) ([`7d38fb8`][59])
- **`content-explorer`:** `ContentExplorer` and `ContentPicker` can handle
  sharing web links now ([#1515][60]) ([`55edef7`][61])
- **`content-explorer`:** `MDVGridView` import fixes ([#1333][62]) ([`9740342`][63])
- **`content-explorer`:** rows no longer stuck after closing modal ([#1245][64]) ([`d7f53ff`][65])
- **`content-preview`:** remove deeplink path upon navigation ([#1665][66]) ([`84b4ea4`][67])
- **`content-uploader`:** Disable cancel button when 100% is reached ([#1511][68]) ([`a6de1b0`][69])
- **`content-uploader`:** Fix cancelling task triggers the others to start ([#1653][70]) ([`f35b2ea`][71])
- **`content-uploader`:** Fix duplicate files upload at the same time ([#1652][72]) ([`6faed59`][73])
- **`datetime`:** add missing support for times w/o ms ([#1191][74]) ([`19f3703`][75])
- **`deps`:** downgrade `axios` peer dependency ([#1329][76]) ([`d1a1bd9`][77])
- **`examples`:** change colors to the current box design language ([#1281][78]) ([`94869ad`][79])
- **`explorer`:** fetch shared link on demand ([#1479][80]) ([`2d29628`][81])
- **`feed`:** inline error for deeplinking feed items ([#1655][82]) ([`e2be3bd`][83])
- **`feed`:** Task assignee names not truncating IE11 ([#1694][84]) ([`a20e610`][85])
- **`floatfield`:** always allow trailing `.` for float field ([#1178][86]) ([`61d4e3d`][87])
- **`footer-indicator`:** move tooltip to appear above footer indicator ([`bf7782c`][88])
- **`header-flyout`:** Constraint to window to fix IE11 scroll bug ([#1310][89]) ([`f8bb323`][90])
- **`i18n`:** change "accepted" copy to "approved" ([#1214][91]) ([`674bf45`][92])
- **`i18n`:** Fix bug where messages starting with HTML cause an exception ([#1490][93]) ([`73d95b9`][94])
- **`i18n`:** `Param` and `Plural` should not be in the `styleguide.conf` ([#1197][95]) ([`2d34ad4`][96])
- **`i18n`:** use plural format for task assignee message ([#1345][97]) ([`10d6b76`][98])
- **`icons`:** fill in background for globe icon ([#1226][99]) ([`c91d320`][100])
- **`icons`:** fix collections icons for left navigation usability ([#1238][101]) ([`9e91115`][102])
- **`icons`:** give collections Icons SUIT classNames ([#1242][103]) ([`3b62245`][104])
- **`icons`:** update retry and public icon ([#1297][105]) ([`bfa075a`][106])
- **`icons`:** update trash, move/copy, add, download, upload, collections ([#1702][107]) ([`b126ecb`][108])
- **`icons`:** updating add icon style and adding hidden eye icon ([#1266][109]) ([`b47e22e`][110])
- **`iconworkflow`:** make background rectangle same as `viewBox` ([#1241][111]) ([`9e07f2e`][112])
- **`inlinenotice`:** update to box design standard ([#1576][113]) ([`a814657`][114])
- **`item-properties`:** Add `aria-labelledby` to description textarea ([#1229][115]) ([`05d86b1`][116])
- **`left-sidebar`:** add key to drop wrapper for links ([#1299][117]) ([`9c78135`][118])
- **`left-sidebar`:** Adjust margins for loading indicator ([#1545][119]) ([`6ba65c6`][120])
- **`left-sidebar`:** hide toggle icon on medium screen size ([#1344][121]) ([`716fe01`][122])
- **`media`:** increase specificity of Media-button CSS to avoid `.btn-plain` ([#1463][123]) ([`943638d`][124])
- **`mention-selector`:** Fix `hasReceivedFirstInteraction` logic ([#1434][125]) ([`afd94fa`][126])
- **`menu`:** Fix padding for menu item buttons ([#1446][127]) ([`5baeb5b`][128])
- **`menu`:** Menu should only autofocus on mount if visible ([#1175][129]) ([`2ba8a1d`][130])
- **`metadata`:** Show autocomplete for metadata input fields ([#1629][131]) ([`85995cd`][132])
- **`metadata`:** template dropdown scrollbar issue in safari ([#1192][133]) ([`1dc0d99`][134])
- **`metadata-sidebar`:** bind `onApiError` properly ([#1713][135]) ([`50b72f2`][136])
- **`modal`:** move close button after header for better screen reader `a11y` ([#1684][137]) ([`29a1220`][138])
- **`nav-sidebar`:** reduce size of toggle button to fix focus outline ([#1305][139]) ([`9a14ae7`][140])
- **`notifications`:** add accessibility attributes ([#1682][141]) ([`21af355`][142])
- **`open-with`:** better error messaging ([#1489][143]) ([`d3d98a5`][144])
- **`pill-selector`:** Allow copy pasting line separated values ([#1350][145]) ([`7933932`][146])
- **`pill-selector`:** expose `onInput` to catch input ([#1450][147]) ([`48d22a4`][148])
- **`pill-selector`:** UX tweaks ([#1315][149]) ([`e4fdf58`][150])
- **`pill-selector-dropdown`:** disable pills when `PillSelector` is turned off ([#1357][151]) ([`2bf496e`][152])
- **`pill-selector-dropdown`:** fix aria attributes ([#1681][153]) ([`1e0d1ab`][154])
- **`pill-selector-dropdown`:** Fix for pills getting removed on click ([#1367][155]) ([`d67fcfe`][156])
- **`pills`:** Fix vertical centering of pill selector input text ([#1364][157]) ([`d47c69c`][158])
- **`pillselectordropdown`:** support paste from context menu ([#1597][159]) ([`d16b0da`][160])
- **`preview`:** Clean up preview header styles and remove extra borders ([#1484][161]) ([`6c1a363`][162])
- **`quick-search`:** update border radius to follow BDL ([#1439][163]) ([`936f5e0`][164])
- **`radio-group`:** fix radio group by passing the value prop ([#1452][165]) ([`c0c05be`][166])
- **`radio-group`:** pass rest of props to radio input ([#1448][167]) ([`85ca38a`][168])
- **`scripts`:** Build and update all files prior to push ([#1415][169]) ([`e432c47`][170])
- **`scroll-if-needed`:** fix scroll-if-needed on selector dropdown ([#1280][171]) ([`3776dc8`][172])
- **`search`:** Remove rounded corners for `ContentExplorer` search ([#1478][173]) ([`7d9100b`][174])
- **`security`:** Upgrade `axios` to address security vulnerability ([#1228][175]) ([`db26743`][176])
- **`security-badge`:** Fixing `SecurityBadge` flow type ([#1664][177]) ([`ae23f01`][178])
- **`select-field`:** Enable arrow scrolling in select fields ([#1671][179]) ([`9f040f2`][180])
- **`sidebar`:** Add flex-shrink 0 to comment input ([#1359][181]) ([`cd840f4`][182])
- **`sidebar`:** add markup and accessibility to tab list ([#1563][183]) ([`f90a0d7`][184])
- **`sidebar`:** Fix deeplinking for version history sidebar ([#1649][185]) ([`e85e57a`][186])
- **`sidebar`:** Fix sidebar not auto-opening for large viewports ([#1508][187]) ([`dac39ee`][188])
- **`sidebar`:** Limit maximum height of additional tabs in sidebar navigation ([#1557][189]) ([`e7f953e`][190])
- **`sidebar`:** More semantically accessible tabs ([#1236][191]) ([`eb398fc`][192])
- **`sidebar`:** padding on item properties versions ([#1263][193]) ([`853e106`][194])
- **`sidebar`:** removing unwanted parenthesis in empty state ([#1645][195]) ([`824f390`][196])
- **`sidebar`:** Set contaminated state if the sidebar was forced open ([#1366][197]) ([`e71409c`][198])
- **`sidebar`:** Update `flexbox` for Activity Feed Container ([#1341][199]) ([`c5e07b1`][200])
- **`subheader`:** Add logic around grid view ([#1659][201]) ([`7a53050`][202])
- **`task`:** string for task completed rule icon ([#1573][203]) ([`79c3f00`][204])
- **`task-form`:** clear task assignee autocomplete on form submit ([#1605][205]) ([`63efa10`][206])
- **`task-form`:** disallow text input in date picker ([#1540][207]) ([`af49827`][208])
- **`task-form`:** don't disable task form submit button ([#1323][209]) ([`9a4137b`][210])
- **`task-form`:** Update error message when leaving not valued but required field ([#1353][211]) ([`be10f37`][212])
- **`task-new`:** alignment fixes, CSS refactor ([#1312][213]) ([`411c3e9`][214])
- **`task-new`:** fix placement of task status checkmark ([#1321][215]) ([`9f554ff`][216])
- **`task-new`:** Minor visual tweak to add tasks menu ([#1334][217]) ([`95a3c73`][218])
- **`task-new`:** Minor visual tweaks to add tasks menu ([#1328][219]) ([`cf1acf1`][220])
- **`tasks`:** add missing resin component ([#1513][221]) ([`00e9707`][222])
- **`tasks`:** assignee input field interactions ([#1621][223]) ([`dc33967`][224])
- **`tasks`:** comments menu does not appear on activity sidebar in preview ([#1250][225]) ([`be7bc2f`][226])
- **`tasks`:** fix task issues ([#1189][227]) ([`630fd38`][228])
- **`tasks`:** modal closing on resize ([#1603][229]) ([`2cbe014`][230])
- **`tasks`:** prevent resize of assignee avatar ([#1332][231]) ([`4e760f7`][232])
- **`tasks`:** Update copy for task type subtext ([#1627][233]) ([`c788770`][234])
- **`tasks_new`:** add missing resin component ([#1295][235]) ([`dbbf598`][236])
- **`tasks-new`:** Reset selector contacts on modal close ([#1301][237]) ([`f387a9b`][238])
- **`tasks-new`:** show "a prior collaborator" for deleted users ([#1313][239]) ([`c61fa77`][240])
- **`tasks-new`:** task actions are not updating ([#1302][241]) ([`2f88e96`][242])
- **`tasks-new`:** update documents and strings ([#1317][243]) ([`6560b23`][244])
- **`template-dropdown`:** add `onMenuToggle` handler to `TemplateDropdown` ([#1318][245]) ([`2cdfcc4`][246])
- **`text-input`:** looses focus when tooltip toggles ([#1185][247]) ([`8a4c294`][248])
- **`tooltip`:** color contrast and layout fixes ([#1692][249]) ([`1c11770`][250])
- **`unfied-share-modal`:** shared link access levels ([#1647][251]) ([`732a1dd`][252])
- **`unified-share-modal`:** add constraints to modal menus ([#1196][253]) ([`6501413`][254])
- **`unified-share-modal`:** classification in title ([#1453][255]) ([`4ce5a06`][256])
- **`uploader`:** `MultiputUploads` stop hanging in IE11 ([#1283][257]) ([`c49e52f`][258])
- **`uploads`:** cancelling in-progress tasks does not start pending ones ([#1570][259]) ([`dbf115c`][260])
- **`uploads`:** Fix hanging on resuming uploads ([#1695][261]) ([`3da93c8`][262])
- **`uploads`:** Remove logic gate ([#1646][263]) ([`38d10e4`][264])
- **`uploads`:** reset item error after retry ([#1600][265]) ([`0218f10`][266])
- **`uploads`:** resin for canceling uploads ([#1397][267]) ([`16311dc`][268])
- **`user-link`:** allow wrapping of long user names ([#1602][269]) ([`bff49bb`][270])
- **`usm`:** "Link Settings" should not line wrap ([#1674][271]) ([`938c483`][272])
- **`usm`:** Add `itemTypedId` to `onPillCreate` ([#1320][273]) ([`c4149ea`][274])
- **`usm`:** Do not pass `itemTypedID` to `getContactsByEmail` ([#1354][275]) ([`e60b020`][276])
- **`versions`:** Disable prior version preview for watermarked files ([#1405][277]) ([`9a527f2`][278])
- **`versions`:** Display date and name for most relevant version action ([#1568][279]) ([`b68eccd`][280])
- **`versions`:** Fix infinite load due to destroyed API factory ([#1347][281]) ([`95949e2`][282])
- **`versions`:** Fix version groups collapsing prior months/years ([#1365][283]) ([`65d23b9`][284])
- **`versions`:** Improve experience for restored vs promoted versions ([#1631][285]) ([`25d0741`][286])
- **`versions`:** Relax restrictions for watermarked files ([#1342][287]) ([`2487b42`][288])
- **`versions`:** Reload the page when a version is promoted (temporary) ([#1395][289]) ([`de7e74e`][290])
- **`versions`:** Restrict actions and preview for watermarked files ([#1339][291]) ([`fcb390d`][292])
- **`versions`:** Restrict preview for watermarked files ([#1351][293]) ([`93b95c4`][294])
- **`versions`:** Retrieve and use file version permissions for actions ([#1193][295]) ([`9d7567e`][296])
- **`versions`:** Scroll version button into view if selected ([#1276][297]) ([`e0cd7e3`][298])
- **`versions`:** Show server errors without hiding version history ([#1275][299]) ([`ef3b2fd`][300])
- **`versions`:** Update version actions to avoid unnecessary buttons ([#1556][301]) ([`bc9672e`][302])
- **`versions`:** Update version sidebar to use latest retention schema ([#1662][303]) ([`fa66232`][304])
- Adding `Accept-Language` header for `Xhr.js` ([#1368][305]) ([`361d73f`][306])
- show tooltip on hover long text ([#1230][307]) ([`c41dd47`][308])
- slight adjust in check mark alignment ([#1678][309]) ([`cfd055b`][310])
- various form accessibility improvements ([#1688][311]) ([`150cbbe`][312])
- **`versions`:** Update versions restore call to match latest contract ([#1198][313]) ([`2e590d3`][314])

### chore

- **`deps`:** update `react` peer / development dependency ([#1606][315]) ([`1163db5`][316])
- **`formik`:** upgrade to V2 ([#1698][317]) ([`6b9ded9`][318])

### Code Refactoring

- Upgrade `react` and `react-dom` to `v16.8` and refactor Avatar ([#1171][319]) ([`7dd1bdf`][320]), closes [#761][321]
- **`deps`:** Upgrade peer dependencies to latest working versions ([#1180][322]) ([`48d711e`][323])

### Features

- **`activity-feed`:** add support for deeplinking tasks and comments ([#1623][324]) ([`52ecdcb`][325])
- **`additional-tabs`:** gray out turned off apps ([#1503][326]) ([`132782d`][327])
- **`avatarinitials`:** move `backgroundColor` into SCSS ([#1585][328]) ([`781a246`][329])
- **`bdl`:** Add script for SCSS `bdl` scoping ([#1546][330]) ([`9bdc1e6`][331])
- **`classification`:** change icon for classify/classification action ([#1520][332]) ([`8eb68b3`][333])
- **`classification`:** new badge and layout ([#1231][334]) ([`2336262`][335])
- **`classification`:** new section within the details sidebar ([#1237][336]) ([`90bf2f3`][337])
- **`classification`:** remove classify from breadcrumbs ([#1549][338]) ([`adae46d`][339])
- **`classification`:** updated UI for classification ([#1566][340]) ([`52e2b17`][341])
- **`comments`:** implement comment edit ([#1468][342]) ([`33dd037`][343])
- **`content-explorer`:** Add ability to sort contents by size column ([#1239][344]) ([`b29b6bf`][345])
- **`content-explorer`:** Add toggle button for grid view ([#1349][346]) ([`97a1d44`][347])
- **`content-explorer`:** Fetch thumbnails for search and recents ([#1475][348]) ([`1035afb`][349])
- **`content-explorer`:** grid view slider ([#1482][350]) ([`ef4a7ee`][351])
- **`content-explorer`:** grid view styling ([#1464][352]) ([`f32b8ca`][353]), closes [#1409][354]
- **`content-explorer`:** import files from `MDVGridView` ([#1294][355]) ([`a2e5bd9`][356])
- **`content-explorer`:** local storage for view mode preference ([#1476][357]) ([`803b0a0`][358])
- **`content-explorer`:** Remove feature flip for gallery view ([#1571][359]) ([`3e948b8`][360])
- **`content-explorer`:** show cards with thumbnails ([#1409][354]) ([`7bbc2e8`][361])
- **`content-explorer`:** Show grid with icons ([#1372][362]) ([`64a099e`][363])
- **`content-picker`:** use radios for single select ([#1685][364]) ([`acc3395`][365])
- **`content-sidebar`:** add task modal mode for edit/create ([#1257][366]) ([`0bdfc96`][367])
- **`content-sidebar`:** programmatic refresh for sidebar panels ([#1561][368]) ([`2adbaef`][369])
- **`dropdown-menu`:** allow `esc` to propagate if dropdown is closed ([#1686][370]) ([`3d4d59e`][371])
- **`features`:** Add background color on hover in metadata list view ([#1618][372]) ([`635808e`][373])
- **`features`:** Add new feature metadata-based-view ([#1519][374]) ([`faef59e`][375])
- **`features`:** Show preview upon clicking the item name ([#1620][376]) ([`74e46b2`][377])
- **`ghost`:** create ghost state helper component ([#1498][378]) ([`73aadae`][379])
- **`i18n`:** Implement the new `FormattedCompMessage` component ([#976][380]) ([`31fdf12`][381])
- **`icon`:** create add users empty state icon ([#1638][382]) ([`33dfacb`][383])
- **`icon`:** create login and storage icon ([#1708][384]) ([`0115fb6`][385])
- **`icons`:** Add `CollectionItemLink` icon ([#1550][386]) ([`1558d36`][387])
- **`icons`:** add collections icons for bolt and star ([#1338][388]) ([`8e9d503`][389])
- **`icons`:** add collections star filled icon ([#1547][390]) ([`55a182e`][391])
- **`icons`:** add `IconFolderTree` icon ([#1696][392]) ([`add261b`][393])
- **`icons`:** add icons for collections ([#1224][394]) ([`a01ea82`][395])
- **`icons`:** add new shield Icon ([#1216][396]) ([`753d0e2`][397])
- **`icons`:** Add sandbox and puzzle piece icons ([#1370][398]) ([`67b6db4`][399])
- **`icons`:** add workflow icon ([#1225][400]) ([`9d73144`][401])
- **`icons`:** creating task empty state icon ([#1583][402]) ([`cac4023`][403])
- **`icons`:** new lightning icon ([#1183][404]) ([`ebccf18`][405])
- **`icons`:** update `IconShare` and `IconCollaboration` to new `32x32` icons ([#1232][406]) ([`4f4e31b`][407])
- **`icons`:** update to new globe icon and add new globe `tinycon` ([#1217][408]) ([`3dded61`][409])
- **`inline-edit`:** user should see instance field input ([#1172][410]) ([`1f90dde`][411])
- **`left-nav`:** add Box Relay icon ([#1207][412]) ([`29f07a6`][413]), closes [#1206][414]
- **`left-sidebar`:** `LeftSidebar` supports custom `navLinkRenderer` ([#1510][415]) ([`f9705a2`][416])
- **`leftsidebar`:** Show drop zones only on hover ([#1548][417]) ([`a45c998`][418])
- **`media`:** create media object component ([#1383][419]) ([`5140c13`][420])
- **`metadata`:** Enable metadata template filtering ([#1598][421]) ([`7b341f7`][422])
- **`metadata-views`:** Handle edit and cancel edit actions ([#1703][423]) ([`d55f84a`][424])
- **`metadata-views`:** Show edit icon in metadata view ([#1667][425]) ([`1b8a29d`][426])
- **`metadata-views`:** Update metadata columns prop type in metadata view ([#1666][427]) ([`cbf96ef`][428])
- **`new-tasks`:** Fetch task collaborators ([#1286][429]) ([`fb84aee`][430])
- **`office-online`:** adding excel spreadsheet icon for `xlsb` files ([`ee8569f`][431])
- **`pill-selector`:** `formik` wrapper for pill selector ([#1194][432]) ([`c75a7bb`][433])
- **`pill-selector`:** update flow type for downstream issue ([#1210][434]) ([`69f25e8`][435])
- **`preview`:** Add support for custom logo URL in preview header ([#1714][436]) ([`d37b9ec`][437])
- **`preview`:** better message when blocked by a policy ([#1346][438]) ([`a6cde28`][439])
- **`preview`:** new icon for security blocking ([#1396][440]) ([`9355631`][441])
- **`preview`:** Upgrade default version of box-content-preview to 2.16.0 ([#1562][442]) ([`7617fd2`][443])
- **`radio`:** `formik` wrapper for `RadioButton` ([#1204][444]) ([`0b51080`][445])
- **`react`:** Add text for max version history ([#1630][446]) ([`705e71f`][447])
- **`scroll`:** upgrade scroll in to view if needed ([#1200][448]) ([`1532617`][449])
- **`security`:** adding `SecurityBadge` component ([#1663][450]) ([`3d210bb`][451])
- **`select`:** make caret rotate up/down on open/close respectively ([#1218][452]) ([`9627e2b`][453])
- **`select-field`:** Allow rendering custom options ([#1516][454]) ([`53fe270`][455])
- **`shared-link-settings-modal`:** Disable direct downloads if classified ([#1500][456]) ([`2ede02a`][457])
- **`sidebar`:** Add support for toggling the sidebar externally ([#1293][458]) ([`04468fc`][459])
- **`sidebar`:** programmatic refresh ([#1472][460]) ([`c7a19e7`][461])
- **`sidebar`:** Show retention policy info in sidebar ([#1648][462]) ([`cb9e714`][463])
- **`sidebar`:** Toggle button ([#1268][464]) ([`e2ad4ab`][465])
- **`task-new`:** add ability to add/remove assignees ([#1284][466]) ([`8e87280`][467])
- **`task-new`:** Add support for edit modal ([#1261][468]) ([`d13839c`][469])
- **`tasks`:** add any task icon + tooltip ([#1491][470]) ([`cf1c5b7`][471])
- **`tasks`:** add any/all checkbox ([#1487][472]) ([`21271e3`][473])
- **`tasks`:** add in comment modification option for tasks ([#1247][474]) ([`b5775de`][475])
- **`tasks`:** Add new task edit API methods ([#1260][476]) ([`e05d5a7`][477])
- **`tasks`:** handle new error message with title and description ([#1564][478]) ([`7d691df`][479])
- **`tasks`:** strings for any completion rule ([#1471][480]) ([`cdaf285`][481])
- **`tasks`:** Update task status to not use an icon ([#1169][482]) ([`b4b8bf0`][483])
- **`tasks-new`:** add assignee list ([#1287][484]) ([`04b7458`][485])
- **`tasks-new`:** Edit task message and due date in `TaskForm` ([#1269][486]) ([`7f63d97`][487])
- **`tasks-new`:** remove beta label functionality from modal header ([#1314][488]) ([`dca414b`][489])
- **`tasks-new`:** tasks resin tracking for edit modal ([#1327][490]) ([`5b5b354`][491])
- **`typography`:** update body typography ([#1442][492]) ([`375c336`][493]), closes [#1439][163] [#1441][494]
- **`unified-share-modal`:** add external collaboration warning message ([#1220][495]) ([`064bd2f`][496])
- **`unified-share-modal`:** add property to limit the number of contacts ([#1304][497]) ([`2af11b1`][498])
- **`unified-share-modal`:** invite section tooltip changes ([#1499][499]) ([`d7730c7`][500]), closes [#1498][378]
- **`unified-share-modal`:** invite section tooltips changes ([#1504][501]) ([`b9486bc`][502])
- **`unified-share-modal`:** show classification for the file ([#1425][503]) ([`e3c7277`][504])
- **`unified-share-modal`:** Show external collaborators indicator ([#1256][505]) ([`613a438`][506])
- **`uploads`:** add resin targets for uploads manager ([#1384][507]) ([`29d2af5`][508])
- **`uploads`:** resume a single file upload ([#1552][509]) ([`093f889`][510])
- **`uploads`:** resume multiple unsuccessful uploads ([#1553][511]) ([`60406b9`][512])
- **`uploads`:** uploads manager contents for resumable uploads ([#1555][513]) ([`8380bc7`][514])
- **`usm`:** expand Invite Section based on `initiallySelectedContacts` ([#1470][515]) ([`b756a22`][516])
- **`validators`:** `host`, `ipv4` and domain name validators ([#1212][517]) ([`f653dac`][518])
- **`versions`:** Add client-side error messages for version actions ([#1404][519]) ([`8ead57c`][520])
- **`versions`:** Add resin tracking for sidebar back button ([#1309][521]) ([`901c23d`][522])
- **`versions`:** Add resin tracking to all version history actions ([#1285][523]) ([`a4942d3`][524])
- **`versions`:** Add support for deep linking to `ContentSidebar` ([#1203][525]) ([`78ab636`][526])
- **`versions`:** Add support for file version restore actions ([#1184][527]) ([`d5396bd`][528])
- **`versions`:** Add support for version action callbacks ([#1417][529]) ([`099a09e`][530])
- **`versions`:** Add support for version limits to sidebar ([#1316][531]) ([`bec5699`][532])
- **`versions`:** Add version group headers based on relative date ([#1330][533]) ([`51d5633`][534])
- add `metadata_queries` API layer ([#1481][535]) ([`2f6ef29`][536])
- add prop for resumable uploads feature flip ([#1447][537]) ([`3f19a3b`][538])
- Adding prop `initiallySelectedContacts` to `UnifiedShareModal` ([#1424][539]) ([`8966016`][540])
- default task icons to `$bdl-box-blue` ([#1509][541]) ([`dbc7103`][542])
- increase fetched file collaborators for tasks/comments ([#1483][543]) ([`05f65f4`][544])

### Performance Improvements

- **`sidebar`:** Lazy load sidebar panels without 500 millisecond delay ([#1223][545]) ([`bb216b4`][546])
- **`sidebar`:** merge response to avoid redundant API calls ([#1617][547]) ([`69ad154`][548])
- **`version`:** Remove version history modal ([#1633][549]) ([`eb0aac6`][550])

### Reverts

- **`avatar`:** Move Avatar back to non-hook implementation ([#1186][551]) ([`69f329b`][552])

### BREAKING CHANGES

- **`formik`:** `inputProps` dropped from Toggle component. `formik` has been upgraded to V2. [Upgrade guide][553].

- Peer dependency React requirement have been bumped higher

- refactor(avatar): Refactor Avatar to use hooks

- fix(test): Fixed various test issues, downgraded enzyme back to 3.8.0

- fix(avatar): remove redundant check

- **`classification`:** Also changes `advisoryMessage` prop to definition to keep terminology consistent

- feat(classification): Increasing classification icon stroke width

- **`typography`:** The color of the body will be default to [#222][554] which
    is the `bdl-gray`

- feat(typography): update letter spacing for common typography

- **`typography`:** The letter spacing for common typography will now
    be `px` instead of `em`. Please check scaling.

- **`classification`:** The API for providing classification data to the sidebar has changed to `{ advisoryMessage, name }`

- feat: design changes

- feat: classification badge changes

- fix: PR feedback

- fix: snapshot

- **`icons`:** Replacing `IconShield` with a new Icon that represent
    Shield. It follows the the 32 x 32 guideline. Please override any style if needed.

- **`deps`:** update react-\* peer dependencies to 16.9.0

Updating to React 16.9 includes deprecation warnings for lifecycle methods.
This affects one of our dependencies, react-tether; we have no immediate
plans to silence the warnings.

- **`security`:** Upgrade `axios` peer dependency to address [https://nvd.nist.gov/vuln/detail/CVE-2019-10742][555]

- **`icons`:** update to new globe icon which uses `20x20` by default instead of `16x16` and introduced new globe `tinycon`

- **`validators`:** Adds peer dependency of [**`@hapi/address`**][556] used for email and domain validation

- fix: added uncommon `tlds` for email checking

- fix: adding some bad `tlds`

- **`scroll`:** Major version upgrade for scroll-into-view-if-needed.

- **`i18n`:** Added additional peer dependencies to support `i18n` `FormattedCompMessage` component

Implement a new component called `FormattedCompMessage`. This translates strings which can contain HTML or other JSX components in a safe way by hiding the contents of those tags from the translators or hackers and substituting the contents from source strings into the translations. Example:

```javascript
<FormattedCompMessage id="mystring" description="translator's comment">
   You can <span class="foo">delete</span> <Link to={url}>these files</Link>, or just
  <span id="x" class="unshare">unshare them</span>.
</FormattedCompMessage>
```

`FormattedCompMessage` is built as a layer on top of `react-intl`, and uses it to do the actual translations. Its function is to transform a tree of React elements into a coded string, get that string translated with `react-intl`, transform the coded translated string back into a tree of React elements, and finally substitute the hidden React elements from the source tree back into the translation tree in the right locations.

The component depends on the new babel plugin `babel-plugin-box-i18n` to extract the coded texts from the source code and place them into the same type of JSON files that the `react-intl` babel plugin produces. In this way, the translation process downstream from there works with no further changes. The translations appear in the properties files some time later and `react-intl` picks them up as normal. The `FormattedCompMessage` can retrieve these translations using `react-intl`. The `babel-pluging-box-i18n` plugin also enforces Box's policies, such as the requirement that all strings have a unique id and a description for the translators.

The `FormattedCompMessage` component can support plurals in a React-idiomatic way by embedding `<Plural>` components in the body of the `FormattedCompMessage`:

```javascript
<FormattedCompMessage id="mystring" description="translator's comment" count={count}>
  <Plural category="one">This is the <strong>singular</strong> string.</Plural>
  <Plural category="other">This is the <strong>plural</strong> string.</Plural>
</FormattedCompMessage>
```

Note that HTML and subcomponents are allowed in the plural string as well.

The `FormattedCompMessage` component supports replacement parameters in a React-idiomatic way by embedding `<Param>` components in the body of the `FormattedCompMessage`:

```javascript
<FormattedCompMessage id="mystring" description="translator's comment">
  User <Param value={user.name} description="The user's full name"/> has already deleted this file.
</FormattedCompMessage>
```

Note that the `Param` tags can be used inside of `Plural` tags as well, as they are normal components.

- **`deps`:** Peer dependencies have been updated and will require downstream applications to update as well to avoid NPM warnings.
- **`icons`:** Old `IconShare` defaulted to `26x26` and old `IconCollaboration` defaulted to `27x26` but new icons are defaulted to `32x32`.

repository: box/box-developer-changelog

repo_name: box/box-developer-changelog


text:
# Elections

The Istio Steering Committee is composed of Contribution Seats and Community Seats. Each year we hold an election to appoint four community members to the Committee.

* [2022 Election](./2022)
* [2021 Election](./2021)
* [2020 Election](./2020)

repository: istio/community

branch_name: refs/heads/master

extension: md

gha_language: Go

license_type: permissive

repo_name: istio/community


text:
starter-snake-java
===

[![Build Status](https://travis-ci.org/battlesnakeio/starter-snake-java.svg?branch=master)](https://travis-ci.org/battlesnakeio/starter-snake-java)

A simple [Battlesnake AI](http://battlesnake.io) written in Java.

Visit [https://docs.battlesnake.io](https://docs.battlesnake.io)
for API documentation and instructions for running your AI.

This snake is built using a lightweight http server Spark framework - [http://sparkjava.com/documentation](http://sparkjava.com/documentation)

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

Requirements
---

- Install JDK 8 [http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- Install Maven [https://maven.apache.org/install.html](https://maven.apache.org/install.html)

Running the snake
---

```bash
mvn compile exec:exec
```

Snake will start up on port 8080

This snake has also been run from within Intellij successfully.

Run the tests
---

```bash
mvn compile test
```

Executable Jar
---

```bash
mvn compile package
```

Will result in a jar file in `target` called `starter-snake-java.jar`

You can then run this file with the command

```bash
java -jar target/starter-snake-java.jar
```

Deploying to Heroku
---

1) Create a new Heroku app:
```
heroku create [APP_NAME]
```

2) Deploy code to Heroku servers:
```
git push heroku master
```

3) Open Heroku app in browser:
```
heroku open
```
or visit [http://APP_NAME.herokuapp.com](http://APP_NAME.herokuapp.com).

4) View server logs with the `heroku logs` command:
```
heroku logs --tail
```

Improvement
---
Defensive:
----
1) (Easy) Head-2-Head: when next step will reach a food, if head-2-head happen in the next step, avoid it if
we are equal or shorter.

2) (Hard) Avoid trap ourselves.

Aggressive:
----
1. (Middle) Eat others food: find the nearest food of each snake and try to take those closer to
us than the any others. (Make sure we can eat the food earlier than others);
2. (Middle) Enhancement of the one above, if the other snake moving to the same food and
is shorter, try to eat the food at the same time so that we can kill it.
3. (Hard) Trap others, once we grow to some length (22?), start to move in some pattern to lock some area
or try to trap other snakes.

license: MIT

repository: dmoneyUK/starter-snake-java

gha_language: Java

gha_license_id: MIT

repo_name: dmoneyUK/starter-snake-java


text:
# The 2020 Review
A repository I made for my Computer Science Project, The 2020 Review, a "website" aimed to review disasters and miracles of 2020.

# Public Access
Though this is an individual project, I would appreciate anyone who would submit and add some new NEWS to the disasters and miracles section of my project. As much as possible, only change the text inside disasterData.js and miracleData.js, other files are meant to only be changeable by me.

# Credits
Author, Programmer, Artist: SeanRVA

### Note to my Teacher
The registration form feature starts when you press the "Disable Account" button on the settings html.

branch_name: refs/heads/main


text:
---
templateKey: blog-post
title: "Start your self-hosted blog in 60 minutes (Part 2) "
date: 2021-08-18T06:21:34.191Z
description: How to setup Netify-CMS for our self-hosted blog base on
  gatsby-starter-netlify-cms template
featuredpost: true
online: true
featuredimage: /img/netlify-cms-blog-featured-image-02.png
tags:
  - Netlify-CMS
  - Gatsby
  - Blog
---
![](/img/netlify-cms-blog-featured-image-02.png)

In the last [article](https://andy.povalab.com/blog/2021-08-19-start-your-self-hosted-blog-in-30-minutes/), we have gone though to bring up the blog site on Netlify. In this article, we will talk about how to config Netlify-CMS to manage the blog post like create, update, upload image etc.

## Step 1 - Make sure point to the right branch

The idea of Netlify-CMS is to check-in all updates eg. contents, images to your site's git repository. Every commit will eventually trigger Netlify to build and deploy. Hence telling Netlify-CMS pointing to correct git branch is critical.

1. Go to your GitHub account and check the branch name of your site e.g. by default it should be master
2.  Enter your email address and you will receive invitation email shortly. Complete the registration.

![](/img/netlify_cms_step1.jpg)

Click **"Settings and usage"**

![](/img/netlify_cms_step3.jpg)

Then scroll down to **Services/Git Gateway** click **"Enable Git Gateway"**

![](/img/netlify_cms_step4.jpg)

## Step 3 - Login Netlify CMS

![](/img/netlify_cms_step2.jpg)

Now you are ready to login to Netify-CMS and start manage your content at

* https://***yournetlifydomain***/admin
* in my case it is *https://adoring-franklin-585280.netlify.app/admin*

After login success, boom here it is and you are start managing your content now.

![](/img/netlify_cms_step5.jpg)

## Summary

In this article, we have gone though how to setup/connect Netlify CMS to your blog site. My experience so far is quite simple and quick to setup. Most importantly is the whole setup is **FREE.**

One comment using Netlify-CMS is remember to "Publish" even if it's a working version and there's no "save" function. I have been failed to "Publish" this article once due to JWT expired and I have to rewrite it; so remember to "Publish" frequently so you won't step into this "hole"

Thanks for reading. Please drop me an email at<EMAIL_ADDRESS>for any comment. I am very happy to hear any feedback from you.


text:
# CallKeep example

## How to install it

```
# Install dependancies
yarn install

cd ios
pod install
```

## How to use it

```
# Start metro bundler
yarn start

# Start the application (in another term)
yarn android # or yarn ios
```

## How this example was setted up

```sh
expo init CallKeepDemo
expo eject
yarn add react-native-callkeep
./node_modules/.bin/react-native link react-native-callkeep
```

license: ISC

gha_license_id: ISC


text:
# Module 8: Deploying Services

> Wherever you see a path to file starting at [repository root], replace it with the absolute path to the directory in which the 20487 repository resides.
> e.g. - you cloned or extracted the 20487 repository to C:\Users\John Doe\Downloads\20487, then the following path: [repository root]\AllFiles\20487C\Mod06 will become C:\Users\John Doe\Downloads\20487\AllFiles\20487C\Mod06

# Lab: Deploying Services

### Exercise 1: Deploying an Updated Service to Azure

#### Task 1: Add the new weather updates service to the ASP.NET Web API project

1. On the **Start** menu, search for **Command Prompt**, right click it and click **Run as Administrator**.
2. In the **User Account Control** modal, click **Yes**.
3. Go to **[repository root]\AllFiles\20487C\Mod08\LabFiles\Setup**
4. Run the following command:
```batch
ps createAzureServices.ps1
```
5. Follow the on-screen instructions.
6. Wait for the deployment to complete successfully, the web.config files for both the Companion and Server solutions should be already in place. Write down the name of the Azure App Service that was created.
7. Exit the command prompt.
5. On the **Start** menu, search for **Visual Studio 2017** and click the **Visual Studio 2017** search result.
6. On the **File** menu, point to **Open**, and then click **Project/Solution**.
7. Type **[repository root]\AllFiles\20487C\Mod08\LabFiles\begin\BlueYonder.Server\BlueYonder.Companion.sln** in the **File name** box, and then click **Open**.
8. In Solution Explorer, right-click the **BlueYonder.Companion.Host** project, and then click **Publish**.
9. In the **Publish** window, select **Microsoft Azure App Service** and select "**Select existing** and click **Publish**.
10. In the **App Service** modal, expand the **BlueYonder.Lab.08** node
11. Select **blueyonder-companion-08-_yourinitials_** and click **OK**.
10. Wait for the publish operation to finish, a browser should open automatically at the deployed app service.
11. Return to the **Visual Studio 2017** instance.
22. In Solution Explorer, expand **BlueYonder.Companion.Controllers** project, and then double-click **LocationController.cs** to open it.
23. Locate the **GetWeather** method and replace its code with the following code.

  ```cs
		var service = new WeatherService();
        Location location = Locations.GetSingle(locationId);
        return service.GetWeather(location, date);
```
24. To save the file, press Ctrl+S.
25. On the **View** menu, click **Task List**.
26. In **Task List**, select **Comments** from the drop-down list at the top.
27. In **Task List**, double-click the comment **// TODO: Lab 08: Exercise 1: Task 1.5: Add route for the weather updates**, and then verify that the **WebApiConfig.cs** file opens.
28. Add the following code under the comment.

  ```cs
		config.Routes.MapHttpRoute(
           name: "LocationWeatherApi",
           routeTemplate: "locations/{locationId}/weather",
           defaults: new
           {
              controller = "locations",
              action = "GetWeather"
           },
           constraints: new
           {
              httpMethod = new HttpMethodConstraint(HttpMethod.Get)
           }
        );
```
29. To save the file, press Ctrl+S.

#### Task 2: Deploy the updated project to an App Service staging deployment slot.

1. Open a browser and navigate to **http://portal.azure.com**.
2. On the menu blade on the left, click **App Services**.
3. In the **App Services** blade, click **blueyonder-companion-08-_yourinitials_**.
4. Under **Deployment** click **Deployment slots**.
5. Click **Add Slot**.
6. In **Name** enter "**Staging**".
7. Click **OK** and wait until the deployment slot is created.
8. Go back to **Visual Studio 2017**.
9. In Solution Explorer, right-click the **BlueYonder.Companion.Host** project, and then click **Publish**.
10. In the **Publish** window, select **Microsoft Azure App Service** and select "**Select existing** and click **Publish**.
11. In the **App Service** modal, expand the **BlueYonder.Lab.08** node
12. Expand **blueyonder-companion-08-_yourinitials_**.
13. Expand **Deployment Slots**.
14. Select **Staging** and click **OK**.

   >**Note:** You are performing the same procedure as you did in Task 1 of this exercise, with one difference: you are deploying to the **Staging** environment and not to the **Production** environment.

#### Task 3: Test the client app with the production and staging deployments

1. On the **Start** menu, search for **Visual Studio 2017** and click the **Visual Studio 2017** search result.
2. On the **File** menu, point to **Open**, and then click **Project/Solution**.
3. Type **[repository root]\AllFiles\Mod08\LabFiles\begin\BlueYonder.Companion.Client\BlueYonder.Companion.Client.sln** in the **File name** box, and then click **Open**.
4. If you are prompted by a **Developers License** dialog box, click **I Agree**. If you are prompted by a **User Account Control**  dialog box, click **Yes**. Type your email address and a password in the **Windows Security** dialog box and then click **Sign in**. Click **Close** in the **Developers License** dialog box.

   >**Note:** If you do not have valid email address, click **Sign up** and register for the service.
   >Write down these credentials and use them whenever a use of an e-mail account is required.

5. In Solution Explorer, under the **BlueYonder.Companion.Shared** project, double-click **Addresses.cs**.
6. Locate the **BaseUri** property, and replace the **{AppService}** string with the name of the Azure App Service you wrote down at the beginning of this lab.
7. In Solution Explorer, right-click the **BlueYonder.Companion.Client** project, and then click **Set as StartUp Project**.
8. To start the client app without debugging, press Ctrl+F5.
9. If you are prompted to allow the app to run in the background, click **Allow**.
10. Display the app bar by right-clicking or by swiping from the bottom of the screen.
11. Click **Search** , and in the **Search** box on the right side, enter **New**. If you are prompted to allow the app to share your location, click **Allow**.
12. Wait for the app to show a list of flights from Seattle to New York.
13. Click **Purchase this trip**.
14. In the **First Name** box, enter your first name.
15. In the **Last Name** box, enter your last name.
16. In the **Passport** box, type **Aa1234567**.
17. In the **Mobile Phone** box, type **555-5555555**.
18. In the **Home Address** box, type **423 Main St.**.
19. In the **Email Address** box, enter your email address.
20. Click **Purchase**.
21. To close the confirmation message, click **Close**.
22. Verify that the weather forecast does not display the temperature, but displays only the Fahrenheit sign.
23. Close the client app.
24. Go to the Azure portal at http://portal.azure.com.
25. If a page appears, prompting for your email address, enter your email address and click **Continue**. Wait for the sign-in page to appear, enter your email address and password, and then click **Sign In**.

   >**Note:** During the sign-in process, if a page appears prompting you to choose from a list of previously used accounts, select the account you previously used, and then enter your credentials.

26. In the navigation pane, click **App Services**, and in the **App Services** list, click the name of the app service you wrote down at the beginning of this lab.
27. On the app service blade, under **Deployment**, click **Deployment slots**.
28. In the **Deployment Slots** blade, click **Staging**.
29. In the Staging blade, copy the **URL** value.
28. Return to Visual Studio 2017. In Solution Explorer, under the **BlueYonder.Companion.Shared** project, double-click  **Addresses.cs**.
29. Switch the comments between the two **BaseUri get** implementations by placing the production URL in the comment and removing the comment from the staging URL. The resulting code should resemble the following:

  ```cs
		public static string BaseUri
        {
           //get { return "http://{AppService}.azurewebsites.net/"; } // production
           get { return "{StagingAddress}"; } // staging
        }
```
   >**Note: {AppService}** is replaced with the name of the cloud service that was shown at the beginning of the lab.

30. In the **BaseUri** property, select the value **{StagingAddress}**, and then press Ctrl+V to paste the copied staging deployment address over it.
31. To save the file, press Ctrl+S.
32. To start the client app without debugging, press Ctrl+F5.
33. After the app starts, verify that the weather forecast appears for the current trip.
34. Close the client app.

   >**Note:** The staging and the production deployments share their databases, which is why the current trip, which you created with the production deployment, appears when you connect to the staging deployment.

#### Task 4: Perform a VIP Swap by using the Azure portal and retest the client app

1. Return to the browser with the open App Service, and then click **Swap** on the taskbar at the top of the blade.
2. In the **Swap** blade, select **Staging** for source and **Production** for destination.
3. Click **OK** and wait until the Swap is done.
4. Leave the browser open, and return to Visual Studio 2017.
5. If the **Addresses.cs** file is not opened, in Solution Explorer, under the **BlueYonder.Companion.Shared** project, double-click **Addresses.cs**.
6. Locate the two **BaseUri** get implementations (one of them is in the comments), and place the implementation containing the staging URL in the comments.
7. Remove the comment from the implementation that uses the production URL.
8. To save the file, press Ctrl+S.
9. To start the client app without debugging, press Ctrl+F5.
10. After the app starts, verify that the weather forecast appears for the current trip.
11. Close the client app.
12. Return to the browser, move the pointer over **Delete** on the taskbar at the top, in the input box enter **Staging** and then click **Delete**.

   >**Note:** After you ensure that the production deployment is running successully, we recommend that you delete the staging deployment to reduce the compute-hour charges.

   >**Results**: After you complete this exercise, the client app will retrieve weather forecast information from the production deployment in Azure.

### Exercise 2: Exporting and Importing an IIS Deployment Package

#### Task 1: Deploy the Booking and FrequentFlyer web applications to IIS.

1. Open **Visual Studio 2017**
2. Click **File** and then point to **Open** and then click **Project/Solution**.
3. In the **File name** field, enter **[repository root]\AllFiles\20487C\Mod08\LabFiles\begin\BlueYonder.Server\BlueYonder.Server.sln** and click **Open**.

4. In the **Solution Explorer**, right click the **BlueYonder.Server.Booking.WebHost** project and click **Publish**.
5. In the **Publish** page, select **IIS, FTP, etc** and click **Publish**.
6. In the **Publish** modal, enter the following values:
  - Server: **localhost**
  - Site name: **Default Web Site/BlueYonder.Server.Booking.WebHost**
7. Click **Save** and wait for the deployment to finish.
8. In the **Solution Explorer**, right click the **BlueYonder.Server.FrequentFlyer.WebHost** project and click **Publish**.
9. In the **Publish** page, select **IIS, FTP, etc** and click **Publish**.
10. In the **Publish** modal, enter the following values:
  - Server: **localhost**
  - Site name: **Default Web Site/BlueYonder.Server.FrequentFlyer.WebHost**
11. Click **Save** and wait for the deployment to finish.

#### Task 2: Export the web applications containing the WCF booking and frequent flyer services

1. In the **Start** menu, search for **Internet Information Services (IIS) Manager** and click it.

2. In the **Connections** pane, expand the root node.
3. If an **Internet Information Services (IIS) Manager** dialog box appears prompting you to use the Microsoft Web Platform, click **No**.
4. In the **Connection** pane, expand **Sites**, and then click **Default Web Site**.
5. In the **Actions** pane, click **Export Application**.
6. In the **Export Application Package** dialog box, click **Manage Components**.
7. In the **Manage Components** dialog box, select the first line in the grid, click **Remove**, and then click **Yes** to confirm the deletion of the selected entry.
8. Add a line to the grid by using the following settings:

   - Provider Name: **appHostConfig**
   - Path: **Default Web Site/BlueYonder.Server.Booking.WebHost**

9. Add a line to the grid by using the following settings:

  - Provider Name: **appHostConfig**
  - Path: **Default Web Site/BlueYonder.Server.FrequentFlyer.WebHost**

10. Add a line to the grid by using the following settings:

  - Provider Name: **appPoolConfig**
  - Path: **DefaultAppPool**

11. Click **OK** to close the **Manage Components** dialog box.
12. Click **Next** twice, type **[path to user folder]\Downloads\backup.zip** in the **Package path** box, and then click **Next**.
13. Wait for the export to be created, and then click **Finish**.
14. Close the Internet Information Services (IIS) Manager window.

#### Task 3: Delete the web applications and import the deployment package to restore them

1. In the **Start** screen, search for **Internet Information Services (IIS) Manager**  and click it.

2. In the **Connections** pane, expand the root node.
3. If an **Internet Information Services (IIS) Manager** dialog appears prompting you to use the Microsoft Web Platform, click **No**.
4. In the **Connection** pane, expand **Sites**, and then expand **Default Web Site**.
5. Right click **BlueYonder.Server.Booking.WebHost** and click **Remove**.
6. In the **Confirm Remove** modal, click **Yes**.
7. Right click **BlueYonder.Server.FrequentFlyer.WebHost** and click **Remove**.
6. In the **Confirm Remove** modal, click **Yes**.
7. Click **Default Web Site**.
8. In the **Actions** pane, under **Deploy**, click **Import Application**.
9. In the **Import Application Package** dialog box, type **[path to user folder]\Downloads\backup.zip** in the **Package path** box, and then click **Next** 3 times and then click **Finish**.
10. Close IIS Manager, and open a browser.
11. Go to the Azure portal at http://portal.azure.com.
12. If a page appears, prompting for your email address, enter your email address and click **Continue**. Wait for the sign-in page to appear, enter your email address and password, and then click **Sign In**.

   >**Note:** During the sign-in process, if a page appears prompting you to choose from a list of previously used accounts, select the account you previously used, and then enter your credentials.

13. In the navigation pane, click **More Services**, and in the filter field enter **Relays**.
14. Click **Relays** and then click the Relay namespace you wrote down at the beginning of this lab in the right pane. Click the **Relays** tab and verify that that is a listener for the **booking** relay.

   >**Results**: After a "system failure", you've restored the Booking and FrequentFlyer services by redeploying using a backup package, thus they are back online.

©2017 Microsoft Corporation. All rights reserved.

The text in this document is available under the  [Creative Commons Attribution 3.0 License](https://creativecommons.org/licenses/by/3.0/legalcode), additional terms may apply. All other content contained in this document (including, without limitation, trademarks, logos, images, etc.) are  **not**  included within the Creative Commons license grant. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes.

This document is provided "as-is." Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. Some examples are for illustration only and are fictitious. No real association is intended or inferred. Microsoft makes no warranties, express or implied, with respect to the information provided here.


text:
# PEExportGen
A utility tool to create export definitions from a given PE Image.

### Usage

`Usage: PEExportGen path/to/library.dll`

### Output

A exports.h header file will be generated in the input file's directory. This then can be then included in your [C++ DLL project](https://github.com/cihansol/DLLProxyProject).

### TODO

- Support for functions exported only by ordinal with no names

repository: Slluxx/PEExportGen

repo_name: Slluxx/PEExportGen


text:
# npm packages

Folders in this directory are published to npm
in the @bazel/ scoped package.

## Publishing

Run `mirror.sh` to fetch a Bazel release and populate the `bazel-*` packages. The script will also update the `package.json` files.

The script relies on the excellent [jq](https://stedolan.github.io/jq) tool, which you'll need to install if you don't have it already.

Login to npm using the `angular` account. The password is shared in http://valentine.

Inspect the directories, then `cd` into each of the `bazel*` directories and run `npm publish`.

gha_language: Python


text:
# Web Test Suite PackagingGuide

Version 1.0

Copyright © 2014 Intel Corporation. All rights reserved. No portions of this document may be reproduced without the written permission of Intel Corporation.

Intel is a trademark of Intel Corporation in the U.S. and/or other countries.

Linux is a registered trademark of Linus Torvalds.

Tizen® is a registered trademark of The Linux Foundation.

ARM is a registered trademark of ARM Holdings Plc.

\*Other names and brands may be claimed as the property of others.

Any software source code reprinted in this document is furnished under a software license and may only be used or copied in accordance with the terms of that license.

#1. Overview

This document is intended for developers or testers who need to pack web test suites.

You are supposed to have gained the following knowledge:

- Where and how to download web test source code files.
- How to download and install android SDK.

#2. EnvironmentSetup

An Ubuntu (12.04) host is needed to pack the web test suites.

- Install autoconf automake:

    $ sudo apt-get install autoconf automake

Set packaging environment for Tizen:

- Install python-dev:

    $ sudo apt-get install python-dev

- Download and install

    pycrypto([https://www.dlitz.net/software/pycrypto/](https://www.dlitz.net/software/pycrypto/))

The XPK tool make\_xpk.py is located in web test source code.

Set packaging environment for Android:

- Install ant nodejs:

    $ sudo apt-get install ant nodejs

- Download and install Android SDK(>=android-19) for your platform from [http://developer.android.com/sdk/index.html](http://developer.android.com/sdk/index.html).
- Deploy Android SDK`s tools and platform-tools to PATH environment

    $ export PATH=${PATH}:/path/to/adt-bundle-<version\>/sdk/platform-tools:/path/to/adb-bundle-/sdk/platform-tools

There are two tools to generate APK package, make\_apk.py and cordova.

make\_apk.py:

- Get proper package of <version\>/crosswalk-<version\>.zip from [https://download.01.org/crosswalk/releases/crosswalk/android/canary/](https://download.01.org/crosswalk/releases/crosswalk/android/canary/).

    $ cd /path/to/crosswalk-test-suite/tools/

    $ unzip /path/to/crosswalk-<version\>.zip

    $ mv crosswalk-<version\>\* crosswalk/

    make\_apk.py is located in the crosswalk folder.

cordova:

- Get proper package of <version\>/<arch\>/crosswalk-cordova-<version\>-<arch\>.zip from [https://download.01.org/crosswalk/releases/crosswalk/android/canary/](https://download.01.org/crosswalk/releases/crosswalk/android/canary/).

    $ cd /path/to/crosswalk-test-suite/tools/

    $ unzip /path/to/crosswalk-cordova-<version\>-<arch\>.zip

    $ mv crosswalk-cordova-<version\>-<arch\> cordova

#3. Pack Web Test Suite Packages

There is a pack.sh script in each test suite. Currently it supports 3 types of test suite packages, APK, XPK and WGT, in .zip, for 3 platforms, Android, Tizen Mobile and IVI.

##3.1  Pack Web Test Suite Packages for Android

Pack APK packages use make\_apk.py:

    $ ./pack.sh –t apk –m embedded –a arm|x86

   Pack embedded mode APK package using make\_apk.py. use –a arm or –a x86 to choose the right architecture.

    $ ./pack.sh –t apk –m shared

   Pack shared mode APK package using make\_apk.py.

Please see the Appendix1 for the packages list.

There is a special package wrt-autohost-android-tests use below command:

    $ ./pack.sh –t pure –m embedded –a arm|x86

Pack embedded mode APK package using make\_apk.py. use –a arm or –a x86 to choose the right architecture.

Pack APK packages use cordova tool:

    $ ./pack.sh –t cordova

Pack APK package using cordova tool

Please see the Appendix 6 for the packages list.

##3.2  Pack Web Test Suite Packages for Tizen Mobile

    $ ./pack.sh –t xpk –p mobile

Pack XPK package.

Please see the Appendix 2 for the packages list.

There is a special package wrt-autohost-tizen-tests use below command:

    $ ./pack.sh –t pure –p mobile

    $ ./pack.sh –t wgt –p mobile

Pack WGT package.

Please see Appendix 3 for the packages list.

Please notice that Tizen deviceAPI related WGT need authorization to be installed on Tizen.

##3.3  Pack Web Test Suite Packages for Tizen IVI

    $ ./pack.sh –t xpk –p ivi

Pack XPK package.

Please see Appendix 2 for the package list

There is a special package wrt-autohost-tizen-tests use below command:

    $ ./pack.sh –t pure –p ivi

    $ ./pack.sh –t wgt –p ivi

Pack WGT package.

Please see Appendix 4 for the package list.

Please notice that Tizen deviceAPI related WGT need authorization to be installed on Tizen.

    $ ./pack.sh –t xpk –p generic

Pack XPK package for Tizen IVI Generic.

Please see Appendix 5 for the package list.

# Appendix 1 APK Packages List

**WebAPI**

- tct-2dtransforms-css3-tests
- tct-3dtransforms-css3-tests
- tct-animations-css3-tests
- tct-animationtiming-w3c-tests
- tct-appcache-html5-tests
- tct-audio-html5-tests
- tct-backgrounds-css3-tests
- tct-batterystatus-w3c-tests
- tct-browserstate-html5-tests
- tct-canvas-html5-tests
- tct-capability-tests
- tct-colors-css3-tests
- tct-cors-w3c-tests
- tct-csp-w3c-tests
- tct-deviceorientation-w3c-tests
- tct-dnd-html5-tests
- tct-extra-html5-tests
- tct-fileapi-w3c-tests
- tct-filesystemapi-w3c-tests
- tct-filewriterapi-w3c-tests
- tct-flexiblebox-css3-tests
- tct-fonts-css3-tests
- tct-forms-html5-tests
- tct-fullscreen-nonw3c-tests
- tct-geoallow-w3c-tests
- tct-geodeny-w3c-tests
- tct-gumallow-w3c-tests
- tct-indexeddb-w3c-tests
- tct-jsenhance-html5-tests
- tct-mediacapture-w3c-tests
- tct-mediaqueries-css3-tests
- tct-multicolumn-css3-tests
- tct-navigationtiming-w3c-tests
- tct-netinfo-w3c-tests
- tct-notification-w3c-tests
- tct-pagevisibility-w3c-tests
- tct-sandbox-html5-tests
- tct-screenorientation-w3c-tests
- tct-security-tcs-tests
- tct-selectorslevel1-w3c-tests
- tct-selectorslevel2-w3c-tests
- tct-sessionhistory-html5-tests
- tct-sse-w3c-tests
- tct-svg-html5-tests
- tct-text-css3-tests
- tct-touchevent-w3c-tests
- tct-transitions-css3-tests
- tct-typedarrays-nonw3c-tests
- tct-ui-css3-tests
- tct-vibration-w3c-tests
- tct-video-html5-tests
- tct-webaudio-w3c-tests
- tct-webdatabase-w3c-tests
- tct-webgl-nonw3c-tests
- tct-webmessaging-w3c-tests
- tct-websocket-w3c-tests
- tct-webstorage-w3c-tests
- tct-workers-w3c-tests
- tct-xmlhttprequest-w3c-tests
- webapi-appuri-sysapps-tests
- webapi-contactsmanager-sysapps-tests
- webapi-deviceadaptation-css3-tests
- webapi-devicecapabilities-sysapps-tests
- webapi-dlna-ivi-tests
- webapi-hrtime-w3c-tests
- webapi-input-html5-tests
- webapi-locale-ivi-tests
- webapi-messageport-ivi-tests
- webapi-messaging-sysapps-tests
- webapi-notification-ivi-tests
- webapi-presentation-xwalk-tests
- webapi-promises-nonw3c-tests
- webapi-rawsockets-sysapps-tests
- webapi-resourcetiming-w3c-tests
- webapi-runtime-xwalk-tests
- webapi-simd-nonw3c-tests
- webapi-speechapi-ivi-tests
- webapi-usertiming-w3c-tests
- webapi-vehicleinfo-ivi-tests
- webapi-webrtc-w3c-tests
- webapi-webspeech-w3c-tests

**WRT**

- wrt-common-webapp-tests
- wrt-extension-android-tests
- wrt-integration-android-tests
- wrt-packagemgt-android-tests
- wrt-packertool-android-tests
- wrt-rtcore-android-tests
- wrt-rtlib-android-tests
- wrt-sampleapp-android-tests
- wrt-security-android-tests
- wrt-webappmgt-android-tests
- wrt-webfeatures-android-tests

**Behavior**

- tct-behavior-tests

**Cordova**

- cordova-mobilespec-android-tests
- cordova-sampleapp-android-tests
- cordova-webapp-android-tests

**Misc**

- web-abat-tests
- web-mbat-tests
- wrt-stabiterative-android-tests
- wrt-stablonglast2D-android-tests
- wrt-stablonglast3D-android-tests
- wrt-stablonglastplayvideo-android-tests
- wrt-stabrecovery-android-tests

# Appendix 2 XPK Package List

**WebAPI**

- tct-2dtransforms-css3-tests
- tct-3dtransforms-css3-tests
- tct-animations-css3-tests
- tct-animationtiming-w3c-tests
- tct-appcache-html5-tests
- tct-application-tizen-tests
- tct-audio-html5-tests
- tct-backgrounds-css3-tests
- tct-batterystatus-w3c-tests
- tct-bluetooth-tizen-tests
- tct-bookmark-tizen-tests
- tct-browserstate-html5-tests
- tct-callhistory-tizen-tests
- tct-canvas-html5-tests
- tct-capability-tests
- tct-colors-css3-tests
- tct-content-tizen-tests
- tct-cors-w3c-tests
- tct-csp-w3c-tests
- tct-datasync-tizen-tests
- tct-deviceorientation-w3c-tests
- tct-dnd-html5-tests
- tct-download-tizen-tests
- tct-extra-html5-tests
- tct-fileapi-w3c-tests
- tct-filesystemapi-w3c-tests
- tct-filesystem-tizen-tests
- tct-filewriterapi-w3c-tests
- tct-flexiblebox-css3-tests
- tct-fonts-css3-tests
- tct-forms-html5-tests
- tct-fullscreen-nonw3c-tests
- tct-geoallow-w3c-tests
- tct-geodeny-w3c-tests
- tct-getcapabilities
- tct-gumallow-w3c-tests
- tct-indexeddb-w3c-tests
- tct-jsenhance-html5-tests
- tct-mediacapture-w3c-tests
- tct-mediaqueries-css3-tests
- tct-messageport-tizen-tests
- tct-multicolumn-css3-tests
- tct-namespace-tizen-tests
- tct-navigationtiming-w3c-tests
- tct-netinfo-w3c-tests
- tct-networkbearerselection-tizen-tests
- tct-notification-tizen-tests
- tct-notification-w3c-tests
- tct-pagevisibility-w3c-tests
- tct-power-tizen-tests
- tct-privilege-tizen-tests
- tct-sandbox-html5-tests
- tct-screenorientation-w3c-tests
- tct-security-tcs-tests
- tct-selectorslevel1-w3c-tests
- tct-selectorslevel2-w3c-tests
- tct-sessionhistory-html5-tests
- tct-sse-w3c-tests
- tct-svg-html5-tests
- tct-systeminfo-tizen-tests
- tct-systemsetting-tizen-tests
- tct-testconfig
- tct-text-css3-tests
- tct-time-tizen-tests
- tct-touchevent-w3c-tests
- tct-transitions-css3-tests
- tct-typedarrays-nonw3c-tests
- tct-ui-css3-tests
- tct-vibration-w3c-tests
- tct-video-html5-tests
- tct-webaudio-w3c-tests
- tct-webdatabase-w3c-tests
- tct-webgl-nonw3c-tests
- tct-webmessaging-w3c-tests
- tct-websocket-w3c-tests
- tct-webstorage-w3c-tests
- tct-workers-w3c-tests
- tct-xmlhttprequest-w3c-tests
- webapi-appuri-sysapps-tests
- webapi-deviceadaptation-css3-tests
- webapi-devicecapabilities-sysapps-tests
- webapi-dlna-ivi-tests
- webapi-hrtime-w3c-tests
- webapi-input-html5-tests
- webapi-locale-ivi-tests
- webapi-messageport-ivi-tests
- webapi-messaging-sysapps-tests
- webapi-notification-ivi-tests
- webapi-promises-nonw3c-tests
- webapi-rawsockets-sysapps-tests
- webapi-resourcetiming-w3c-tests
- webapi-runtime-xwalk-tests
- webapi-sanityapp-w3c-tests
- webapi-speechapi-ivi-tests
- webapi-usertiming-w3c-tests
- webapi-vehicleinfo-ivi-tests
- webapi-webrtc-w3c-tests
- webapi-webspeech-w3c-tests

**WRT**

- wrt-autodevice-tizen-tests
- wrt-common-webapp-tests
- wrt-integration-tizen-tests
- wrt-packagemgt-tizen-tests
- wrt-rtbin-tizen-tests
- wrt-rtcore-tizen-tests
- wrt-sampleapp-tizen-tests
- wrt-signature-tizen-tests
- wrt-webfeatures-tizen-tests

**Behavior**

- tct-behavior-tests

**Misc**

- web-abat-tests
- web-mbat-tests

# Appendix 3 WGT Package List for Tizen Mobile

**WebAPI**

- tct-2dtransforms-css3-tests
- tct-3dtransforms-css3-tests
- tct-alarm-tizen-tests
- tct-animations-css3-tests
- tct-animationtiming-w3c-tests
- tct-appcache-html5-tests
- tct-appcontrol-tizen-tests
- tct-application-tizen-tests
- tct-audio-html5-tests
- tct-backgrounds-css3-tests
- tct-batterystatus-w3c-tests
- tct-bluetooth-tizen-tests
- tct-bookmark-tizen-tests
- tct-browserstate-html5-tests
- tct-calendar-tizen-tests
- tct-callhistory-tizen-tests
- tct-canvas-html5-tests
- tct-capability-tests
- tct-colors-css3-tests
- tct-contact-tizen-tests
- tct-content-tizen-tests
- tct-cors-w3c-tests
- tct-csp-w3c-tests
- tct-datacontrol-tizen-tests
- tct-datasync-tizen-tests
- tct-deviceorientation-w3c-tests
- tct-dnd-html5-tests
- tct-download-tizen-tests
- tct-extra-html5-tests
- tct-fileapi-w3c-tests
- tct-filesystemapi-w3c-tests
- tct-filesystem-tizen-tests
- tct-filewriterapi-w3c-tests
- tct-flexiblebox-css3-tests
- tct-fonts-css3-tests
- tct-forms-html5-tests
- tct-fullscreen-nonw3c-tests
- tct-geoallow-w3c-tests
- tct-geodeny-w3c-tests
- tct-getcapabilities
- tct-gumallow-w3c-tests
- tct-indexeddb-w3c-tests
- tct-jsenhance-html5-tests
- tct-mediacapture-w3c-tests
- tct-mediaqueries-css3-tests
- tct-messageport-tizen-tests
- tct-messaging-email-tizen-tests
- tct-messaging-mms-tizen-tests
- tct-messaging-sms-tizen-tests
- tct-multicolumn-css3-tests
- tct-namespace-tizen-tests
- tct-navigationtiming-w3c-tests
- tct-netinfo-w3c-tests
- tct-networkbearerselection-tizen-tests
- tct-nfc-tizen-tests
- tct-notification-tizen-tests
- tct-notification-w3c-tests
- tct-package-tizen-tests
- tct-pagevisibility-w3c-tests
- tct-power-tizen-tests
- tct-privilege-tizen-tests
- tct-push-tizen-tests
- tct-sandbox-html5-tests
- tct-screenorientation-w3c-tests
- tct-secureelement-tizen-tests
- tct-security-tcs-tests
- tct-selectorslevel1-w3c-tests
- tct-selectorslevel2-w3c-tests
- tct-sessionhistory-html5-tests
- tct-sse-w3c-tests
- tct-svg-html5-tests
- tct-systeminfo-tizen-tests
- tct-systemsetting-tizen-tests
- tct-testconfig
- tct-text-css3-tests
- tct-time-tizen-tests
- tct-tizen-tizen-tests
- tct-touchevent-w3c-tests
- tct-transitions-css3-tests
- tct-typedarrays-nonw3c-tests
- tct-ui-css3-tests
- tct-vibration-w3c-tests
- tct-video-html5-tests
- tct-webaudio-w3c-tests
- tct-webdatabase-w3c-tests
- tct-webgl-nonw3c-tests
- tct-webmessaging-w3c-tests
- tct-websetting-tizen-tests
- tct-websocket-w3c-tests
- tct-webstorage-w3c-tests
- tct-workers-w3c-tests
- tct-xmlhttprequest-w3c-tests

**Behavior**

- tct-behavior-tests

# Appendix 4 WGT Package List for Tizen IVI

**WebAPI**

- tct-wgtapi01-w3c-tests
- tct-wgtapi02-w3c-tests
- tct-widget01-w3c-tests
- tct-widget02-w3c-tests
- tct-widgetpolicy-w3c-tests

**WRT**

- tct-appwgt-wrt-tests
- tct-ext01-wrt-tests
- tct-ext02-wrt-tests
- tct-pm-wrt-tests
- tct-rt01-wrt-tests
- tct-rt02-wrt-tests
- tct-sp01-wrt-tests
- tct-sp02-wrt-tests
- tct-stab-wrt-tests
- tct-ui01-wrt-tests

# Appendix 5 XPK Package List for Tizen IVI Generic

**MISC**

- web-abat-tests
- web-mbat-tests

# Appendix 6 Cordova APK Packages List

**WebAPI**

- tct-2dtransforms-css3-tests
- tct-3dtransforms-css3-tests
- tct-animations-css3-tests
- tct-animationtiming-w3c-tests
- tct-appcache-html5-tests
- tct-audio-html5-tests
- tct-backgrounds-css3-tests
- tct-batterystatus-w3c-tests
- tct-browserstate-html5-tests
- tct-canvas-html5-tests
- tct-capability-tests
- tct-colors-css3-tests
- tct-cors-w3c-tests
- tct-csp-w3c-tests
- tct-deviceorientation-w3c-tests
- tct-dnd-html5-tests
- tct-extra-html5-tests
- tct-fileapi-w3c-tests
- tct-filesystemapi-w3c-tests
- tct-filewriterapi-w3c-tests
- tct-flexiblebox-css3-tests
- tct-fonts-css3-tests
- tct-forms-html5-tests
- tct-fullscreen-nonw3c-tests
- tct-geoallow-w3c-tests
- tct-geodeny-w3c-tests
- tct-gumallow-w3c-tests
- tct-indexeddb-w3c-tests
- tct-jsenhance-html5-tests
- tct-mediacapture-w3c-tests
- tct-mediaqueries-css3-tests
- tct-multicolumn-css3-tests
- tct-navigationtiming-w3c-tests
- tct-netinfo-w3c-tests
- tct-notification-w3c-tests
- tct-pagevisibility-w3c-tests
- tct-sandbox-html5-tests
- tct-screenorientation-w3c-tests
- tct-security-tcs-tests
- tct-selectorslevel1-w3c-tests
- tct-selectorslevel2-w3c-tests
- tct-sessionhistory-html5-tests
- tct-sse-w3c-tests
- tct-svg-html5-tests
- tct-text-css3-tests
- tct-touchevent-w3c-tests
- tct-transitions-css3-tests
- tct-typedarrays-nonw3c-tests
- tct-ui-css3-tests
- tct-vibration-w3c-tests
- tct-video-html5-tests
- tct-webaudio-w3c-tests
- tct-webdatabase-w3c-tests
- tct-webgl-nonw3c-tests
- tct-webmessaging-w3c-tests
- tct-websocket-w3c-tests
- tct-webstorage-w3c-tests
- tct-workers-w3c-tests
- tct-xmlhttprequest-w3c-tests
- webapi-appuri-sysapps-tests
- webapi-contactsmanager-sysapps-tests
- webapi-deviceadaptation-css3-tests
- webapi-devicecapabilities-sysapps-tests
- webapi-dlna-ivi-tests
- webapi-hrtime-w3c-tests
- webapi-input-html5-tests
- webapi-locale-ivi-tests
- webapi-messageport-ivi-tests
- webapi-messaging-sysapps-tests
- webapi-notification-ivi-tests
- webapi-presentation-xwalk-tests
- webapi-promises-nonw3c-tests
- webapi-rawsockets-sysapps-tests
- webapi-resourcetiming-w3c-tests
- webapi-runtime-xwalk-tests
- webapi-simd-nonw3c-tests
- webapi-speechapi-ivi-tests
- webapi-usertiming-w3c-tests
- webapi-vehicleinfo-ivi-tests
- webapi-webrtc-w3c-tests
- webapi-webspeech-w3c-tests

**Cordova**

- cordova-mobilespec-android-tests
- cordova-sampleapp-android-tests
- cordova-webapp-android-tests

repository: yugang/crosswalk-test-suite

repo_name: yugang/crosswalk-test-suite


text:
# Trusting your Proxmox WebUI cert

Instructions for trusting your Proxmox WebUI certificate to prevent th 'unsafe' warnings when you visit the page

## Obtain the certificate

(pscp)

## Add it to the trusted certificate list

(Internet options)

license: Unlicense


text:
# I am!

`erl_boot_server` is a bit of a mess. _Tiberius_ provides the building
blocks for working with Erlang containers.

This is so alpha that there is little besides this readme and a makefile.
The future will be alot more exciting. All code available under BSD 2-clause.

## Tell me more!!!!

Erlang/OTP provides the primitives required for remote code loading.
This needs to follow a specific structure and is non-trivial to do
manually for many releases.

Tiberius consumes a _code registry_ that contains a set of Erlang
releases (.tar'ed together). These releases are deployed by spawning a
minimal version of ERTS that uses the `inet` loader to fetch the .boot,
.config, code etc files from a Tiberius server.

## A script is worth a thousand words

```bash
$ tiberius help
usage: tiberius <command>

Commands:
  foreground  -- Start Tiberius in foreground for debugging
  server      -- Start/stop a Tiberius daemon
  artifact    -- Add, remove code artifacts from Tiberius
  config      -- Manipulate the configuration of a code artifact
  container   -- Commands for working with containers (spawn, delete, upgrade, etc)

# Add some code
$ tiberius server start
$ tiberius artifact add riak 1.3.1 /var/cache/riak-1.3.1.tar
$ tiberius artifact add wapp 3.0.4 /var/cache/wapp-1.0.9.tar

# Set leveldb backend for all instances, applies only to next startup
$ tiberius artifact config riak-1.3.1 riak_kv.storage_backend riak_kv_eleveldb_backend

# Spawn a one-time container
$ tiberius container spawn riak 1.3.1`
riak-reb84

# Create supervised containers
$ tiberius container create riak-1.3.1 --num 3
riak-1ed5h riak-90bb0 riak-a0e6c

$ tiberius container create wapp-1.0.9 --num 3
wapp-2eb1e wapp-8812e wapp-403f3

# Set container specific configuration (this is persisted) and restart
$ tiberius container config wapp-403f3 wapp.listen '[{80, http}, {443, https}]'
$ tiberius container restart wapp-403f3

# List all containers
$ tiberius container list
riak (1.3.1):
  riak-3eb84 riak-1ed5h riak-90bb0 riak-a0e6c

wapp (1.0.9):
  wapp-2eb1e wapp-8812e wapp-403f3
```

In the above code we registered the available code and deployed a Riak
and application cluster.  The supervised instances are monitored by Tiberius,
if any instances crashes it will be restarted.

## Creating Tiberius code appliances
Have a release? then you are done. Erlang artifacts are just zip files
with the structure <appname->[-<appvsn>]/{ebin,lib,..}.

```bash
$ zip -r myapp-0.0.1.ez myapp-0.0.1
```

repository: lafka/tiberius

repo_name: lafka/tiberius


text:
It’s so great that you want to contribute! There are several ways to contribute.

## How to contribute to ascends-toolkit: ASCENDS: Advanced data SCiENce toolkit for Non-Data Scientists

#### **Did you find a bug?**

Please create a new issue on the issue tracker https://github.com/ornlpmcp/ASCENDS/issues and let us know

#### **Do you have questions about the source code?**

Please create a new issue on the issue tracker https://github.com/ornlpmcp/ASCENDS/issues and let us know

#### **Did you write a patch that fixes a bug?**

* Open a new GitHub pull request with the patch.

* Ensure the PR description clearly describes the problem and solution.

* Please email<EMAIL_ADDRESS>
#### **Do you intend to add a new feature or change an existing one?**

* Open a new GitHub pull request with the patch.

* Ensure the PR description clearly describes the problem and solution.

* Please email<EMAIL_ADDRESS>
#### **Do you want to contribute to the ascends-toolkit documentation?**

Please email lees4@ornl.gov

repository: ornlpmcp/ASCENDS

repo_name: ornlpmcp/ASCENDS


text:
# psaudit
Process auditor for macOS. Verifies that all running processes have been signed by Apple.

# Installation
```
pip install psaudit
```

# Usage
```
psaudit
```

If any processes fail the audit, they will be listed and the script will return a non-zero error code indicating the number of failed processes. For example:
```
$ psaudit
process 371 (/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/PlugIns/ACCFinderSync.appex/Contents/MacOS/ACCFinderSync) not signed by Apple
process 14722 (/usr/local/Cellar/bash/5.0.11/bin/bash) not signed by Apple
process 75508 (/usr/local/Cellar/macvim/8.1-157/MacVim.app/Contents/MacOS/MacVim) not signed by Apple
process 75509 (/usr/local/Cellar/macvim/8.1-157/MacVim.app/Contents/MacOS/Vim) not signed by Apple
$ echo $?
4
```

repository: anaoum/psaudit

repo_name: anaoum/psaudit


text:
[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)

# haproxyreceiver

## Default Metrics

The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:

```yaml
metrics:
  <metric_name>:
    enabled: false
```

### haproxy.connection_rate

Number of connections over the last elapsed second (frontend). Corresponds to HAProxy's `conn_rate` metric.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {connections} | Gauge | Int |

### haproxy.idle_percent

Ratio of system polling time versus total time. Corresponds to HAProxy's `Idle_pct` metric.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {percent} | Gauge | Double |

#### Attributes

| Name | Description | Values |
| ---- | ----------- | ------ |
| proxy_name | Proxy name | Any Str |
| service_name | Service name (FRONTEND for frontend, BACKEND for backend, any name for server/listener) | Any Str |

### haproxy.requests

Total number of requests on this worker process since started. Corresponds to HAProxy's `CumReq` metric.

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {requests} | Sum | Int | Cumulative | true |

### haproxy.sessions.count

Current sessions. Corresponds to HAProxy's `scur` metric.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {sessions} | Gauge | Int |

#### Attributes

| Name | Description | Values |
| ---- | ----------- | ------ |
| proxy_name | Proxy name | Any Str |
| service_name | Service name (FRONTEND for frontend, BACKEND for backend, any name for server/listener) | Any Str |

## Resource Attributes

| Name | Description | Values |
| ---- | ----------- | ------ |
| haproxy.addr | address:port or "unix". IPv6 has brackets around the address. | Any Str |
| haproxy.algo | load balancing algorithm | Any Str |
| haproxy.iid | unique proxy id | Any Str |
| haproxy.pid | process id (0 for first instance, 1 for second, ...) | Any Str |
| haproxy.sid | server id (unique inside a proxy) | Any Str |
| haproxy.type | (0=frontend, 1=backend, 2=server, 3=socket/listener) | Any Str |
| haproxy.url | The path to the HAProxy socket or HTTP URL. | Any Str |


text:
# Getting started #

## Installation ##
    mvn install

## Running ##
    sc [FLAVOUR] [CONNECT_STRING] [PASSWORD] (read|write) (|debug)

Examples:

    sc HpProcurve tcp://<IP_ADDRESS>:23 no read
    sc HpProcurve ssh://user@host:22 test123 read

repository: mabels/construqt

gha_language: Ruby

repo_name: mabels/construqt


text:
[![Build Status](https://travis-ci.org/telemark/wcag-report-website.svg?branch=master)](https://travis-ci.org/telemark/wcag-report-website)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

# wcag-report-website

Use your sitemap.xml as base for checking wcag for all pages on your website.

## Installation

Clone or download the repo from GitHub

```sh
$ git clone git@github.com:telemark/wcag-report-website.git
```

cd into directory and install all dependencies

```sh
$ npm install
```

## Usage

Setup the [config-file](config/index.js) with your environment.

Run the script

```sh
$ npm start
```

This will generate an .xlsx-file with all the pages that failed.

## License
[MIT](LICENSE)

repository: telemark/wcag-report-website

gha_language: JavaScript

repo_name: telemark/wcag-report-website


text:
---
title: Longhorn at KubeCon EU 2020
author: Sheng Yang
draft: false
date: 2020-08-13
categories:
  - "conference"
---

Hi Longhorn community members,

I am glad to announce that Longhorn will join the Virtual KubeCon EU 2020 next week! As a CNCF project, you can find us at Expo Hall -> Project Pavilion.

{{< figure src="/img/blogs/kubecon-eu-2020/booth.png" >}}

We've also scheduled the following events during the KubeCon EU 2020:

## Office Hours

I will be at the following allocated Office Hours to answer any Longhorn related questions.

#### Office Hour 1

Monday, August 17, 18:30 - 19:30 CEST (9:30 am - 10:30 am PDT)

Join us [here](https://zoom.us/j/91610538511) , or use the link on the Project Pavilion page

#### Office Hour 2
Wednesday, August 19, 19:15 - 20:15 CEST (10:15 am - 11:15 am PDT)

Join us [here](https://zoom.us/j/96792052214) , or use the link on the Project Pavilion page

## Session

I will give a presentation about Longhorn at [KubeCon session](https://kccnceu20.sched.com/event/554096cfd06db97627ee6490fdbf5b3c):

**Intro to Longhorn: Open Source Cloud-Native Storage For K8s**

On Thursday, August 20 6:50 PM - 7:25 PM CEST (9:50 AM - 10:25 AM PDT)

Check the link above to add it to your KubeCon schedule!

## Survey

During the KubeCon EU 2020, we will have a survey for the visitors of Longhorn booth. Every respondent will has a chance to win some cool Longhorn swags, including Longhorn logo T-Shirts. We will draw 10 winners per day from Aug 17th to Aug 20th. Come and join us!

{{< figure src="/img/blogs/kubecon-eu-2020/tshirt.png" >}}

## Free Expo Hall Pass

If you haven't got a pass to the KubeCon EU 2020 yet, you can [register here](https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/register/) for a free Expo Hall pass to visit our booth.

Looking forward to see everyone in the KubeCon EU 2020!

repository: longhorn/website

gha_language: HTML

repo_name: longhorn/website


text:
# Spring boot logs and Stackdriver Logging with Logback Enhancer

Log management is one of the main task to keep in mind when an application is delivered to our clients. In this post I can show you how send your spring boot logs to [Google Stackdriver Logging](https://cloud.google.com/logging/)

Google Stackdriver is a flexible and convenient way for log management allowing you to store, search, analyze, monitor, and alert on log data and events from Google Cloud Platform and Amazon Web Services (AWS).

In official page says **Google Cloud Platform and Amazon Web Services (AWS).**, but after my simple test, I can say :

> You can use Google Stackdriver Logging to store, search, analyze, monitor, and alerts  for any application in any environment cloud or on-premisse.

Let's start!!

# Google Configurations

Google Stackdriver Logging is a Google Service, so in order to use it, you need to create the classic project in [https://console.cloud.google.com](https://console.cloud.google.com).

**Select or create a GCP project.**

Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.

[Go to the project selector page](https://console.cloud.google.com/projectselector2/home/dashboard?_ga=2.256990859.-1875927730.1570883781)

**Go to the project selector page**

Make sure that billing is enabled for your Google Cloud Platform project. Learn how to enable billing.

**Enable the Stackdriver Logging API.**

[ENABLE API](https://console.cloud.google.com/flows/enableapi?apiid=logging.googleapis.com&_ga=2.256990859.-1875927730.1570883781)

**Create one service account key**

Go to **Apis & Services** option in https://console.cloud.google.com and click on **create credentials** option and choose **service account key**.

In the next form, select **new service account** option, enter a service name, choose json file and select appropriate role.  For this post, I selected : **Logging >> Logging Admin**

![https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/create-service-account-for-stack-driver-logging.png](https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/create-service-account-for-stack-driver-logging.png)

# Java and Spring boot

This part is it's like taking candy from a baby. In java , logs is a very common task. There are some core libraries like **java.util.logging** and third party libraries like logback and my well loved **log4j**.

[google official java documentation](https://cloud.google.com/logging/docs/setup/java) and it's [official github repository](https://github.com/GoogleCloudPlatform/java-docs-samples) shows java.util.logging and logback, but due to spring-boot and logback love affair, I made this post using **logback**

To make this post quickly, you just need to clone my git-repository

- https://github.com/jrichardsz/spring-boot-templates/tree/master/008-logback-with-stackdriver-enhancer

It has just 3 relevant files:

**Application.java** , the classic main entry point for spring boot. Also this class have a basic rest controller to test our logger.

In each endpoint request, I send to log:

```
logger.info("starting endpoint controller");
logger.info("endpoint controller has completed");
```

**ExampleEnhancer.java**, this class is required to add labels (i.e metadata) to each log entry. In another post I will use **MDC** instead this class for better access to spring context.

**logback.xml**, minimal configuration for logback. console, file and google appenders are configured.

In this logback.xml file, a main part is forgotten in official documentation:

```
<credentialsFile>/../../service-account-key-for-stackdriver-logging.json</credentialsFile>
```

You can set the absoluthe path of your **service account key** previously created and exported in json format.

# Run and enjoy it

Just run the spring-boot project as you like, and test it with **curl localhost:8080/some/endpoint**. You must see the console and file log similar to this:

![https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/console-spring-boot-log.png](https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/console-spring-boot-log.png)

Finally if you go to https://console.cloud.google.com/logs/viewer , select the related project and choose **GAE Application** (yes, this is missing in official documentation), you will see something like this:

![https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/stack-driver-logging-spring-boot-log.png](https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/stack-driver-logging-spring-boot-log.png)

As you can compare, the entry logs are the same in console, file and stack driver logging platform.

If you click on the log related to each request (not the tomcat log), you will see this:

![https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/stack-driver-logging-entry-log-details.png](https://raw.githubusercontent.com/jrichardsz/static_resources/master/logging/stack-driver-logging-entry-log-details.png)

With two json branchs to highlight:

- **labels** with the data or metadata added in **ExampleEnhancer.java**
- **textPayload** with the string sent to log.

That's all.


text:
# MFCKYLD-II
>Inder Dhillon

>inderdhillon.com

### Description:
Python code ‘MFCKYLD-II’ generates M sub shell Fluorescence and Coster-Kronig Yields for elements with Z in the range 57 ≤ Z ≤ 90 for McGuire data and 67 ≤ Z ≤ 90 for Chen et al.’s data.

### Overview:
The program ‘MFCKYLD-II’ predicts M sub-shell Fluorescence and Coster-Kronig Yields for elements by fitting known values with a regression model and using the model to predict values for atomic numbers that don't have known researched values.
In paper ‘MFCKYLD-II’ the program language has been updated from _Fortran_ to _python_ for more accessibility by adding a GUI and the program code has been vectorized using the pandas library for faster execution. It can be run on any architecture with a _python 3.0+ compiler_ and on operating systems: Linux, Windows, Mac OS. It is available in python _.py_ file format. The dependency libraries required for execution for the program are:
* pandas
* numpy
* tkinter

### Sections:
##### Export to CSV:
Allows exporting values for multiple atomic numbers to a _comma separated values(.csv)_ file.
##### Quick View:
Allows you to obtain the M sub shell Fluorescence and Coster-Kronig Yields right in the program for a single atomic number.

### Command:
``python MFCKYLD.py``

### Acknowledgements:
Done as a part of research with:

Gurjit Singh Dhindsa

_Eastern New Mexico University, Portales, NM, USA_

Gurpreet Kaur

_Physics Department, University of Berkeley, California, USA_

Raj Mittal

_Nuclear Science Laboratories, Physics Department, Punjabi University, Patiala, India_

repository: Inder-Dhillon/McGuire-Chen-Values-Paper

repo_name: Inder-Dhillon/McGuire-Chen-Values-Paper


text:
# LQR

## Getting Started

1. Install the prerequisite libraries: `pip install numpy scipy matplotlib`
2. Run example: `python 1dim_test.py`

## Authors

* **Craig Chen** - *Initial work* - [craigxchen](https://github.com/craigxchen)

repository: craigxchen/LQR

repo_name: craigxchen/LQR


text:
---
title: 'Naive Bayes Algorithm'
date: 2019-09-21
permalink: /posts/2019/09/naive_bayes_alg/
tags:
  - Naive Bayes Algorithm
category:
  - Machine Learning
---

- [Naive Bayes Algorithm](#Naive-Bayes-Algorithm)
  - [Bayes' Rule](#Bayes-Rule)
  - [The Bayes' Classifier](#The-Bayes-Classifier)
  - [Naive Bayes Algorithm](#Naive-Bayes-Algorithm-1)
  - [Likelihood Function](#Likelihood-Function)
  - [Example](#Example)
  - [python code](#python-code)

# Naive Bayes Algorithm

- Basically, this is my studying from [NTCU open course](http://ocw.nctu.edu.tw/index.php) - [Machine Learning](http://ocw.nctu.edu.tw/course_detail.php?bgid=1&gid=1&nid=563&page=1). I  take the key points for my references.

## Bayes' Rule
Assume that $\{B_i, i=1,\dots,n\}$ is a partition of $S$ such that $P(B_i)>0 \text{ for }  i=1,2,...,k$. Then

$$
\begin{aligned}
P(B_j|A)  &= \frac{P(A|B_j)P(B_j)}{P(A)}\\
&=\frac{P(A|B_j)P(B_j)}{\sum_{i=1}^kP(A|B_i)P(B_i)}
\end{aligned}
$$

## The Bayes' Classifier

$$
P(C_i|x)=\max\limits_{k} p(C_k|x)
$$

* For choose $i$ such that $P(C_i \vert x)$ is maximum is irrelevant with the value of $P(x)$.

## Naive Bayes Algorithm
- Two not reasonalbe assumptions
    * The importance of each of attribute is equal
    * All attributes are conditional probability independent.

$$
\begin{aligned}
P(y=1|x)=\frac{P(y=1)}{P(X=x)} \prod_{i=1}^n
 P(y=1|X_i=x_i)\end{aligned}
$$

## Likelihood Function

- ex. a baised coin flip $N$ times, and we could use **MLE**(Maximum Likelihood Estimates) to estimate the probability $p$ of coin with positive side.

$$
p=\frac{\sum_{i=1}^N x_t}{N}
$$

## Example

![](/images/machine_learning/naive_bayes_alog.JPG)

![](/images/machine_learning/naive_bayes_alog2.JPG)

- The above images are captured from [link](https://youtu.be/ZDFYXjc-j4w)

## python code
- This is from [website](https://www.datacamp.com/community/tutorials/naive-bayes-scikit-learn)
```python
weather=['Sunny','Sunny','Overcast','Rainy','Rainy','Rainy','Overcast','Sunny','Sunny',
'Rainy','Sunny','Overcast','Overcast','Rainy']
temp=['Hot','Hot','Hot','Mild','Cool','Cool','Cool','Mild','Cool','Mild','Mild','Mild','Hot','Mild']
play=['No','No','Yes','Yes','Yes','No','Yes','No','Yes','Yes','Yes','Yes','Yes','No']
```

- Encoding Features
```python
# Import LabelEncoder
from sklearn import preprocessing
#creating labelEncoder
le = preprocessing.LabelEncoder()
# Converting string labels into numbers.
weather_encoded=le.fit_transform(weather)
print weather_encoded
```
```python
temp_encoded=le.fit_transform(temp)
label=le.fit_transform(play)
print "Temp:",temp_encoded
print "Play:",label
features=zip(weather_encoded,temp_encoded)
print features
```
- Perform prediction
```python
#Import Gaussian Naive Bayes model
from sklearn.naive_bayes import GaussianNB
#Create a Gaussian Classifier
model = GaussianNB()
# Train the model using the training sets
model.fit(features,label)
#Predict Output
predicted= model.predict([[0,2]]) # 0:Overcast, 2:Mild
print "Predicted Value:", predicted
```