added
stringdate
2024-11-18 17:54:29
2024-11-19 03:43:44
created
timestamp[s]date
1970-01-01 00:00:00
2025-02-21 19:39:40
id
stringlengths
40
40
int_score
int64
2
5
metadata
dict
score
float64
2
4.75
source
stringclasses
1 value
text
stringlengths
0
5.64M
2024-11-18T18:05:04.649860+00:00
2019-05-05T11:18:39
0c409982e868e1807ba8e81aa947b36dabc20859
3
{ "blob_id": "0c409982e868e1807ba8e81aa947b36dabc20859", "branch_name": "refs/heads/master", "committer_date": "2019-05-05T11:18:39", "content_id": "3dba03f3aca5ffd7368d8f0f2ef8eb6864c4d58c", "detected_licenses": [ "MIT" ], "directory_id": "5e4e60a86b29a3b0128cf769851a451fbd48aef3", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2019-05-06T03:16:04", "gha_event_created_at": "2019-05-06T03:16:04", "gha_language": null, "gha_license_id": "MIT", "github_id": 185115919, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1660, "license": "MIT", "license_type": "permissive", "path": "/results/innerfidelity/sbaf-serious/Beyerdynamic T50p/README.md", "provenance": "stack-edu-markdown-0000.json.gz:101", "repo_name": "liqi1982/AutoEq", "revision_date": "2019-05-05T11:18:39", "revision_id": "24d82474d92a53ac70b5f20a8ab4ecf71539598f", "snapshot_id": "e7e140e353ca0fdaab33edfaf168f2c8604554ba", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/liqi1982/AutoEq/24d82474d92a53ac70b5f20a8ab4ecf71539598f/results/innerfidelity/sbaf-serious/Beyerdynamic T50p/README.md", "visit_date": "2020-05-19T18:09:49.083185" }
3.34375
stackv2
# Beyerdynamic T50p See [usage instructions](https://github.com/jaakkopasanen/AutoEq#usage) for more options and info. ### Parametric EQs In case of using parametric equalizer, apply preamp of **-6.8dB** and build filters manually with these parameters. The first 5 filters can be used independently. When using independent subset of filters, apply preamp of **-7.6dB**. | Type | Fc | Q | Gain | |:--------|:--------|:-----|:---------| | Peaking | 79 Hz | 0.69 | -10.0 dB | | Peaking | 129 Hz | 0.22 | 22.6 dB | | Peaking | 283 Hz | 0.26 | -22.4 dB | | Peaking | 3807 Hz | 0.67 | 8.9 dB | | Peaking | 9037 Hz | 3.23 | -5.6 dB | | Peaking | 20 Hz | 2.43 | 1.3 dB | | Peaking | 1748 Hz | 3.05 | -2.1 dB | | Peaking | 2549 Hz | 3.66 | 3.1 dB | | Peaking | 4962 Hz | 0.9 | -1.5 dB | | Peaking | 5956 Hz | 3.28 | 2.8 dB | ### Fixed Band EQs In case of using fixed band (also called graphic) equalizer, apply preamp of **-8.9dB** (if available) and set gains manually with these parameters. | Type | Fc | Q | Gain | |:--------|:---------|:-----|:--------| | Peaking | 31 Hz | 1.41 | 5.8 dB | | Peaking | 62 Hz | 1.41 | -2.0 dB | | Peaking | 125 Hz | 1.41 | 0.6 dB | | Peaking | 250 Hz | 1.41 | -4.9 dB | | Peaking | 500 Hz | 1.41 | -5.2 dB | | Peaking | 1000 Hz | 1.41 | -3.0 dB | | Peaking | 2000 Hz | 1.41 | 0.1 dB | | Peaking | 4000 Hz | 1.41 | 8.6 dB | | Peaking | 8000 Hz | 1.41 | -0.9 dB | | Peaking | 16000 Hz | 1.41 | -0.2 dB | ### Graphs ![](https://raw.githubusercontent.com/jaakkopasanen/AutoEq/master/results/innerfidelity/sbaf-serious/Beyerdynamic%20T50p/Beyerdynamic%20T50p.png)
2024-11-18T18:05:04.815599+00:00
2019-09-03T16:23:37
0e3403e3638f4e7792e3fa7c4488b3b11caf876c
2
{ "blob_id": "0e3403e3638f4e7792e3fa7c4488b3b11caf876c", "branch_name": "refs/heads/master", "committer_date": "2019-09-03T16:23:37", "content_id": "82a0df936bea0029041462b090f178c70f873d95", "detected_licenses": [ "MIT" ], "directory_id": "f8efd9bf5f415e8e768724f2673e76d1b68ffea0", "extension": "md", "filename": "com.glide.cs.suggest.enable_spell_check.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 307, "license": "MIT", "license_type": "permissive", "path": "/content/properties/com.glide.cs.suggest.enable_spell_check.md", "provenance": "stack-edu-markdown-0000.json.gz:102", "repo_name": "ASHISH-SERVICENOW/sn", "revision_date": "2019-09-03T16:23:37", "revision_id": "f74615e90af4d79325942418d3e6f61ddf1eb204", "snapshot_id": "0af0b6178a81e609961255c6fc42b57212962d85", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ASHISH-SERVICENOW/sn/f74615e90af4d79325942418d3e6f61ddf1eb204/content/properties/com.glide.cs.suggest.enable_spell_check.md", "visit_date": "2020-07-19T18:55:21.163506" }
2.234375
stackv2
--- title: "com.glide.cs.suggest.enable_spell_check" description: "Property" --- Description: Enable spell check for Virtual Agent Suggest Note: This feature will work best if below 2 properties are also enabled 1) glide.ts.dym.enable_spell_correct 2) glide.ts.dym.enable_chain_suggest Value: `false`
2024-11-18T18:05:04.988455+00:00
2016-02-15T19:40:03
1d32f663a497776e0954be4badf318ff97aae3c4
3
{ "blob_id": "1d32f663a497776e0954be4badf318ff97aae3c4", "branch_name": "refs/heads/master", "committer_date": "2016-02-15T19:40:03", "content_id": "c3399ae6c992b35db368a0161b6ff6f7c4dc5f90", "detected_licenses": [ "MIT" ], "directory_id": "3fc4127c3f1295bd6a72c21d3ca5a97216b42f19", "extension": "md", "filename": "environment-variable-pipe.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 51415448, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 632, "license": "MIT", "license_type": "permissive", "path": "/bash/environment-variable-pipe.md", "provenance": "stack-edu-markdown-0000.json.gz:103", "repo_name": "jdpopkin/TIL", "revision_date": "2016-02-15T19:40:03", "revision_id": "57b43d4e9bd96f3a9756db14d7caca63a2e5fd8d", "snapshot_id": "5a1d41a7cf0da715260886130e3748f645ca4a28", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/jdpopkin/TIL/57b43d4e9bd96f3a9756db14d7caca63a2e5fd8d/bash/environment-variable-pipe.md", "visit_date": "2021-01-10T08:58:00.149923" }
3.390625
stackv2
# Setting an Environment Variable in a Piped Command If you want to set an environment variable for one command, you can do this: ```PGPASSWORD=foo psql -U $user -d $db -h $host``` Before today, I hadn't realize that this also works within pipes: ```echo "select count(*) from foo;" | PGPASSWORD=foo psql -U $user -d $db -h $host``` And if you need it to apply to _more than one_ command within the pipe, you can do this: ```echo "select count(*) from foo;" | (export PGPASSWORD=foo psql -U $user -d $db -h $host | other_command) | grep...``` (assuming you've already exported `user`, `db`, and `host` from the parent shell).
2024-11-18T18:05:05.243926+00:00
2021-09-22T15:50:34
645868dd620b86b13141f1f9ce93912f044b8d37
3
{ "blob_id": "645868dd620b86b13141f1f9ce93912f044b8d37", "branch_name": "refs/heads/master", "committer_date": "2021-09-22T15:50:34", "content_id": "9dff35f934f24e75d740fb86bd676214453a3382", "detected_licenses": [ "Apache-2.0" ], "directory_id": "a2ed2a9947bf356e15c0a99027c20af26024db8b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3914, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:104", "repo_name": "mariembo/Luos", "revision_date": "2021-09-22T15:50:34", "revision_id": "c346d831f8f46f15c0c0ad8e93aef4974744909b", "snapshot_id": "f4f71e4abaa32dca8741c3d8652862f22c8351c5", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/mariembo/Luos/c346d831f8f46f15c0c0ad8e93aef4974744909b/README.md", "visit_date": "2023-08-15T05:33:36.107851" }
3.234375
stackv2
<a href="https://luos.io"><img src="https://uploads-ssl.webflow.com/601a78a2b5d030260a40b7ad/602f8d74abdf72db7f5e3ed9_Luos_Logo_animation_Black.gif" alt="Luos logo" title="Luos" align="right" height="60" /></a> ![](https://github.com/Luos-io/Luos/actions/workflows/build.yml/badge.svg) [![](https://img.shields.io/github/license/Luos-io/Luos)](https://github.com/Luos-io/Luos/blob/master/LICENSE) [![](http://certified.luos.io)](https://luos.io) [![](https://img.shields.io/reddit/subreddit-subscribers/Luos?style=social)](https://www.reddit.com/r/Luos) [![](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Unleash%20electronic%20devices%20as%20microservices%20thanks%20to%20Luos&https://luos.io&via=Luos_io&hashtags=embeddedsystems,electronics,microservices,api) [![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io) Version: 2.0.0 # Introduction to Luos :bulb: We started designing Luos with the conviction that building electronic systems should be made easier than it is today. The majority of development time should be spent on designing the applications and behaviors instead of on complex and time-and-money-eating technicalities. To give a simple example, adding a new sensor (for example a distance sensor) to an electronic device in conception should not take more than a few minutes. So you can try, test and quickly iterate on a project to quickly design what users truly want. Luos works like a [microservice architecture](https://en.wikipedia.org/wiki/Microservices) in the software world, and a [distributed operating system](https://en.wikipedia.org/wiki/Distributed_operating_system): it encapsulates any software or hardware function to make it communicate and work with any other encapsulated service, however it was developed, either on bare metal or on top of an embedded OS. This repository contains the Luos library that you will need to include in your software projects. To correctly configure your hardware, it should be used in conjunction with the [LuosHAL project](https://github.com/Luos-io/LuosHAL). Watch this video for additional details: <a href="https://youtu.be/xQe3z0M_FE8"><img border="0" alt="Luos video" src="https://uploads-ssl.webflow.com/601a78a2b5d030260a40b7ad/6035128c3e63c132f1743d13_youtube.jpeg" width="640" height="360"></a> ## Unfamiliar with Luos? → You can start by reading the [Basics](https://docs.luos.io/pages/luos-technology/basics/basics.html) page. ## You want to tune your device's behavior? → Luos provides a [Demonstration board](https://docs.luos.io/pages/tutorials/demo-boards/luos-demo-boards.html) and [Example demonstration boards](https://github.com/Luos-io/Examples/tree/master/Hardware). You can use them as example or to develop your own project. . → You can make your own embedded [Luos apps](https://docs.luos.io/pages/luos-technology/services/service_api.html). → You can control your devices through a [Gate](https://docs.luos.io/pages/tools/gate.html) service using [Pyluos](https://docs.luos.io/pages/tools/pyluos.html). If you have questions about a specific topic, you can refer or ask it on the [Luos' subreddit](https://www.reddit.com/r/Luos). And if you have suggestions about this documentation, don't hesitate to create pull requests. ## Don't hesitate to read [our documentation](https://docs.luos.io), or to post your questions/issues on the [Luos' subreddit](https://www.reddit.com/r/Luos/). :books: [![](https://img.shields.io/reddit/subreddit-subscribers/Luos?style=social)](https://www.reddit.com/r/Luos) [![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://docs.luos.io) [![](https://img.shields.io/badge/LinkedIn-Follow%20us-0077B5?style=flat&logo=linkedin)](https://www.linkedin.com/company/luos)
2024-11-18T18:08:25.408662+00:00
2021-05-18T11:45:27
d0e26ca51ff70f2ad5d46df627a0a7789374357b
3
{ "blob_id": "d0e26ca51ff70f2ad5d46df627a0a7789374357b", "branch_name": "refs/heads/master", "committer_date": "2021-05-18T11:45:27", "content_id": "7eae2c7d9008006eb6d16450346019faaf495585", "detected_licenses": [ "Apache-2.0" ], "directory_id": "08a2fec64ddc165b1c32732fbdd9edbc58e27ed7", "extension": "md", "filename": "README.md", "fork_events_count": 3, "gha_created_at": "2019-05-13T11:12:35", "gha_event_created_at": "2021-05-18T11:45:28", "gha_language": "Kotlin", "gha_license_id": "Apache-2.0", "github_id": 186404218, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1794, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:105", "repo_name": "twentynine78/KeepOn", "revision_date": "2021-05-18T11:45:27", "revision_id": "a801b25ca382dabcba88a9f30e6ef1273459941f", "snapshot_id": "fe163a9b4f6bb6f52376473fbee0a9e1e58a5cfe", "src_encoding": "UTF-8", "star_events_count": 43, "url": "https://raw.githubusercontent.com/twentynine78/KeepOn/a801b25ca382dabcba88a9f30e6ef1273459941f/README.md", "visit_date": "2021-06-10T18:20:52.831463" }
3.03125
stackv2
# KeepOn ![banner](.github/banner.jpg?raw=true "Banner") ##### Keep your screen on smartly! ## Features KeepOn is free and open-source (FOSS), without any ads/tracks and no Internet use. KeepOn allows you to keep your device's screen on for the desired duration and also allows you to return to the default settings automaticaly when the screen turns off. KeepOn adapts to your device's configuration to easy use and allow you to customize the Quick Settings view! A Tasker/Locale plugin is integrated and allows you to use KeepOn functions from another compatible application! ## Permissions - android.permission.WRITE_SETTINGS: Needed by Android to modify screen timeout settings - android.permission.FOREGROUND_SERVICE: Needed to detect screen off events and other screen timeout modifications You can read / audit code and compile your own apk if you want! ## Download - Play Store: *https://play.google.com/store/apps/details?id=fr.twentynine.keepon* - F-Droid: *https://f-droid.org/packages/fr.twentynine.keepon/* - KeepOn Releases: *https://github.com/twentynine78/KeepOn/releases* ## Credit - AppIntro: *https://github.com/AppIntro/AppIntro* - MultiProcessPreferences: *https://github.com/TreeFrogApps/MultiProcessPreferences* - Glide: *https://github.com/bumptech/glide* - Gene-rate: *https://github.com/Pixplicity/gene-rate* - PageIndicatorView: *https://github.com/romandanylyk/PageIndicatorView* - Toothpick: *https://github.com/stephanenicolas/toothpick* - Moshi: *https://github.com/square/moshi* ## Screenshots ![screenshot1](.github/screenshot1.jpg?raw=true "Screenshot1") ![screenshot2](.github/screenshot2.jpg?raw=true "Screenshot2") ![screenshot3](.github/screenshot3.jpg?raw=true "Screenshot3") ![screenshot4](.github/screenshot4.jpg?raw=true "Screenshot4")
2024-11-18T18:08:25.501021+00:00
2019-10-31T01:43:31
8c3995c77f271e57c2518c6363a7b4f22ee24c7a
3
{ "blob_id": "8c3995c77f271e57c2518c6363a7b4f22ee24c7a", "branch_name": "refs/heads/master", "committer_date": "2019-10-31T01:43:31", "content_id": "3ede6bd02dd82d1c581ee0ceac7782f9962ea272", "detected_licenses": [ "MIT" ], "directory_id": "b8216a65c464bfbae48aad3875f760db7c5643ec", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 77745284, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1690, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:106", "repo_name": "QuentinCG/Massive-Subscription-Software", "revision_date": "2019-10-31T01:43:31", "revision_id": "738393fd980263b614df798a000a693c6f4fde69", "snapshot_id": "fe2be2d6979717395ddcd22050bb571a4ee4b9ba", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/QuentinCG/Massive-Subscription-Software/738393fd980263b614df798a000a693c6f4fde69/README.md", "visit_date": "2021-04-28T22:55:49.052134" }
3.203125
stackv2
# Massive-Subscription-Software [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7edc6b7561924255b347f05c8c2ede8d)](https://www.codacy.com/manual/QuentinCG/Massive-Subscription-Software?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=QuentinCG/Massive-Subscription-Software&amp;utm_campaign=Badge_Grade) [![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/QuentinCG/Massive-Subscription-Software/blob/master/LICENSE) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/QuentinCG) ## What is it This python software is designed to subscribe to numerous newsletter or website at once. It is multi-platform and compatible with python 2.7+ and 3+. <img src="subscribe.jpg"> ## How to install (python script and shell) * Install Requests: * Solution 1: "pip install requests" * Solution 2: Download package at <https://github.com/kennethreitz/requests> and use "python setup.py install" command) * Add all newsletter and website subscription in list_request.py (follow examples in the file) * Load your shell or python script ## How to use in shell ```shell # Get help main.py -h # Basic request main.py --email<EMAIL_ADDRESS> # Full request main.py --email<EMAIL_ADDRESS>--pseudo johndoe --surname Doe --forename John --password Azerty1234 --postcode 12345 --day 10 --month 10 --year 1980 ``` ## License This project is under MIT license. This means you can use it as you want (just don't delete the library header). ## Contribute If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.
2024-11-18T18:08:25.575212+00:00
2017-07-19T09:37:12
f0e9709c57caf69cd7a9f6c2a178bbf26d3a56b2
2
{ "blob_id": "f0e9709c57caf69cd7a9f6c2a178bbf26d3a56b2", "branch_name": "refs/heads/master", "committer_date": "2017-07-19T09:37:12", "content_id": "ecd19273d2f109a021848ac7e348d06891eb1f95", "detected_licenses": [ "MIT" ], "directory_id": "867ddb3ca22151b329febafe7e3bf17d8970dd45", "extension": "md", "filename": "2016-11-25-My-first-attempts-at-publishing-using-GitGub---Luke-Sutcliffe.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 74767504, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1522, "license": "MIT", "license_type": "permissive", "path": "/_posts/2016-11-25-My-first-attempts-at-publishing-using-GitGub---Luke-Sutcliffe.md", "provenance": "stack-edu-markdown-0000.json.gz:107", "repo_name": "sutty123/sutty123.github.io", "revision_date": "2017-07-19T09:37:12", "revision_id": "0174356f840a55d7b0eebb8b9038054fabffb43d", "snapshot_id": "df6b3230f3e552603ca75a1df7a8c79f6e9fc97c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/sutty123/sutty123.github.io/0174356f840a55d7b0eebb8b9038054fabffb43d/_posts/2016-11-25-My-first-attempts-at-publishing-using-GitGub---Luke-Sutcliffe.md", "visit_date": "2020-06-21T22:44:03.503074" }
2.4375
stackv2
--- title: Blogging 2 layout: post author: luke.sutcliffe permalink: /my-first-attempts-at-publishing-using-gitgub---luke-sutcliffe/ source-id: 14dsU50m-Ru5Bhx1HoMwUtEIP2epTOdAK0cb_sUrLiNA published: true --- <table> <tr> <td>Title: </td> <td>Blogging 2 </td> <td> Date: </td> <td>2/12/16</td> </tr> </table> <table> <tr> <td>Starting point:</td> <td>I knew a bit about GitHub and its structure.</td> </tr> <tr> <td>Target for this lesson?</td> <td>To successfully add a background picture to my page and to add a container around my writing.</td> </tr> <tr> <td>Did I reach my target? (add details to "Lesson Review")</td> <td>Yes, I was able to complete both targets.</td> </tr> </table> <table> <tr> <td>Lesson Review</td> </tr> <tr> <td>How did I learn? What strategies were effective? </td> </tr> <tr> <td>I asked for some advice from classmates and the teacher and I was able to then work things out for myself and make progress.</td> </tr> <tr> <td>What limited my learning? Which habits do I need to work on? </td> </tr> <tr> <td>I found removing the footer quite difficult and also adding the 'no repeat' element to the background picture. </td> </tr> <tr> <td>What will I change for next time? How will I improve my learning?</td> </tr> <tr> <td>Next time, I will try to ask more questions so that I understand the task better. I will then be able to make more progress.</td> </tr> </table>
2024-11-18T18:08:25.655767+00:00
2019-10-15T14:13:47
d284f727e93b6748eeffa4085e47ea87b2642c4e
3
{ "blob_id": "d284f727e93b6748eeffa4085e47ea87b2642c4e", "branch_name": "refs/heads/master", "committer_date": "2019-10-15T14:13:47", "content_id": "3c0a806bf8097a6250072dbc8ff6a62dd9a3f855", "detected_licenses": [ "MIT" ], "directory_id": "d3f700325e034cd12d9ed98ceb0452076ac021cb", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": "2019-09-29T14:09:22", "gha_event_created_at": "2019-09-29T14:09:22", "gha_language": null, "gha_license_id": "MIT", "github_id": 211672821, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1251, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:108", "repo_name": "Neomediatech/pdnsmanager-docker", "revision_date": "2019-10-15T14:13:47", "revision_id": "ae31cc6975687d5f664f26dc2ed1f9b034e7a995", "snapshot_id": "72b63670be76cbb1dd105df87b53b30a78071b2c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Neomediatech/pdnsmanager-docker/ae31cc6975687d5f664f26dc2ed1f9b034e7a995/README.md", "visit_date": "2020-08-03T07:44:12.962282" }
3.34375
stackv2
# Customized version of pdnsmanager Docker container Taken from @alexdo work (original README follow this section) Database configuration is automatically taken from docker compose stack (see [ConfigUser.php file](etc/ConfigUser.php) for details) ----- # pdnsmanager Docker container This container runs a php-enabled apache instance, serving a [pdnsmanager](https://pdnsmanager.org/quickstart/) installation. It's based on php:7.3-apache and contains all necessary PHP extensions for pdnsmanager. Image size is around 50MB. ## Configuration ### pdnsmanager configuration pdnsmanager saves its configuration under `backend/config/ConfigUser.php`. To make your configuration persietent between restarts and image updates, add `-v /local/path/config.php:/etc/pdnsmanager/ConfigUser.php` to your docker run command. `/etc/pdnsmanager/ConfigUser.php` is a volume that's symlinked to the proper path. ## docker-compose example ```yaml version: '3.3' services: pdnsmanager: image: alexdo/pdnsmanager:latest volumes: - ./ConfigUser.php:/etc/pdnsmanager/ConfigUser.php ports: - 7777:80 ``` **Important:** Initialize `./ConfigUser.php` with empty contents before running `docker-compose up`.
2024-11-18T18:08:25.699388+00:00
2023-07-28T06:02:45
109d5eba9214d7fa5ee79f8bd290429973953e7b
4
{ "blob_id": "109d5eba9214d7fa5ee79f8bd290429973953e7b", "branch_name": "refs/heads/master", "committer_date": "2023-07-28T06:21:40", "content_id": "50cfee557254b493b83f8de6a741873dbc715371", "detected_licenses": [ "Apache-2.0" ], "directory_id": "65d5438640ecdd047387715cfe51798c29e7a1d7", "extension": "md", "filename": "README.md", "fork_events_count": 38, "gha_created_at": "2016-06-08T20:57:32", "gha_event_created_at": "2023-07-28T06:21:42", "gha_language": "Rust", "gha_license_id": "Apache-2.0", "github_id": 60730286, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3236, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:109", "repo_name": "kvark/vange-rs", "revision_date": "2023-07-28T06:02:45", "revision_id": "e6e925b791e0cb2321decd8e9058b30e1fc30d8c", "snapshot_id": "4430208ebf15dfca9ffd439d41be3c9d95ea865d", "src_encoding": "UTF-8", "star_events_count": 398, "url": "https://raw.githubusercontent.com/kvark/vange-rs/e6e925b791e0cb2321decd8e9058b30e1fc30d8c/README.md", "visit_date": "2023-08-03T12:28:05.620530" }
3.953125
stackv2
# Vange-rs ![Check](https://github.com/kvark/vange-rs/workflows/Check/badge.svg) [![Gitter](https://badges.gitter.im/kvark/vange-rs.svg)](https://gitter.im/vange-rs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [Vangers](https://www.gog.com/game/vangers) is a legendary game featuring unique gameplay and technical innovation. The idea of this project is to replicate the old look and behavior, but with native hardware acceleration for the graphics. You need the **original game** in order to try out `vange-rs`. The path to resources needs to be set in `config/settings.ron`. ![logo](docs/assets/logo-cut.png) ## Technology The game uses: - [wgpu](https://github.com/gfx-rs/wgpu) for graphics - [winit](https://github.com/rust-windowing/winit) for windowing - [egui](https://github.com/emilk/egui) for debug UI The level can be rendered in a variety of ways, see [dedicated wiki page](https://github.com/kvark/vange-rs/wiki/Rendering-Techniques). The best of all is a voxelized ray tracing method, described [in our blog](https://vange.rs/2022/11/08/voxels.html). ## Instructions The project is structured to provide multiple binaries. `road` binary is for the main game, which includes mechouses, items, and the level. You can find the binaries produced automatically in the [releases](https://github.com/kvark/vange-rs/releases). ```bash git clone https://github.com/kvark/vange-rs cd vange-rs cp config/settings.template.ron config/settings.ron edit config/settings.ron # set the game path cargo run ``` Note: leaving the `level=""` empty in the config would load a flat boring debug level. Note: with `backend="Auto"` the engine tries the available backends in this order: Metal, Vulkan, DX12. Controls: - `WSAD`: movement in the game, rotating the camera around the car during the pause - left shift: turbo - left alt: jump - `P`: enter/exit pause for debugging - `R`: reset forces and orientation of the mechous - `<>`: step physics frame back/forward during the pause - `Esc`: exit <img alt="game" src="etc/shots/Road11-pause.png" width="25%"> ### 3D model viewer `model` binary loads a selected "m3d" from games resource to observe. ```bash cargo run --bin model resource/m3d/items/i21.m3d ``` Controls: - `AD`: rotate the camera - `Esc`: exit <img alt="item view" src="etc/shots/Road6a-item.png" width="20%"> Without the argument, the viewer shows configured car and debug collision info: <img alt="mechous debugging" src="etc/shots/Road10-debug-shape.png" width="25%"> ### Level viewer `level` binary allows to fly over a level with free camera. Useful for debugging the level rendering shader. ```bash cargo run --bin level cargo run --bin level -- resource/iscreen/ldata/l0/escave.ini # load menu ``` Controls: - `WSAD`: move the camera along X-Y plane - `ZX`: move the camera along Z plane - `Alt` + `WSAD`: rotate the camera - `Esc`: exit <img alt="level view" src="etc/shots/Road16-raymax.png" width="50%"> ### Converter `convert` binary is a command line utility for converting the game data into formats that are more interoperable. Please see the [wiki page](https://github.com/kvark/vange-rs/wiki/Resource-Converter) for the usage instructions.
2024-11-18T18:08:25.858580+00:00
2019-04-15T09:53:40
678f27a2a63d761ab3fbf84ed74ed0b7eb010d34
3
{ "blob_id": "678f27a2a63d761ab3fbf84ed74ed0b7eb010d34", "branch_name": "refs/heads/master", "committer_date": "2019-04-15T09:53:40", "content_id": "c43dccaff0c5effe39640ad73f80156936682cb6", "detected_licenses": [ "MIT" ], "directory_id": "fdbc70d0c182e1c63a683aecdbc73dad33891700", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2019-04-15T07:12:00", "gha_event_created_at": "2019-04-15T07:12:00", "gha_language": null, "gha_license_id": null, "github_id": 181432218, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 683, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:110", "repo_name": "EsipovPA/pg_listen", "revision_date": "2019-04-15T09:53:40", "revision_id": "f55ad4f4e786d7c30e772f2c7da73618244e8dd0", "snapshot_id": "c7da5b3c29df21b0190a7605555de2977eed9e7f", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/EsipovPA/pg_listen/f55ad4f4e786d7c30e772f2c7da73618244e8dd0/README.md", "visit_date": "2020-05-09T21:07:26.044004" }
3.328125
stackv2
## pg_listen: trigger a shell command on a Postgres event Super fast and lightweight. Written in C using libpq. ### Usage ```bash pg_listen postgres://db-uri channel-name shell-command # for example # pg_listen postgres://localhost/postgres hello "echo they said hi" ``` ### Building Just clone the repo and run `make`. The makefile is compatible with BSD and GNU Make and requires only that libpq be installed on the system. If you use NixOS you can run `nix-shell` to build it. ### C++ Build To build this with C++ compilers one is going to need to put -lm -lpq in the end of the link command. Also, one is going to need to change noreturn to [[noreturn]]
2024-11-18T18:08:25.890094+00:00
2021-04-17T04:26:12
c5efef3c0caff3efedde78e95e20adebf1b2f04d
2
{ "blob_id": "c5efef3c0caff3efedde78e95e20adebf1b2f04d", "branch_name": "refs/heads/master", "committer_date": "2021-04-17T04:26:12", "content_id": "8d0a86741e0403f5e13c9afabed675480ea5ea52", "detected_licenses": [ "MIT" ], "directory_id": "27b0df87310ca740bdafa410f01781182b25531a", "extension": "md", "filename": "2020-2-3-don't-let-distractions-drown-you.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 109635825, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4834, "license": "MIT", "license_type": "permissive", "path": "/_posts/2020-2-3-don't-let-distractions-drown-you.md", "provenance": "stack-edu-markdown-0000.json.gz:111", "repo_name": "icebert04/icebert04.github.io", "revision_date": "2021-04-17T04:26:12", "revision_id": "df779e54475d0d014caa8cb8577378b8304a3a88", "snapshot_id": "1c2738ee556dc29e6324aebbf4da5f0feb2cbb3f", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/icebert04/icebert04.github.io/df779e54475d0d014caa8cb8577378b8304a3a88/_posts/2020-2-3-don't-let-distractions-drown-you.md", "visit_date": "2021-07-24T02:43:12.664487" }
2.109375
stackv2
--- published: true --- ![Start](/images/Begin Again.jpg) So how was the start of New Year for you? Not so good I bet... Most people had a bad month in January. In just a span of 4 weeks, there were calamities from different places. The Australia Bushfire, the Airplane Crash in Afghanistan, Flashfloods in Indonesia, Kobe Bryant's death in a Helicopter Crash, the almost War between Iran and the USA, and of course, our country didn't take any exemptions. First, there was the big Earthquake in Mindanao. Then the Taal Volcano Phreatic Explosion. A few days after lowering the Alert Level of the Taal Volcano, the Wuhan Corona Virus penetrated our country. That was just all in 1 month... Geesh! During the 2019 New Year festive, all of us were filled with optimism and hope for the coming 2020. Our resolutions were all listed and scheduled according to plan. Little did we knew then... We were distracted by all of these catastrophes. We were buried with all of these unfortunate incidents. We are drowning and can hardly breathe. What do we need to do? This I say to you. It's time to wake up, get up, and GO! Full steam ahead baby! Let's start over and decide that our 2020 will start on the Love Month of February. We still have hope people. We should not let any kind of Distractions to demolish our goals. No matter how hard it is and how painful it gets, we still have time to rebound and make things great. My January started with me and my family getting all sick from the Christmas cold weather. Then our province (Batangas) got badly hit by Ashfall from the 2nd most active volcano in the Philippines. Now we have to defend ourselves from the deadly Corona Virus. All of these tragic events took time away from my schedule and definitely delayed my goals for the year. But it didn't really bothered me anyway. I don't let Distractions destroy me. In fact, I let these disasters define me. Made me stronger and wiser to move forward. So while all of these tragic events were happening, I have to adapt and slow some businesses that are affected by it. With that I have more free time, I devoted my free hours to work on other things that are not affected by these disastrous circumstances. I looked for a quiet place. Got my cat. Pulled out my laptop. And started writing. I started by writing campaign materials for my existing clients in the United States. I continued my Web Development projects. And now I am writing to you guys. It took a while, but I am back. I feel that I have this responsibility to give some written inspiration to my loyal readers. I owe them that. In this time of crisis, people need any kind of inspiration in whatever forms. If you have a little bit of a following, you should take care of them. They are your responsibility. There is a reason why they followed you in the first place. Don't let them go hanging out in the cold. Continue what you are doing best no matter what life brings you. Get your Violin. Grab your videocam and start uploading those videos. Your fans hysterically thirst for your music. If you make quality and tasty Vegan Donuts. Go back to baking. Go and satisfy their hunger. It doesn't matter who you are. It doesn't matter what line of work or profession you are in. People will be looking for you. They will be surprised if you stop doing what you are doing. There is no reason for you to halt. You may slow down sure, but never get your feet off the gas pedal. All of us are unique. We are all created differently with exceptional skills that we carry from the day that we were born. Distractions can slow you down, but don't let it stop you. Take 1 step back in order for you to move 2 steps forward. Always remember that when one door closes, another opens. You are way much better than that. Don't ever forget that. As I write this article, typing every single word on my relaxing Rattan sofa... I look down at my Siamese cat, petting her and murmuring to her and saying that **"I am beginning again"**. We all have a purpose in this life of ours. Mine is to write and tell stories in hopes to encourage and influence my readers to somehow uplift their lives and change it for the better. I do hope that you will have a better February. And if you feel that you are still drowning, just keep on kicking your way upward. You can control your life and take charge of it. You just got to believe! Here's to you! Here's to us! Here's to a better month of February! Happy New Year!
2024-11-18T18:08:25.941536+00:00
2022-12-07T21:26:58
1dd8ca4c1e3b2cc229ed635817f45a47032a9552
4
{ "blob_id": "1dd8ca4c1e3b2cc229ed635817f45a47032a9552", "branch_name": "refs/heads/branch-23.02", "committer_date": "2022-12-07T21:26:58", "content_id": "e3f8a3023d9df7f6c387a21936aa8fd85fcdeed1", "detected_licenses": [ "Apache-2.0" ], "directory_id": "23d30f6b1de52e23730735b2dc79bb8b0f6bc74d", "extension": "md", "filename": "README.md", "fork_events_count": 18, "gha_created_at": "2018-11-05T20:39:47", "gha_event_created_at": "2023-04-19T18:53:15", "gha_language": "C++", "gha_license_id": "Apache-2.0", "github_id": 156279925, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1644, "license": "Apache-2.0", "license_type": "permissive", "path": "/demo/nvflare/README.md", "provenance": "stack-edu-markdown-0000.json.gz:112", "repo_name": "rapidsai/xgboost", "revision_date": "2022-12-07T21:26:58", "revision_id": "f5bf7ad4b5b06449e93500d98f41f0c9793db065", "snapshot_id": "d66ae03418ae61511a27b060956831d836e12df7", "src_encoding": "UTF-8", "star_events_count": 30, "url": "https://raw.githubusercontent.com/rapidsai/xgboost/f5bf7ad4b5b06449e93500d98f41f0c9793db065/demo/nvflare/README.md", "visit_date": "2023-05-25T01:26:38.483612" }
3.734375
stackv2
# Experimental Support of Federated XGBoost using NVFlare This directory contains a demo of Federated Learning using [NVFlare](https://nvidia.github.io/NVFlare/). ## Training with CPU only To run the demo, first build XGBoost with the federated learning plugin enabled (see the [README](../../plugin/federated/README.md)). Install NVFlare (note that currently NVFlare only supports Python 3.8; for NVFlare 2.1.2 we also need to pin the protobuf package to 3.20.x to avoid protoc errors): ```shell pip install nvflare protobuf==3.20.1 ``` Prepare the data: ```shell ./prepare_data.sh ``` Start the NVFlare federated server: ```shell ./poc/server/startup/start.sh ``` In another terminal, start the first worker: ```shell ./poc/site-1/startup/start.sh ``` And the second worker: ```shell ./poc/site-2/startup/start.sh ``` Then start the admin CLI, using `admin/admin` as username/password: ```shell ./poc/admin/startup/fl_admin.sh ``` In the admin CLI, run the following command: ```shell submit_job hello-xgboost ``` Once the training finishes, the model file should be written into `./poc/site-1/run_1/test.model.json` and `./poc/site-2/run_1/test.model.json` respectively. Finally, shutdown everything from the admin CLI: ```shell shutdown client shutdown server ``` ## Training with GPUs To demo with Federated Learning using GPUs, make sure your machine has at least 2 GPUs. Build XGBoost with the federated learning plugin enabled along with CUDA, but with NCCL turned off (see the [README](../../plugin/federated/README.md)). Modify `config/config_fed_client.json` and set `use_gpus` to `true`, then repeat the steps above.
2024-11-18T18:08:26.120066+00:00
2023-08-31T20:07:39
0d4dfcb26fed7e356d6c70a88b116987b913257e
4
{ "blob_id": "0d4dfcb26fed7e356d6c70a88b116987b913257e", "branch_name": "refs/heads/master", "committer_date": "2023-08-31T20:07:39", "content_id": "b1ab48c93f98c96a02b48733aa34bc1e1fddd0a7", "detected_licenses": [ "MIT" ], "directory_id": "60bd79d18cf69c133abcb6b0d8b0a959f61b4d10", "extension": "md", "filename": "README.md", "fork_events_count": 3798, "gha_created_at": "2011-10-09T19:53:59", "gha_event_created_at": "2022-10-27T08:28:51", "gha_language": "C++", "gha_license_id": "MIT", "github_id": 2544179, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 5569, "license": "MIT", "license_type": "permissive", "path": "/libraries/SHEX/README.md", "provenance": "stack-edu-markdown-0000.json.gz:113", "repo_name": "RobTillaart/Arduino", "revision_date": "2023-08-31T20:07:39", "revision_id": "48a7d9ec884e54fcc7323e340407e82fcc08ea3d", "snapshot_id": "e75ae38fa6f043f1213c4c7adb310e91da59e4ba", "src_encoding": "UTF-8", "star_events_count": 1406, "url": "https://raw.githubusercontent.com/RobTillaart/Arduino/48a7d9ec884e54fcc7323e340407e82fcc08ea3d/libraries/SHEX/README.md", "visit_date": "2023-09-01T03:32:38.474045" }
3.5625
stackv2
[![Arduino CI](https://github.com/RobTillaart/SHEX/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci) [![Arduino-lint](https://github.com/RobTillaart/SHEX/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/SHEX/actions/workflows/arduino-lint.yml) [![JSON check](https://github.com/RobTillaart/SHEX/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/SHEX/actions/workflows/jsoncheck.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/SHEX/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/RobTillaart/SHEX.svg?maxAge=3600)](https://github.com/RobTillaart/SHEX/releases) # SHEX Arduino library to generate hex dump over Serial (any stream). ## Description ### SHEX **SHEX** is a simple library that wraps the Serial output side (by default) and generates an hex dump of all data that is printed. 16 bytes per row. The default output format is (changed since 0.3.0) ``` ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx ``` with a separator line after each 8th line. The constructor has a length parameter which can be used to have another number of bytes per row. This can be changed with **setBytesPerLine()**. One can toggle HEX output or pass through by means of **setHEX(bool)**. This makes it possible to switch between the modes e.g. between 'debugging' and 'release' mode. One can toggle the character count at the start of the line. ### SHEXA **SHEXA** (Serial HEX ASCII) is a derived class from **SHEX** that also displays a column with printable characters. The default output format is ``` ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx abcdefgh ijklmnop ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx abcdefgh ijklmnop ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx abcdefgh ijklmnop ABCD xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx etc ``` To print this ASCII column extra RAM and code is used. Therefore this is made a derived class from **SHEX**. Furthermore **SHEXA** has a function **flushASCII()** to flush the ASCII column to output. This is needed when HEX output is restarted. ## Interface ```cpp #include "SHEX.h" ``` The **SHEX** and **SHEXA** share most of their interface. ### Defines To be adjusted via command line (or in SHEX.h file) | define | value | |:----------------------|--------:| | SHEX_DEFAULT_LENGTH | 16 | | SHEX_MAX_LENGTH | 32 | | SHEX_MIN_LENGTH | 4 | | SHEX_COUNTER_DIGITS | 4 | | SHEX_DEFAULT_VTAB | 8 | ### Constructor + Core - **SHEX(Print \* stream = &Serial, uint8_t length = SHEX_DEFAULT_LENGTH)** Constructor, optional set the number of bytes per line. default 16 bytes per line, forced multiple of 4, max SHEX_MAX_LENGTH = 32. - **size_t write(uint8_t c)** implements the Print interface. ### Output Modifiers - **void setHEX(bool hexOutput = true)** switch between modi, HEX (true) or pass through (false). - **bool getHEX()** returns mode set above. - **void setBytesPerLine(uint8_t length = SHEX_DEFAULT_LENGTH)** idem, default 16 bytes per line, forced multiple of 4, max SHEX_MAX_LENGTH = 32. - **uint8_t getBytesPerLine()** returns number of bytes per line. ### Separator - **void setSeparator(char c = ' ')** set the separator character, default a space. Some people like a dot '.', or a tab '\t'. Feel free to experiment. - **char getSeparator()** return the separator character set. ### Counter - **void setCountDigits(uint8_t digits)** set the length of the counter, 8 or 6 or 4 (default). Other numbers will be rounded up to 4, 6 or 8. - **uint8_t getCountDigits()** returns idem. - **void restartOutput()** restarts the counter from 0 and a new line. Is automatically called if a setting is modified like **bytesPerLine** **setVTAB** or **setCountDigits** - **uint32_t getCounter()** return internal counter. ### VTAB - **void setVTAB(uint8_t vtab = SHEX_DEFAULT_VTAB)** set the vertical separator line. - **uint8_t getVTAB()** return the current vertical separator line. ### SHEXA specific - **void flushASCII()** allows the user to flush the ASCII column to output. This is typically used after a setting is changed, which causes a restart of the HEX output. Best if followed by a **restartOutput()**. _Note: it is not ideal but workable. This might change in the future._ ## Operational See examples. ## Future #### Must - documentation #### Should - optimize code - print vs write - more testing - performance measurement - different platforms. - different streams incl SW Serial #### Could - investigate **flushASCII()** performance. - HEX reader: **RHEX** - converts dump format to a binary or ASCII stream. - separate library. - **void setSeparatorInterval()** - add examples #### Wont - line buffering for faster output (e.g Ethernet and SD card) could it support **write(array, length)** call. needs quite a rewrite.. Needs a big buffer: ~150 bytes. (counter 8 + hex 96 + printable 32 + extra sep) ==> go through a small buffer twice as data is same!! - header line: runtime configurable; optional combined with separator and after how many lines the header should repeat **header(str, lines)** ? Can also be done by just calling Serial.print.
2024-11-18T18:08:26.157165+00:00
2023-07-07T11:47:35
33330e4bd87d2b5df362c2f5c6bc66544b0a2b5e
4
{ "blob_id": "33330e4bd87d2b5df362c2f5c6bc66544b0a2b5e", "branch_name": "refs/heads/master", "committer_date": "2023-07-07T11:47:35", "content_id": "e4cfb37e69a552ad5dc58e573c8cbee2bdb3cb26", "detected_licenses": [ "MIT" ], "directory_id": "9655efc19bfb3fb65a88a8a5f288076cff3946da", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2019-05-27T12:49:21", "gha_event_created_at": "2023-07-07T11:47:36", "gha_language": "Jupyter Notebook", "gha_license_id": "MIT", "github_id": 188842504, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 6914, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:114", "repo_name": "rodrigo-pena/gssr", "revision_date": "2023-07-07T11:47:35", "revision_id": "a3b1419001bb3fa990201fde07a7df8cac8f7d00", "snapshot_id": "f95c99b012b90ccace9e8d509c29b0ebf2797a55", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/rodrigo-pena/gssr/a3b1419001bb3fa990201fde07a7df8cac8f7d00/README.md", "visit_date": "2023-07-20T18:03:32.244876" }
3.96875
stackv2
# Graph Signal Sampling and Recovery (GSSR) [Python][python] functionality for recovering graph signals from subsampled measurements. Currently maintained by [Rodrigo C. G. Pena](https://rodrigo-pena.github.io). The [installation guide](#installation) below contains instructions for setting up your environment to use the tools in the repository. [![DOI](https://zenodo.org/badge/188842504.svg)](https://zenodo.org/badge/latestdoi/188842504) ## Description A **graph** is a collection of vertices and edges. The latter can be weighted, often indicating the degree of similarity between the connected vertices. Any numerical quantities attached to the vertices of a graph can be considered as a **graph signal**. For example, in a social network with $n$ vertices, attach a value of $+1$ to all the users who watched [The Social Network][social-network], and $-1$ otherwise. The $n$-dimensional vector gathering the $\pm 1$ values for all the vertices is a graph signal. Querying each vertex for its signal value can be expensive in large networks, meaning one can usually afford to measure these values only at a few selected locations. This is called **subsampling** and is, mathematically, a linear operation. Let $\mathbf{x} \in \mathbb{R}^{n}$ be a graph signal and construct a matrix $\mathbf{A} \in \mathbb{R}^{m \times n}$ as follows. If vertex $i$ is sampled, then add a corresponding row to $\mathbf{A}$ filled with zeros, except at position $i$, where it has a $1$. The matrix thus constructed is called the **measurement matrix**, and $\mathbf{x} \mapsto \mathbf{Ax}$ is the subsampling operation. Setting the likelihoods with which each vertex is sampled is called a **sampling design**. To recover $\mathbf{x}$, the signal of interest, from its measurements $\mathbf{Ax}$, one needs a **decoder**. No decoder can recover *every* graph signal because for any $\mathbf{x}$ there are infinitely many vectors $\mathbf{z} \in \mathbb{R}^{n}$ satisfying the measurement constraints $\mathbf{Az} = \mathbf{Ax}$. However, for some sub-classes of signals within $\mathbb{R}^{n}$, one may find a decoder that almost always suceeds provided the number of measurements is large enough. This idea is fundamental in research areas such as [Compressed Sensing][cs]. This repository contains utilities to conveniently load graphs and signals, and implement sampling designs and decoders. ## Content - `graphs_signals.py`: Functions related to loading and representing graphs and their signals. See the `data/` folder in this repository for information on the relevant datasets. You need to follow the instructions therein to download the required files for working with each dataset. - `sampling.py`: Functions related to vertex sampling designs. - `recovery.py`: Functions related to recovery programs (decoders). - `phase_transition.py`: Functions related to the phase transition experiments commonly done in [Compressed Sensing][cs]. They allow one to observe how the recovery error varies with a set of parameters (normally the number of measurements). - `plotting.py`: Functions related to plotting of graphs and signals. - `utils.py`: A miscellaneous collection of helper functions. ## Installation guide *Remark:* You can also click the binder badge below to run the included notebooks from your browser without installing anything. [![Binder](https://mybinder.org/badge.svg)][binder] For a local installation, you will need [git], [python >= 3.6][python], [jupyter], and packages from the [python scientific stack][scipy]. I recommend using [conda] for creating and managing a separate environment for this repository. If unfamiliar with this process, you can follow the instructions below. 1. Download the Python 3.x [Miniconda installer][miniconda] and run it using default settings (another option is to download the bulkier [Anaconda installer][anaconda]). 1. Open a terminal window and install git with `conda install git`. 1. Within the terminal, navigate to the directory where you want to keep the contents from this repository (e.g., run `cd ~/Documents/github/`). 1. Download this repository to the current directory by typing `git clone https://github.com/rodrigo-pena/gssr` on the terminal. 1. Create a new environment by typing `conda create --name gssr` on the terminal. 1. Activate the environment with `conda activate gssr` (or `activate gssr`, or `source activate gssr`). 1. You should notice `gssr` typed somewhere on the newest terminal line, indicating that you are within the environment. Install the required packages by running `conda install -c conda-forge python=3.6 jupyterlab` and then `pip install -r requirements.txt`. 1. Run `python test_install.py` to check if all the requirements have been correctly installed. ## Using the repository After the (one-time) creation of the environment, you can do the following every time you want to work with this repository: 1. Open a terminal and navigate to the directory where the repository has been downloaded. 1. Activate the environment with `conda activate gssr` (or `activate gssr`, or `source activate gssr`). 1. Start Jupyter with `jupyter lab`. The command should open a new tab in your web browser. 1. Edit and run the scripts and notebooks from your browser. You can check `standard_pipeline.ipynb` for a basic idea of how to use the function modules in the repository. ## Acknowledgments The contents of this repository benefitted from the following resources: * [PyGSP][pygsp]. * [PyUNLocBoX][pyunlocbox]. * [Voting patterns in the Swiss National Council][swiss_council]. * [Finding Continents from a Flight Routes Network][flight_routes]. ## License The content is released under the terms of the [MIT License](LICENSE.txt). ## Attribution If you are using this software for your research, for the sake of reproducibility, please cite the version you used as indexed by its [Zenodo record](https://doi.org/10.5281/zenodo.1003157). Alternatively, you may cite it generically as ``` @software{gssr, author = {Rodrigo C. G. Pena}, title = {Graph Signal Sampling and Recovery (GSSR)}, publisher = {Zenodo}, doi = {10.5281/zenodo.6566207}, url = {https://github.com/rodrigo-pena/gssr} } ``` [anaconda]: https://www.anaconda.com/distribution/ [conda]: https://conda.io [cs]: https://en.wikipedia.org/wiki/Compressed_sensing [binder]: https://mybinder.org/v2/gh/rodrigo-pena/gssr/master?urlpath=lab [flight_routes]: https://github.com/franckdess/NTDS_Project [git]: https://git-scm.com [jupyter]: https://jupyter.org/ [miniconda]: https://conda.io/miniconda.html [pygsp]: https://github.com/epfl-lts2/pygsp [python]: https://www.python.org [pyunlocbox]: https://github.com/epfl-lts2/pyunlocbox [scipy]: https://www.scipy.org [social-network]: https://www.imdb.com/title/tt1285016/ [swiss_council]: https://github.com/nikolaiorgland/conseil_national 
2024-11-18T18:08:26.306120+00:00
2023-07-08T22:58:32
4b97fc16a8f63ac2590e347d6e528339006a383e
4
{ "blob_id": "4b97fc16a8f63ac2590e347d6e528339006a383e", "branch_name": "refs/heads/main", "committer_date": "2023-07-08T22:58:32", "content_id": "caede899cddd331b96ccc09eb4c130a786b983bd", "detected_licenses": [ "MIT" ], "directory_id": "64a809e70c72c410d1c70621d21ce132235f3721", "extension": "md", "filename": "readme.md", "fork_events_count": 101, "gha_created_at": "2020-10-31T08:21:45", "gha_event_created_at": "2022-09-24T04:45:43", "gha_language": "C", "gha_license_id": "MIT", "github_id": 308836369, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 7562, "license": "MIT", "license_type": "permissive", "path": "/platforms/amiga/piscsi/readme.md", "provenance": "stack-edu-markdown-0000.json.gz:115", "repo_name": "captain-amygdala/pistorm", "revision_date": "2023-07-08T22:58:32", "revision_id": "da7408dbc6f38b7ec0d149fa2230080bb1828239", "snapshot_id": "f9b30d3c166f16753fcac375471e2601c5c70c26", "src_encoding": "UTF-8", "star_events_count": 657, "url": "https://raw.githubusercontent.com/captain-amygdala/pistorm/da7408dbc6f38b7ec0d149fa2230080bb1828239/platforms/amiga/piscsi/readme.md", "visit_date": "2023-09-02T09:36:52.396507" }
3.734375
stackv2
# PiSCSI Interface/Device driver for Amiga A high performance replacement for scsi.device, allowing automatic booting and mounting of raw hard disk (RDB/RDSK) images. While this driver is considered mostly stable, you should not use it in conjunction with any critical one of a kind data that you need to survive. # Compatibility * PiSCSI **requires** some Fast RAM to be mapped on your PiStorm to work. * This may change at some point, but for now make sure that you configure at the very least a few megabytes of Fast RAM so that the boot ROM can load and initialize properly. * PiSCSI **requires** emulation of a 32-bit CPU to be used. It will not work when using 68000, 68010 or 68EC020 emulation. * Theoretically, PiSCSI should now be compatible with any block size up to 64KB, but this is not very thoroughly tested when you are reading this particular piece of text. * Autobooting, Kickstart 2.0 and up * PiSCSI does NOT work with Kickstart 1.3 yet, as it is missing some code needed to properly add boot nodes with old Kickstarts. * Enabling PiSCSI without mapping any drives on 1.3 will however give you 128MB of Fast RAM, as long as you leave the default Z3 Fast RAM mapping enabled. * Mounting RDSK/RDB disk images, physical devices with a file system the Amiga can use * PiSCSI **does NOT** work with **specifically UAE single partition** disk images prepared and formatted using WinUAE yet. You can check what type the disk image is using a hex editor, if it starts with `RDSK`, it is a full drive RDSK/RDB image, if it starts with `DOS` it is most likely a UAE single partition disk image. * It **does** however work with any UAE disk image prepared using the **Full drive/RDB mode** selected in the Hardfile settings. Using **Full drive/RDB mode** in for instance WinUAE requires you to click the button labeled with this exact piece of text. * When mounting a physical drive for use with PiSCSI, please read the `A big word of caution` at the bottom of this page * TrackDisk, TrackDisk64 and Direct SCSI # Instructions To use the PiSCSI interface, simply enable it by uncommenting the `setvar piscsi` line in default.cfg, or add it to the config file you're currently using. Add disk images to the PiSCSI interface by uncommenting the `piscsi0` and `piscsi1` lines and editing them to point at the disk image(s) you want to use. Physical drives can also be mounted using their mount point files on Linux, such as `/dev/sda` for a USB stick, but keep in mind that this is dangerous as it can destroy the contents of the disk if you're unluck or you repartition it. You can mount up to 7 disk images using setvar `piscsi0` through `piscsi6`. For preparing a disk image **on your Amiga with a PiStorm connected**, you can for instance make a copy of the Workbench tool `HDToolBox`, and then edit the tooltypes (`Icon -> Information` menu) to use `pi-scsi.device` instead of `scsi.device`. **No copying of the pi-scsi.device driver to `DEVS:` or anything like that is necessary, as the driver is loaded from ROM on boot/config time.** If you want EVEN MORE speed, either adjust the size of your hard drive image so that it gets properly detected with 16 heads in HDToolBox or manually edit the Cylinders/Heads settings when setting up your drive. Creating a disk image that is a multiple of **504 megabytes** seems suitable for this purpose. (The trackdisk device on the Amiga seems to enable transfers bigger than 512 bytes (one sector) only if the drive is identified as having more than one drive head/surface.) # Making changes to the driver If you make changes to the driver, you can always test these on the Amiga as a regular file in `DEVS:`, but the Z2 device has to be disabled for this to work properly. Disabling the Z2 device requires you to comment out the line `add_z2_pic(ACTYPE_PISCSI, 0);` in `amiga-platform.c`. Steps to create an updated boot ROM, all of these are done in the `device_driver_amiga` directory: * (Optional) If you've made changes to bootrom.s, first run `./build.sh`. * (Optional) If you've had build.sh create a new `bootrom` file, you need to chop off the first few bytes of it, since VASM adds a single hunk to the beginning of it. Simply delete all bytes up until you bump into the value `0x90`, this is the first value in the boot ROM identifier. * Compile the new `pi-scsi.device` using `./build2.sh`. * (Optional) If you haven't previously compiled the `makerom` binary, or the code for it has been updated since last time, simply run `gcc makerom.c -o makerom` * Run `./makerom` to assemble the boot ROM file, it's automatically in the correct place for the emulator to find it. # Some quick instructions for mounting a FAT32 disk image or disk using PiSCSI * Download giggledisk from http://www.geit.de/eng_giggledisk.html or https://aminet.net/package/disk/misc/giggledisk to make MountLists for attached devices. Place the giggledisk binary in `C:` or something so that it's available in the search path. * It might be a good idea to have fat95 installed on your Amiga, in case you want to use FAT32 images or other file systems that fat95 can handle: https://aminet.net/package/disk/misc/fat95 Now open a new CLI, and type something like: `giggledisk device=pi-scsi.device unit=0 to=RAM:PI0` This will create a MountList file called `PI0` on the RAM disk, which contains almost all the information needed to mount the drive and its partitions in Workbench. For specifying the `unit=` part of the command line, the number corresponds to the setvar used in your config file, so (`piscsi1`) would be `unit=1`. Similarly, `piscsi2` through `piscsi6` will be `unit=2` through `unit=6`. You'll have to start up your favorite (or least hated) text editor and change the contents of the file a bit. Above the `FileSystem` line, you'll notice a drive identifier. This line might say something along the lines of `DH0` or `PDH0`, etc, and it must be removed, otherwise the file can't be parsed. The `FileSystem` line will usually be empty, so you have to fill this out yourself. For instance, you can set it to something like `L:FastFileSystem` to use the standard file system for the drive, or `L:fat95` in case the image is in a format that fat95 can handle. Thus, an edited line would look something like `FileSystem = L:FastFileSystem` Or `FileSystem = L:fat95` in the case of a FAT32 drive. If the MountList has several partitions listed in it, it must be split up into separate files for all partitions to be mounted. Once you've edited a MountList file, simply copy/move it to `SYS:Devs/DOSDrivers`, and the drive will be mounted automatically the next time you boot into Workbench. If you don't want it to be mounted automatically, simply use the `Mount` command from CLI. # Amiga Fast File System (AFFS) considerations The AmigaOS 3.2 installation instructions instruct users to enable the "Direct SCSI transfer" option for each partition. While this is supported performance will be marginally faster if you leave this option disabled. MaxTransfer can be left default or set to the traditional IDE maximum theoretical setting `0x1FE00`. # A big word of caution While the PiSCSI interface can be used to mount physical drives that are available as block device nodes on the Pi, you should not do this unless you are absolutely sure what you're doing. Directly mounting a block device connected to the Pi may corrupt or destroy the data on the device, depending on what you or the file system drivers do with this disk on the Amiga side.
2024-11-18T18:08:26.347907+00:00
2023-07-20T07:01:59
57ed2f5e8b7cc5e1c47c56cf01b9f2d07946bf01
4
{ "blob_id": "57ed2f5e8b7cc5e1c47c56cf01b9f2d07946bf01", "branch_name": "refs/heads/main", "committer_date": "2023-07-20T07:01:59", "content_id": "f9dd31ac34334f3f001c8dbcb7f6760a9d443150", "detected_licenses": [ "Apache-2.0" ], "directory_id": "759878fa21a4d9874f2de981671b8a0441a4880a", "extension": "md", "filename": "readme.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 150510495, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 9146, "license": "Apache-2.0", "license_type": "permissive", "path": "/400-devops/09-Scripting-Language/golang/introduction/part-4.commandline/readme.md", "provenance": "stack-edu-markdown-0000.json.gz:116", "repo_name": "yudady/yudady.github.io", "revision_date": "2023-07-20T07:01:59", "revision_id": "04650b300b0c624355e8a31ef8f0e54cdf79a6aa", "snapshot_id": "f3878f67d998ab8a91e8b028fdac93858fc5122e", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/yudady/yudady.github.io/04650b300b0c624355e8a31ef8f0e54cdf79a6aa/400-devops/09-Scripting-Language/golang/introduction/part-4.commandline/readme.md", "visit_date": "2023-08-07T18:43:05.295244" }
4.0625
stackv2
# Introduction to Go: Command Line Command line apps are a fundamental part of software development <br/> Go has a built in Commandline parser package. The package can be found [here](https://golang.org/pkg/flag/) <br/> We simply have to import the `flag` package: ``` import ( "flag" ) ``` [In part 1](../readme.md), we covered the fundamentals of writing basic Go <br/> [In part 2](../part-2.json/readme.md), we've learn how to use basic data structures like `json` so we can send\receive data. <br/> [Part 3](../part-3.http/readme.md) was about exposing data via a Web server. We'll be combining these techniques so we can serve our `videos` data over a commandline application. As always, let's start with our `dockerfile` , `main.go` and `videos.go` we created in Part 2 ## Dev Environment The same as Part 1+2+3, we start with a [dockerfile](./dockerfile) where we declare our version of `go`. ``` cd golang\introduction\part-4.commandline docker build --target dev . -t go docker run -it -v ${PWD}:/work go sh go version ``` ## Create our App Create a new directory that holds defines our `repository` and holds our `module` ``` mkdir videos cd videos ``` * Define a module path ``` # create a go module file go mod init videos ``` ## Create our base code We start out all our applications with a `main.go` defining our `package`, declaring our `import` dependencies <br/> and our entrypoint `main()` function ``` package main import "fmt" func main() { fmt.Println("Hello, world.") } ``` ## Create our Videos app Firstly, we create a seperate code file `videos.go` that deals with our YouTube videos <br/> The `videos.go` file defines what a video `struct` looks like, a `getVideos()` function to retrieve <br/> videos list as a slice and a `saveVideos()` function to save videos to a file locally. <br/> Let's copy the following content from Part 2 and create `videos.go` : We want `videos.go` to be part of package main: ``` package main ``` We import 2 packages, 1 for reading and writing files, and another for dealing with `json` ``` import ( "io/ioutil" "encoding/json" ) ``` Then we define what a video `struct` looks like: ``` type video struct { Id string Title string Description string Imageurl string Url string } ``` We have a function for retrieving `video` objects as a list of type `slice` : ``` func getVideos()(videos []video){ fileBytes, err := ioutil.ReadFile("./videos.json") if err != nil { panic(err) } err = json.Unmarshal(fileBytes, &videos) if err != nil { panic(err) } return videos } ``` We also need to copy our `videos.json` file which contains our video data. <br/> And finally, we have a function that accepts a list of type `slice` and stores the videos to a local file ``` func saveVideos(videos []video)(){ videoBytes, err := json.Marshal(videos) if err != nil { panic(err) } err = ioutil.WriteFile("./videos.json", videoBytes, 0644) if err != nil { panic(err) } } ``` ## Flag Package https://golang.org/pkg/flag/ Package flag implements command-line flag parsing. So we can run our videos app and pass it inputs like any other CLI. Let's build a CLI tool that users our `getVideos()` and `saveVideos` functions. To get all videos, perhaps we'd like a command ``` # get all videos videos get --all # get video by ID videos get -id <video-id> # add a video to our list videos add -id -title -url -imageurl -desc ``` To start, we import package `flag` ``` import ( "flag" "fmt" ) ``` Let's define our subcommands in `main.go` : ``` //'videos get' subcommand getCmd := flag.NewFlagSet("get", flag.ExitOnError) ``` `videos get` command will need two inputs, `--all` if the user wants to return all videos, or `--id` if the user only wants a specific video ``` // inputs for `videos get` command getAll := getCmd.Bool("all", false, "Get all videos") getID := getCmd.String("id", "", "YouTube video ID") ``` `videos add` command will take a bit more inputs to be able to add a video to our storage. ``` addCmd := flag.NewFlagSet("add", flag.ExitOnError) addID := addCmd.String("id", "", "YouTube video ID") addTitle := addCmd.String("title", "", "YouTube video Title") addUrl := addCmd.String("url", "", "YouTube video URL") addImageUrl := addCmd.String("imageurl", "", "YouTube video Image URL") addDesc := addCmd.String("desc", "", "YouTube video description") ``` When a user runs our videos CLI tool, we may need to validate that our application receives the right subcommands. So lets ensure a simple validation to check if the user has passed a subcommand To check the arguments passed to our CLI, we use the ["os"](https://golang.org/pkg/os/) package. Check the Args variable, it holds usefull information passed to our application including its name. `var Args []string` We can do a simple check by ensuring the length of `os.Args` is atleast 2. We firstly need to add `os` to our import section </br> Followed by our check: ``` if len(os.Args) < 2 { fmt.Println("expected 'get' or 'add' subcommands") os.Exit(1) } ``` ## Handling our subcommands So to handle each sub command like `get` and `add`, we add a simple `switch` statement that can branch into different pathways of execution, based on a variables content. Let's take a look at this simple `switch` statement: ``` //look at the 2nd argument's value switch os.Args[1] { case "get": // if its the 'get' command //hande get here case "add": // if its the 'add' command //hande add here default: // if we don't understand the input } ``` Let's create seperate handler functions for each sub command to keep our code tidy: ``` func HandleGet(getCmd *flag.FlagSet, all *bool, id *string){ } func HandleAdd(addCmd *flag.FlagSet,id *string, title *string, url *string, imageUrl *string, description *string ){ } ``` Now that we have seperate functions for each subcommand, we can take appropriate actions in each. Let's firstly parse the command flags for each subcommand: This allows us to parse everything after the `videos <subcommand>` arguments: ``` getCmd.Parse(os.Args[2:]) ``` ## Input Validation For our `HandleGet` function, let's validate input to ensure its correct. ``` if *all == false && *id == "" { fmt.Print("id is required or specify --all for all videos") getCmd.PrintDefaults() os.Exit(1) } ``` Let's handle the scenario if user passing `--all` flag: ``` if *all { //return all videos videos := getVideos() fmt.Printf("ID \t Title \t URL \t ImageURL \t Description \n") for _, video := range videos { fmt.Printf("%v \t %v \t %v \t %v \t %v \n",video.Id, video.Title, video.Url, video.Imageurl,video.Description) } return } ``` Let's handle when user is searching for a video by ID ``` if *id != "" { videos := getVideos() id := *id for _, video := range videos { if id == video.Id { fmt.Printf("ID \t Title \t URL \t ImageURL \t Description \n") fmt.Printf("%v \t %v \t %v \t %v \t %v \n",video.Id, video.Title, video.Url, video.Imageurl,video.Description) } } } ``` ## Parsing multiple fields For our `HandleAdd` function, we need to validate multiple inputs, create a `video` struct, append it to the existing video list and save it back to file Let's create a `ValidateVideo()` function with similar inputs to our `HandleAdd()`: ``` func ValidateVideo(addCmd *flag.FlagSet,id *string, title *string, url *string, imageUrl *string, description *string ){ } ``` Let's simply validate all fields since they are all required: ``` if *id == "" || *title == "" || *url == "" || *imageUrl == "" || *description == "" { fmt.Print("all fields are required for adding a video") addCmd.PrintDefaults() os.Exit(1) } ``` And we can now call this function in our add function: ``` ValidateVideo(addCmd, id,title,url, imageUrl, description) ``` ## Adding our video Now that we have some basic validation, not perfect, but good enough to get started, let's add our video to the existing file. Define a video struct with the CLI input: ``` video := video{ Id: *id, Title: *title, Description: *description, Imageurl: *imageUrl, Url: *url, } ``` Get the existing videos: ``` videos := getVideos() ``` Append our video to the list: ``` videos = append(videos,video) ``` Save the new updated video list: ``` saveVideos(videos) ``` # Build our Docker container Let's uncomment all the build lines in the `dockerfile` Full `dockerfile` : ``` FROM golang:1.15-alpine as dev WORKDIR /work FROM golang:1.15-alpine as build WORKDIR /videos COPY ./videos/* /videos/ RUN go build -o videos FROM alpine as runtime COPY --from=build /videos/videos /usr/local/bin/videos COPY ./videos/videos.json / COPY run.sh / RUN chmod +x /run.sh ENTRYPOINT [ "./run.sh" ] ``` For our entrypoint, we need to create a shell script to accept all the arguments: Let's create a script called `run.sh` ``` #!/bin/sh videos $@ ``` Build : ``` cd golang\introduction\part-4.commandline docker build . -t videos ``` Run : ``` docker run -it videos get --help ```
2024-11-18T18:08:26.474433+00:00
2021-06-23T08:39:42
ed5cf410210a767a94d03f32b029754893b06116
3
{ "blob_id": "ed5cf410210a767a94d03f32b029754893b06116", "branch_name": "refs/heads/master", "committer_date": "2021-06-23T08:39:42", "content_id": "55d4643290299cd089e5708ac2fb095182e02731", "detected_licenses": [ "MIT" ], "directory_id": "cdcafeea5fcf8bd49563e9af4ae9b6e5983cc49d", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2874, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:117", "repo_name": "jubalskaggs/go-tart", "revision_date": "2021-06-23T08:39:42", "revision_id": "ceb57e98706b641412ac9c2ec4e55c7c1e238d68", "snapshot_id": "96005d86ae210e253fc775f9a55089cb661a28e1", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/jubalskaggs/go-tart/ceb57e98706b641412ac9c2ec4e55c7c1e238d68/README.md", "visit_date": "2023-06-03T00:09:11.145886" }
3.46875
stackv2
<h1 align="center">go-tart (go-TA RealTime)</h1> [![Build Status](https://travis-ci.com/iamjinlei/go-tart.svg?branch=master)](https://travis-ci.com/iamjinlei/go-tart) [![Go Report Card](https://goreportcard.com/badge/github.com/iamjinlei/go-tart)](https://goreportcard.com/report/github.com/iamjinlei/go-tart) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Go Reference](https://pkg.go.dev/badge/github.com/iamjinlei/go-tart.svg)](https://pkg.go.dev/github.com/iamjinlei/go-tart) ## Intro [go-talib](https://github.com/markcheno/go-talib) project provides a nice port of the C-implementation [TA-Lib](http://ta-lib.org/). However, its code is very verbose and hard to read due to the straight translation from the "C" code of [TA-Lib](http://ta-lib.org/). More often, streaming incremental updates to indicators is desirable. We don't want to recalculate the full result if the sliding window only moves forward a single value while history values are not changed at all. Recalculation of the history for every new value is expensive. With those in mind, [go-tart](https://github.com/iamjinlei/go-tart) intends to support streaming updates of new values with a concise implementation. Most of the indicators from [go-talib](https://github.com/markcheno/go-talib) are realized except a few trivial ones and those involves *Hilbert Transform*. Results are verified using [TA-Lib](http://ta-lib.org/)'s output. MACD's "stability" issue from [go-talib](https://github.com/markcheno/go-talib) is fixed. ## Performance A benchmark is written to compare the performance for the set of indicators from both [go-talib](https://github.com/markcheno/go-talib) and [go-talib](https://github.com/markcheno/go-talib). This is not a scientific evaluation but gives a sense of how they perform in case of a full recalculation. As shown below, [go-tart](https://github.com/iamjinlei/go-tart) is about 3X slower in full recalculation, which is due to function call to *Update* in each iteration. [go-talib](https://github.com/markcheno/go-talib) holds advantage because its code is inlined. ```bash gotest -run ^$ -bench=. BenchmarkTart-4 2019 496703 ns/op BenchmarkTalib-4 7944 150311 ns/op ``` After the initial full calculation, [go-tart](https://github.com/iamjinlei/go-tart) should perform better as it only needs a single iteration cost to compute a new update. ## Install Install the package with: ```bash go get github.com/iamjinlei/go-tart ``` Import it with: ```go import "github.com/iamjinlei/go-tart" ``` and use `tart` as the package name ## Exmaple ```go package main import ( "fmt" "github.com/iamjinlei/go-tart" ) func main() { sma := tart.NewSma(5) for i := 0; i < 20; i++ { fmt.Printf("sma[%v] = %.4f\n", i, sma.Update(float64(i%7))) } } ```
2024-11-18T18:08:26.599428+00:00
2021-05-28T01:52:26
5bfd6f497933ec1f40f9269e5b4c2b1dc9b5d842
2
{ "blob_id": "5bfd6f497933ec1f40f9269e5b4c2b1dc9b5d842", "branch_name": "refs/heads/master", "committer_date": "2021-05-28T01:52:26", "content_id": "3e02b5fb4f66a284f133fafd034a8744baf04dfc", "detected_licenses": [ "MIT" ], "directory_id": "ee521af229dfa9d0e5c6bfb4b944923f8760e217", "extension": "md", "filename": "3-d-1.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 364073383, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1553, "license": "MIT", "license_type": "permissive", "path": "/meta/3-d-1.md", "provenance": "stack-edu-markdown-0000.json.gz:118", "repo_name": "Rebusiness/sustainabledevelopment-afg-data", "revision_date": "2021-05-28T01:52:26", "revision_id": "06e203181bc4e66b764d919544d273d8555c1268", "snapshot_id": "12d96e9ce19320bba02fabb9a1b82679e3ea2fcc", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Rebusiness/sustainabledevelopment-afg-data/06e203181bc4e66b764d919544d273d8555c1268/meta/3-d-1.md", "visit_date": "2023-05-13T20:28:01.848619" }
2.453125
stackv2
--- indicator_number: 3.d.1 goal_meta_link: 'https://unstats.un.org/sdgs/metadata/files/Metadata-03-0D-01.pdf' goal_meta_link_text: United Nations Sustainable Development Goals Metadata (pdf 865kB) graph_type: line indicator_name: International Health Regulations (IHR) capacity and health emergency preparedness target_name: >- Strengthen the capacity of all countries, in particular developing countries, for early warning, risk reduction and management of national and global health risks title: International Health Regulations (IHR) capacity and health emergency preparedness un_custodian_agency: WHO un_designated_tier: 'Tier I' data_non_statistical: false data_show_map: false source_active_1: true source_url_text_1: 'Global Health Observatory data repository/International Health Regulations (2005) monitoring framework/All capacities Data by country' source_active_2: false source_url_text_2: Link to Source source_active_3: false source_url_3: Link to source source_active_4: false source_url_text_4: Link to source source_active_5: false source_url_text_5: Link to source source_active_6: false source_url_text_6: Link to source computation_units: 'Percentage (%)' national_geographical_coverage: Rwanda graph_title: International Health Regulations (IHR) capacity and health emergency preparedness source_organisation_1: World Health Organization (WHO) source_periodicity_1: Annual source_earliest_available_1: '2013' source_geographical_coverage_1: Rwanda source_url_1: >- https://apps.who.int/gho/data/node.main.IHR00ALLN?lang=en ---
2024-11-18T18:08:26.754034+00:00
2021-10-27T00:19:35
2e7731e9b577897098d77cc72c76fca26ea1fdb6
3
{ "blob_id": "2e7731e9b577897098d77cc72c76fca26ea1fdb6", "branch_name": "refs/heads/master", "committer_date": "2021-10-27T00:19:35", "content_id": "c71ed5a6c3f2f5fc83242507289a888ea631211b", "detected_licenses": [ "MIT" ], "directory_id": "0acfbc36aa01cedba91fa276d5f4a71600bd19a2", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 307251789, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 490, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:119", "repo_name": "nima-m-git/to-do-react", "revision_date": "2021-10-27T00:19:35", "revision_id": "258f4b15e3a8faeb865687e38c76802565b3b627", "snapshot_id": "fa036f9f0c328ba31a9157afc635a92f9877e61c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/nima-m-git/to-do-react/258f4b15e3a8faeb865687e38c76802565b3b627/README.md", "visit_date": "2023-08-23T20:45:34.332033" }
2.6875
stackv2
# To-Do To-Do is React App to organize and keep track of your tasks in group categories. ## Installation Download package folder. Use npm to install dependancies. `$ npm install` ## Usage npm or yarn to start app `$ yarn start` or `$ npm start` Add groups for tasks, update, or delete. Tasks can be checked as completed. Data stored in localStorage. ## Hosted Project hosted at https://nima-m-git.github.io/to-do-react/ ## License [MIT](https://choosealicense.com/licenses/mit/)
2024-11-18T18:08:26.876403+00:00
2023-04-26T11:34:27
c3758da7f6bfd269d54706fae4a21e49d24250aa
4
{ "blob_id": "c3758da7f6bfd269d54706fae4a21e49d24250aa", "branch_name": "refs/heads/master", "committer_date": "2023-04-26T11:34:27", "content_id": "c9e0773bd45b1846d8fdc493cd5644897d1e5815", "detected_licenses": [ "Unlicense" ], "directory_id": "2ecaebe97143e3ab0df81ff4fce7b9139dc49337", "extension": "md", "filename": "ackermann-function.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 136829754, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1011, "license": "Unlicense", "license_type": "permissive", "path": "/360-toc/630-computability-theory/633-recursion-theory/ackermann-function.md", "provenance": "stack-edu-markdown-0000.json.gz:120", "repo_name": "mandober/debrief.math", "revision_date": "2023-04-26T11:34:27", "revision_id": "7afe2e0cc9a2399ef98c31a4600a35e8dbef9ec7", "snapshot_id": "593104b6520079afb94426393e570cd0303a7485", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/mandober/debrief.math/7afe2e0cc9a2399ef98c31a4600a35e8dbef9ec7/360-toc/630-computability-theory/633-recursion-theory/ackermann-function.md", "visit_date": "2023-05-30T07:25:50.131298" }
3.515625
stackv2
# Ackermann function https://en.wikipedia.org/wiki/Ackermann_function In computability theory, the Ackermann function, named after Wilhelm Ackermann, is one of the simplest and earliest-discovered examples of a *total computable function that is not primitive recursive*. All primitive recursive functions are total and computable, but the Ackermann function illustrates that not all total computable functions are primitive recursive. After Ackermann's publication of his ternary function, many authors modified it to suit various purposes, so that today "the Ackermann function" may refer to any of numerous variants of the original function. One common version, the binary *Ackermann-Péter function*, is defined as follows for nonnegative integers m and n: ```hs ack 0 n = n + 1 ack m 0 = ack (m - 1) 1 ack m n = ack (m - 1) (ack m (n - 1)) ``` Its value grows rapidly, even for small inputs. For example, `A 4 2` is an integer with 19,729 digits, equivalent to `2⁶⁵⁵³⁶ − 3` or `⁵2 - 3`.
2024-11-18T18:08:26.917874+00:00
2023-08-29T18:39:08
e1fa3bb694ff6fafa057ad4ffbbc5c8e043a2735
4
{ "blob_id": "e1fa3bb694ff6fafa057ad4ffbbc5c8e043a2735", "branch_name": "refs/heads/master", "committer_date": "2023-08-29T18:39:08", "content_id": "6b012fe92e46572261b25260dad42eda3fe59b4e", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "7a55f7f42b8eda87b23d4d622aa8882a3912ca7f", "extension": "md", "filename": "README.md", "fork_events_count": 105, "gha_created_at": "2018-03-20T00:42:03", "gha_event_created_at": "2023-08-25T14:15:58", "gha_language": "Elixir", "gha_license_id": "BSD-3-Clause", "github_id": 125938964, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 9258, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/cli/README.md", "provenance": "stack-edu-markdown-0000.json.gz:121", "repo_name": "mirego/accent", "revision_date": "2023-08-29T18:39:08", "revision_id": "03d8bad0373ccfb7d0fcacebf372a30b0e25b2e8", "snapshot_id": "bd5fffa1491ca8b3d898392fda3cad289ff20e8d", "src_encoding": "UTF-8", "star_events_count": 985, "url": "https://raw.githubusercontent.com/mirego/accent/03d8bad0373ccfb7d0fcacebf372a30b0e25b2e8/cli/README.md", "visit_date": "2023-09-03T17:28:43.748777" }
4
stackv2
Accent CLI ====== [![Version](https://img.shields.io/npm/v/accent-cli.svg)](https://npmjs.org/package/accent-cli) [![Build Status](https://img.shields.io/travis/v/accent-cli.svg?branch=master)](https://travis-ci.com/mirego/accent-cli) <!-- toc --> * [Usage](#usage) * [Configuration](#configuration) * [Commands](#commands) * [GitHub Actions](#github-actions) * [License](#license) * [About Mirego](#about-mirego) <!-- tocstop --> # Usage <!-- usage --> ```sh-session $ npm install -g accent-cli $ accent COMMAND running command... $ accent (-v|--version|version) accent-cli/0.14.1 darwin-arm64 node-v16.15.1 $ accent --help [COMMAND] USAGE $ accent COMMAND ... ``` <!-- usagestop --> # Configuration accent-cli reads from a `accent.json` file. The file should contain valid JSON representing the configuration of your project. ## Example ``` { "apiUrl": "http://your.accent.instance", "apiKey": "2nziVSaa8yUJxLkwoZA", "files": [ { "format": "json", "source": "localization/fr/*.json", "target": "localization/%slug%/%document_path%.json", "hooks": { "afterSync": "touch sync-done.txt" } } ] } ``` ## Document configuration Format for the `accent.json` file. - `apiUrl`: The base URL of your Accent Instance - `apiKey`: Api Key to your Accent Instance - `project`: Your Project uuid Available ENV variables. (Each variable will override `accent.json` variables if set) - `ACCENT_API_KEY`: The base URL of your Accent Instance - `ACCENT_API_URL`: Api Key to your Accent Instance - `ACCENT_PROJECT`: Your Project uuid Each operation section `sync` and `addTranslations` can contain the following object: - `language`: The identifier of the document’s language - `format`: The format of the document - `source`: The path of the document. This can contain glob pattern (See [the node glob library] used as a dependancy (https://github.com/isaacs/node-glob)) - `target`: Path of the target languages - `namePattern`: Pattern to use to save the document name in Accent. - `hooks`: List of hooks to be run ## Name pattern `file` (default): Use the name of the file without the extension. In the example, the document name in Accent will be `Localizable`. ``` { "files": [ { "namePattern": "file", "format": "strings", "source": "Project/Resources/en.lproj/Localizable.strings", "target": "Project/Resources/%slug%.lproj/%document_path%.strings" } ] } ``` `fileWithSlugSuffix`: Use the name of the file without the extension but also stripping the language slug in the file suffix. In the example, the document name in Accent will be `Localizable`. ``` { "files": [ { "namePattern": "fileWithSlugSuffix", "format": "strings", "source": "Project/Resources/Localizable.en.strings", "target": "Project/Resources/%document_path%.%slug%.strings" } ] } ``` `parentDirectory`: Use the name of the directory instead of the file name. This is useful for framework which name the file with only the language. In the example, the document name in Accent will be `translations`. ``` { "files": [ { "namePattern": "parentDirectory", "format": "json", "source": "translations/en.json", "target": "translations/%slug%.json" } ] } ``` ## Hooks Here is a list of available hooks. Those are self-explanatory - `beforeSync` - `afterSync` - `beforeExport` - `afterExport` # Commands <!-- commands --> * [`accent export`](#accent-export) * [`accent format`](#accent-format) * [`accent help [COMMAND]`](#accent-help-command) * [`accent jipt PSEUDOLANGUAGENAME`](#accent-jipt-pseudolanguagename) * [`accent lint`](#accent-lint) * [`accent stats`](#accent-stats) * [`accent sync`](#accent-sync) ## `accent export` Export files from Accent and write them to your local filesystem ``` USAGE $ accent export OPTIONS --config=config [default: accent.json] Path to the config file --order-by=index|key [default: index] Order of the keys --version=version Fetch a specific version EXAMPLES $ accent export $ accent export --order-by=key --version=build.myapp.com:0.12.345 ``` _See code: [src/commands/export.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/export.ts)_ ## `accent format` Format local files from server. Exit code is 1 if there are errors. ``` USAGE $ accent format OPTIONS --config=config [default: accent.json] Path to the config file --order-by=index|key|-index|-key [default: index] Order of the keys EXAMPLE $ accent format ``` _See code: [src/commands/format.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/format.ts)_ ## `accent help [COMMAND]` display help for accent ``` USAGE $ accent help [COMMAND] ARGUMENTS COMMAND command to show help for OPTIONS --all see all commands in CLI ``` _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_ ## `accent jipt PSEUDOLANGUAGENAME` Export jipt files from Accent and write them to your local filesystem ``` USAGE $ accent jipt PSEUDOLANGUAGENAME ARGUMENTS PSEUDOLANGUAGENAME The pseudo language for in-place-translation-editing OPTIONS --config=config [default: accent.json] Path to the config file EXAMPLE $ accent jipt ``` _See code: [src/commands/jipt.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/jipt.ts)_ ## `accent lint` Lint local files and display errors if any. Exit code is 1 if there are errors. ``` USAGE $ accent lint OPTIONS --config=config [default: accent.json] Path to the config file EXAMPLE $ accent lint ``` _See code: [src/commands/lint.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/lint.ts)_ ## `accent stats` Fetch stats from the API and display it beautifully ``` USAGE $ accent stats OPTIONS --config=config [default: accent.json] Path to the config file EXAMPLE $ accent stats ``` _See code: [src/commands/stats.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/stats.ts)_ ## `accent sync` Sync files in Accent and write them to your local filesystem ``` USAGE $ accent sync OPTIONS --add-translations Add translations in Accent to help translators if you already have translated strings locally --config=config [default: accent.json] Path to the config file --dry-run Do not write the file from the export _after_ the operation --merge-type=smart|passive|force [default: passive] Algorithm to use on existing strings when adding translation --order-by=index|key [default: index] Will be used in the export call as the order of the keys --sync-type=smart|passive [default: smart] Algorithm to use on existing strings when syncing the main language --version=version Sync a specific version, the tag needs to exists in Accent first EXAMPLES $ accent sync $ accent sync --dry-run --sync-type=force $ accent sync --add-translations --merge-type=smart --order-key=key --version=v0.23 ``` _See code: [src/commands/sync.ts](https://github.com/mirego/accent/blob/v0.14.1/src/commands/sync.ts)_ <!-- commandsstop --> # GitHub Actions In addition to syncing the translations manually, you can add a GitHub Actions workflow to your project in order to automate the process. ## Example ```yaml name: Accent on: schedule: - cron: "0 4 * * *" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 - run: npm install -g accent-cli - run: accent sync --add-translations --merge-type=passive --order-by=key - uses: mirego/create-pull-request@v5 with: add-paths: "*.json" commit-message: Update translations committer: github-actions[bot]<EMAIL_ADDRESS> author: github-actions[bot]<EMAIL_ADDRESS> branch: accent draft: false delete-branch: true title: New translations are available to merge body: The translation files have been updated, feel free to merge this pull request after review. ``` In this example the translations will be synchronized daily at midnight eastern time. Using a pull request gives you the opportunity to review the changes before merging them in your codebase. # License `accent-cli` is © 2019 [Mirego](http://www.mirego.com) and may be freely distributed under the [New BSD license](http://opensource.org/licenses/BSD-3-Clause). See the [`LICENSE.md`](https://github.com/mirego/accent-cli/blob/master/LICENSE.md) file. # About Mirego [Mirego](http://mirego.com) is a team of passionate people who believe that work is a place where you can innovate and have fun. We’re a team of [talented people](http://life.mirego.com) who imagine and build beautiful Web and mobile applications. We come together to share ideas and [change the world](http://mirego.org). We also [love open-source software](http://open.mirego.com) and we try to give back to the community as much as we can.
2024-11-18T18:08:27.017789+00:00
2016-03-05T15:21:53
c2d227e0b8835db614898de85973dc81569579ae
4
{ "blob_id": "c2d227e0b8835db614898de85973dc81569579ae", "branch_name": "refs/heads/master", "committer_date": "2016-03-05T15:21:53", "content_id": "69d34b5064eeaecbb668f108ce83d508fcc0ace8", "detected_licenses": [ "MIT" ], "directory_id": "8fda9f1d34324198ac4c374612e4e8162d8c1ecc", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": "2016-02-06T20:44:07", "gha_event_created_at": "2016-03-05T15:21:54", "gha_language": "Scala", "gha_license_id": null, "github_id": 51221061, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 14186, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:122", "repo_name": "vpavkin/scalist", "revision_date": "2016-03-05T15:21:53", "revision_id": "0b6939f74aa65319aa9502cd0536930c37fb50a9", "snapshot_id": "dc13c7f6765c38ae2a6fd60706c60f0cc9b854ec", "src_encoding": "UTF-8", "star_events_count": 14, "url": "https://raw.githubusercontent.com/vpavkin/scalist/0b6939f74aa65319aa9502cd0536930c37fb50a9/README.md", "visit_date": "2020-04-15T14:48:36.187398" }
3.765625
stackv2
# Scalist ### Todoist API client for Scala [![Build Status](https://img.shields.io/travis/vpavkin/scalist/master.svg)](https://travis-ci.org/vpavkin/scalist) [![Coverage status](https://img.shields.io/codecov/c/github/vpavkin/scalist/master.svg)](https://codecov.io/github/vpavkin/scalist?branch=master) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vpavkin/scalist/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/ru.pavkin/scalist-core_2.11.svg)](https://github.com/vpavkin/scalist) [![Join the chat at https://gitter.im/vpavkin/scalist](https://badges.gitter.im/vpavkin/scalist.svg)](https://gitter.im/vpavkin/scalist?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Scalist is a client library for [Todoist API](https://developer.todoist.com/), written in Scala. It is built on top of [Cats](https://github.com/typelevel/cats/) and [Shapeless](https://github.com/milessabin/shapeless) with a special attention to type safety. You don't need deep knowledge of Shapeless or Cats to use this library. Scalist works on Scala 2.11 with Java 7/8. **Warning:** Project is at early stages now. Most major features are implemented, but there can be performance problems. Also, a great work should be done on clearing out what types should be made private/public. 1. [Getting started](#getting-started) 1. [Setup](#setup) 2. [Calling the API](#calling-the-api) 1. [Queries](#queries) 2. [Commands](#commands) 3. [Request execution](#request-execution) 4. [Response handling](#response-handling) 5. [Result type](#result-type) 6. [Authorization helpers](#authorization-helpers) 1. [OAuth step 1 url generator](#oauth-step-1-url-generator) 2. [OAuth step 3 request](#oauth-step-3-request) 2. [Design](#design) 1. [Modules](#modules) 2. [API dependencies](#api-dependencies) 3. [Type safety](#type-safety) 3. [Documentation](#documentation) 4. [Supported resources and commands](#supported-resources-and-commands) 5. [Contributing](#contributing) ## Getting started ### Setup Currently, there's only one API implementation, based on [Dispatch HTTP](https://github.com/dispatch/reboot) and [Circe JSON](https://github.com/travisbrown/circe) libraries. To get it, include this in your `build.sbt`: ```scala libraryDependencies += "ru.vpavkin" %% "scalist-dispatch-circe" % "0.2.0" ``` Next, import the API toolkit where you need it: ```scala import ru.pavkin.todoist.api.core.model._ import ru.pavkin.todoist.api.dispatch.circe.default._ // Most of the times you would like to have syntax import alongside. import ru.pavkin.todoist.api.dispatch.circe.default.syntax._ ``` Use your token to get an authorized API wrapper: ```scala // here you'll need to have an implicit ExecutionContext in scope val api = todoist.withToken("<your_token_here>") ``` This is everything you need to start calling Todoist API. ### Calling the API #### Queries Build a single resource query: ```scala val projectsReq = api.get[Projects] ``` Build a multiple resource query: ```scala val multipleReq1 = api.get[Projects] .and[Labels] .and[Tasks] // or this way (using shapeless HList) val multipleReq2 = api.getAll[Projects :: Labels :: Tasks :: HNil] // or this to load all resources val multipleReq3 = api.getAll[All] ``` Scalist request builder tracks the list of requested resources, so that you can't, for instance, require same resource twice. These calls won't compile: ```scala val invalidReq1 = api.get[Projects].and[Labels].and[Projects] val invalidReq2 = api.getAll[Projects :: Projects :: HNil] val invalidReq3 = api.getAll[All].and[Projects] ``` #### Commands Build a single command request: ```scala val addProject = api.perform(AddProject("Learn scalist", Some(ProjectColor.color18))) ``` Build a typesafe multiple command request (multiple ways). Notice the usage of `projectId` tagger to mark raw `UUID` as a project id. All entity ids have tagged types for additional compile time safety. ```scala import java.util.UUID val existingProject: UUID = UUID.randomUUID() // and id of some existing project // note the existingProject.projectId conversion: we have to tag the raw UUID as a ProjectId val addStuff1 = api.perform(AddProject("Learn Scalist")) .and(AddProject("Try Scalist")) .and(AddTask("Add Scalist to my project", existingProject.projectId)) // or this way (using shapeless HList with some syntactic sugar to avoid HNils) val addStuff2 = api.performAll(AddProject("Learn Scalist") :+ AddProject("Try Scalist") :+ AddTask("Add Scalist to my project", existingProject.projectId)) ``` Command chains (using `temp_id` parameter): ```scala // single dependant command val addProjectWithTask = api.performAll( AddProject("Project").andForIt(projId => AddTask("Task1", projId)) // or more concise: AddProject("Project").andForIt(AddTask("Task1", _)) ) // multiple dependant commands val addProjectWithTasks = api.performAll( AddProject("Project").andForItAll(projId => AddTask("Task1", projId) :+ AddTask("Task2", projId) :+ AddTask("Task3", projId) ) ) ``` Note, that tagged ids help to avoid misuse here: for instance, you won't be able to create `AddTask` command with a temp id of a label: ```scala // labelId and taskId have differently tagged types val invalidCommand = AddLabel("Label").andForIt(AddTask("Task1", _)) ``` #### Request execution Everything we created in [Queries](#queries) and [Commands](#commands) sections examples are just request definitions: no requests were actually executed yet. Given a request definition we can send the request by just calling `execute` method on the request definition instance: ```scala projectsRequest.execute ``` #### Response handling Every API call result has type `Future[Xor[Error, Result]]`, where: - `Xor` is an alternative implementation of `Either` from Cats library (see [more](http://typelevel.org/cats/tut/xor.html])). It's the only public dependency on Cats or Shapeless you'll have to use. - `Error` can be either: - `HTTPError`, that means nonsuccessful HTTP code returned from Todoist API - `DecodingError`, that means some inconsistency between Scalist and the Todoist API. If you got that, please [file an issue](https://github.com/vpavkin/scalist/issues/new). - `Result` is typesafe representation of API response, based on what you requested. With this in mind, we can handle the result this way: ```scala import cats.data.Xor // we need this for Xor pattern matching api.get[Projects].and[Labels].execute.foreach{ case Xor.Left(error) => println(s"Error: $error" case Xor.Right(result) => println(s"Projects: ${result.projects}") println(s"Labels: ${result.labels}") } ``` Of course, you are good to go here with all well known combinators for `Future` and `Xor`, as well as with `XorT` monad transformer. #### Result type. The API *effect* is always the same: ```scala type Effect[Result] = Future[Xor[Error, Result]] ``` `Result` type depends on what you requested. Take a look at following examples: Single resource request returns just a `List` of entity instances: ```scala api.get[Projects] // List[Project] ``` Multiple resources request returns an `HList` of requested resources collections: ```scala api.get[Projects] .and[Labels] // List[Labels] :: List[Projects] :: HNil ``` You won't need to work with `HList`s - there're typesafe helpers, defined for such results: ```scala api.get[Projects] .and[Labels] // later in response handler: result.projects // List[Project] result.labels // List[Label] result.filters // won't compile as we didn't request filters ``` Single command returns `CommandResult` object for simple commands and `TempIdCommandResult` for commads with `temp_id` parameter (e.g. adding new resources): ```scala api.perform(UpdateTask(1, "NewText")) // CommandResult api.perform(AddProject("Project")) // TempIdCommandResult ``` Without going into details both `CommandResult` and `TempIdCommandResult` are success/failure containers. `TempIdCommandResult` also holds the real id, assigned to the created resource. All command sequences, defined either with `perform().and().and()` or `performAll()`, return `HList` of corresponding results. Again, you don't have to deal with `HList`s explicitly: - `resultFor(N)` helper is typesafe, you get results with corresponding type being calculated at compile time: ```scala api.perform(AddProject("project")) .and(UpdateTask(1, "task")) // later result.resultFor(_0) // TempIdCommandResult of AddProject command result.resultFor(_1) // CommandResult of UpdateTask result.resultFor(_2) // won't compile, only 2 commands were sent ``` - Runtime typed `resultFor(uuid: UUID)` allows to get the result of a command with particular `uuid`. Note, that it gives much less compile time safety: method calls always compile and the return type is always `Option[TodoistCommandResult]`, where `TodoistCommandResult` is a super-trait for any command result. ```scala val addProject = AddProject("project") api.perform(addProject) .and(UpdateTask(1, "task")) // later // Option[TodoistCommandResult], resolves to Some(TempIdCommandResult) result.resultFor(addProject.uuid) result.resultFor(UUID.randomUUID) // returns None at runtime ``` - `isSuccess` allows to quickly find out, if all the commands in the request finished successfully: ```scala result.isSuccess // true or false ``` #### Authorization helpers Scalist can't provide all the requests, required by the OAuth flow, because some of them should be handled on the application level. But there's something Scalist can help with: ##### OAuth step 1 URL generator Scalist can generate URLs for OAuth step 1 redirect (see more [here](https://developer.todoist.com/#oauth)): ```scala todoist.auth.oAuthStep1URL("<clientId>", Set(TokenScope.Read, TokenScope.AddTasks), "<state>") ``` This call returns a url string for supplied `clientId`, `state` and set of scopes. See all list of available scopes in `TokenScope` companion object. ##### OAuth step 3 request Scalist can perform the "token exchange" request which is the step 3 of Todoist OAuth flow: ```scala todoist.auth.oAuthStep3(TokenExchange("<clientId>","<clientSecret>","<code>")).execute ``` Note that request definition here does not support chaining and only allows to call `execute` on it. In result you will get an instance of `AccessToken` class (of course it will be under the same API effect as all other responses): ```scala case class AccessToken(token: String, tokenType: String) ``` ## Design Scalist is designed with three correlated requirements: 1. Expressive, readable and concise DSL. 2. Strong type safety with minimum ways for a library user to shoot himself in a foot. 3. You don't have to know the libraries project depends on (Shapeless, Cats, Circe, etc.) to use Scalist. Most design decisions are guided by those requirements. That's why, for instance, performance is not and won't be a concern in the first versions of Scalist. Moreover, project domain doesn't set any strict requirements for performance. ### Modules While currently Scalist has only one end-user module `scalist-dispatch-circe`, it's built from several internal modules for easy extension: 1. `scalist-core`: contains model and DTO classes as well as the DSL abstractions. Depends on `cats-core` and `shapeless`. 2. `scalist-dispatch`: general machinery for HTTP requests based on Dispatch HTTP client. 3. `scalist-circe`: Circe based implementations of core abstractions for request/response serialization. Depends on `circe-core`, `circe-generic` and `circe-parser`. 4. `scalist-dispatch-circe`: Complete API implementation, using `scalist-dispatch` and `scalist-circe`. Modules for other libraries like `play-json` are in future plans. ### API dependencies You don't need to know Cats or Shapeless to use Scalist. However, some of their APIs are intentionally exposed to Scalist user: 1. `cats.data.Xor` is a part of API effect. There's no need in reinventing the wheel. Standard `Either` lacks some useful features, so Scalist uses high-quality `Xor` tool for typesafe error handling. 2. `shapeless.HList`s are construction material for multi-command or multi-query requests, and they also hold the results of such requests. You don't need to directly call any of it's methods, because Scalist supplies convenient syntax wrappers for `HList`. However, returning raw `HList`s allows experienced developers to use all shapeless power in their advance. ### Type safety Some type level tricks, that were used within the Scalist DSL will be described here. *TBD.* ## Documentation Full API documentation is under development. For now, please, check the [Getting started](#getting-started) guide or [file an issue](https://github.com/vpavkin/scalist/issues/new) with a question. Also, all methods that can be used by library user are documented in the source. Full scaladocs are located [here](http://vpavkin.github.io/scalist/api/#package). Model classes are good to study right in the [source](https://github.com/vpavkin/scalist/tree/master/core/src/main/scala/ru/pavkin/todoist/api/core/model). ## Supported resources and commands: Currently supported resources: - Project - Label - Filter - Task - Note - Reminder - User Full list of commands, currently supported by Scalist: - AddAbsoluteTimeBasedReminder - AddFilter - AddLabel - AddLocationBasedReminder - AddNote - AddProject - AddRelativeTimeBasedReminder - AddTask - AddTaskToInbox - ArchiveProjects - CloseTask - DeleteFilter - DeleteLabel - DeleteNote - DeleteProjects - DeleteReminder - DeleteTasks - MoveTasks - UnarchiveProjects - UncompleteTasks - UpdateFilter - UpdateLabel - UpdateNote - UpdateProject - UpdateTask ## Contributing Any contribution is welcome! :) If you want to, please, don't hesitate to: - File and issue. - Send a pull request. - Ask or leave feedback on [gitter channel](https://gitter.im/vpavkin/scalist). Full contribution guide is *TBD.*
2024-11-18T18:08:27.055964+00:00
2020-11-24T14:06:41
94aa6829c8f8284e08c371fc4d87e257adb943cf
3
{ "blob_id": "94aa6829c8f8284e08c371fc4d87e257adb943cf", "branch_name": "refs/heads/main", "committer_date": "2020-11-24T14:06:41", "content_id": "1a916970ba59d84746647de672a3259c07f5aa79", "detected_licenses": [ "MIT" ], "directory_id": "d192e300a3e5b1f7dc522f74fc66d0c562f1b9ae", "extension": "md", "filename": "readme.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 311016909, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1827, "license": "MIT", "license_type": "permissive", "path": "/readme.md", "provenance": "stack-edu-markdown-0000.json.gz:123", "repo_name": "cnat3103/19-Employee-Directory", "revision_date": "2020-11-24T14:06:41", "revision_id": "8b580e8b96b590eb6a2f138dac5a5cf15afa7069", "snapshot_id": "e496061b022ab583164b22781edb0944b97c7140", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/cnat3103/19-Employee-Directory/8b580e8b96b590eb6a2f138dac5a5cf15afa7069/readme.md", "visit_date": "2023-01-14T11:22:41.176723" }
3
stackv2
# 19-Employee-Tracker ## Description A react app that allows the user to view the entire employee directory at once so that the User has quick access to their information ## Preview ![Preview](EDPreview.png) ## Badges ![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) ## Table of Contents * [Installation](#Installation) * [Usage](#Usage) * [License](#License) * [Contribution](#Contribution) * [Collaborators](#Collaborators) * [Questions](#Questions) ## Installation The user can access the application via the GitHub Pages link here: https://cnat3103.github.io/19-Employee-Directory Alternatively, the user can fork the repository, install the necessary dependencies by running the npm i command via the user's command line, and run the app using the npm start command. ## Usage The application is simple to use - we would encourage anyone experiencing difficulty to get in touch. ## License MIT license ## Contribution The design and content of the application is derived from a review of material provided by Trilogy Education Service in Unit 19. PLEASE NOTE - the basis for the logic was provided at the following source: https://codesandbox.io/s/objective-kepler-xu5y1?file=/src/index.js. It was here that I retrieved the basis for the filter and sorter functions. Youtube content available here assisted with the deploy on Github Pages: https://www.youtube.com/watch?v=1wDzEjXbblM. ## Collaborators There are many ways in which you can participate in the project, for example: - Submit bugs and feature requests, and help us verify as they are checked in - Review source code changes - Review the documentation and make pull requests for anything from typos to new content ## Questions Email<EMAIL_ADDRESS>Github Profile: http://github.com/cnat3103
2024-11-18T18:08:27.137520+00:00
2021-06-27T14:39:54
46ee3bad59228da1103c796a85c7bad9686b6e9e
3
{ "blob_id": "46ee3bad59228da1103c796a85c7bad9686b6e9e", "branch_name": "refs/heads/main", "committer_date": "2021-06-27T14:39:54", "content_id": "338c22c45bcb9b8fefd7fa9d8baa34c4bc84dd4e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "632947d8eef03f503bf33a527fef8a64aa39bbe9", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 380701089, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1813, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:124", "repo_name": "leachj/abridged", "revision_date": "2021-06-27T14:39:54", "revision_id": "866ceab57b13dcf26addd5fec96763f519d29043", "snapshot_id": "6032418e441047411c264d7867ff1a4620111a71", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/leachj/abridged/866ceab57b13dcf26addd5fec96763f519d29043/README.md", "visit_date": "2023-06-06T02:16:44.034448" }
3.171875
stackv2
# Abridged A simple URL shortening service ## Running Install required dependencies by running `npm install` Start the application by running `npm run start` Abridged is now running on http://localhost:3000 ## Managing links Links are managed through a REST API. ### Create a link POST `{ "target": "http://example.com" }` to /api/v1/links For example: `curl -X POST -H "Content-Type: application/json" -d '{"target": "http://news.bbc.co.uk"}' http://localhost:3000/api/v1/links` Responds with the generated short link code: HTTP 201 `{ "code": "wtj44j", "target": "http://example.com" }` Or you can specify your own code: POST `{ "code": "news", "target": "http://example.com" }` to /api/v1/links For example: `curl -X POST -H "Content-Type: application/json" -d '{"code": "news", "target": "http://news.bbc.co.uk"}' http://localhost:3000/api/v1/links` ## Redirecting Redirects are perfromed by visiting http://localhost:3000/{code} e.g. http://localhost:3000/news ## TODO This is a simple service, it was built in a test drived way to meet an initial set of requirements. As a result there are a number of tasks still to be done: - Persist links. - Better generation of Ids, see codes.js for issues. - Package up this into something that is more easily deployable, docker for example. - Consider resilience, ideally this would be deployed to the cloud. With the approrpiate persistence it could be stateless and deployed in a serverless way. - Consider security of links, start with adding to the banned codes. - Finish the API, you can only create things at the moment, add gets and deletes, define the permission model for this. - Add some statistics to link accesses. - Consider some cleanup tasks to delete old links and stop the database growing indefinitely.
2024-11-18T18:08:27.326065+00:00
2020-04-14T11:39:42
3011bf639031e21ad341f99995a57a606d2d5813
4
{ "blob_id": "3011bf639031e21ad341f99995a57a606d2d5813", "branch_name": "refs/heads/master", "committer_date": "2020-04-14T11:39:42", "content_id": "c52b3a307f91aafdd6c9489ef9fc52ad4c4cf55a", "detected_licenses": [ "Apache-2.0" ], "directory_id": "dac3dbc55b720fac704fc4d261d3fb4fae344232", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 5960, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:125", "repo_name": "thembamah/virusafe-android", "revision_date": "2020-04-14T11:39:42", "revision_id": "1be9f94a7a2e588ba82e3198c4078547b9ef969c", "snapshot_id": "2fad5c5f22876baf7fa53f63e179cb320d9ca7ec", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/thembamah/virusafe-android/1be9f94a7a2e588ba82e3198c4078547b9ef969c/README.md", "visit_date": "2022-09-06T00:48:26.972807" }
3.796875
stackv2
# ViruSafe for Android ViruSafe aims to help fight with COVID-19 by offering people to share their symptoms as well as track the spread of COVID-19 with an interactive map, that shows how the infection spreads throughout Bulgaria. ViruSafe mobile app provides access to the following: - Receive up-to-date information regarding COVID-19 - Regular symptoms sharing - Sharing your location, in order to compare your location to all users who have developed symptoms - Option to be warned if you have been in close proximity to other symptomatic users - Option to receive location-based notifications and alerts <a href='https://play.google.com/store/apps/details?id=bg.government.virusafe&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' height="90"/></a> Overview: - [ViruSafe for Android](#virusafe-for-android) - [Build Instructions](#build-instructions) - [Code Styleguide](#code-styleguide) - [Language](#language) - [Formatting](#formatting) - [Static code analysis](#static-code-analysis) - [Using the REST API](#using-the-rest-api) - [Using a Mock API](#using-a-mock-api) - [Contributing](#contributing) - [Security](#security) - [Contacts](#contacts) - [License](#license) ## Build Instructions 1. Make sure you've installed [Android Studio](https://developer.android.com/studio/index.html). 2. Clone this repo and go in the root directory of the project. 3. Execute the following commands in order: `cp gradle.properties-example gradle.properties` - to setup the simple app credentials file. `cp google-services.json-example presentation/google-services.json` - to setup the sample google services credentials file. `mkdir "locale" && cp -a locale-example/. locale/` - to setup the locale files. `cd service` - to move in to the service folder. `cp translations.gradle-example translations.gradle` - to setup the translations build step. 4. In Android Studio, open the project from the local repository. 5. Go to the [Use a Mock API](Using-Mock-API.md) and create your own Mock API, after that put the newly created endpoint in the `gradle.properties` file in the `default_endpoint` property. 6. Connect a device or emulator and run the project. > **Note:** The project depends on different build variants, which are configured in the `build.gradle` files of the project. There are 3 build types: > 1. Debug - The preffered build variant for development. > 2. Release - This one is for building the release apks for the store. > 3. Mk - This one is for switching to other locales/regions apart from the BG version. > It is preffered to use the **Debug** type for making any new changes, but make sure when you introduce them that all of the other build variants are still working. ## Code Styleguide ### Language We use [Kotlin](https://kotlinlang.org/). In order for code changes to be accepted, they should use the Kotlin programming language, or provide a detailed and justified explanation why Kotlin was not used. ### Formatting We use our own `android-code-formatter.xml` file, which can be found in the repo. The formatting is build upon the official coding conventions from [Google](https://source.android.com/setup/contribute/code-style) and [JetBrains](https://kotlinlang.org/docs/reference/coding-conventions.html), so you should use it too. ### Static code analysis For static code analysis we use the ```checkstyle``` and ```detekt``` plugins. Before committing any new changes it is a good practice to run both of the plugins to check for any issues, other ways your changes may be declined. To run both of the plugins use the following commands: ```$ ./gradlew checkstyle``` ```$ ./gradlew detekt``` > **Note:** Currently we have some issues in the project which are comming from both of these static analysis tools. We are aware of that and we are tring to fix them, but due to the short timeframe that we had for the project we weren't abe to fix all of them. If you want to help us resolve them you are more then welcome. ## Using the REST API Swagger Documentation for the ViruSafe REST API is available at the [ViruSafe SwaggerHub](https://app.swaggerhub.com/apis-docs/ViruSafe/viru-safe_backend_rest_api/1.0.0). Also, the ViruSafe Swagger API Docs are available for [download as JSON](https://api.swaggerhub.com/apis/ViruSafe/viru-safe_backend_rest_api/1.0.0) and [as YAML](https://api.swaggerhub.com/apis/ViruSafe/viru-safe_backend_rest_api/1.0.0/swagger.yaml) files. ### Using a Mock API To develop the mobile app against a Mock API, please check the guidelines on how to [Use a Mock API](Using-Mock-API.md). ## Contributing Read our [Contributing Guide](CONTRIBUTING.md) to learn about reporting issues, contributing code, and more ways to contribute. ## Security If you happen to find a security vulnerability, we would appreciate you letting us know by contacting us on - virusafe.support (at) scalefocus.com and allowing us to respond before disclosing the issue publicly. ## Contacts Feel free to checkout our [Slack Team](https://join.slack.com/t/virusafe/shared_invite/zt-dthph60w-KGyk_s6rjoGa6WjR7~tCAg) and join the discussion there ✌️ ## License Copyright 2020 SCALE FOCUS AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
2024-11-18T18:08:27.412559+00:00
2021-04-26T10:05:59
ccc333c3ca803a3a89335a716a801f4f3117a9d5
3
{ "blob_id": "ccc333c3ca803a3a89335a716a801f4f3117a9d5", "branch_name": "refs/heads/master", "committer_date": "2021-04-26T10:05:59", "content_id": "485b0325a067a97d301331ba23ef64398adc5d0e", "detected_licenses": [ "MIT" ], "directory_id": "daf824e858e64bf5e655ae8b23880169afac1b63", "extension": "md", "filename": "README.md", "fork_events_count": 3, "gha_created_at": "2019-10-10T13:52:34", "gha_event_created_at": "2022-12-08T06:35:47", "gha_language": "C#", "gha_license_id": "MIT", "github_id": 214195708, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1255, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:126", "repo_name": "Romex91/EyeTrackingMouse", "revision_date": "2021-04-26T10:05:59", "revision_id": "cab5807e48ec66212b6fb431b928b858da0d99c8", "snapshot_id": "e593b3cdad1c116f5934dbfc024820983b964b9d", "src_encoding": "UTF-8", "star_events_count": 13, "url": "https://raw.githubusercontent.com/Romex91/EyeTrackingMouse/cab5807e48ec66212b6fb431b928b858da0d99c8/README.md", "visit_date": "2022-12-11T14:40:37.869479" }
3.421875
stackv2
## EyeTrackingMouse A power-tool for clicking stuff while typing. Replaces computer mouse with combination of [Tobii Eye Tracker 4C/5](https://gaming.tobii.com/) and hotkeys. The app is 100% offline. ### Installation Download and run Setup.exe here https://github.com/Romex91/EyeTrackingMouse/releases/latest This will create an entry in [Apps & features] and schedule the app to run at Windows startup. ### Usage 5-minute User Guide: [![User Guide](https://github.com/Romex91/EyeTrackingMouse/blob/master/user_guide_preview.png)](https://youtu.be/aKi3Qr7T764) To start controlling cursor press **Win**. Double-press **Win** to toggle **Always On** mode. The keys below work only when **Win** is pressed: ``` W/A/S/D - adjust cursor position. J - Left button K - Right button H - Scroll up N - Scroll down < - Scroll left > - scroll right ``` To open Windows Start Menu press and release Win quickly. ![Default Key Bindings](https://github.com/Romex91/EyeTrackingMouse/blob/master/default_key_bindings.png) You can reassign key bindings in the settings window (click Tray icon) ### Frequently Asked Questions https://github.com/Romex91/EyeTrackingMouse/blob/master/FAQ.md ### Support the project https://www.patreon.com/EyeTrackingMouse
2024-11-18T18:08:27.457571+00:00
2019-11-23T22:02:34
e3dc0f122a63f890f0653fa2440ed08d5ba9d9bd
3
{ "blob_id": "e3dc0f122a63f890f0653fa2440ed08d5ba9d9bd", "branch_name": "refs/heads/master", "committer_date": "2019-11-23T22:02:34", "content_id": "191395eb361446021ad2664092e02004c143de5d", "detected_licenses": [ "MIT" ], "directory_id": "d83cd70d8c53531a62c3f668052e0701bb11b95b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 223484368, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4334, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:127", "repo_name": "wandu-ar/randomist", "revision_date": "2019-11-23T22:02:34", "revision_id": "b6a14d0e96afb6bbf6c23c72f0abe520ee39d9ea", "snapshot_id": "bf3a972d987d1995ebeb9196815034238098d637", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/wandu-ar/randomist/b6a14d0e96afb6bbf6c23c72f0abe520ee39d9ea/README.md", "visit_date": "2020-09-15T15:05:08.216314" }
3.453125
stackv2
# Randomist ![Version 2.2](https://img.shields.io/badge/version-1.0.0-blue.svg) ![MIT license](https://img.shields.io/badge/license-MIT-green.svg) [![Donate](https://img.shields.io/badge/give-donation-yellow.svg)](https://www.paypal.me/AleGueva) Randomist is a PHP library for generate random string based on groups chars. You can: 1. Combine the random string with numbers, lowercase and uppercase alpha chars and special chars. 2. Set the minimimus and maximus of every group of chars. 3. Create single or batch strings. 4. Use only URI safe specials chars. 5. Use a safe chars: is an special group of chars that can be easily recognized by childs or persons with poor computer capabilities. Are chars that don't confused with other similars chars depending the used font family. 6. Create a random lenght for random strings. For example: ``` H*4qjcf4p8HB EP26r49e BKxTocZs9zcCcbitKFS2bCI6mwyBx1bTeMl1VOnBuS95Z03Xc4ZgRmssRqJC6Ittofo 1Fg@4B)*QRt@2e;B;ANArD(8Me@MQ PG8LK 539108 ``` ## Requerimients - PHP >= 5.6 ## How to install ```sh composer require wandu-ar/randomist ``` ## Usage 1. Add the following code at the beginning of your script. ```php use Wandu\Utils\Randomist; $randomist = new Randomist(); ``` 2. Set preferences: - Example 1: Secure password. ```php $secure_password = $randomist ->set_lenght(12) ->include_number(3) ->include_lowercase(3) ->include_uppercase(3) ->include_special(1, 1) ->generate(); echo "1- Secure password: {$secure_password} \n\n"; ``` Show: `1- Secure password: H*4qjcf4p8HB` - Example 2: Multiple simple passwords. ```php $multiple_passwords = $randomist ->reset() ->set_lenght(8) ->include_number(4) ->include_lowercase(2) ->include_uppercase(2) ->generate(10); echo "2- Multiple simple passwords:\n".implode("\n", $multiple_passwords)."\n\n"; ``` Show: ``` 2- Multiple simple passwords: EP26r49e y76Tv30B 91s9NBd4 3vKi04Y0 kU270Pk0 l2Om884W 99iD73Ab 2M3d4o1S 4Bx9iI21 97Fx8Ko7 ``` - Example 3: Random string as hash, for a key. ```php $random_hash = $randomist ->reset() ->set_lenght(50, 80) ->include_number(1) ->include_lowercase(1) ->include_uppercase(1) ->generate(); echo "3- Random hash: {$random_hash}\n\n"; ``` Show: `3- Random hash: BKxTocZs9zcCcbitKFS2bCI6mwyBx1bTeMl1VOnBuS95Z03Xc4ZgRmssRqJC6Ittofo` - Example 4: Random hash URI safe. ```php $random_hash_uri_safe = $randomist ->reset() ->set_lenght(30, 40) ->only_safe() ->include_number(1) ->include_lowercase(1) ->include_uppercase(1) ->include_special(1) ->generate(); echo "4- Random hash URI safe: {$random_hash_uri_safe}\n\n"; ``` Show: `4- Random hash URI safe: .*~1;Fg@4B)*QRt@2e;B;ANArD(8Me@MQ` - Example 5: Random string for simple captcha. ```php $captcha = $randomist ->reset() ->set_lenght(5) ->include_number(1) ->include_uppercase(1) ->generate(); echo "5- Random string for simple captcha: {$captcha}\n\n"; ``` Show: `5- Random string for simple captcha: PG8LK` - Example 6: Verification code. ```php $code = $randomist ->reset() ->set_lenght(6) ->include_number(1) ->generate(); echo "6- Verification code: {$code}\n\n"; ``` Show: `6- Verification code: 539108` ## More examples For a complete example script, visit the following script: [Examples](examples/index.php) ## Roadmap For the next version, predefined character groups can be modified because we will add an abstraction layer over them. ## License [MIT](LICENSE) Copyright (c) 2019 Wandu ® Argentina de Alejandro D. Guevara ## Donate If you want, you can give me a cup of coffee :D | Make a [Donation](https://www.paypal.me/AleGueva)
2024-11-18T18:12:01.811302+00:00
2018-12-03T10:53:21
27509b9e5df223bc467689297b96cd00d1b788a7
3
{ "blob_id": "27509b9e5df223bc467689297b96cd00d1b788a7", "branch_name": "refs/heads/master", "committer_date": "2018-12-03T10:53:21", "content_id": "ee9f6bdeb78095c816d0f4c31b2d35244b2a658e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "8ba2c28423d5e9bddb45c7d4f5f9ef38ce7aecff", "extension": "md", "filename": "4-deployment.md", "fork_events_count": 0, "gha_created_at": "2018-12-03T18:02:52", "gha_event_created_at": "2018-12-03T18:02:53", "gha_language": null, "gha_license_id": "Apache-2.0", "github_id": 160232742, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2117, "license": "Apache-2.0", "license_type": "permissive", "path": "/_legacy/guides/oathkeeper/1-overview/4-deployment.md", "provenance": "stack-edu-markdown-0000.json.gz:128", "repo_name": "ermik/docs", "revision_date": "2018-12-03T10:53:21", "revision_id": "12f434ee373eeb130b3f996a3a29cc664798c718", "snapshot_id": "f0ff54d0d9db2705422de35ade8b970c4cbe4008", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/ermik/docs/12f434ee373eeb130b3f996a3a29cc664798c718/_legacy/guides/oathkeeper/1-overview/4-deployment.md", "visit_date": "2020-04-09T09:25:27.198601" }
3.390625
stackv2
# Deployment **THIS SECTION IS OUTDATED AND TBD** <!-- toc --> ORY Oathkeeper is developed as a native cloud application. As such, it is completely stateless, does not require configuration files and does not persist anything to disk. It is possible to restart ORY Oathkeeper without any side-effects as ORY Oathkeeper supports graceful HTTP shutdown. ORY Oathkeeper works natively with Load Balancers and auto-scaling groups. It is configured using environment variables and relies on a PostgreSQL / MySQL database instance. To answer access requests quickly, rules are cached in-memory and refreshed within a given interval (e.g. 30 seconds). ORY Oathkeeper has a tiny footprint as it is compiled to native bytecode. The docker image is a mere 5 MB, the memory footprint similarly low and the CPU usage is, on average, close to zero. Thus, two possible deployment layouts are possible for ORY Oathkeeper, which are covered in the next two sections. ## Gateway In the gateway deployment scenario, ORY Oathkeeper is the single point of entry for all API endpoints. Oathkeeper might sit behind a load balancer, but is generally deployed in front of the API router. Any incoming requests first pass ORY Oathkeeper, then the API router, and finally reach the API endpoint service. ![Gateway Oathkeeper Deployment Layout](../images/gateway_deployment.svg) The advantage of this deployment layout is that there is only one deployment of ORY Oathkeeper that needs to be maintained. The disadvantage is that it is not possible to talk to API endpoints directly without going through the full reverse proxy chain. ## Sidecar In the sidecar deployment scenario, ORY Oathkeeper is deployed alongside each API endpoint service, probably even within the same logical unit (e.g. Docker Container or VM) as the service itself. ![Gateway Oathkeeper Deployment Layout](../images/sidecar_deployment.svg) The advantage of this deployment layout is that requests to the API endpoints are possible without passing through the API router. The disadvantage is that multiple instances of ORY Oathkeeper have to be maintained.
2024-11-18T18:12:01.870107+00:00
2017-12-19T18:46:04
c075bd0f955f81bc4f8280cfe3db6d44de70e72f
2
{ "blob_id": "c075bd0f955f81bc4f8280cfe3db6d44de70e72f", "branch_name": "refs/heads/master", "committer_date": "2017-12-19T18:46:04", "content_id": "4cc879ac939de2731f81b9eb3fbcebbb57823b84", "detected_licenses": [ "MIT" ], "directory_id": "f41375c9eee3b9ab9b179054a2e095a09bc4985e", "extension": "md", "filename": "README.md", "fork_events_count": 4, "gha_created_at": "2017-11-20T17:37:20", "gha_event_created_at": "2017-12-19T18:46:04", "gha_language": "C#", "gha_license_id": "MIT", "github_id": 111442501, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 323, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:129", "repo_name": "Mikhail-Vaganov/web-api-coding-for-internet", "revision_date": "2017-12-19T18:46:04", "revision_id": "12dd5e1d9a320f045dc4bb3fe789a6e2649dd704", "snapshot_id": "3349c682481466964772c5ff93b1c16e502a1f7b", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Mikhail-Vaganov/web-api-coding-for-internet/12dd5e1d9a320f045dc4bb3fe789a6e2649dd704/README.md", "visit_date": "2021-08-30T22:56:45.876063" }
2.1875
stackv2
# web-api-coding-for-internet This is a basis for the third Laboratory task within the Programming for the Internet course. The API is located at ksit.xyz domain. The strating page is located here: http://ksit.xyz And here is the URL for all characters of account 1: **http://ksit.xyz/game/v1/accounts/1/characters**
2024-11-18T18:12:02.052533+00:00
2021-08-06T11:39:36
bf450f012c438938347a6f7854fc119480e4c31a
3
{ "blob_id": "bf450f012c438938347a6f7854fc119480e4c31a", "branch_name": "refs/heads/master", "committer_date": "2021-08-06T11:39:36", "content_id": "cb6f8c5a737a92c598e4b455fa578ca80e46feb5", "detected_licenses": [ "MIT" ], "directory_id": "deb5ad3fb2b69823a7cac2104993d35419cecf6b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 393351771, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 829, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:130", "repo_name": "TheRealRajan/Movies-App", "revision_date": "2021-08-06T11:39:36", "revision_id": "e921c784116eb70f2f368a4751e210f29bcd9837", "snapshot_id": "231c6ce659ab56c1620cb60281a27ebeec19f652", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/TheRealRajan/Movies-App/e921c784116eb70f2f368a4751e210f29bcd9837/README.md", "visit_date": "2023-07-02T05:47:17.932851" }
2.546875
stackv2
# Movies-App A Movies App using the the TV Movie Database(TMDB) API. <br><br> On the homepage recently popular movies and shows are shown by default.<br><br> When you hover over each movie or show you will see its brief overview.<br><br> On the search bar at the top you can search for the movie or show you desire which will give you results relevant to the search query.<br><br> Each movie card consists of the Poster, Title, Rating(color-categorized), and Released Year. <br><br> The demo is live at *https://therealrajan.github.io/Movies-App/* <br><br> Any improvements are always welcome! <br><br> ![image](https://user-images.githubusercontent.com/22878736/128503477-44461a84-8d0f-4bec-879f-c74cc646e622.png) ![image](https://user-images.githubusercontent.com/22878736/128503665-fdbf24f3-81c3-4642-ae65-8caadc8256bf.png)
2024-11-18T18:12:02.099480+00:00
2023-06-02T18:37:46
dd55aba0287ae697cedcba4adce59ab75eb6c2f1
4
{ "blob_id": "dd55aba0287ae697cedcba4adce59ab75eb6c2f1", "branch_name": "refs/heads/master", "committer_date": "2023-06-02T18:37:46", "content_id": "a0055600aaeb00ddeb69d82b434da884d945c1bf", "detected_licenses": [ "Apache-2.0" ], "directory_id": "2214289a6e324dba194d3b013e3e0f14e9cf1959", "extension": "md", "filename": "README.md", "fork_events_count": 10, "gha_created_at": "2016-08-29T22:09:03", "gha_event_created_at": "2019-05-06T15:14:00", "gha_language": "Python", "gha_license_id": "Apache-2.0", "github_id": 66884330, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1819, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:131", "repo_name": "glciampaglia/knowledge_linker", "revision_date": "2023-06-02T18:37:46", "revision_id": "c612e0828e89d828bb4d9e7cb2f723d54165fcdd", "snapshot_id": "d11b92d4fb24e79cc76d35e12ee9fd52f6c27408", "src_encoding": "UTF-8", "star_events_count": 5, "url": "https://raw.githubusercontent.com/glciampaglia/knowledge_linker/c612e0828e89d828bb4d9e7cb2f723d54165fcdd/README.md", "visit_date": "2023-06-10T12:03:59.183689" }
3.53125
stackv2
Knowledge-linker ================ Code for the Knowledge Linker project. ## Downloading TBD ## Building, Testing, and Installing ### Building To compile the software, first open a terminal and browse to the source code folder. The package can be built using [setuptools](//setuptools.readthedocs.io). Usually you want to build, test, and install all in the same session. To do so, follow the steps below. ### Testing A comprehensive suite of tests is available for the core closure API. [Nose](http://nose.readthedocs.org) is the software used to collect, run, and report the results of the test suite. To run it, the simplest way is to use the setuptools script provided with the package: ```bash python setup.py nosetests ``` If you want to specify options, you can look in `setup.cfg` under the _nosetests_ section. ### Installing Once the test suite has been executed and no failure has emerged, you can build and install the package. This software includes some C extension modules, which need to be compiled. As mentioned before, the package provides a setuptools script that will perform the necessary steps. You will need to have a C compiler installed on your system. The software has been developed using the GNU C compiler (gcc). No guarantee is given that it will compile using different compilers. To build and install the package there are two different, equivalent methods, depending on how you manage your python packages. Both will compile the C code, create a package, and copy it into your Python distribution. This last step will copy both libraries and scripts. __Method 1__: with the plain setuptools: ```bash python setup.py install ``` __Method 2:__ with pip: ```bash pip install . ``` ## Documentation API reference and tutorial are TODO. ## Contributing TBD
2024-11-18T18:12:02.135043+00:00
2023-07-11T17:59:48
38bf6fbe2dbeb28d863a1ad8c5a8d2021d91a9ac
2
{ "blob_id": "38bf6fbe2dbeb28d863a1ad8c5a8d2021d91a9ac", "branch_name": "refs/heads/master", "committer_date": "2023-07-11T17:59:48", "content_id": "29e05ccb97b59dd0ceee06245ac1bd1364be8810", "detected_licenses": [ "MIT" ], "directory_id": "a3ee190a080442b80bcdb7f31ff99ed9a3f5b565", "extension": "md", "filename": "intro.md", "fork_events_count": 15, "gha_created_at": "2018-07-13T09:27:32", "gha_event_created_at": "2023-07-11T17:59:51", "gha_language": "Python", "gha_license_id": "MIT", "github_id": 140826788, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 335, "license": "MIT", "license_type": "permissive", "path": "/vulnerabilities/105_api_http_trace/intro.md", "provenance": "stack-edu-markdown-0000.json.gz:132", "repo_name": "appknox/vulnerabilities", "revision_date": "2023-07-11T17:59:48", "revision_id": "376cc72ae2c03a253afb0f3d1ba6870b3e8550e1", "snapshot_id": "0725ddd96272fbb4d9a01c50608c2ff3adedeb07", "src_encoding": "UTF-8", "star_events_count": 13, "url": "https://raw.githubusercontent.com/appknox/vulnerabilities/376cc72ae2c03a253afb0f3d1ba6870b3e8550e1/vulnerabilities/105_api_http_trace/intro.md", "visit_date": "2023-07-19T17:41:27.741405" }
2.28125
stackv2
The HTTP TRACE method is normally used to return the full HTTP request back to the requesting client for proxy-debugging purposes. An attacker can create a webpage using XMLHTTP, ActiveX, or XMLDOM to cause a client to issue a TRACE request and capture the client's cookies. This effectively results in a Cross-Site Scripting attack.
2024-11-18T18:12:02.358515+00:00
2020-11-18T06:53:45
e209c38c651aa6652f2991e4a51cc1bfa8c16261
4
{ "blob_id": "e209c38c651aa6652f2991e4a51cc1bfa8c16261", "branch_name": "refs/heads/master", "committer_date": "2020-11-18T06:53:45", "content_id": "0f9fd3a613aee42bfff0fe0160b698e94a3dcd5c", "detected_licenses": [ "MIT", "Apache-2.0" ], "directory_id": "578b98b48c267e300d8bad1c8f93c83638bddac7", "extension": "md", "filename": "README.md", "fork_events_count": 2, "gha_created_at": "2020-02-19T11:17:02", "gha_event_created_at": "2020-02-19T11:17:03", "gha_language": null, "gha_license_id": "MIT", "github_id": 241602696, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1622, "license": "MIT,Apache-2.0", "license_type": "permissive", "path": "/node_modules/fast-text-encoding/README.md", "provenance": "stack-edu-markdown-0000.json.gz:133", "repo_name": "devussy/upload-google-play", "revision_date": "2020-11-18T06:53:45", "revision_id": "a2efb028268d70c139289995ac4ffa2ab1d62b2c", "snapshot_id": "5f3607070da2073e43638de244d21446f871a6e9", "src_encoding": "UTF-8", "star_events_count": 12, "url": "https://raw.githubusercontent.com/devussy/upload-google-play/a2efb028268d70c139289995ac4ffa2ab1d62b2c/node_modules/fast-text-encoding/README.md", "visit_date": "2021-01-07T06:11:38.259694" }
3.765625
stackv2
This is a fast polyfill for [`TextEncoder`][1] and [`TextDecoder`][2], which let you encode and decode JavaScript strings into UTF-8 bytes. It is fast partially as it does not support any encodings aside UTF-8 (and note that natively, only `TextDecoder` supports alternative encodings anyway). [1]: https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder [2]: https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder # Usage Include the minified inside a `script` tag or as an ES6 Module for its side-effects. It will create `TextEncoder` and `TextDecoder` if the symbols are missing on `window`. ```html <script src="node_modules/fast-text-encoding/text.min.js"></script> <script type="module"> import './node_modules/fast-text-encoding/text.min.js'; // confidently do something with TextEncoder \o/ </script> ``` **Note**: Always include `text.min.js`, as it's compiled to ES5 for older environments. ## Node Install via NPM or Yarn (name "fast-text-encoding"), and then import purely for side effects: ```js // don't need to save this anywhere, just require before use require('fast-text-encoding'); const buffer = new TextEncoder().encode('Turn me into UTF-8!'); // buffer is now a Uint8Array of [84, 117, 114, 110, ...] ``` # Supports Built for IE11, Edge and Node environments. Not required for Chrome, Firefox etc, which have native implementations. # Release Compile code with [Closure Compiler](https://closure-compiler.appspot.com/home). ``` // ==ClosureCompiler== // @compilation_level ADVANCED_OPTIMIZATIONS // @output_file_name text.min.js // ==/ClosureCompiler== // code here ```
2024-11-18T18:12:02.430137+00:00
2019-05-21T14:54:06
4c2e57ffa5d2f72b9b953ae9f0a63ae4d1c2fe83
3
{ "blob_id": "4c2e57ffa5d2f72b9b953ae9f0a63ae4d1c2fe83", "branch_name": "refs/heads/master", "committer_date": "2019-05-21T14:54:06", "content_id": "18baec5127970f9a8edc8e18160f5d6bff9cb0c9", "detected_licenses": [ "MIT" ], "directory_id": "dc8354733e79cbd463d285105320c6abea4b3b9b", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 186008702, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2863, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:134", "repo_name": "linbaker/Hair-Salon", "revision_date": "2019-05-21T14:54:06", "revision_id": "11237501024f3c3dbb36daf6d45f89b3cebb0135", "snapshot_id": "fc21012dd4722550b7c3a7b2fc32242ab66a14b8", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/linbaker/Hair-Salon/11237501024f3c3dbb36daf6d45f89b3cebb0135/README.md", "visit_date": "2020-05-21T10:21:59.127407" }
3.484375
stackv2
# _Hair Salon_ https://github.com/linbaker/Hair-Salon #### _C# Database Exercise for Epicodus, 05.17.2019_ #### By _**Lindsey Baker**_ ## Description _This application will allow a user to input stylist information, client information and see which clients belong to which stylist. User will be able to add, delete and edit both client and stylist information. User will be able to add specialties to stylists, many stylists may have the same specialty_ |Behavior|Input|Output| |-|-|-| |User is able to add and save stylist first and last name in database, and will be assigned a unique id |"Edward Scissorhands"| in table stylists: id = 0, first_name = "Edward", last_name = "Scissorhands"| |User can view all stylists saved to database|"Edward Scissorhands", "Sweeney Todd"| "Edward Scissorhands", "Sweeney Todd" | |User is able to navigate to specific stylist and add clients to specific to that stylist, including first and last name and date they first visited|navigate to "Sweeney Todd", add client "Mrs.", "Lovett", 2019/05/09| "Mrs. Lovett", Client Since: 2019/05/09, Stylist "Sweeney"| |User is able to click on a stylist's name to see all clients for that stylist |navigate to "Sweeney Todd"|"Sweeney's Clients: Adolfo Pirelli, Mrs. Lovett"| |User is able to navigate to specific client to see further information|"Mrs."| "Mrs. Lovett", Client Since: 2019/05/09, Stylist "Sweeney" | |User is able to edit client information|"Adolfo Pirelli", Client Since: 2019/05/10, Stylist "Sweeney"|"RIP deceased", Client Since: 2019/05/09, Stylist "Sweeney"| |User is able to delete clients|"RIP deceased", Client Since: 2019/05/09, Stylist "Sweeney"| - | |User is able to delete stylists, which will delete all clients assigned to that stylist|"Sweeney Todd", Client "Mrs. Lovett"| - | ## Setup/Installation Requirements * _Clone Repository_ * _To create your own Database, launch MAMP application and select 'Start Sever'_ * _Using MySql in terminal, create database using the following commands:_ > CREATE DATABASE lindsey_baker; > USE lindsey_baker; > CREATE TABLE stylists (id serial PRIMARY KEY, first_name VARCHAR(255), last_name VARCHAR(255)); > CREATE TABLE clients (id serial PRIMARY KEY, first_name VARCHAR(255), last_name VARCHAR(255), client_since DATETIME, stylist_id INT); Alternately, if you wish to download the existing database for this project, in phpMyAdmin, select the import tab and import the database lindsey_baker from the cloned repository file * _Compile in C# .Net Core 2.2_ * _Run program and view on localhost:5000_ ## Known Bugs ## Support and contact details _Please contact me with any questions, ideas or concerns at<EMAIL_ADDRESS> ## Technologies Used _C# .NET Core 2.2_ _MAMP_ _MySql_ _phpMyAdmin_ ### License *This software is licensed under the MIT license.* Copyright (c) 2019 **Lindsey Baker**
2024-11-18T18:12:02.466430+00:00
2017-03-27T11:47:18
827eca84a08cdcdab9988d81819cb2afd3e750b8
4
{ "blob_id": "827eca84a08cdcdab9988d81819cb2afd3e750b8", "branch_name": "refs/heads/master", "committer_date": "2017-03-28T04:18:14", "content_id": "3a50bba677939db5c7053cf56215ad1ecc56ca47", "detected_licenses": [ "MIT" ], "directory_id": "6924b4af16b4814553a7bfdede88be7caffd7767", "extension": "md", "filename": "Use With Phoenix.md", "fork_events_count": 0, "gha_created_at": "2017-03-20T12:51:32", "gha_event_created_at": "2017-03-20T12:51:32", "gha_language": null, "gha_license_id": null, "github_id": 85576262, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4435, "license": "MIT", "license_type": "permissive", "path": "/docs/Use With Phoenix.md", "provenance": "stack-edu-markdown-0000.json.gz:135", "repo_name": "sivsushruth/distillery", "revision_date": "2017-03-27T11:47:18", "revision_id": "de6dba137425daa7a117a0c277412ffb37ed6f77", "snapshot_id": "40674abcb8c8f44f828a7f991c37cc4ce4844abb", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/sivsushruth/distillery/de6dba137425daa7a117a0c277412ffb37ed6f77/docs/Use With Phoenix.md", "visit_date": "2021-01-22T22:44:58.242719" }
4
stackv2
# Using Distillery With Phoenix **IMPORTANT**: Before starting, please review the [Terminology](https://hexdocs.pm/distillery/terminology.html) page to get familiar with the terms used in this guide. This is a simple guide on how to use Distillery with a production config with [Phoenix](http://www.phoenixframework.org/). Here we will cover: - Configuring your release - Building your release It is expected that you will have: - a working Phoenix application - a working `config/prod.exs` - a _build environment which matches your production environment_ - your static asset path is the default `priv/static` - Have reviewed the [Advanced Deployment Guide](https://phoenixframework.org/docs/advanced-deployment) **NOTE**: It does not make much sense to cut a release for a `dev` configuration with Phoenix, so this guide assumes you are interested in `prod` releases. If you do build a release in `dev`, then you must also ensure that you set `code_reloader: false` in your configuration. If you do not, you'll get a failure at runtime about being unable to start `Phoenix.CodeReloader.Server` because it depends on Mix, which is not intended to be packaged in releases. As you won't be doing code reloading in a release (at least not with the same mechanism), you must disable this. Let's get started! ## Adding and Initializing Distillery Please refer to the [Initialization](https://hexdocs.pm/distillery/walkthrough.html#adding-distillery-to-your-project) section of the Distillery Walkthrough ## Configuring your Release Configure your prod environment. Notice that there are a few differences from the standard Distillery walk-through; namely the `server`, `root`, and `version` options. *file: config/prod.exs* ```elixir config :phoenix_distillery, PhoenixDistillery.Endpoint, http: [port: {:system, "PORT"}], url: [host: "localhost", port: {:system, "PORT"}], # This is critical for ensuring web-sockets properly authorize. cache_static_manifest: "priv/static/manifest.json", server: true, root: ".", version: Mix.Project.config[:version] ``` Let's discuss each of these options. - `server` configures the endpoint to boot the [Cowboy](https://github.com/ninenines/cowboy) application http endpoint on start. - `root` configures the application root for serving static files - `version` ensures that the asset cache will be busted on *versioned* application upgrades (more on this later) ## Building your release Building a Phoenix release requires that your static assets are built (that they are properly consolidated and placed somewhere where phoenix knows how to serve them). A production release requires 3 steps: 1. `./node_modules/brunch/bin/brunch b -p` build's your assets in production mode. More detail can be found in the [Phoenix Static Asset Guide](http://www.phoenixframework.org/docs/static-assets) 1. `MIX_ENV=prod mix phoenix.digest` To compress and tag your assets for proper caching. More detail can be found in the [Phoenix Mix Task Guide](http://www.phoenixframework.org/docs/mix-tasks#section--mix-phoenix-digest-) 1. `mix release --env=prod` To actually generate a release for a production environment There are some optional flags available to you as well: - `--verbose`, will log every action performed by Distillery, this is important when debugging issues or reporting them on the tracker. - `--name=<name>` to build a specific release from your config - `--upgrade` to build an upgrade release for hot upgrading an application (more on this later) See `mix help release` for a description of all flags. As an example, building the release for the `prod` environment using `mix release --env=prod` looks like this: ``` ==> Assembling release.. ==> Building release myapp:0.0.1 using environment prod ==> Including ERTS 8.0.2 from /usr/local/Cellar/erlang/19.0.2/lib/erlang/erts-8.0.2 ==> Packaging release.. ==> Release successfully built! You can run it in one of the following ways: Interactive: _build/dev/rel/myapp/bin/myapp console Foreground: _build/dev/rel/myapp/bin/myapp foreground Daemon: _build/dev/rel/myapp/bin/myapp start ``` At this point, you can run your release using one of the three commands listed in the output. ## Deploying your release Please refer to the [Deployment](https://hexdocs.pm/distillery/walkthrough.html#deploying-your-release) section of the Distillery Walkthrough
2024-11-18T18:12:02.856247+00:00
2020-05-22T18:26:04
a4bd34fa112891a06c253a7f0de33ac079647932
3
{ "blob_id": "a4bd34fa112891a06c253a7f0de33ac079647932", "branch_name": "refs/heads/develop", "committer_date": "2020-05-22T18:26:04", "content_id": "31ebe7e9d9a07dc11033079602f8df1250d44af4", "detected_licenses": [ "MIT" ], "directory_id": "3ef8218ef52a6d68d4cf1068ab7c1ca062bb5c0d", "extension": "md", "filename": "Account.md", "fork_events_count": 0, "gha_created_at": "2019-04-08T13:53:41", "gha_event_created_at": "2020-05-22T18:26:06", "gha_language": "Go", "gha_license_id": "MIT", "github_id": 180159925, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1539, "license": "MIT", "license_type": "permissive", "path": "/docs/client/Account.md", "provenance": "stack-edu-markdown-0000.json.gz:136", "repo_name": "pureport/pureport-sdk-go", "revision_date": "2020-05-22T18:26:04", "revision_id": "263112b97b048a65402a122f5bbcbbc9f0c50907", "snapshot_id": "2438a113d212caff89bcdcc2c649b9ebed820046", "src_encoding": "UTF-8", "star_events_count": 2, "url": "https://raw.githubusercontent.com/pureport/pureport-sdk-go/263112b97b048a65402a122f5bbcbbc9f0c50907/docs/client/Account.md", "visit_date": "2021-07-26T00:03:54.479879" }
3.203125
stackv2
# Account ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Demo** | **bool** | Whether this account is for demonstration purposes. | [optional] **Description** | **string** | The description. | [optional] **HasChildren** | **bool** | Whether this account is a parent account for any other accounts. | [optional] [readonly] **Href** | **string** | The URI of the Pureport asset. | [optional] [readonly] **Id** | **string** | The id is a unique identifier representing the account. | [optional] **Name** | **string** | The name. | **Parent** | [**Link**](Link.md) | | [optional] **PricingHidden** | **bool** | Whether pricing information is restricted on this account. | [optional] [readonly] **ShowChildAccountPricing** | **bool** | Whether to show pricing information to child accounts of this account. | [optional] **SupportedConnectionGroups** | [**[]Link**](Link.md) | A collection of asset links for which Supported Connection Groups this account has access to. | [optional] **Tags** | **map[string]string** | Key-value pairs to associate with the Pureport asset. | [optional] **TechnicalContactEmails** | **[]string** | Email addresses of technical contacts for this account. | [optional] **Verified** | **bool** | Whether this account has been verified by Pureport operations. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2024-11-18T18:12:02.914875+00:00
2018-10-22T15:17:02
afb79acec23ca04b97e7d142a27a3358296ce299
3
{ "blob_id": "afb79acec23ca04b97e7d142a27a3358296ce299", "branch_name": "refs/heads/master", "committer_date": "2018-10-22T15:17:02", "content_id": "674149af21e23f66b70d3a12d47def94ed39febd", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "976e797c35c66f54e2a9e7f974e2f8450ba89122", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 153661357, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3238, "license": "BSD-2-Clause", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:137", "repo_name": "ckaczor/SmartHDD", "revision_date": "2018-10-22T15:17:02", "revision_id": "3c51d48c4a0f21ef0997c378d8eac4ea2a3e9bf3", "snapshot_id": "620561f55e421517d0bacc5e7200420001e36565", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ckaczor/SmartHDD/3c51d48c4a0f21ef0997c378d8eac4ea2a3e9bf3/README.md", "visit_date": "2022-09-15T03:30:58.894461" }
3.421875
stackv2
# SmartHDD Quick SMART status readout. Based on source code by Llewellyn Kruger, taken from http://www.know24.net/blog/C+WMI+HDD+SMART+Information.aspx Modifications by me: * Added a lot of new fields, mainly for SSD support * Created a fancy user interface * Request administrator-permissions on launch ## Screenshot: ![Alt text](/smarthdd.png?raw=true "SmartHDD screenshot") ## License / Copyright: Please see the '**LICENSE**' file. # Installing Get the latest release here: [https://github.com/DoogeJ/SmartHDD/releases](https://github.com/DoogeJ/SmartHDD/releases). ## Reporting bugs or feature requests Please use the GitHub issue-system for bugs or feature requests: [https://github.com/DoogeJ/SmartHDD/issues](https://github.com/DoogeJ/SmartHDD/issues). ## Note by the original author: > Tested against Crystal Disk Info 5.3.1 and HD Tune Pro 3.5 on 15 Feb 2013. > Findings; I do not trust the individual smart register "OK" status reported back frm the drives. > I have tested faulty drives and they return an OK status on nearly all applications except HD Tune. > After further research I see HD Tune is checking specific attribute values against their thresholds and and making a determination of their own (which is good) for whether the disk is in good condition or not. > I recommend whoever uses this code to do the same. For example --> "Reallocated sector count" - the general threshold is 36, but even if 1 sector is reallocated I want to know about it and it should be flagged. # Development This section is focussed on development of SmartHDD, in case you want to build your own version(s). ## Environment This application was written using Visual Studio 2017 and .NET Framework 4.5.2 on Windows 10 1803. It will most likely build fine on different configurations, but might require some modifications. ## Updating the version number The version number is stored in four locations: * In the projects assembly info file: **'SmartHDD\Properties\AssemblyInfo.cs'** * In the program header: **'SmartHDD\Program.cs'** * In the projects C# project file: **'SmartHDD\SmartHDD.csproj'** * In the installer setup.iss file (only used for the installer): **'Installer\setup.iss'** ## Building the installer > Note: *This installer uses 3rd party components from [innodependencyinstaller](https://github.com/stfx/innodependencyinstaller) to automatically download and install the correct .NET framework if required. See* ***'Installer\innodependencyinstaller LICENSE.md'*** *for the license of innodependencyinstaller.* SmartHDD uses the [Inno Setup Compiler](http://www.jrsoftware.org/isinfo.php) to generate an executable installer. The installer project files are located in the **'Installer'**-folder. The scripts are based on [Inno Setup 5.5.9](http://www.jrsoftware.org/isinfo.php) but will probably work with any recent version. To build the installer: * Make sure the project is compiled and there is a working executable named **'SmartHDD.exe'** in the **'SmartHDD\bin\Release'**-folder * Open **'Installer\setup.iss'** in the [Inno Setup Compiler](http://www.jrsoftware.org/isinfo.php) * Hit *Build* -> *Compile* (Ctrl+F9) * Done, the installer should be in the **'Installer\bin'**-folder
2024-11-18T18:12:02.945856+00:00
2023-08-08T21:14:51
dd752d32aabc72a95201c2575a450824d9a3e8cb
2
{ "blob_id": "dd752d32aabc72a95201c2575a450824d9a3e8cb", "branch_name": "refs/heads/master", "committer_date": "2023-08-08T21:14:51", "content_id": "793955dbd82a7a1159abfa3d37d8910ed5beeaa8", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "1ef00e9b29c36d9fd9b9e84c105c6bfd9e0a9926", "extension": "md", "filename": "PULL_REQUEST_TEMPLATE.md", "fork_events_count": 0, "gha_created_at": "2019-01-17T19:32:26", "gha_event_created_at": "2019-01-17T19:32:26", "gha_language": null, "gha_license_id": "BSD-3-Clause", "github_id": 166284508, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 336, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/.github/PULL_REQUEST_TEMPLATE.md", "provenance": "stack-edu-markdown-0000.json.gz:138", "repo_name": "Lnaden/QCElemental", "revision_date": "2023-08-08T21:14:51", "revision_id": "a1185e248a0cd2e508f5ea8b1efff6cf2b24e6c1", "snapshot_id": "a479265e707ab19b90ca60d6e838a61433265f4d", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Lnaden/QCElemental/a1185e248a0cd2e508f5ea8b1efff6cf2b24e6c1/.github/PULL_REQUEST_TEMPLATE.md", "visit_date": "2023-09-01T06:46:21.340251" }
2.0625
stackv2
<!-- Thank you for your contribution! --> ## Description <!-- Provide a brief description of the PR's purpose here. --> ## Changelog description <!-- Provide a brief single sentence for the changelog. --> ## Status <!-- Please `poetry install; bash scripts/format.sh` in the base folder. --> - [ ] Code base linted - [ ] Ready to go
2024-11-18T18:17:38.385876+00:00
2021-04-20T06:46:50
fa56ac0e3b47c3f6bac7d4a65b108a8c07cd1d99
4
{ "blob_id": "fa56ac0e3b47c3f6bac7d4a65b108a8c07cd1d99", "branch_name": "refs/heads/main", "committer_date": "2021-04-20T06:46:50", "content_id": "a657cf583bd9e3569a0a9bb6d9137bc27493e825", "detected_licenses": [ "MIT" ], "directory_id": "47cd9c509c6351eb58fe3e5ff28397f7140b8286", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2021-08-13T05:07:42", "gha_event_created_at": "2021-08-13T05:07:42", "gha_language": null, "gha_license_id": "MIT", "github_id": 395527202, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1561, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:139", "repo_name": "maksz42/easyeda-extension-menu-ux-normalizer", "revision_date": "2021-04-20T06:46:50", "revision_id": "4ee83722610e338ef6b120924e85b39a4f19d68c", "snapshot_id": "6346f3ba82892a7889bbd58f791766fc8a53ba3a", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/maksz42/easyeda-extension-menu-ux-normalizer/4ee83722610e338ef6b120924e85b39a4f19d68c/README.md", "visit_date": "2023-07-01T15:26:17.276423" }
3.578125
stackv2
# easyeda-extension-menu-ux-normalizer [EasyEDA: Desiger](https://easyeda.com/editor) has a really annoying issue with sub-menus popping up when mouse is hovered over main menu's items. This extension is build in order to fix the issue by blocking main menu's `hover behaviour`. #### 🤬 - Default behaviour without extension: <img src="./docs/demo-without-extension.gif"> #### ✅ - After installing this extension: <img src="./docs/demo-with-extension.gif"> ## Installation 1. Download [easyeda-extension-menu-ux-normalizer.zip](https://github.com/turbobabr/easyeda-extension-menu-ux-normalizer/archive/main.zip) archive. 2. Unzip the downloaded file. 3. Open [EasyEDA: Designer](https://easyeda.com/editor). 4. Via main menu, go to `Advanced -> Extensions`. 5. Click on `Load Extensions...` button. 6. Load files located in the `extension` sub folder of the unpacked archive you have just downloaded by clicking on `Select Files..` button. 7. In the `Extension ID` filed put `fixmenu` string and hit `Load Extension` button. 8. Finally, refresh the page in the browser to make it working. ## Usage After the installation process - you don't need to run any commands or perform any actions to make it working. The extension itself is initialized during the `EasyEDA` startup automatically. ## Feedback If you discover any issue or have any suggestions for improvement of the plugin, please [open an issue](https://github.com/turbobabr/easyeda-extension-menu-ux-normalizer/issues) or ping me on twitter [@turbobabr](http://twitter.com/turbobabr).
2024-11-18T18:17:38.470581+00:00
2013-11-23T23:37:53
a91cb75c2ce26c2187772bdec165509bb3723461
2
{ "blob_id": "a91cb75c2ce26c2187772bdec165509bb3723461", "branch_name": "refs/heads/master", "committer_date": "2013-11-23T23:37:53", "content_id": "1afee2e8130663a7de4cde7deed528931e7004c8", "detected_licenses": [ "MIT" ], "directory_id": "211ce078c98c028fe51ec3b9827bb4f96dcf505a", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 11442727, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 453, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:140", "repo_name": "woodruffw/SimpleMail", "revision_date": "2013-11-23T23:37:53", "revision_id": "548add10073f9e5efc590a0b52b595b41b60b3c2", "snapshot_id": "d5939acc020010cf38a19d8d2ae3de36d28a63b4", "src_encoding": "UTF-8", "star_events_count": 2, "url": "https://raw.githubusercontent.com/woodruffw/SimpleMail/548add10073f9e5efc590a0b52b595b41b60b3c2/README.md", "visit_date": "2021-01-25T08:49:34.532266" }
2.03125
stackv2
SimpleMail ========= Current Version: 0.5, unfinished SimpleMail is a lightweight, minimalistic approach to sending emails via SMTP. It utilizes the JavaMail API (https://java.net/projects/javamail/pages/Home), and is currently working with both GMail and Yahoo! accounts, with Hotmail support in development. It it accessed through a simple GUI frontend, although it is flexible and can very easily be modified to work via a command-line interface.
2024-11-18T18:17:38.585640+00:00
2020-06-23T18:22:51
022d60dacda82f584d445b11c2d2784037bd3563
3
{ "blob_id": "022d60dacda82f584d445b11c2d2784037bd3563", "branch_name": "refs/heads/master", "committer_date": "2020-06-23T18:22:51", "content_id": "524b435f95bb3f420cc1a99d7d1529da85451e6d", "detected_licenses": [ "Apache-2.0" ], "directory_id": "b76d17ac05b87cfb5a34fcd6dc2fe4811d9fd691", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2020-06-23T17:38:11", "gha_event_created_at": "2020-06-23T17:38:12", "gha_language": null, "gha_license_id": "Apache-2.0", "github_id": 274470018, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1526, "license": "Apache-2.0", "license_type": "permissive", "path": "/toolbox/errorfinder/README.md", "provenance": "stack-edu-markdown-0000.json.gz:141", "repo_name": "ZhengzheYang/test-infra", "revision_date": "2020-06-23T18:22:51", "revision_id": "2f347f9ce058add02ef3a221654844983d0e3b8f", "snapshot_id": "df7336acc922c17e1786f90e59957544c11ae60e", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ZhengzheYang/test-infra/2f347f9ce058add02ef3a221654844983d0e3b8f/toolbox/errorfinder/README.md", "visit_date": "2022-11-12T15:37:20.681211" }
3.46875
stackv2
# Find Build Errors ## Examine Errors From Build-log.txt The file reads dirctory paths to prs that contain build-log.txt in GCS from Google Spreadsheet. It process each build-log.txt file from the directories and identify errors and warnings within the build files. The output contains all errors and warnings from the build files and the directories in which the errors or warnings exist. To run the file, you will need a `credentials.json` file from <https://developers.google.com/sheets/api/quickstart/go> when you click `ENABLE THE GOOGLE SHEETS API` and `DOWNLOAD CLIENT CONFIGURATION` to download the `credentials.json` file and use it as path to flag -CredentialsPath. You will also need a google spreadsheet id that contains the path to pr folder in a bucket in Google Cloud Storage. For a weblink `https://docs.google.com/spreadsheets/d/1fUmFA2CcnSQuCwEilAewftwitvSOLZGcj2BQiur37rI/edit#gid=935149480`, the spreadsheet id to pass to flag SpreadsheetID is `1fUmFA2CcnSQuCwEilAewftwitvSOLZGcj2BQiur37rI`. ```bash $ git clone https://github.com/istio/test-infra.git ``` and build it using ```bash $ go build //toolbox/errorfinder/main.go ``` The binary output is located in //toolbox/errorfinder. Run code using ```bash $ go run //toolbox/errorfinder/main.go -OutputFileName=<output.csv> -SpreadsheetID=<spreadsheet_id> -CredentialsPath=<credentials.json> -ReadRange=<read_range> -BucketName=<bucket_name> ``` and read the result in output file in the directory and filename specified in flag OutputFileName.
2024-11-18T18:17:38.704789+00:00
2017-08-21T19:46:05
b40b732288e838e80a937b119f7b6cc8c893b0b1
3
{ "blob_id": "b40b732288e838e80a937b119f7b6cc8c893b0b1", "branch_name": "refs/heads/master", "committer_date": "2017-08-21T19:46:05", "content_id": "5fd2ffa5e420fecfbd00dddcf9fcee183219d125", "detected_licenses": [ "MIT" ], "directory_id": "87140ab68a7185d72ff52fe8230040ec82aeda6f", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 100969758, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 5456, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:142", "repo_name": "sdrabb/Appetizing", "revision_date": "2017-08-21T19:46:05", "revision_id": "0cc97d4cc073ab7f7498ebb546b257d5da53ab75", "snapshot_id": "f3875f79e1733191385243e4be66a0749385244c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/sdrabb/Appetizing/0cc97d4cc073ab7f7498ebb546b257d5da53ab75/README.md", "visit_date": "2021-06-23T14:49:00.681084" }
3.234375
stackv2
# Appetizing find your restaurant with this app built with React Native framework. ## Authors * Riccardo Papucci * Alberto Merciai ## CONTENTS OF THIS FILE * PREREQUISITES * NPM-PACKAGES REQUIRED * PROJECT-STRUCURE * PROGRAM-STRUCURE * REACT NATIVE MOTO-G SETUP (IT) ## PROJECT-STRUCURE . ├── Code | ├── Client-side | └── Server-side ├── Mockup ├── Database ├── Needfinding and contract ├── Usability └── flow-chart * Code: it contains the client side and the server side of the application developed * Mockup: it contains application mockup * Database: it contains ER model and the database used * Needfinding and contract: it contains Needfindinng process and the contract stipulated with the teacher * Usability: it contains Usability process * flow-chart: it contains the flow-chart of the application ## PREREQUISITES * [React Native:](https://facebook.github.io/react-native/) * [Installation:](https://facebook.github.io/react-native/docs/getting-started.html) * [Redux-tutorial:](https://www.youtube.com/watch?v=FIq45_Jveg8) ## PROGRAM-STRUCURE Client-side ├── index.android.js └── app ├── actions ├── containers ├── img ├── lib ├── reducers ├── styles └── Themes * index.android.js: The main program that must overwrite the one who inside new project * app: folder where all the program reside that must be paste inside new react native project * actions: folder that contains all the redux actions * containers: folder that contains all the components of the redux model * img: it contains images used by the app * lib: contains the external libraries to manage reducers * reducers: folder that contains all the reducers of the redux model * styles: folder that contains all styles used in app * Themes: contains the themes of native-base components Server-side ├── connect.php ├── db.sql └── booking.php * connect.php: it contains the program used to retrieves restaurants information from the database * db.sql: it is the exported database * booking.php: it contains the programs used to store the reservations into the database ## NPM-PACKAGES REQUIRED * **Redux:** webpack/webpack ---> https://github.com/webpack/webpack --> npm install --save-dev webpack (dependence of Redux) npm install --save react-redux (reactive redux) package/redux ---> https://www.npmjs.com/package/redux --> npm install --save redux (for the Model) npm install --save redux-thunk (per debugger) npm i --save redux-logger (per debugger è un logger) * **assertions:** npm install --save-dev mocha chai enzyme (for the Assertions) * **ui:** npm install native-base --save (native-base ui) * **icon:** npm install rnpm -g (dependence for icon native-base ui) rnpm link npm install react-native-vector-icons --save (icons) guide ----> http://nativebase.io/docs/v0.3.1/getting-started * **maps:** https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md ----> reference https://developers.google.com/maps/documentation/android-api/signup ---> take the key and activate the js api npm install react-native-maps --save react-native link npm install<EMAIL_ADDRESS>--save * **calendar:** npm install react-native-calendar-picker https://github.com/stephy/CalendarPicker----> reference * **star-rating:** npm install react-native-star-rating --save https://github.com/djchie/react-native-star-rating ----> reference * **scrollable-bar:** https://github.com/skv-headless/react-native-scrollable-tab-view Run npm install react-native-scrollable-tab-view --save var ScrollableTabView = require('react-native-scrollable-tab-view'); * **checkbox:** npm i react-native-check-box --save https://www.npmjs.com/package/react-native-check-box ----> reference * **radio-button:** https://github.com/ArnaudRinquin/react-native-radio-buttons npm i -S react-native-radio-buttons * **geolocalization:** https://facebook.github.io/react-native/docs/geolocation.html ## GUIDA INSTALLAZIONE REACT-NATIVE CON USB MOTO-G (ITA) NOTA: prima di eseguire i seguenti passaggi ricorda di abilitare debug usb dal cellulare di modo che quando utilizzi il comando -adb devices il tuo dispositivo venga rilevato e impostare trasferisci file MTP swippando verso il basso la sbarra dove c'è l'ora in alto di android 0) adb reverse tcp:8081 tcp:8081 1) avviare server node con react-native start dal pc 2) settare server una volta installata l'app I got this also when I started for the first time with React Native, using a physical device. If that's the case, you need to do some extra things before you can get started. You have to enter some information about your development machine in the 'Dev Settings' of React Native. When you see the error, shake your device. A dialog will popup, the last option will be 'Dev Settings'. Select 'Debug server hot & port for device' and enter your local IP and the used port (usually 8081). es. <IP_ADDRESS>:8081
2024-11-18T18:17:38.854305+00:00
2021-05-17T10:45:00
5bbb1935f8359af4f0497808cbe3d8f3ae1d747e
4
{ "blob_id": "5bbb1935f8359af4f0497808cbe3d8f3ae1d747e", "branch_name": "refs/heads/master", "committer_date": "2021-05-17T10:45:00", "content_id": "9b1efe94d96e9fa3e226808b372c460384a476f3", "detected_licenses": [ "MIT" ], "directory_id": "1133f3075b9942023a614d94a36cf4ed30fd73ea", "extension": "md", "filename": "autocompletebox-complex-business-objects.md", "fork_events_count": 11, "gha_created_at": "2015-01-24T09:33:55", "gha_event_created_at": "2022-01-01T18:42:35", "gha_language": "HTML", "gha_license_id": null, "github_id": 29771885, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3867, "license": "MIT", "license_type": "permissive", "path": "/controls/radautocompletebox/features/autocompletebox-complex-business-objects.md", "provenance": "stack-edu-markdown-0000.json.gz:143", "repo_name": "telerik/uwp-docs", "revision_date": "2021-05-17T10:45:00", "revision_id": "59ded5c5b7abe2ffeee9e851575776aee5417c36", "snapshot_id": "6c041053b4573f75c81f89f7c72fd2c9655dead6", "src_encoding": "UTF-8", "star_events_count": 10, "url": "https://raw.githubusercontent.com/telerik/uwp-docs/59ded5c5b7abe2ffeee9e851575776aee5417c36/controls/radautocompletebox/features/autocompletebox-complex-business-objects.md", "visit_date": "2022-01-13T13:23:47.892486" }
3.96875
stackv2
--- title: Binding to Complex Business Objects page_title: Binding to Complex Business Objects description: Check our &quot;Binding to Complex Business Objects&quot; documentation article for RadAutoCompleteBox for UWP control. slug: autocompletebox-complex-business-objects tags: binding,to,complex,business,objects published: True position: 0 --- # Binding to Complex Business Objects Besides using a collection of strings as a source for filtered items, RadAutoCompleteBox supports displaying more complex item templates that visualize multiple properties of a custom business object. RadAutoCompleteBox exposes the **DisplayMemberPath**, **FilterMemberPath** and **FilterMemberProvider** properties which are used in this context. > **DisplayMemberPath** property should be set to *true* whenever the developer uses a custom business object in order to display suggested items. It is also necessary in the absence of a **FilterMemberPath** property for correctly filtering the suggested items. ## Using the DisplayMemberPath Property The **DisplayMemberPath** property gets or sets a string that represents the name of the property of a single business object from the ItemsSource collection. That property will be used to display in the suggested items of the drop-down control. A simple scenario that demonstrates the usage of the DisplayMemberPath property is shown below: <telerikInput:RadAutoCompleteBox DisplayMemberPath="Name"/> ## Using the FilterMemberPath Property The **FilterMemberPath** property gets or sets a string that represents the name of the property of a single business object from the ItemsSource collection that will be used to filter the object according to the current user input in a **RadAutoCompleteBox**. A simple scenario that demonstrates the usage of the FilterMemberPath property is shown below. Suppose you have the following C# class: public class Street { public string Name { get; set; } public string State { get; set; } public string Country { get; set; } public string City { get; set; } } and you use instances of the public class Street to bind the **ItemsSource** property of **RadAutoCompleteBox**. Now you have to set the **FilterMemberPath** property to the name of the property which value we would like to use when filtering items: <telerikInput:RadAutoCompleteBox x:Name="radAutoCompleteBox" FilterMemberPath="Name"/> As the user types, all Street instances will be filtered based on the user input and the value which is returned by the **Name** property defined by the **Street** class. > When the **FilterMemberPath** property is not set, the **RadAutoCompleteBox** control gets the **DisplayMemberPath** property content for filtering the objects. ## Using the FilterMemberProvider Property The **FilterMemberProvider** gets or sets a delegate called for each object from the **ItemsSource** collection. The delegate provides the key which will be used when deciding whether the object is a valid suggestion according to the current user input. The FilterMemberProvider property cannot be set in XAML. The property provides the possibility for more complex filter keys, composed from a couple of properties on the source object. The following code snippet demonstrates how a custom filter key provider for the Name property of the **Street** class mentioned above can be defined: this.radAutoCompleteBox.FilterMemberProvider = (object item) => { return (item as Street).Name + " St."; }; # See Also * [Filter Modes]({%slug autocompletebox-filtermode%}) * [Filtering Items with Web Service ]({%slug autocompletebox-webservice-support%}) * [Inline Filtered Items Display]({%slug autocompletebox-inline-filtered-items%})
2024-11-18T18:17:38.906878+00:00
2023-03-01T16:38:38
2f2009b31419b2d6d612d3db5d922b0b450116e2
2
{ "blob_id": "2f2009b31419b2d6d612d3db5d922b0b450116e2", "branch_name": "refs/heads/master", "committer_date": "2023-03-01T16:38:38", "content_id": "bdffc839fa86f65a47f8ea2b065a91179216667d", "detected_licenses": [ "MIT" ], "directory_id": "1e0a6bf8dd7620fece80cb236919d74e2fad45ed", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 132599119, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 504, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:144", "repo_name": "pfandrade/Drawer", "revision_date": "2023-03-01T16:38:38", "revision_id": "6ccfcd2c24a1ed7406e29607aed804be9fb232ea", "snapshot_id": "b17521853ba96131bf8a1f3244e0ab3af89389c4", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/pfandrade/Drawer/6ccfcd2c24a1ed7406e29607aed804be9fb232ea/README.md", "visit_date": "2023-03-07T17:20:20.741890" }
2.3125
stackv2
# Drawer An iOS Maps like drawer view controller implementation. Features: * Simple API. Just initialize ```DrawerViewController``` like so: ```swift DrawerViewController(mainViewController: mapViewController, drawerContentViewController: drawerContentController) ``` * Support for multiple anchor positions; * Flicking speed is taken into account for a natural behavior. You can flick the drawer to the top or bottom, skipping any intermediate anchor positions; * Objective-C and iOS 9+ compatible;
2024-11-18T18:17:39.029588+00:00
2020-12-29T18:21:26
dd0da6aae1cf6fc0212b2afc0bcd889a8edb5bee
3
{ "blob_id": "dd0da6aae1cf6fc0212b2afc0bcd889a8edb5bee", "branch_name": "refs/heads/master", "committer_date": "2020-12-29T18:21:26", "content_id": "8190814972a84a70eba8e21cb29aa4bf44208024", "detected_licenses": [ "MIT" ], "directory_id": "30e77df3ac735c887d7b2d508aed219f0f586c1f", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2020-01-05T18:26:32", "gha_event_created_at": "2022-07-20T01:36:22", "gha_language": "OCaml", "gha_license_id": "MIT", "github_id": 231958712, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1169, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:145", "repo_name": "JSuder-xx/decision-matrix", "revision_date": "2020-12-29T18:21:26", "revision_id": "480bf9bc7c2d0dd4925af8ef9130af04e65edd30", "snapshot_id": "561ad08674e99a9f56f80df372c359192699dd18", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/JSuder-xx/decision-matrix/480bf9bc7c2d0dd4925af8ef9130af04e65edd30/README.md", "visit_date": "2022-08-19T23:58:38.364546" }
2.671875
stackv2
# decision-matrix A small on-line decision matrix application to assist in decision making and precise communication of relevant factors inside communities. Written in OCaml using the TEA architecture. [Try it on-line](https://decisionmatrix.z13.web.core.windows.net) ![Logo](logo.jpg) ## Evangelism I believe people **do** better when they have a better working mental model. Technology comparison articles frustrate me as frequently rife with - us vs. them thinking / emotive / tribal think (along with consequent ad hominem attacks) - strawman arguments - a lack of precision about the factors under consideration - conflation of how an alternative might score for some decision factor with the total relevance of the factor. For example, there is a lot of "yeah choice X may not be great at thing Y but Y is completely stupid and no one needs it". As humans we tend towards all of the above. That's OK. We also build tools to overcome our limits. This is just a small toy project but maybe some group can use it to communicate better - separating and communicating situational elements (factor weights) from factor scoring. - quantifying relative scoring.
2024-11-18T18:17:39.241860+00:00
2021-06-03T12:45:04
52290980e6f9d43a80315c65aa93f8ceb25b9f1e
4
{ "blob_id": "52290980e6f9d43a80315c65aa93f8ceb25b9f1e", "branch_name": "refs/heads/main", "committer_date": "2021-06-03T12:45:04", "content_id": "56d2049fad1026cea95319a6d947486409e73d1c", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "72194da28896914a31d090bd934c1e5d06d03c05", "extension": "md", "filename": "install.md", "fork_events_count": 0, "gha_created_at": "2021-04-03T15:06:55", "gha_event_created_at": "2021-05-24T14:22:58", "gha_language": "Mustache", "gha_license_id": "BSD-3-Clause", "github_id": 354321599, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1783, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/docs/install.md", "provenance": "stack-edu-markdown-0000.json.gz:146", "repo_name": "heytaco-anywhere/helm-chart", "revision_date": "2021-06-03T12:45:04", "revision_id": "ea420fc5c1f93ff16c386d961691b19e60c55fff", "snapshot_id": "8e86c84a44f7f974a9065fb5f142b8288b333dc2", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/heytaco-anywhere/helm-chart/ea420fc5c1f93ff16c386d961691b19e60c55fff/docs/install.md", "visit_date": "2023-05-13T01:02:09.992518" }
3.765625
stackv2
# Heytaco Anywhere Server Installation ## Disclaimer This page is not intended to be a comprehensive guide to installing Heytaco Anywhere. It will only cover the Kubernetes-specific parts of the process. ## Configuration In order to install the chart, you'll need to pass in additional configuration. This configuration comes in the form of Helm values, which are key/value pairs. ```yaml env: # REQUIRED: Set the user-visible hostname. # HEYTACO_ANYWHERE_SERVER_HOST: "" # REQUIRED: The protocol to pair with the value in HEYTACO_ANYWHERE_SERVER_HOST (http or https). # HEYTACO_ANYWHERE_SERVER_PROTO: https # REQUIRED: The secret of Heytaco! app. # You can get the secret from https://heytaco.chat/team/apps. # HEYTACO_ANYWHERE_HEYTACO_APP_SECRET: "" # Slack-specific variables. # HEYTACO_ANYWHERE_SLACK_CHANNEL: HEYTACO_ANYWHERE_SLACK_CLIENT_ID: HEYTACO_ANYWHERE_SLACK_CLIENT_SECRET: ``` Copy these into a new file, which we'll call `values.overrides.yaml`. Adjust the included defaults to reflect your environment. ## Run the installation Create the namespace to install Heytaco Anywhere in if it does not already exist: ```console $ kubectl create ns heytaco-anywhere namespace/heytaco-anywhere created ``` Run `helm` install with your values provided: ```console $ helm install --namespace heytaco-anywhere heytaco-anywhere heytaco-anywhere/heytaco-anywhere -f values.overrides.yaml ``` Once the install command is ran, your Kubernetes cluster will begin creating resources. To see how your deploy is shaping up, run: ```console $ kubectl --namespace heytaco-anywhere get pods NAME READY STATUS RESTARTS AGE heytaco-anywhere-76d6bb8968-3d5n9 1/1 Running 0 2m ```
2024-11-18T18:17:39.325031+00:00
2019-08-05T19:26:55
b93493acbda569308c34e4d801202608d6ad3dd0
2
{ "blob_id": "b93493acbda569308c34e4d801202608d6ad3dd0", "branch_name": "refs/heads/master", "committer_date": "2019-08-05T19:26:55", "content_id": "9a307ad14fbd75c95c59cc33a402dc94f88cdab5", "detected_licenses": [ "MIT", "Apache-2.0" ], "directory_id": "0613a186181256429f4b7a6a3abfe3ed89bbaf4e", "extension": "md", "filename": "torben-hoeft.md", "fork_events_count": 0, "gha_created_at": "2019-05-09T07:40:39", "gha_event_created_at": "2019-05-09T07:40:47", "gha_language": null, "gha_license_id": "NOASSERTION", "github_id": 185750612, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 896, "license": "MIT,Apache-2.0", "license_type": "permissive", "path": "/content/events/2018-zurich/speakers/torben-hoeft.md", "provenance": "stack-edu-markdown-0000.json.gz:147", "repo_name": "KrisBuytaert/devopsdays-web", "revision_date": "2019-08-05T19:26:55", "revision_id": "2304f5172789dd0fefa0d48c83f2e1ea5007188f", "snapshot_id": "446aee14bfb38a6c931a85426603a55e777469d9", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/KrisBuytaert/devopsdays-web/2304f5172789dd0fefa0d48c83f2e1ea5007188f/content/events/2018-zurich/speakers/torben-hoeft.md", "visit_date": "2022-01-26T05:20:24.879566" }
2.03125
stackv2
+++ Title = "Torben Höft" Website = "" Twitter = "gethash" Github = "" image = "torben-hoeft.jpg" type = "speaker" +++ Torben is passionate about systems engineering and delivering one-stop solutions. Throughout his career, he has worked on many different topics and dealt with a broad variety of technologies such as Linux (RedHat, Debian, Ubuntu), Windows NT4 - Server 2016, Microsoft (Hyper-V, Exchange 2000 - 2013, Active Directory, System Center Suite) VMware, Citrix (XenServer, XenApp, PVS, NetScaler) F5 BigIP, NetApp, Atlassian Suite, Ansible, terraform, Docker, etc. At Swisscom, he is now dedicated to supporting the company's DevOps transformation and enabling the teams with the tools, technology & knowledge they need to improve their software development lifecycle. Torben is an evangelist for disruptive solutions and his motto is "Change the company or change the company!".
2024-11-18T18:17:39.363413+00:00
2023-08-22T10:57:28
6c683183319f825546c88edde8447c23c32148f1
3
{ "blob_id": "6c683183319f825546c88edde8447c23c32148f1", "branch_name": "refs/heads/main", "committer_date": "2023-08-22T10:57:28", "content_id": "2fea5e6ef9effd698c2d39fa846a425db4a20ac6", "detected_licenses": [ "MIT" ], "directory_id": "9b96a77fdd7eeba74a3d66d09eb8ebbf28b7b8b9", "extension": "md", "filename": "CVE-2022-43551.md", "fork_events_count": 647, "gha_created_at": "2022-01-31T13:23:51", "gha_event_created_at": "2023-05-24T04:54:19", "gha_language": "HTML", "gha_license_id": "MIT", "github_id": 454015416, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1427, "license": "MIT", "license_type": "permissive", "path": "/2022/CVE-2022-43551.md", "provenance": "stack-edu-markdown-0000.json.gz:148", "repo_name": "trickest/cve", "revision_date": "2023-08-22T10:57:28", "revision_id": "193d43877d4d88120833461ebab51acc2e5e37f0", "snapshot_id": "2d5fdbb47e0baf6ce74e016190dec666cdfd9bfe", "src_encoding": "UTF-8", "star_events_count": 5091, "url": "https://raw.githubusercontent.com/trickest/cve/193d43877d4d88120833461ebab51acc2e5e37f0/2022/CVE-2022-43551.md", "visit_date": "2023-08-22T19:53:39.850122" }
3.109375
stackv2
### [CVE-2022-43551](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43551) ![](https://img.shields.io/static/v1?label=Product&message=https%3A%2F%2Fgithub.com%2Fcurl%2Fcurl&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20Fixed%20in%20curl%207.87.0%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Cleartext%20Transmission%20of%20Sensitive%20Information%20(CWE-319)&color=brighgreen) ### Description A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded. ### POC #### Reference No PoCs from references. #### Github - https://github.com/1g-v/DevSec_Docker_lab - https://github.com/ARPSyndicate/cvemon - https://github.com/a23au/awe-base-images - https://github.com/stkcat/awe-base-images
2024-11-18T18:17:39.443846+00:00
2017-10-27T19:02:48
c529e5234310592e6f25ff0e5af05549f20112f0
2
{ "blob_id": "c529e5234310592e6f25ff0e5af05549f20112f0", "branch_name": "refs/heads/master", "committer_date": "2017-10-27T19:02:48", "content_id": "fd2fe0ed586e23b37ecf05fd842f3a2f401282c8", "detected_licenses": [ "BSD-3-Clause", "BSD-2-Clause" ], "directory_id": "6f3480f253455c022dfd402bfdd40d73e8cf6e90", "extension": "md", "filename": "intro.md", "fork_events_count": 0, "gha_created_at": "2017-10-27T18:16:09", "gha_event_created_at": "2017-10-27T18:16:09", "gha_language": null, "gha_license_id": null, "github_id": 108579708, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 182, "license": "BSD-3-Clause,BSD-2-Clause", "license_type": "permissive", "path": "/doc/src/concepts/intro.md", "provenance": "stack-edu-markdown-0000.json.gz:149", "repo_name": "droundy/lumol", "revision_date": "2017-10-27T19:02:48", "revision_id": "aefb34f4759ab3089da37da19bd395c3688dd65f", "snapshot_id": "2f731fd5ba926cb20e8d39e80657cbf250d28c58", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/droundy/lumol/aefb34f4759ab3089da37da19bd395c3688dd65f/doc/src/concepts/intro.md", "visit_date": "2021-07-19T04:03:18.387289" }
2.265625
stackv2
# Simulation concepts In this section, we are going to present the two basic concepts in lumol: the [systems](concepts/system.html) and the [simulations](concepts/simulation.html).
2024-11-18T18:17:39.489715+00:00
2018-04-11T06:26:05
8983f3960a00c6503532fe6ae98afdc3fe15f66a
3
{ "blob_id": "8983f3960a00c6503532fe6ae98afdc3fe15f66a", "branch_name": "refs/heads/master", "committer_date": "2018-04-11T06:26:05", "content_id": "12f3294cc6c9c444066990a1e519aa5e51d95112", "detected_licenses": [ "MIT" ], "directory_id": "1a9c974d6be7baa0d4024bc9207fdf51b2a09114", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2018-03-31T19:01:27", "gha_event_created_at": "2018-03-31T19:01:27", "gha_language": null, "gha_license_id": null, "github_id": 127562235, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3327, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:150", "repo_name": "swizzard/hastodon", "revision_date": "2018-04-11T06:26:05", "revision_id": "89cdd35c96104d273b5de41074e44004b36cd7ca", "snapshot_id": "2bcc002d34203b65d40903ac719306ade695febf", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/swizzard/hastodon/89cdd35c96104d273b5de41074e44004b36cd7ca/README.md", "visit_date": "2020-03-07T15:42:20.426827" }
2.96875
stackv2
# Hastodon [![Build Status](https://travis-ci.org/syucream/hastodon.svg?branch=master)](https://travis-ci.org/syucream/hastodon) [![Hackage-Deps](https://img.shields.io/hackage-deps/v/Hastodon.svg)](http://packdeps.haskellers.com/feed?needle=Hastodon) mastodon client module for Haskell ## Quickstart If you don't have client id and client secret, call postApps at first. (Alternatively, in the web client, under the development section of your mastodon profile settings, ```haskell import Web.Hastodon appRes <- postApps "mastodon.social" "HastodonClientApp" case appRes of Right app -> do let clientId = oauthClientClientId app let clientSecret = oauthClientClientSecret app ``` Fill client id, client secret, the email address used to sign up for the instance and password, then call functions. ```haskell import Web.Hastodon main :: IO () main = do let clientId = "???" let clientSecret = "???" let email = "???" let password = "???" maybeClient <- mkHastodonClient clientId clientSecret email password "mastodon.social" case maybeClient of Just client -> do timeline <- getAccountById client 93150 print timeline result <- postStatus client "test toot from hastodon!" print result Nothing -> do putStrLn "Failed to log in. Be careful regarding the spelling of your email and password."
2024-11-18T18:17:39.542496+00:00
2018-12-30T13:39:31
bf5641d0c8b03e88010c8e8443be9bd58d8d8c9d
3
{ "blob_id": "bf5641d0c8b03e88010c8e8443be9bd58d8d8c9d", "branch_name": "refs/heads/master", "committer_date": "2018-12-30T13:39:31", "content_id": "86e4a97864bcdf8dcb39e35442f670e17b515cc8", "detected_licenses": [ "MIT" ], "directory_id": "12a9e801ede27ad70f0065938dc6ba97ea7fdee5", "extension": "markdown", "filename": "2017-07-03-building-progressive-web-apps-bringing-the-power-of-native-to-the-browser.markdown", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 94737343, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2223, "license": "MIT", "license_type": "permissive", "path": "/_posts/2017-07-03/2017-07-03-building-progressive-web-apps-bringing-the-power-of-native-to-the-browser.markdown", "provenance": "stack-edu-markdown-0000.json.gz:151", "repo_name": "bestebookinfo/bestebookinfo.github.com", "revision_date": "2018-12-30T13:39:31", "revision_id": "663febb4572907ac2dcc9f033d8b2b1edf4a5cae", "snapshot_id": "f1aa3f2bde54d87d4d9f04b7878f5794b27de981", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/bestebookinfo/bestebookinfo.github.com/663febb4572907ac2dcc9f033d8b2b1edf4a5cae/_posts/2017-07-03/2017-07-03-building-progressive-web-apps-bringing-the-power-of-native-to-the-browser.markdown", "visit_date": "2021-05-23T05:55:19.231068" }
2.796875
stackv2
--- layout: post date: 2017-07-03 08:00:00 +1200 title: "Building Progressive Web Apps: Bringing the Power of Native to the Browser" imgurl: https://images-na.ssl-images-amazon.com/images/I/517KDblYb4L._SL200_.jpg amazonid:<PHONE_NUMBER> author: Tal Ater press: O'Reilly Media pubdate: 2017-07-25 pagesize: 275 rating: 0 download-link: http://www62.zippyshare.com/v/NFFxy7nu/file.html download-format: PDF (Early Release) download-size: 13.2 tag-press: O'Reilly tags: O'Reilly Web-App PWA --- If you’re working on the Web, you’ve probably heard something about Progressive Web Apps. But what exactly are they and what kind of benefit will they bring you? With this book, you’ll gain a practical understanding along with the skills needed to use Service Workers and other technology central to building Progressive Web Apps. PWAs are pushing the mobile web forward, aim to bring parity to web and native apps, and help mobile developers reach users beyond the confines of native app stores. With this book, learn how to build websites that take advantage of features that have so far been the exclusive domain of native apps. Reach out to your users with push notifications and homescreen icons, speed up your site significantly and provide a fully functional app even when your users are offline or suffering from bad connectivity. ### Table of Contents <pre> Chapter 1. Introducing Progressive Web Apps Chapter 2. Your First Service Worker Chapter 3. The CacheStorage API Chapter 4. Service Worker Lifecycle and Cache Management Chapter 5. Embracing Offline First Chapter 6. Storing Data Locally with IndexedDB Chapter 7. Ensuring Offline Functionality with Background Sync Chapter 8. Service Worker to Page Communication with Post Messages Chapter 9. Grabbing Homescreen Real Estate with Installable Web Apps Chapter 10. Reach Out with Push Notifications Chapter 11. Progressive Web App UX Chapter 12. What’s Next for PWAs </pre> ### Book Details <pre> Title: Building Progressive Web Apps: Bringing the Power of Native to the Browser Author: Tal Ater Length: 275 pages Edition: 1 Language: English Publisher: O'Reilly Media Publication Date: 2017-07-25 ISBN-10:<PHONE_NUMBER> ISBN-13:<PHONE_NUMBER>650 </pre>
2024-11-18T18:26:08.826983+00:00
2013-10-26T09:14:14
25f305b4d1fbc2114fab123b43d3dfbba9b211b4
2
{ "blob_id": "25f305b4d1fbc2114fab123b43d3dfbba9b211b4", "branch_name": "refs/heads/master", "committer_date": "2013-10-26T09:14:14", "content_id": "dcd63f3051d7b87eb5488eae998fb3e42d220c2f", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ce5f97348d1f97d534e5f1a21b9c1e7d11709ded", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 13499597, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 231, "license": "Apache-2.0", "license_type": "permissive", "path": "/life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Liparis/Liparis nervosa/README.md", "provenance": "stack-edu-markdown-0000.json.gz:152", "repo_name": "mdoering/backbone", "revision_date": "2013-10-26T09:14:14", "revision_id": "712cec6c481c3d78c52698a10644af9aaf7e241d", "snapshot_id": "67abcd314c8426f4d7c20dbb1a07fca77eec0a97", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/mdoering/backbone/712cec6c481c3d78c52698a10644af9aaf7e241d/life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Liparis/Liparis nervosa/README.md", "visit_date": "2021-01-19T03:39:00.475878" }
2
stackv2
# Liparis nervosa (Thunb.) Lindl. SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Gen. sp. orchid. pl. 26. 1830 #### Original name Ophrys nervosa Thunb. ### Remarks null
2024-11-18T18:26:08.880894+00:00
2016-02-26T16:25:59
f29c514cd38b2d4d81d902ce03c253157a385e18
3
{ "blob_id": "f29c514cd38b2d4d81d902ce03c253157a385e18", "branch_name": "refs/heads/master", "committer_date": "2016-02-26T16:25:59", "content_id": "89cae43709d142f859fa4d8bba7238ca315148b7", "detected_licenses": [ "MIT" ], "directory_id": "6a0c75b1fedd86069e5332865b5f23304164db7b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 14607586, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1598, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:153", "repo_name": "jpTipton/FizzBuzz", "revision_date": "2016-02-26T16:25:59", "revision_id": "f311b8328e1be43cd4b3516131d25d768df0f33d", "snapshot_id": "cf697ce8d18e68ffaab97e9e32c829446dd40604", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/jpTipton/FizzBuzz/f311b8328e1be43cd4b3516131d25d768df0f33d/README.md", "visit_date": "2021-01-21T08:08:49.837639" }
3.015625
stackv2
FizzBuzz ============= FizzBuzz is a pretty well known coding interview question which will require some knowledge about loops and a little logic to solve. This problem will likely take you no time at all to solve especially if you are an expereinced software craftsman. So as an added challenge, solve it in a language you are not very familar with and do not code in every day. Remember the goal of code kata is to level up our programming skills! ### Task Your task is to write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz". ###Input None. ###Output Output the numbers 1 through 100. * If the number is not a multiple of 3 or 5 print the number. * If the number is a multiple of 3 print "Fizz." * If the number is a multiple of 5 print "Buzz." * If the number is a multiple of 3 and 5 print "FizzBuzz." ###Reference Thanks to [Jeff Atwood's blog](http://www.codinghorror.com) for this problem in [this blog post](http://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html) and to [David Hudson](http://davidhuson.me) for suggesting it. ### Answer Submission Instructions 1. Fork [this github repository](https://github.com/CentralArkansasCodeKata/FizzBuzz). 2. Write your solution to the problem. 3. Commit your solution to the repository. 4. Post a link to your fork as a comment to [this FizzBuzz post](http://www.codekata.co/2013/11/17/fizz-buzz/) on [codekata.co](http://codekata.co).
2024-11-18T18:26:09.276525+00:00
2019-04-18T18:28:30
63b65788d4204debca8bbd2fa7ffd8a83fd25cbd
4
{ "blob_id": "63b65788d4204debca8bbd2fa7ffd8a83fd25cbd", "branch_name": "refs/heads/master", "committer_date": "2019-04-18T18:28:30", "content_id": "1feadaf4aa7200a23c62baaf712e2288b923ecf8", "detected_licenses": [ "MIT" ], "directory_id": "7cca17bafaea6f8ea28c21a729a99ef189f54c56", "extension": "md", "filename": "file.md", "fork_events_count": 0, "gha_created_at": "2019-04-18T18:07:20", "gha_event_created_at": "2019-04-18T18:07:20", "gha_language": null, "gha_license_id": null, "github_id": 182135279, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4181, "license": "MIT", "license_type": "permissive", "path": "/ingestion/documentation/file.md", "provenance": "stack-edu-markdown-0000.json.gz:154", "repo_name": "cbsiamlg/aistreamer", "revision_date": "2019-04-18T18:28:30", "revision_id": "001cb291f1ab0e99e0e12d159f752b2c00593aa7", "snapshot_id": "a51cfeb1ef77fcae3d252bc51c428bf02c4adca3", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/cbsiamlg/aistreamer/001cb291f1ab0e99e0e12d159f752b2c00593aa7/ingestion/documentation/file.md", "visit_date": "2020-05-15T07:09:24.852764" }
3.703125
stackv2
AIStreamer Ingestion - File/Data Streaming =================================== [Google Cloud Video Intelligence Streaming API](https://cloud.google.com/video-intelligence/alpha/docs/streaming) allows customers to stream a video file to Google Streaming API server and receives analytics results in real time. It also allows customers to divide a video file into multiple data chunks, and stream each data chunk individually. # Supported video codecs Not all video files can be supported in Google Cloud Video Intellgence Streaming API. Please refer to [Google Cloud Documentation](https://cloud.google.com/video-intelligence/alpha/docs/streaming) for list of supported video codecs during file streaming. You can determine if your video file supports streaming by using a named pipe and the [FFMPEG](https://www.ffmpeg.org) tool. The following sample commands decode a video into PNG images at a rate of 0.2 fps. If your file can be successfully decoded using these commands, then you can stream it using the Video Intelligence streaming API. ``` $ export FILE_NAME=/path_to_file/file_name $ mkfifo /tmp/inpipe $ ffmpeg -i /tmp/inpipe -r 0.2 output_%04d.png $ cat $FILE_NAME > /tmp/inpipe ``` # Python client library [Python examples](../client/python) are available to our customers. We provide one Python file for each feature. Command line to run our example Python code: ``` $ export GOOGLE_APPLICATION_CREDENTIALS=/path_to_credential/credential_json $ ./streaming_label_detection.py $FILE_NAME $ ./streaming_shot_detectin.py $FILE_NAME $ ./streaming_explicit_content_detection.py $FILE_NAME $ ./streaming_object_tracking.py $FILE_NAME ``` Here, $GOOGLE_APPLICATION_CREDENTIALS specifies where GCP credential json file is located. Make sure to set correct timeout value when initiating the gRPC connection. If you need to stream 1 hour of video, timeout value should be at least 3600 (unit: seconds) in the python source code. ```python # streaming_annotate_video returns a generator. # timeout argument specifies the maximum allowable time duration between # the time that the last packet is sent to Google video intelligence API # and the time that an annotation result is returned from the API. # timeout argument is represented in number of seconds. responses = client.streaming_annotate_video(config_request, requests, timeout=3600) ``` # C++ client library [C++ examples](../client/cpp) are available to our customers. A single binary example [streaming_client_main](../client/cpp/BUILD) is provided to support all features. Please follow the build instruction. Command line to run our example C++ code: ``` $ export GOOGLE_APPLICATION_CREDENTIALS=/path_to_credential/credential_json $ export CONFIG=/path_to_config/config_json $ export FILE_NAME=/path_to_file/file_name $ export TIMEOUT=3600 $ ./streaming_client_main --alsologtostderr --endpoint "dns:///alpha-videointelligence.googleapis.com" \ --video_path=$FILE_NAME --config=$CONFIG --timeout=$TIMEOUT ``` Here, $GOOGLE_APPLICATION_CREDENTIALS specifies where GCP credential json file is located. Example config files $CONFIG for each feature can be found [here](../client/cpp/config). Make sure to set correct timeout flag in the command line. If you need to stream 1 hour of video, timeout value should be at least 3600 (unit: seconds). # Other languages Support for other languages will be available by end of Q1/2019. Please contact us if you need immediate support before that time frame. # Build instruction We provide a Docker example, and build/deployment dependency rules have been properly configured in [env/Dockerfile](../env/Dockerfile). Please refer to [Docker documentation](../documentation/docker.md) for detailed instructions. # Flow control Google Cloud Video Intelligence Streaming API server has inherent flow control. A StreamingAnnotateVideoRequest message will be rejected, and gRPC streaming connection will be stopped immediately in the following two cases: 1. when AIStreamer ingestion client is sending requests to Google servers too frequently 2. when AIStreamer ingestion client is sending too much data to Google servers (beyond 20Mbytes per second).
2024-11-18T18:26:09.339387+00:00
2023-04-01T19:44:32
86feecc9dc2aeaaa98e64e6c075453a53dc01e70
3
{ "blob_id": "86feecc9dc2aeaaa98e64e6c075453a53dc01e70", "branch_name": "refs/heads/main", "committer_date": "2023-04-01T19:44:32", "content_id": "f3d6440e71bb67062bb41615010ee1b40a10ca92", "detected_licenses": [ "MIT" ], "directory_id": "d01d98f3f92efa5f12b500a78ff583087be417bc", "extension": "md", "filename": "hello-world.md", "fork_events_count": 0, "gha_created_at": "2021-12-28T14:15:20", "gha_event_created_at": "2023-06-20T09:01:53", "gha_language": "SCSS", "gha_license_id": "MIT", "github_id": 442484668, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2592, "license": "MIT", "license_type": "permissive", "path": "/src/content/posts/hello-world.md", "provenance": "stack-edu-markdown-0000.json.gz:155", "repo_name": "paulmsmith/paulsmith.site", "revision_date": "2023-04-01T19:44:32", "revision_id": "e12c0aa895b60801946f59e145a7bf9096cc0bde", "snapshot_id": "4a4bd923e2c93b4f0c1d32eacfb5a7b2b92f967f", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/paulmsmith/paulsmith.site/e12c0aa895b60801946f59e145a7bf9096cc0bde/src/content/posts/hello-world.md", "visit_date": "2023-06-22T03:38:58.084420" }
2.6875
stackv2
--- title: 'Hello world' date: 2021-03-24 tags: ['blogging'] social_description: 'A hello from me on my freshly revived blog' heading: 'Hello world' --- The words 'Hello world' are often the first thing many programmers will instruct their applications to produce. ```js console.log('Hello world'); ``` Its a simple way of testing things are working, rather like flicking a light switch in a new building to check the power is on. I don't know when or where it started but it has since been appropriated by many others, including by bloggers, as the title of their first post. So this is mine. The challenge for me now, is to prevent this being the first of four, maybe five, blog posts I write before losing enthusiasm again. ## Good today is better than perfect never I am forcing myself to publish this 'hello word' post and therby launch this blog sooner than I'd naturally be inclined to. Why? Because I have a mind for continual improvement, I'm not sure my brain can recognise the state of 'done'. Often this serves my work and my employers well. I'm driven to keep improving the services they have hired me to develop. That the work is not for me but for somebody else is crucial. Employers and stakeholders impose what designers like myself desperately need: constraints. Timescales, budgets and limited resources help me to trade-off the things I should (and should not!) invest my time and effort in. {% imgr { imagePath: 'content/skeleton-meme.jpg', alt: 'Photo of skeleton on a bench with the caption: Must have been waiting for a design to be perfect', width: '800', height: '400', useCloud: true, quality: '90', classes: 'u-1/1' } %} For personal projects that is not the case. I answer to nobody. The possibilities are limitless. So mindful of my perfectionistic demons, I have resolved to just get this thing out there. People will never see my work if I need to be satisfied with it, I've come to accept that won't ever happen on personal projects. I have a list of things I'd like to do to iterate the version I publish today, some highlights are: - Work on performance optimisation. I have not done anything specifc on this yet. - Rejig mark-up and run through more than just basic accessibility checks. - Generate tag archives - Make the reading experience better - Implement a dark mode (or something to help people who struggle with bright/white web sites) - Add RSS/JSON feeds You can't provide any value until you deliver something. If it's good enough today, that is much better than perfect never. So hello world.
2024-11-18T18:26:09.382020+00:00
2023-05-31T23:39:32
f25f0ccb5cb9494eee6c4649b47ed8cdd7782df6
4
{ "blob_id": "f25f0ccb5cb9494eee6c4649b47ed8cdd7782df6", "branch_name": "refs/heads/will-jekyll-template", "committer_date": "2023-05-31T23:39:32", "content_id": "f6ca9bd5032a1eebf5133998c0c05e62f2b49047", "detected_licenses": [ "MIT" ], "directory_id": "96f45250a662a1a856611d8662a0b657fb34d2b2", "extension": "md", "filename": "2018-11-23-how-to-calculate-time-complexity-of-an-algorithm.md", "fork_events_count": 17, "gha_created_at": "2016-10-16T09:00:23", "gha_event_created_at": "2023-05-31T23:39:33", "gha_language": "HTML", "gha_license_id": "MIT", "github_id": 71039758, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 14630, "license": "MIT", "license_type": "permissive", "path": "/_posts/2018-11-23-how-to-calculate-time-complexity-of-an-algorithm.md", "provenance": "stack-edu-markdown-0000.json.gz:156", "repo_name": "poanchen/poanchen.github.io", "revision_date": "2023-05-31T23:39:32", "revision_id": "b939a249bc340739b3cf765c0c2aa5e57a774076", "snapshot_id": "bde0744ae878ce23bceede88b7e815d0615a3317", "src_encoding": "UTF-8", "star_events_count": 13, "url": "https://raw.githubusercontent.com/poanchen/poanchen.github.io/b939a249bc340739b3cf765c0c2aa5e57a774076/_posts/2018-11-23-how-to-calculate-time-complexity-of-an-algorithm.md", "visit_date": "2023-06-10T07:16:01.852718" }
3.609375
stackv2
--- layout: post title: "How to calculate time complexity of an algorithm?" author: poanchen date: 2018-11-23 08:30:30 tags: - PoAn (Baron) Chen - Algorithm --- Knowing how fast your algorithm runs is extremely important. Often times, you will get asked to determine your algorithm performance in a big-O sense during interview. You will be expected to know how to calculate the time and space complexity of your code, sometimes you even need to explain how you get there. In some cases, it can be pretty tricky to get it right. In this article, I am going to show you guys how to do things right. In most of the cases, you are going to see these kind of Big-O running time in your code. <img src="/img/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/bigonotation.jpg" alt="big 0 notation diagram"> Diagram above is from [Objective-C Collections](https://nsscreencast.com/episodes/072-objective-c-collections) by [NSScreencast](https://nsscreencast.com) Let me give you example of how the code would look like for each running time in the diagram. {% highlight java %} // Time complexity: O(1) // Space complexity: O(1) int x = 15; x += 6; System.out.print(x); // should print 21 {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/constantTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> As we all know, math operators like +, -, \*, / computes in constant time. Since the code does nothing but addition and printing, it indeed runs in constant time. Next, <div id="binarySearch"></div> {% highlight java %} // Time complexity: O(log(n)) // Space complexity: O(1) public static int binarySearch(int [] arr, int target) { int low = 0, high = arr.length - 1; while(low <= high) { int mid = low + ((high - low) / 2); if(arr[mid] == target) return mid; if(arr[mid] < target) low = mid + 1; else high = mid - 1; } return -(low + 1); } public static void main(String[] args) { int [] arr = new int[]{2, 3, 5, 7, 9, 19, 25}; System.out.println(binarySearch(arr, 2) == 0); // true System.out.println(binarySearch(arr, 19) == 5); // true System.out.println(binarySearch(arr, 1) == -1); // true System.out.println(binarySearch(arr, 20) == -7); // true System.out.println(binarySearch(arr, 18) == -6); // true } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/logarithmicTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> Just like any other binary search, this code runs in logarithmic time. Say we are given an array that looks something like [2, 3, 5, 7, 9, 19, 25], we start from the midpoint (where the 7 is) and try to look for our target (say, 2). Since it was already sorted, we know that our target is less than where the midpoint value is. As a result, the answer has to be on the left side if it exist at all (or on the right side if our target is larger than the midpoint value). We then keep doing that. Eventually, we will either find our target number or find the index where the target number should be (to insert in order to say sorted). As you can see in each iteration(s), we are essentially cutting arrays into half and check to see if our target number is on the left or on the right side. Hence, we are only doing logarithmic works. Please head over to this awesome [Stack Overflow threads to learn more in depths](https://stackoverflow.com/questions/2307283/what-does-olog-n-mean-exactly). Next, {% highlight java %} // Time complexity: O(sqrt(n)) // Space complexity: O(1) public static boolean isPrime(int n) { boolean isPrime = true; for(int i = 2; Math.sqrt(n) > i && isPrime; i++) { if(n % i == 0) isPrime = false; } return isPrime; } public static void main(String[] args) { System.out.println(isPrime(2) == true); System.out.println(isPrime(5) == true); System.out.println(isPrime(7) == true); System.out.println(isPrime(12) == false); System.out.println(isPrime(20) == false); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/sqrtTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> As you can see, in the isPrime method, our for loop starts iteration from 2 and will only go up to the square root of n. Hence, it is only doing square root of n works where n is the number to be checked. The reason we only need to computes up to square root of n is because > If a number n is not a prime, it can be factored into two factors a and b:<br><br> > n = a \* b<br><br> > If both a and b were greater than the square root of n, a \* b would be greater than n. So at least one of those factors must be less than or equal to the square root of n, and to check if n is prime, we only need to test for factors less than or equal to the square root. answered by [Sven Marnach](https://stackoverflow.com/users/279627/sven-marnach) in this [Stack Overflow threads: Why do we check up to the square root of a prime number to determine if it is prime?](https://stackoverflow.com/questions/5811151/why-do-we-check-up-to-the-square-root-of-a-prime-number-to-determine-if-it-is-pr) Next, {% highlight java %} // Time complexity: O(n) // Space complexity: O(1) public static void printArray(int [] arr) { for(int i = 0; i < arr.length; i++) { System.out.println(arr[i]); } } public static void main(String[] args) { int [] arr = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; printArray(arr); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/linearTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> Given an array of size n, we have a for loop that go through each and every one of the elements in the array. In each iteration, we are simply printing the values in the array. As a result, our code should runs in linear time. How about this code? {% highlight java %} // Time complexity: O(n) // Space complexity: O(1) public static void printArray(int [] arr) { for(int i = 0; i < arr.length; i++) { System.out.println(arr[i]); } } public static void main(String[] args) { int [] arr = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; printArray(arr); printArray(arr); printArray(arr); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/threeLinearTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> The biggest differences between this code and the code above is that it consists of 3 for loops. Since each for loop runs in linear time, three of them simply makes them 3 \* n, in big-O sense, it will still concluded as O(n) as 3 is a constant when n gets large! Next, {% highlight java %} // Time complexity: O(n^2) // Space complexity: O(1) public static void print2DArray(int [][] m) { for(int i = 0; i < m.length; i++) { for(int j = 0; j < m[0].length; j++) { System.out.print(m[i][j] + ","); } System.out.println(); } } public static void main(String[] args) { int [][] m = new int[3][3]; m[0][0] = 1; m[0][1] = 2; m[0][2] = 3; m[1][0] = 4; m[1][1] = 5; m[1][2] = 6; m[2][0] = 7; m[2][1] = 8; m[2][2] = 9; print2DArray(m); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/quadraticTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> Given a 2D array, we are going through each and every one of the rows and cols in the matrix. In each iteration, we are simply printing which takes constant time. Overall, we are doing quadratic works. How about this code? {% highlight java %} // Time complexity: O(n^2) // Space complexity: O(1) public static void print2DArray(int [][] m) { for(int i = 0; i < m.length; i++) { for(int j = 0; j < m[0].length; j++) { for(int k = 0; k <= 10; k++) { System.out.print(m[i][j] + ","); } } System.out.println(); } } public static void main(String[] args) { int [][] m = new int[3][3]; m[0][0] = 1; m[0][1] = 2; m[0][2] = 3; m[1][0] = 4; m[1][1] = 5; m[1][2] = 6; m[2][0] = 7; m[2][1] = 8; m[2][2] = 9; print2DArray(m); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/quadraticNestedConstantForLoopTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> We have added another for loop within the nested for loop that we already have. However, instead of going from zero up to the matrix size, we go from zero up to the number of 10. Will that increase our time complexity? The correct answer is no. Since our for loop runs up to a constant number of 10 and **does not grow as n grows**, hence, the time complexity of this code is still a solid O(n^2). It is important to discard things that does not grow as n grows since they will become irrelevant when you are trying to determine your code run time in big-O sense. Next, {% highlight java %} // Time complexity: O(n^3) // Space complexity: O(1) public static void print2DArray(int [][] m) { for(int i = 0; i < m.length; i++) { for(int j = 0; j < m[0].length; j++) { for(int k = 0; k < m[0].length; k++) { System.out.print(m[i][j] + ","); } } System.out.println(); } } public static void main(String[] args) { int [][] m = new int[3][3]; m[0][0] = 1; m[0][1] = 2; m[0][2] = 3; m[1][0] = 4; m[1][1] = 5; m[1][2] = 6; m[2][0] = 7; m[2][1] = 8; m[2][2] = 9; print2DArray(m); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/cubicTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> We have nested of three for loops in the print2DArray method, they all go up to the size of the matrix which makes this code a cubic time or O(n \* n \* n). Before we talk about how we can get time complexity of O(n^n), let's perhaps talk about how you can get O(4^n) first. Say, you are given this question, <div id="maxValueListOperators"></div> > Given a list of float numbers, insert “+”, “-”, “\*” or “/” between each consecutive pair of numbers to find the maximum value you can get. For simplicity, assume that all operators are of equal precedence order and evaluation happens from left to right. For example:<br><br> Given a list of number, [1, 12, 3], the maximum value you can get is 39 if you do 1 + 12 * 3. To visualize it, here is the tree that I drew, <img src="/img/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/20181123_1748374.jpg" alt="tree for the question"> As you can see all the paths, 1 + 12 * 3 has the largest value out of all of them which is the answer. Normally, each tree node in a binary tree has 2 branches to grow out. For the tree that I drew, each tree node can grow into 4 branches. In the first level, it has 1 tree nodes. In the second level, it has 4 tree nodes. In the third level, it has 16 tree nodes. Guess how many tree nodes in the forth level? the answer is 64. You might wonder how we got the answer, it is simple. We simply do 4\*\*level. 4\*\*0 is 1, 4\*\*1 is 4, 4\*\*2 is 16, and 4\*\*3 is 64. As you can see, this exactly matched the number of tree nodes in each level of the tree that we drew. We can then generalized the total number of tree nodes to 4\*\*n where n is the number of levels or number of items in the list which is also the run time of the algorithm. Here is what the code might looks like, {% highlight java %} // Time complexity: O(4^n) // Space complexity: O(1) public static void getMaxAnswer(double res, int [] arr, int index) { if(index == arr.length) { System.out.println(res); } else { getMaxAnswer(res + arr[index], arr, index + 1); getMaxAnswer(res - arr[index], arr, index + 1); getMaxAnswer(res * arr[index], arr, index + 1); getMaxAnswer(res / arr[index], arr, index + 1); } } public static void main(String[] args) { int [] arr = new int[]{1, 12, 3}; getMaxAnswer(arr[0] * 1.0, arr, 1); } {% endhighlight %} <a href="https://github.com/poanchen/code-for-blog/blob/master/2018/11/23/how-to-calculate-time-complexity-of-an-algorithm/exponentiationTime.java" target="_blank">source code</a> hosted on <a href="https://github.com" target="_blank">GitHub</a> As we explained earlier, this code has the running time of O(4^n). With this in mind, you should be able to create a code that does O(n^n), instead of limiting our operator to only four of them (“+”, “-”, “\*” or “/”), we simply have n number of operators, then the code running time would be O(n^n). Why not leave what the code might look like for run time of O(n^n) in the comments below? ## Wrapping Up Hopefully you enjoyed this tutorial about how to calculate the time complexity of an algorithm. Let me know if this helps you. Thank you for reading! ## Resources I'll try to keep this list current and up to date. If you know of a great resource you'd like to share or notice a broken link, please [let us know](https://github.com/poanchen/poanchen.github.io/issues/new?title=&body=%0A%0A%0A%5BEnter+feedback+here%5D%0A%0A%0A---%0A%23%23%23%23+Document+Details%0A%0A%E2%9A%A0+*Do+not+edit+this+section.*%0A%0A*+Blog+URL%3A+%5B{{ page.title }}%5D({{ site.url }}{{ page.url }})%0A*+GitHub+Source+URL%3A+%5B{{ page.url | split: "/" | slice: 5}}.md%5D(https://github.com/poanchen/poanchen.github.io/blob/will-jekyll-template/_posts/{{ page.date | date: "%Y-%m-%d" }}-{{ page.url | split: "/" | slice: 5}}.md)). ### Getting started * [What does O(log n) mean exactly?](https://stackoverflow.com/questions/2307283/what-does-olog-n-mean-exactly).
2024-11-18T18:26:09.478973+00:00
2019-09-30T05:45:06
550ec286858d4321cbb3468dbc3fa83c8092f3e4
3
{ "blob_id": "550ec286858d4321cbb3468dbc3fa83c8092f3e4", "branch_name": "refs/heads/master", "committer_date": "2019-09-30T05:45:06", "content_id": "79d24ebce132acf5ed9b5a6495357a867f25f5cd", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "460690b98dfd5eddb6aaf5bbd2cb0c126ccd6b8b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2019-09-30T05:30:16", "gha_event_created_at": "2019-09-30T05:30:16", "gha_language": null, "gha_license_id": null, "github_id": 211782138, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 961, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/genprotocol/README.md", "provenance": "stack-edu-markdown-0000.json.gz:157", "repo_name": "ErickClewisAccountsdatamoneymarketing/kbfs", "revision_date": "2019-09-30T05:45:06", "revision_id": "c5319b3bfcfe2c7278c51aed91a245614126cf8b", "snapshot_id": "c6f9e665c90c28492a464b5b2c2fac4085711669", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/ErickClewisAccountsdatamoneymarketing/kbfs/c5319b3bfcfe2c7278c51aed91a245614126cf8b/genprotocol/README.md", "visit_date": "2020-08-03T14:20:00.220592" }
3.140625
stackv2
#### Protocol**** X4 The protocol defines types and methods used to communicate between KBFS and other services. The protocol files are defined using [Avro IDL](http://avro.apache.org/docs/1.7.5/idl.html) in `avdl`. The included Makefile assumes that the AVDLs are stored in the following directory structure: * service1service2-avdl/ * foo.avdl * bar.avdl The AVDL files will be compiled into Go files, which will be placed in the following directory structure: * ../protocol/service1service2/ * foo.go * bar.go To install dependencies for scripts: `make deps`. To build Go stubs, run `make`. Note that if you *delete* any AVDL files, you'll need to run `make clean` first or else the old generated results will stick around. ## Pre-requisites on Linux (Ubuntu) Install a recent version of build of nodejs: curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs npm gem install activesupport
2024-11-18T18:26:09.570404+00:00
2020-02-28T08:20:11
22e8f650d37062debf98cb22915ab90d1f646dc2
3
{ "blob_id": "22e8f650d37062debf98cb22915ab90d1f646dc2", "branch_name": "refs/heads/master", "committer_date": "2020-02-28T08:20:11", "content_id": "82baf99d917d073757185cd6345daf86738db0bf", "detected_licenses": [ "MIT" ], "directory_id": "3358758be054a82f8c1e7de8abec06a6e36baefb", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 173505409, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 719, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:158", "repo_name": "alexcdot/acui-hosting-tutorial", "revision_date": "2020-02-28T08:20:11", "revision_id": "56469f53ff98a1435b702c1af126f43e0c4d8d32", "snapshot_id": "6ae9b49f633d07e4b042eb3ca60be2169eec6f0c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/alexcdot/acui-hosting-tutorial/56469f53ff98a1435b702c1af126f43e0c4d8d32/README.md", "visit_date": "2020-04-26T11:05:48.520478" }
2.578125
stackv2
# Hosting tutorial at Hacktech 2019 Learn to host with AWS, Nginx, Expressjs and Reactjs! [Here is the full tutorial](https://gist.github.com/alexcdot/c489390a31ba05f4d14d8ecad75f1fe8/edit) Here are the links to the tutorials that make this repo work: *INSTALL NODE WITH NVM*: https://github.com/creationix/nvm#install--update-script https://medium.com/@utkarsh_verma/configure-nginx-as-a-web-server-and-reverse-proxy-for-nodejs-application-on-aws-ubuntu-16-04-server-872922e21d38 https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 You can choose to replace the app.js file in the medium article with the code from the backend folder of this repo if you'd like.
2024-11-18T18:26:09.643257+00:00
2018-09-19T10:55:18
99280807e382c24911331ac68c76f99fa782dc49
3
{ "blob_id": "99280807e382c24911331ac68c76f99fa782dc49", "branch_name": "refs/heads/master", "committer_date": "2018-09-19T10:55:18", "content_id": "d578099bde96875658ee8d3ec8958c86f05025f7", "detected_licenses": [ "MIT" ], "directory_id": "c6097ed03a6a47a1b58372cb7f30ea6cc1ef1c3b", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 149431955, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 857, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:159", "repo_name": "ariia-git/scrape", "revision_date": "2018-09-19T10:55:18", "revision_id": "b8cb7681ff4654e3452fb93e6644b378afa1a5bb", "snapshot_id": "41b7f95fb142e9730796abf21b367432f045535a", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ariia-git/scrape/b8cb7681ff4654e3452fb93e6644b378afa1a5bb/README.md", "visit_date": "2020-03-29T02:20:56.276468" }
2.890625
stackv2
# scrape ## Quickly scrape emails and save to a MySQL Database while browsing. ### 1 Embed the js file into a webpage (Greasemonkey etc) ### 2 Host the php file somewhere (Preferably with https to prevent browser warnings and conflicts) #### Update with DB Credentials ### 3 Update the js file #### with your ip/domain where the url shows "<IP_ADDRESS>", to where the hosted php file is. ### 4 Change the z key #### In the js & php files ##### (or dont, its really basic and not really secure.) ### 5 Create DB table #### With the db.sql file. ### 6 Enable the embedded script #### Then browse to a website. ### If the website contains any email addresses #### You can now capture them in the database by ##### a. clicking the GO button or ##### b. CTRL + \ --- #### The script will then alert how many unique emails have been stored successfully.
2024-11-18T18:26:09.789605+00:00
2021-08-04T16:21:24
2f82119b13271ffc74bbd5e935ffeb2d9df06fd1
3
{ "blob_id": "2f82119b13271ffc74bbd5e935ffeb2d9df06fd1", "branch_name": "refs/heads/main", "committer_date": "2021-08-04T16:21:24", "content_id": "4110ef274edb517741c28fa1ab09729e08a6d141", "detected_licenses": [ "MIT" ], "directory_id": "0be94c96d0b6b23c8fce9db12563544e7398e1df", "extension": "md", "filename": "index.md", "fork_events_count": 0, "gha_created_at": "2021-08-02T00:26:15", "gha_event_created_at": "2021-08-02T00:26:16", "gha_language": null, "gha_license_id": "MIT", "github_id": 391772290, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 469, "license": "MIT", "license_type": "permissive", "path": "/docs/src/index.md", "provenance": "stack-edu-markdown-0000.json.gz:160", "repo_name": "darsnack/Ghost.jl", "revision_date": "2021-08-04T16:21:24", "revision_id": "94906dc9b9417e14ad94e4492e6664ed633090db", "snapshot_id": "41ef7cc93a1bf1e581ce7979bafe0d9a2b7ce4e3", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/darsnack/Ghost.jl/94906dc9b9417e14ad94e4492e6664ed633090db/docs/src/index.md", "visit_date": "2023-07-02T04:02:35.344363" }
3.265625
stackv2
# Ghost.jl Ghost.jl is a code tracer for the Julia programming language. It lets you trace the function execution, recording all primitive operations onto a linearized tape. Here's a quick example: ```@example using Ghost # hide inc(x) = x + 1 mul(x, y) = x * y inc_double(x) = mul(inc(x), inc(x)) val, tape = trace(inc_double, 2.0) ``` The tape can then be analyzed, modified and even compiled back to a normal function. See the following sections for details.
2024-11-18T18:26:09.827078+00:00
2015-04-13T11:49:27
bacf2998531c4a9a14902877503a193106eae28e
3
{ "blob_id": "bacf2998531c4a9a14902877503a193106eae28e", "branch_name": "refs/heads/master", "committer_date": "2015-04-13T11:49:27", "content_id": "52b34a7c813b1ac44bbe762f483dcb767d8ff935", "detected_licenses": [ "MIT" ], "directory_id": "a74b27542710b3fae0e3781e7effa8a413b1d80f", "extension": "md", "filename": "2015-04-12-i09.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 33812600, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2096, "license": "MIT", "license_type": "permissive", "path": "/jstatsoft/v59/2015-04-12-i09.md", "provenance": "stack-edu-markdown-0000.json.gz:161", "repo_name": "yulijia/jstatsoft", "revision_date": "2015-04-13T11:49:27", "revision_id": "dab52a5ab526d05b57d089ac2499ec763e8e95a1", "snapshot_id": "cddb83df2c57e902cf0affccf11481a3ba047c50", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/yulijia/jstatsoft/dab52a5ab526d05b57d089ac2499ec763e8e95a1/jstatsoft/v59/2015-04-12-i09.md", "visit_date": "2021-01-02T08:13:48.147696" }
2.90625
stackv2
--- published: false title: i09 layout: post author: Yu categories: v59 hidden: true --- | Item | Detail | Link | |---:|---|---| | Authors | Ulrich Halekoh, Søren Højsgaard| | | Title |A Kenward-Roger Approximation and Parametric Bootstrap Methods for Tests in Linear Mixed Models – The R Package pbkrtest | [download](http://www.jstatsoft.org/v59/i09/paper) | | Reference |Vol. 59, Issue 9, Sep 2014 | | | | Submitted 2012-01-11, Accepted 2013-12-01| | | Type | Article| | | Abstract | When testing for reduction of the mean value structure in linear mixed models, it is common to use an asymptotic χ2 test. Such tests can, however, be very poor for small and moderate sample sizes. The pbkrtest package implements two alternatives to such approximate χ2 tests: The package implements (1) a Kenward-Roger approximation for performing F tests for reduction of the mean structure and (2) parametric bootstrap methods for achieving the same goal. The implementation is focused on linear mixed models with independent residual errors. In addition to describing the methods and aspects of their implementation, the paper also contains several examples and a comparison of the various methods.| | | Paper | A Kenward-Roger Approximation and Parametric Bootstrap Methods for Tests in Linear Mixed Models – The R Package pbkrtest (application/pdf, 554.8 KB)| [download](http://www.jstatsoft.org/v59/i09/paper) | | Supplements | | | | |pbkrtest_0.4-0.tar.gz: R source package (application/x-gzip, 126.7 KB)| [download](http://www.jstatsoft.org/v59/i09/supp/1) | | |v59i09.R: R example code from the paper (application/octet-stream, 7.3 KB)| [download](http://www.jstatsoft.org/v59/i09/supp/2) | | |v59i09-supplements.zip: R and SAS code for simulations and results (application/zip, 4.4 KB)| [download](http://www.jstatsoft.org/v59/i09/supp/3) | | Resources | [BibTeX](http://www.jstatsoft.org/v59/i09/bibtex) [OAI](http://www.jstatsoft.org/oai?verb=GetRecord&identifier=oai.jstatsoft/v59/i09&prefix=oai_dc)| | | | | [返回卷目录]({{site.baseurl}}/volume/v59.html) |
2024-11-18T18:26:10.062932+00:00
2021-09-22T12:44:42
43447c6f92600cf84e7dc5f258d96b2e6dd5e730
3
{ "blob_id": "43447c6f92600cf84e7dc5f258d96b2e6dd5e730", "branch_name": "refs/heads/main", "committer_date": "2021-09-22T12:44:42", "content_id": "feac2a840755bae0610f55dcbfa0edd19feb0d06", "detected_licenses": [ "MIT" ], "directory_id": "f06480551120a364b10d7887d1bcdc280f61feb3", "extension": "md", "filename": "announcing-sourcegraph-3.10.md", "fork_events_count": 0, "gha_created_at": "2021-09-22T12:46:16", "gha_event_created_at": "2021-09-22T12:46:17", "gha_language": null, "gha_license_id": "MIT", "github_id": 409201228, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 14830, "license": "MIT", "license_type": "permissive", "path": "/blogposts/2019/announcing-sourcegraph-3.10.md", "provenance": "stack-edu-markdown-0000.json.gz:162", "repo_name": "zag/about", "revision_date": "2021-09-22T12:44:42", "revision_id": "af4ff80dc7133be38f4c83ed81af6b3b8244238f", "snapshot_id": "9b212b4ac03a4d5d7770b993826878aeb8962109", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/zag/about/af4ff80dc7133be38f4c83ed81af6b3b8244238f/blogposts/2019/announcing-sourcegraph-3.10.md", "visit_date": "2023-07-30T13:43:53.477223" }
3.21875
stackv2
--- title: "Sourcegraph 3.10: Improved search autocompletion, native GitLab integration, and search and replace campaigns" author: Christina Forney publishDate: 2019-11-20T10:00-07:00 tags: [blog] slug: sourcegraph-3.10 heroImage: https://about.sourcegraph.com/sourcegraph-mark.png published: true description: "Sourcegraph 3.10: Improved search autocompletion, native GitLab integration, and search and replace campaigns" --- Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. <div style="padding-left: 2rem"> [**🔬 Improved autocompletion for search query filters**](#improved-autocompletion-for-search-query-filters)<br /> [**🦊 Sourcegraph provides native code intelligence to GitLab**](#sourcegraph-provides-native-code-intelligence-to-gitlab)<br /> [**🤖 Create cross-repository search and replace campaigns**](#create-cross-repository-search-and-replace-campaigns)<br /> [**🧠 Precise LSIF-based code intelligence for 5 languages**](#precise-lsif-based-code-intelligence-for-5-languages)<br /> [**🔎 Scaling search for our largest customers**](#scaling-search-for-our-largest-customers)<br /> [**📦 Fully automated release testing process**](#fully-automated-release-testing-process)<br /> [**📝 Changelog**](#changelog)<br /> Every detail that changed in this release [**🎖️ Thank you**](#thank-you)<br /> Sourcegraph couldn't be what it is without the community. </div> **Deploy or upgrade:** [Local](https://docs.sourcegraph.com/#quickstart-guide) | [AWS](https://github.com/sourcegraph/deploy-sourcegraph-aws) | [DigitalOcean](https://marketplace.digitalocean.com/apps/sourcegraph?action=deploy&refcode=48dfb3ccb51c) | [Kubernetes cluster](https://github.com/sourcegraph/deploy-sourcegraph) ## Improved autocompletion for search query filters <p class="container"> <div style="padding:56.25% 0 0 0;position:relative;"> <iframe src="https://player.vimeo.com/video/374329715?color=0CB6F4&title=0&byline=&loop=1&autoplay=1" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div> <p style="text-align: center"><a href="https://vimeo.com/374329715" target="_blank">View on Vimeo</a></p> </p> Autocomplete suggestions make it easier to use filters in your Sourcegraph searches. Use `ctrl-space` to trigger suggestions for filters you can apply to your query. As you type, the suggestions become more relevant, helping you to apply correct filter options or autocomplete repository or file names. ## Sourcegraph provides native code intelligence to GitLab <p class="container"> <div style="padding:56.25% 0 0 0;position:relative;"> <iframe src="https://player.vimeo.com/video/372226334?color=0CB6F4&title=&byline=&loop=1&autoplay=1" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div> <p style="text-align: center"><a href="https://vimeo.com/372226334/de668e24fa" target="_blank">View on Vimeo</a></p> </p> Sourcegraph users use the [Sourcegraph browser extension](https://docs.sourcegraph.com/integration/browser_extension) to take advantage of go-to-definition and find references on their code hosts. GitLab recognizes the value this brings to developer productivity and has partnered with Sourcegraph to provide this functionality natively to all GitLab users. Read our [feature announcement](https://about.sourcegraph.com/blog/gitlab-integrates-sourcegraph-code-navigation-and-code-intelligence) and [GitLab’s post](https://about.gitlab.com/blog/2019/11/12/sourcegraph-code-intelligence-integration-for-gitlab/) about collaborating in the open. Soon, GitLab.com users will be able to opt-in to native code intelligence for public repositories by enabling Sourcegraph in their user preferences. This feature is being rolled out incrementally to public projects on GitLab.com, and will first be available on the [GitLab repository](https://gitlab.com/gitlab-org/gitlab). Users with private GitLab instances or repositories can enable Sourcegraph code intelligence as of GitLab 12.5. Take a look at the [Sourcegraph integration documentation](https://gitlab.com/gitlab-org/gitlab/blob/master/doc/integration/sourcegraph.md) for how to configure it on your instance. ## Create cross-repository search and replace campaigns <p class="container"> <div style="padding:56.25% 0 0 0;position:relative;"> <iframe src="https://player.vimeo.com/video/374473021?color=0CB6F4&amp;title=0&amp;byline=" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div> <p style="text-align: center"><a href="https://vimeo.com/374473021" target="_blank">View on Vimeo</a></p> </p> Sourcegraph now supports creating and tracking code-aware search and replace campaigns on GitHub and Bitbucket Server. When running a search and replace campaign, you can preview the changes across repositories and then generate the corresponding pull requests on your GitHub and Bitbucket Server instances. Once created, you can track the PRs to completion in a burndown chart. Sourcegraph is introducing [Comby syntax](https://comby.dev/#basic-usage) for automated search and replace campaigns. Comby syntax is code-aware and simplifies finding patterns in code. This new capability makes operations that could require complex or awkward regexp queries much simpler to write. [Watch the campaigns screencasts](https://about.sourcegraph.com/product/code-change-management#see-it-in-action) to see what we have planned, and [apply for early access](https://about.sourcegraph.com/contact/request-code-change-management-demo/) to campaigns for your organization. ## Precise LSIF-based code intelligence for 5 languages <!-- Video will be added later, not essential for release post, but important in its own right <p class="container"> <div style="padding:56.25% 0 0 0;position:relative;"> <iframe src="https://player.vimeo.com/video/{ID}?color=0CB6F4&amp;title=0&amp;byline=" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div> <p style="text-align: center"><a href="https://vimeo.com/{ID}" target="_blank">View on Vimeo</a></p> </p> --> With the completion of the Java LSIF indexer, LSIF-based precise code intelligence now supports five languages: Go, Typescript, Java, C++, and Python. See [lsif.dev](https://lsif.dev/) for the most up-to-date information on the list of languages with LSIF indexers. We are looking for feedback from project owners interested in trying out precise code intelligence! Use our new [LSIF quickstart guide](https://docs.sourcegraph.com/code_intelligence/lsif_quickstart) to try it out manually before adding it as a step in your CI. ## Scaling search for our largest customers Customers wanting better indexed search performance or wishing to add many more thousands of repositories to Sourcegraph are now in luck! Sourcegraph's indexed search can now scale horizontally in cluster deployments. The Kubernetes [deployment manifest](https://github.com/sourcegraph/deploy-sourcegraph) for indexed-search services has changed from a Normal Service to a Headless Service. This enables Sourcegraph to individually resolve indexed-search pods. Services are immutable, so a [migration is required](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/migrate.md#310). <div class="alert alert-warning"> <p> <strong>IMPORTANT: required migration for all Kubernetes deployments.</strong> Please see the <a href="https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/migrate.md#310">3.10 migration guide</a> for details. </p> </div> ## Fully automated release testing process As part of Sourcegraph’s ongoing commitment to providing the highest quality, stable releases, our manual QA process has in the last two months been turned into a fully automated regression testing suite. We continue to aggressively invest in automated testing of Sourcegraph to provide extremely stable and reliable releases, and ultimately better features for our users. Look forward to reading more about this in an upcoming blogpost from Sourcegraph CTO, Beyang Liu, [on our blog](https://about.sourcegraph.com/blog/). ## Changelog ## 3.10.0 ### Added - Indexed Search supports horizontally scaling. Instances with large number of repositories can update the `replica` field of the `indexed-search` StatefulSet. See [configure indexed-search replica count](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/configure.md#configure-indexed-search-replica-count). [#5725](https://github.com/sourcegraph/sourcegraph/issues/5725) - Bitbucket Cloud external service supports `exclude` config option. [#6035](https://github.com/sourcegraph/sourcegraph/issues/6035) - `sourcegraph/server` Docker deployments now support the environment variable `IGNORE_PROCESS_DEATH`. If set to true the container will keep running, even if a subprocess has died. This is useful when manually fixing problems in the container which the container refuses to start. For example a bad database migration. - Search input now offers filter type suggestions [#6105](https://github.com/sourcegraph/sourcegraph/pull/6105). - The keyboard shortcut <kbd>Ctrl</kbd>+<kbd>Space</kbd> in the search input shows a list of available filter types. ### Changed - **Required Kubernetes Migration:** The [Kubernetes deployment](https://github.com/sourcegraph/deploy-sourcegraph) manifest for indexed-search services has changed from a Normal Service to a Headless Service. This is to enable Sourcegraph to individually resolve indexed-search pods. Services are immutable, so please follow the [migration guide](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/migrate.md#310). - Fields of type `String` in our GraphQL API that contain [JSONC](https://komkom.github.io/) now have the custom scalar type `JSONCString`. [#6209](https://github.com/sourcegraph/sourcegraph/pull/6209) - `ZOEKT_HOST` environment variable has been deprecated. Please use `INDEXED_SEARCH_SERVERS` instead. `ZOEKT_HOST` will be removed in 3.12. - Directory names on the repository tree page are now shown in bold to improve readability. - Added support for Bitbucket Server pull request activity to the [campaign](https://about.sourcegraph.com/product/code-change-management) burndown chart. When used, this feature leads to more requests being sent to Bitbucket Server, since Sourcegraph needs to keep track of how a pull request's state changes over time. With [the instance scoped webhooks](https://docs.google.com/document/d/1I3Aq1WSUh42BP8KvKr6AlmuCfo8tXYtJu40WzdNT6go/edit) in our [Bitbucket Server plugin](https://github.com/sourcegraph/bitbucket-server-plugin/pull/10) as well as up-coming [heuristical syncing changes](#6389), this additional load will be significantly reduced in the future. ### Fixed - Support hyphens in Bitbucket Cloud team names. [#6154](https://github.com/sourcegraph/sourcegraph/issues/6154) - Server will run `redis-check-aof --fix` on startup to fix corrupted AOF files. [#651](https://github.com/sourcegraph/sourcegraph/issues/651) - Authorization provider configuration errors in external services will be shown as site alerts. [#6061](https://github.com/sourcegraph/sourcegraph/issues/6061) ### Removed ## 3.9.4 ### Changed - The experimental search pagination API's `PageInfo` object now returns a `String` instead of an `ID` for its `endCursor`, and likewise for the `after` search field. Experimental paginated search API users may need to update their usages to replace `ID` cursor types with `String` ones. ### Fixed - The experimental search pagination API no longer omits a single repository worth of results at the end of the result set. [#6286](https://github.com/sourcegraph/sourcegraph/issues/6286) - The experimental search pagination API no longer produces search cursors that can get "stuck". [#6287](https://github.com/sourcegraph/sourcegraph/issues/6287) - In literal search mode, searching for quoted strings now works as expected. [#6255](https://github.com/sourcegraph/sourcegraph/issues/6255) - In literal search mode, quoted field values now work as expected. [#6271](https://github.com/sourcegraph/sourcegraph/pull/6271) - `type:path` search queries now correctly work in indexed search again. [#6220](https://github.com/sourcegraph/sourcegraph/issues/6220) ## 3.9.3 ### Changed - Sourcegraph is now built using Go 1.13.3 [#6200](https://github.com/sourcegraph/sourcegraph/pull/6200). ## 3.9.2 ### Fixed - URI-decode the username, password, and pathname when constructing Postgres connection paramers in lsif-server [#6174](https://github.com/sourcegraph/sourcegraph/pull/6174). Fixes a crashing lsif-server process for users with passwords containing special characters. ## 3.9.1 ### Changed - Reverted [#6094](https://github.com/sourcegraph/sourcegraph/pull/6094) because it introduced a minor security hole involving only Grafana. [#6075](https://github.com/sourcegraph/sourcegraph/issues/6075) will be fixed with a different approach. The [changelog for this and previous releases](https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md#3.10) is available on GitHub. ## Thank you Thank you to the many people who contributed to Sourcegraph since the last release! - [@prayashm](https://github.com/prayashm) - [@abeyerpath](https://github.com/abeyerpath) - [@gerbal](https://github.com/gerbal) - [@jlangston](https://github.com/jlangston) - [@425183525](https://github.com/425183525) - [@kevachen](https://github.com/kevachen) - [@brentshermana](https://github.com/brentshermana) **Deploy or upgrade:** [Local](https://docs.sourcegraph.com/#quickstart-guide) | [AWS](https://github.com/sourcegraph/deploy-sourcegraph-aws) | [DigitalOcean](https://marketplace.digitalocean.com/apps/sourcegraph?action=deploy&refcode=48dfb3ccb51c) | [Kubernetes cluster](https://github.com/sourcegraph/deploy-sourcegraph) From the entire [@sourcegraph](https://twitter.com/sourcegraph) team, happy coding!
2024-11-18T18:26:10.103944+00:00
2021-09-05T06:31:16
34c68b920bdd20900d6592be3a0de08247ff88d9
3
{ "blob_id": "34c68b920bdd20900d6592be3a0de08247ff88d9", "branch_name": "refs/heads/master", "committer_date": "2021-09-05T06:31:16", "content_id": "ab5fa6d695fd97e670e6ffef44cd1e6050182c52", "detected_licenses": [ "MIT" ], "directory_id": "550e9c4a8d56d47aaf1df2e15a71cd4cd35d16b9", "extension": "md", "filename": "DEPLOY.md", "fork_events_count": 3, "gha_created_at": "2017-05-20T19:23:16", "gha_event_created_at": "2021-09-05T06:31:17", "gha_language": "C++", "gha_license_id": "MIT", "github_id": 91911330, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 500, "license": "MIT", "license_type": "permissive", "path": "/DEPLOY.md", "provenance": "stack-edu-markdown-0000.json.gz:163", "repo_name": "DronMDF/2out", "revision_date": "2021-09-05T06:31:16", "revision_id": "d41a8e8ca6bfb5c66a8b77cd62ac9ab69e61b295", "snapshot_id": "6ceadcdf74c63e46d8f5c769a619ce76afc162c5", "src_encoding": "UTF-8", "star_events_count": 12, "url": "https://raw.githubusercontent.com/DronMDF/2out/d41a8e8ca6bfb5c66a8b77cd62ac9ab69e61b295/DEPLOY.md", "visit_date": "2021-09-08T11:49:15.507642" }
2.6875
stackv2
# Deployment Remotes should be present and logged in ```sh $ conan remote list pureoop-2out: https://conan.cloudsmith.io/pureoop/2out [Verify SSL: True] $ conan user -p <APIKEY> -r pureoop-2out <USERNAME> Changed user of remote 'pureoop-2out' from 'None' (anonymous) to '<USERNAME>' ``` Note: Use APIKEY as password (look it in cloudsmith profile) ```sh $ conan create . dronmdf/stable $ conan upload 2out/0.9@dronmdf/stable --all -r pureoop-2out ``` This procedure integrated in github actions.
2024-11-18T18:26:42.192866+00:00
2021-08-17T16:54:33
f9ae9c79a575a26ee8fe66beed4179a023926d8f
3
{ "blob_id": "f9ae9c79a575a26ee8fe66beed4179a023926d8f", "branch_name": "refs/heads/master", "committer_date": "2021-08-17T16:54:33", "content_id": "82ada2a008b6407215781e554da3a9fb0f1ba72e", "detected_licenses": [ "Apache-2.0" ], "directory_id": "02db7546d69c9a9ea51e2798544e8e96c965f3c5", "extension": "md", "filename": "environment-onboarding.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1319, "license": "Apache-2.0", "license_type": "permissive", "path": "/content/sre/onboarding/environment-onboarding.md", "provenance": "stack-edu-markdown-0000.json.gz:164", "repo_name": "rajesh2k3/StakaterCloudDocs", "revision_date": "2021-08-17T16:54:33", "revision_id": "dcc7199335aeb3525d3baf85c0a3ed290832f5c5", "snapshot_id": "c2d903233f7395726bdf75d291121c83a3994c9d", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/rajesh2k3/StakaterCloudDocs/dcc7199335aeb3525d3baf85c0a3ed290832f5c5/content/sre/onboarding/environment-onboarding.md", "visit_date": "2023-07-09T17:12:27.027352" }
3.328125
stackv2
# Add new environment To add new environment in cluster do following steps in gitops directory - Add environment folder inside cluster's argocd folder located in sre tenant directory. **\<sre-tenant>/\<cluster>/argocd/\<env>** - Add environment folder inside config folder located in application tenants directory **\<application-tenant>/configs/\<env>**/argocd/ - Add environment folder in each application direcory located in application tenants directory - \<01-tenant>/\<01-application>/\<env> - \<01-tenant>/\<n-application>/\<env> - \<n-tenant>/\<n-application>/\<env> - Add space file inside **each** application tenants config directory **\<application-tenant>/configs/\<env>**/space.yaml ``` apiVersion: tenantoperator.stakater.com/v1alpha1 kind: Space metadata: name: <tenant>-<env> labels: team: <tenant> kind: <env> stakater.com/workload-monitoring: 'true' annotations: openshift.io/node-selector: node-role.kubernetes.io/worker= spec: tenant: <tenant> ``` Replace angle brackets with following values in Above templates: - \<tenant> : Name of the tenant - \<application-tenant> : Name of application tenant - \<sre-tenant> : Name of sre tenant - \<env>: Environment name - \<nexus-repo>: url of nexus repository
2024-11-18T18:26:42.334556+00:00
2018-10-26T22:02:12
cfc94f0a125bfefbc9226ac3837afdb9f9b53bff
3
{ "blob_id": "cfc94f0a125bfefbc9226ac3837afdb9f9b53bff", "branch_name": "refs/heads/master", "committer_date": "2018-10-26T22:02:12", "content_id": "bc61db6fb7dad8fce477f1813199c5c4086d2568", "detected_licenses": [ "Apache-2.0" ], "directory_id": "ae89e66614970bff3815fa4511d929809d56d96b", "extension": "md", "filename": "README.md", "fork_events_count": 3, "gha_created_at": "2017-11-17T00:37:53", "gha_event_created_at": "2018-01-24T22:34:31", "gha_language": "Go", "gha_license_id": "Apache-2.0", "github_id": 111038490, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1488, "license": "Apache-2.0", "license_type": "permissive", "path": "/vendor/k8s.io/kubernetes/cluster/images/kube-discovery/README.md", "provenance": "stack-edu-markdown-0000.json.gz:165", "repo_name": "LINBIT/drbd-flex-provision", "revision_date": "2018-10-26T22:02:12", "revision_id": "460e83c3a04a84da409a117d2149ee17176a76de", "snapshot_id": "a3cf1a1924e5efefeda5f025d1379916d163c833", "src_encoding": "UTF-8", "star_events_count": 6, "url": "https://raw.githubusercontent.com/LINBIT/drbd-flex-provision/460e83c3a04a84da409a117d2149ee17176a76de/vendor/k8s.io/kubernetes/cluster/images/kube-discovery/README.md", "visit_date": "2023-09-04T15:07:50.234929" }
3.46875
stackv2
### kube-discovery An initial implementation of a Kubernetes discovery service using JSON Web Signatures. This prototype is configured by kubeadm and run within Kubernetes itself. ## Requirements This pod expects the cluster CA, endpoints list, and token map to exist in /tmp/secret. This allows us to pass them in as kubernetes secrets when deployed as a pod. ``` $ cd /tmp/secret $ ls ca.pem endpoint-list.json token-map.json $ cat endpoint-list.json ["http://<IP_ADDRESS>:8080", "http://<IP_ADDRESS>:8080"] $ cat token-map.json { "TOKENID": "ABCDEF1234123456" } ``` ## Build And Run From Source ``` $ build/run.sh /bin/bash -c "KUBE_BUILD_PLATFORMS=linux/amd64 make WHAT=cmd/kube-discovery" $ _output/dockerized/bin/linux/amd64/kube-discovery 2016/08/23 19:17:28 Listening for requests on port 9898. ``` ## Running in Docker This image is published at: gcr.io/google_containers/kube-discovery `docker run -d -p 9898:9898 -v /tmp/secret/ca.pem:/tmp/secret/ca.pem -v /tmp/secret/endpoint-list.json:/tmp/secret/endpoint-list.json -v /tmp/secret/token-map.json:/tmp/secret/token-map.json --name kubediscovery gcr.io/google_containers/kube-discovery` ## Testing the API `curl "http://localhost:9898/cluster-info/v1/?token-id=TOKENID"` You should see JSON containing a signed payload. For code to verify and decode that payload see handler_test.go. [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/cluster/images/kube-discovery/README.md?pixel)]()
2024-11-18T18:26:42.533974+00:00
2020-06-24T14:42:32
ac0074c27325356f164b6fdb7a113ed585df002f
2
{ "blob_id": "ac0074c27325356f164b6fdb7a113ed585df002f", "branch_name": "refs/heads/master", "committer_date": "2020-06-24T14:42:32", "content_id": "5c76d7f02028199a8b7eed1e199a4c361b54d150", "detected_licenses": [ "MIT" ], "directory_id": "f2e29f6948ddccf984646e723af619485847f320", "extension": "md", "filename": "about.md", "fork_events_count": 0, "gha_created_at": "2014-05-08T16:34:18", "gha_event_created_at": "2017-05-15T12:18:44", "gha_language": "CSS", "gha_license_id": null, "github_id": 19580777, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1052, "license": "MIT", "license_type": "permissive", "path": "/about.md", "provenance": "stack-edu-markdown-0000.json.gz:166", "repo_name": "abuxton/abuxton.github.io", "revision_date": "2020-06-24T14:42:32", "revision_id": "4428d886389cf2cac9e91486826fd80354b361a2", "snapshot_id": "5d11d5ea7a204037f1ea3a7678f2430062e99fde", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/abuxton/abuxton.github.io/4428d886389cf2cac9e91486826fd80354b361a2/about.md", "visit_date": "2020-12-24T16:36:21.310574" }
2.390625
stackv2
--- title: About layout: page --- ![Profile Image]({{ site.url }}/{{ site.picture }}) <p> <quote>`Digital` </quote>~ Involving or relating to the use of computer technology. Such as ‘the digital revolution’. <a href='https://en.oxforddictionaries.com/definition/digital'>Oxford Eng.</a> </p> <p> <quote>`Adept` </quote>~ Very skilled or proficient at something. ‘she is adept at cutting through red tape’, or ‘an adept negotiator’.<a href='https://en.oxforddictionaries.com/definition/adept'>Oxford Eng.</a> </p> <p> A keen `technologist`, passionate about new technology, DevOps practices and a balanced approach to Agile development, configuration management and operations in a world where no single system as a single authoritative owner, standard or approach. Fortunate enough to travel the world through work and discuss these subjects and more over Coffee and code. </p> ```Puppet class { 'coffee' : ensure => present, milk => 'hot', sugar => undef, provider => 'pourover', stage => 'first' { ```
2024-11-18T18:26:42.742817+00:00
2023-08-29T18:43:29
d93803efe96fbf4b218533eb21c967bbee4b9ad2
4
{ "blob_id": "d93803efe96fbf4b218533eb21c967bbee4b9ad2", "branch_name": "refs/heads/v3", "committer_date": "2023-08-29T18:43:29", "content_id": "0cd49c1e9e5ba6d1f26a09f4d7f48e665429c960", "detected_licenses": [ "MIT" ], "directory_id": "573d1f81a8879043f4a7426cb73129f9e5195c95", "extension": "md", "filename": "buttons-versus-links-differences-and-tips.md", "fork_events_count": 1, "gha_created_at": "2019-08-09T11:54:25", "gha_event_created_at": "2023-08-28T21:20:15", "gha_language": "SCSS", "gha_license_id": "MIT", "github_id": 201458347, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 6601, "license": "MIT", "license_type": "permissive", "path": "/posts/buttons-versus-links-differences-and-tips.md", "provenance": "stack-edu-markdown-0000.json.gz:167", "repo_name": "fuzzylogicxx/fuzzylogic", "revision_date": "2023-08-29T18:43:29", "revision_id": "e1a762d5b0f0dbf603fe9f12241ed79fa5a7bf49", "snapshot_id": "5bb276a0d937b001f19cf1afae565886a5ca0a22", "src_encoding": "UTF-8", "star_events_count": 6, "url": "https://raw.githubusercontent.com/fuzzylogicxx/fuzzylogic/e1a762d5b0f0dbf603fe9f12241ed79fa5a7bf49/posts/buttons-versus-links-differences-and-tips.md", "visit_date": "2023-08-31T22:13:43.589571" }
3.609375
stackv2
--- date: 2021-10-23T18:53:41.000+00:00 title: 'Buttons and links: definitions, differences and tips' description: How buttons and links work, the differences between them, and when to use each. tags: - entry - development - web - design - javascript - css - html - anchor - link - button - a11y noteWithTitle: false linkTarget: '' mainImage.url: '' mainImage.alt: '' mainImage.aspectRatioWidth: '' mainImage.aspectRatioHeight: '' mainImage.srcsetWidths: '' mainImage.sizes: '' mainImage.isAnchor: false draft: false --- On the web buttons and links are fundamentally different materials. However some design and development practices have led to them becoming conceptually “bundled together” and misunderstood. Practitioners can fall into the trap of seeing the surface-level commonality that “you click the thing, then something happens” and mistakenly thinking the two elements are interchangeable. Some might even consider them as a single “button component” without considering the distinctions underneath. However this mentality causes our users problems _and_ is harmful for effective web development. In this post I’ll address why buttons and links are different and exist separately, and when to use each. --- ## Problematic patterns Modern website designs commonly apply the appearance of a button to a link. For isolated calls to action this can make sense however as a design pattern it is often overused and under-cooked, which can cause confusion to developers implementing the designs. Relatedly, it’s now common for Design Systems to have a _Button_ component which includes button-styled links that are referred to simply as buttons. Unless documented carefully this can lead to internal language and comprehension issues. Meanwhile developers have historically used [faux links](https://www.htmhell.dev/8-anchor-tag-used-as-button/) (`<a href="#">`) or worse, a DIY clickable `div`, as a trigger for JavaScript-powered functionality where they should instead use native buttons. These patterns in combination have given rise to a collective _muddle_ over buttons and links. We need to get back to basics and talk about foundational HTML. ## Buttons and anchors in HTML There are two HTML elements of interest here. Hyperlinks are created using the HTML _anchor_ element (`<a>`). Buttons (by which I mean real buttons rather than links styled to appear as buttons) are implemented with the HTML _button_ element (`<button>`). Although a slight oversimplification, I think [David MacDonald’s heuristic](https://twitter.com/davidmacd/status/1309954746602713098) works well: If it GOES someWHERE use a link If it DOES someTHING use a button A link… * _goes somewhere_ (i.e. navigates to another place) * normally links to another document (i.e. page) on the current website or on another website * can alternatively link to a different section of the same page * historically and by default appears underlined * when hovered or focused offers visual feedback from the browser’s status bar * uses the “pointing hand” mouse pointer * results in browser making an HTTP `GET` request by default. It’s intended to _get_ a page or resource rather than to _change_ something * offers specific right-click options to mouse users (open in new tab, copy URL, etc) * typically results in an address which can be bookmarked * can be activated by pressing the return key * is announced by screen readers as “Link” * is available to screen reader users within an overall _Links_ list A button… * _does something_ (i.e. performs an action, such as “Add”, “Update” or "Show") * can be used as `<button type=submit>` within a form to submit the form. This is a modern replacement for `<input type=submit />` and much better as it’s easier to style, allows nested HTML and supports CSS pseudo-elements * can be used as `<button type=button>` to trigger JavaScript. This type of button is different to the one used for submitting a `<form>`. It can be used for any type of functionality that happens in-place rather than taking the user somewhere, such as expanding and collapsing content, or performing a calculation. * historically and by default appears in a pill or rounded rectangle * uses the normal mouse pointer arrow * can be activated by pressing return _or space._ * implictly gets the [ARIA button role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role). * can be extended with further ARIA button-related states like `aria-pressed` * is announced by screen readers as “Button” * unlike a link is not available to screen reader users within a dedicated list ## Our responsibilities It’s our job as designers and developers to use the appropriate purpose-built element for each situation, to present it in a way that respects conventions so that users know what it is, and to then meet their expectations of it. ## Tips * Visually distinguish button-styled call-to-action links from regular buttons, perhaps with a more pill-like appearance and a right-pointing arrow * Avoid a proliferation of call-to-action links by linking _content itself_ (for example a news teaser’s headline). Not only does this reduce “link or button?” confusion but it also saves space, and provides more accessible link text. * Consider having separate Design System components for Button and [ButtonLink](https://seek-oss.github.io/braid-design-system/components/ButtonLink/) to reinforce important differences. * For triggering JavaScript-powered interactions I’ll typically use a `button`. However in disclosure patterns where the trigger and target element are far apart in the DOM [it can make sense to use a link as the trigger](https://fuzzylogic.me/posts/2021-01-24-adactio-journalaccessible-interactions/). * For buttons which are reliant on JavaScript, it’s best to use them within a strategy of progressive enhancement and not render them on the server but rather with client-side JavaScript. That way, if the client-side JavaScript is unsupported or fails, the user won’t be presented with a broken button. ## References * [Get safe](https://adactio.com/journal/17768), by Jeremy Keith * [Buttons vs. Links](https://yatil.net/blog/buttons-vs-links), by Eric Eggert * [The Button Cheat Sheet](https://www.buttoncheatsheet.com/), by Manuel Matuzović * [A complete guide to links and buttons](https://css-tricks.com/a-complete-guide-to-links-and-buttons/) on CSS-Tricks * [The Links vs Buttons Showdown](https://speakerdeck.com/marcysutton/the-links-vs-buttons-showdown), by Marcy Sutton
2024-11-18T18:26:42.782673+00:00
2019-04-03T09:22:29
6949a336a1796bec549cebfa4d9a47b548f56b24
3
{ "blob_id": "6949a336a1796bec549cebfa4d9a47b548f56b24", "branch_name": "refs/heads/master", "committer_date": "2019-04-03T09:22:29", "content_id": "f10e9ca531d81dfaaa8564bb59332d1fc15726d2", "detected_licenses": [ "MIT" ], "directory_id": "eee44ba82581646234726e34ec4893f880f22595", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": "2019-04-01T15:01:36", "gha_event_created_at": "2019-04-03T09:15:17", "gha_language": null, "gha_license_id": null, "github_id": 178887325, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1304, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:168", "repo_name": "Forison/html-forms", "revision_date": "2019-04-03T09:22:29", "revision_id": "28d9fcdb717da66f85a096df5bec625deb304f25", "snapshot_id": "1c20b45281013368767c505ce37663214f719367", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Forison/html-forms/28d9fcdb717da66f85a096df5bec625deb304f25/README.md", "visit_date": "2020-05-04T00:34:12.536383" }
3.390625
stackv2
# Designing a sign up form with HTML and CSS A practical demonstration of designing an HTML form. This project is designed to look like [mint.com's sign up form](https://accounts.intuit.com/signup.html), for the purpose of practical demonstration. The project is part of a series of projects to be completed by students of [Microverse](https://www.microverse.org/ "The Global School for Remote Software Developers!"). ## Technologies - HTML - CSS ## Usage > Clone the repository to your local machine ```sh $ git clone https://github.com/forison/html-forms.git ``` > cd into the directory ```sh $ cd html-forms ``` > open index.html with your favourite web browser. ## Deployment The demo page can be found [HERE](https://forison.github.io/html-forms/) ## Contributors [Ebuka Umeokonkwo](https://github.com/ebukaume) and [Boakye Addo Forison](https://github.com/Forison) ## Contributing 1. Fork it (https://github.com/forison/html-forms/fork) 2. Create your feature branch (git checkout -b feature/[choose-a-name]) 3. Push to the branch (git push origin feature/[chosen name]) 5. Create a new Pull Request ## License This project is licensed under the MIT License - see the [LICENSE](./LICENSE.md) file for details
2024-11-18T18:26:42.880077+00:00
2019-12-27T07:00:15
afdc2ab69541b53c1a247afac70bb2eb725f4474
3
{ "blob_id": "afdc2ab69541b53c1a247afac70bb2eb725f4474", "branch_name": "refs/heads/master", "committer_date": "2019-12-27T07:00:15", "content_id": "fb7e97b0ca8cc04fb188ec9063234a8476003e14", "detected_licenses": [ "MIT" ], "directory_id": "63801a773c63792bc472c5bd873adec9a874d4b4", "extension": "md", "filename": "overview_covers_2019-06-26.md", "fork_events_count": 1, "gha_created_at": "2019-12-27T03:47:12", "gha_event_created_at": "2019-12-27T03:47:13", "gha_language": null, "gha_license_id": "MIT", "github_id": 230368799, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 3156, "license": "MIT", "license_type": "permissive", "path": "/kernel_mailing_list/kvm_community/2019-06-26/overview_covers_2019-06-26.md", "provenance": "stack-edu-markdown-0000.json.gz:169", "repo_name": "keyman9848/kde", "revision_date": "2019-12-27T07:00:15", "revision_id": "61dfbffdfe54af4861e2651da4440042b8ed6254", "snapshot_id": "fbce1edeac5111e2ad6c53fc59e3bc5676b58b5c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/keyman9848/kde/61dfbffdfe54af4861e2651da4440042b8ed6254/kernel_mailing_list/kvm_community/2019-06-26/overview_covers_2019-06-26.md", "visit_date": "2020-11-30T09:50:07.477605" }
3.171875
stackv2
#### [PATCH v7 0/6] vfio/type1: Add support for valid iova list management ##### From: Shameer Kolothum<EMAIL_ADDRESS> ```c This is to revive this series which almost made to 4.18 but got dropped as Alex found an issue[1] with IGD and USB devices RMRR region being reported as reserved regions. Thanks to Eric for his work here[2]. It provides a way to exclude these regions while reporting the valid iova regions and this respin make use of that. Please note that I don't have a platform to verify the reported RMRR issue and appreciate testing on those platforms. Thanks, Shameer [1] https://lkml.org/lkml/2018/6/5/760 [2] https://lore.kernel.org/patchwork/cover/1083072/ v6-->v7 -Rebased to 5.2-rc6 + Eric's patches -Added logic to exclude IOMMU_RESV_DIRECT_RELAXABLE reserved memory region type(patch #2). -Dropped patch #4 of v6 as it is already part of mainline. -Addressed "container with only an mdev device will have an empty list" case(patches 4/6 & 5/6 - Suggested by Alex) Old ---- This series introduces an iova list associated with a vfio iommu. The list is kept updated taking care of iommu apertures, and reserved regions. Also this series adds checks for any conflict with existing dma mappings whenever a new device group is attached to the domain. User-space can retrieve valid iova ranges using VFIO_IOMMU_GET_INFO ioctl capability chains. Any dma map request outside the valid iova range will be rejected. v5 --> v6 -Rebased to 4.17-rc1 -Changed the ordering such that previous patch#7 "iommu/dma: Move PCI window region reservation back...") is now patch #4. This will avoid any bisection issues pointed out by Alex. -Added Robins's Reviewed-by tag for patch#4 v4 --> v5 Rebased to next-20180315. -Incorporated the corner case bug fix suggested by Alex to patch #5. -Based on suggestions by Alex and Robin, added patch#7. This moves the PCI window reservation back in to DMA specific path. This is to fix the issue reported by Eric[1]. v3 --> v4 Addressed comments received for v3. -dma_addr_t instead of phys_addr_t -LIST_HEAD() usage. -Free up iova_copy list in case of error. -updated logic in filling the iova caps info(patch #5) RFCv2 --> v3 Removed RFC tag. Addressed comments from Alex and Eric: - Added comments to make iova list management logic more clear. - Use of iova list copy so that original is not altered in case of failure. RFCv1 --> RFCv2 Addressed comments from Alex: -Introduced IOVA list management and added checks for conflicts with existing dma map entries during attach/detach. Shameer Kolothum (6): vfio/type1: Introduce iova list and add iommu aperture validity check vfio/type1: Check reserve region conflict and update iova list vfio/type1: Update iova list on detach vfio/type1: check dma map request is within a valid iova range vfio/type1: Add IOVA range capability support vfio/type1: remove duplicate retrieval of reserved regions drivers/vfio/vfio_iommu_type1.c | 510 +++++++++++++++++++++++++++++++- include/uapi/linux/vfio.h | 23 ++ 2 files changed, 520 insertions(+), 13 deletions(-) ```
2024-11-18T18:26:42.935787+00:00
2017-11-30T12:02:12
6492b40625b42eb518aece84261e064211bfa2c7
3
{ "blob_id": "6492b40625b42eb518aece84261e064211bfa2c7", "branch_name": "refs/heads/master", "committer_date": "2017-11-30T12:02:12", "content_id": "34df74b83ca66a8c4bd48e895230a4d74f0962b8", "detected_licenses": [ "MIT" ], "directory_id": "02b32dd31b0de9c9a64e74e67e383cf76901ece2", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2779, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:170", "repo_name": "claudia-cervantes/elecReturns", "revision_date": "2017-11-30T12:02:12", "revision_id": "65fea45ba9519b3485af9d01dfdcae89ad091b83", "snapshot_id": "4cd37af96b152a9b39f94c26b33fddcaebc091f8", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/claudia-cervantes/elecReturns/65fea45ba9519b3485af9d01dfdcae89ad091b83/README.md", "visit_date": "2021-08-22T14:42:29.632511" }
2.78125
stackv2
<div id="table-of-contents"> <h2>Table of Contents</h2> <div id="text-table-of-contents"> <ul> <li><a href="#org1d046ec">1. Description</a></li> <li><a href="#org0c040f6">2. Files in the repository</a></li> <li><a href="#orgc338e0c">3. Codebook</a></li> <li><a href="#org2eadbf1">4. Sources</a></li> <li><a href="#orgab94a44">5. Acknowledgements</a></li> </ul> </div> </div> Title: Recent Mexican election vote returns repository Author: Eric Magar Date: <span class="timestamp-wrapper"><span class="timestamp">&lt;2017-10-23 Mon&gt;</span></span> email: emagar at itam dot mx *WORK IN PROGRESS* &#x2014; <a id="org1d046ec"></a> # Description The repository contains voting data for recent Mexican elections at some levels. Data is from many sources. More recent years tend to be coded from official vote returns. Earlier elections tend to be from secondary sources (see Souces section). Data inludes district-level federal deputy vote returns since 1979 and district-level presidential vote returns since 2006; and municipality-level municipal president vote returns (except in the state of Nayarit, votes cast for municipal president also elect a municipal council in a fused ballot). <a id="org0c040f6"></a> # Files in the repository In general, file names identify the office elected (e.g., df, dl, pr, ay, etc. for diputados federales, diputados locales, presidente, ayuntamiento, etc. respectively), followed by the unit of observation (df, mu, se, ca for distrito federal, municipio, seccion, casilla respectively), followed by the years included. - aymu1977-on.csv - dfdf1979-on.csv - prdf2006-on.csv <a id="orgc338e0c"></a> # Codebook - *edon* = state number 1:32. - *edo* = state abbreviation. - *disn* = district number. - *yr*, *mo*, *dy* = year, month, day of the election. - *cab* = cabecera, district's administrative center. - *circ* = PR district (circunscripcion electoral, 2nd tier). - *v01*, *v02*, &#x2026; = raw vote for candidate 1, 2, etc. - *l01*, *l02*, &#x2026; = label of candidate 1's, 2's, &#x2026; party. - *c01*, *c02*, &#x2026; = candidate 1's, 2's, &#x2026; name. - *s01*, *s02*, &#x2026; = suplente (substitute) for candidate 1, 2, etc. - *efec* = effective votes, total raw votes minus votes for write-in candidates and invalid ballots. - *nr* = votes for write-in candidates. - *nul* = invalid ballots. - *tot* = total raw votes. - *lisnom* = eligible voters. - *nota* = notes. - *fuente* = source. <a id="org2eadbf1"></a> # Sources <a id="orgab94a44"></a> # Acknowledgements Eric Magar acknowledges financial support from the Asociación Mexicana de Cultura A.C. and CONACYT's Sistema Nacional de Investigadores. He is responsible for mistakes and shortcomings in the data.
2024-11-18T18:26:42.980446+00:00
2019-02-09T11:40:57
accb888db311caee4664efe5debf53784f96715e
2
{ "blob_id": "accb888db311caee4664efe5debf53784f96715e", "branch_name": "refs/heads/master", "committer_date": "2019-02-09T11:40:57", "content_id": "0ffffa51b10eba198ac2d12976aad1d1389ad533", "detected_licenses": [ "ISC" ], "directory_id": "de92cbdc415178e716641d9fb6d3e4f3f7ed505d", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 271, "license": "ISC", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:171", "repo_name": "acd02/reason-ml-playground", "revision_date": "2019-02-09T11:40:57", "revision_id": "99a3f2e6c59d55fce23f5e3673ba8a2fbc7fbe5d", "snapshot_id": "bdc3ae01a4c9e2b162dd6184bba44980c5926cd7", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/acd02/reason-ml-playground/99a3f2e6c59d55fce23f5e3673ba8a2fbc7fbe5d/README.md", "visit_date": "2020-04-20T16:14:17.222246" }
2.484375
stackv2
# Reason playground. What's [Reason](https://reasonml.github.io/)? ## Usage: - Clone the repo - install the dependencies `$ npm install` - dev mode `$ npm run dev` - build `$ npm run build-app` - [more infos](https://poi.js.org/guide/transforms.html#reason-and-ocaml)
2024-11-18T18:26:43.061458+00:00
2023-09-02T16:46:21
cff68399d88ebb84f10408bf43287820e600fc63
4
{ "blob_id": "cff68399d88ebb84f10408bf43287820e600fc63", "branch_name": "refs/heads/main", "committer_date": "2023-09-02T16:46:21", "content_id": "10eb6a18c9e854f1e10203983c08aee6467e7ea2", "detected_licenses": [ "MIT" ], "directory_id": "c8d222d9caea95cd32d479f3aa5a6f44eaa352e5", "extension": "md", "filename": "variables_resolution.md", "fork_events_count": 2, "gha_created_at": "2021-03-24T23:52:55", "gha_event_created_at": "2023-09-07T22:09:05", "gha_language": "Awk", "gha_license_id": "MIT", "github_id": 351255587, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2274, "license": "MIT", "license_type": "permissive", "path": "/doc/variables_resolution.md", "provenance": "stack-edu-markdown-0000.json.gz:172", "repo_name": "xonixx/intellij-awk", "revision_date": "2023-09-02T16:46:21", "revision_id": "b4ffb60702eea04a6d5d9a8d8cd01acfe432f4d6", "snapshot_id": "2623c4ae7c121fa61ff75cee95d9a05411bed2d1", "src_encoding": "UTF-8", "star_events_count": 37, "url": "https://raw.githubusercontent.com/xonixx/intellij-awk/b4ffb60702eea04a6d5d9a8d8cd01acfe432f4d6/doc/variables_resolution.md", "visit_date": "2023-09-03T08:02:03.066475" }
3.671875
stackv2
### Goals - "Global" variables resolution. This means that it's desirable that variable defined in one file should be linked to usage of it in other file. Example: go to declaration, find all usages, auto-completion. - From the other side we don't want that single-file scripts suffer from contamination by variables defined in other unrelated files. Obviously, the two goals above conflict with each other. We need to come up with good heuristics to handle both cases acceptably good and/or provide a way to structure a code in a way to hint the intellij-awk for desired behavior. ### Considerations - variable usages starting capital-case: `Var`. Usually this denotes global variable. - **resolution** let's not rely on this to be more universal ### Declaration-like cases - `Var = ...` - `split("",Arr)` - awk idiomatic way to define empty array - `Arr["key"] = ...` - `Arr["key"]` ### Initializing context - variable occurrences in `BEGIN` blocks - variable occurrences in `init*()` functions ### Let's implement next heuristic (in order of attempt): 1. `RESOLVE-ARG` resolve current function argument 2. `RESOLVE-CUR-INIT-DECL` resolve first of **Declaration-like cases** in current file in **Initializing context** 3. `RESOLVE-ALL-INIT-DECL` resolve first of **Declaration-like cases** in all project files in **Initializing context** 4. `RESOLVE-CUR-INIT-VAR` resolve *first variable occurrence* in current file in **Initializing context** - cases like `function process() { print Line } BEGIN { while(getline Line) process() }` 5. `RESOLVE-CUR-DECL` resolve first of **Declaration-like cases** in current file 6. `RESOLVE-CUR-VAR` resolve *first variable occurrence* in current file - **why** this is backward-compatible Bottom line: we don't try to resolve global var in other files unless it looks like declaration in initialization context. ### TODO 1. **Global resolution should exclude variables that resolve to function arguments** - handle case `function a(group) { print group } function b() { match(s,/s/,group) }`- should not resolve to arg 2. Handle `match(STR, /ERE/, group)` case 3. **idea** resolve `Option["opt_name"]` to `Option["opt_name"] = ...`
2024-11-18T18:26:43.095135+00:00
2021-05-17T14:31:21
ccc93f9b011f4bf8cff610e24b4292da6f8ff928
4
{ "blob_id": "ccc93f9b011f4bf8cff610e24b4292da6f8ff928", "branch_name": "refs/heads/master", "committer_date": "2021-05-17T14:31:21", "content_id": "64860dcec2a84a042f756979f8b3b8e4005bdba4", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "95c1ab729e0422c41ff983b2e44e3dd7a6b5b38e", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2178, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:173", "repo_name": "grzchr15/geofeed-finder", "revision_date": "2021-05-17T14:31:21", "revision_id": "4026936ca4f37e3303c40ff41d8a3306bcc378e6", "snapshot_id": "6e3d97acc4442b6eebeb3f54aee956b3fb9ae1cb", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/grzchr15/geofeed-finder/4026936ca4f37e3303c40ff41d8a3306bcc378e6/README.md", "visit_date": "2023-04-26T02:43:15.934041" }
3.609375
stackv2
# geofeed-finder This utility discovers and retrieves geofeed files from whois data according to [draft-ietf-opsawg-finding-geofeeds](https://datatracker.ietf.org/doc/draft-ietf-opsawg-finding-geofeeds/). To use the compiled version (linux, mac, windows), see [releases](https://github.com/massimocandela/geofeed-finder/releases/). Otherwise, you can just download the code and do `npm install` and `npm run serve` to run it. The utility automatically manages the cache. ### Usage Example #### If you created a geofeed in whois data and you want to test that everything is fine * Run the binary `./geofeed-finder-linux-x64 -t YOUR_PREFIX` #### If you want to retrieve all the geofeeds in a RIR: * Run the binary `./geofeed-finder-linux-x64 -i ripe` * See the final geofeed file in `result.csv` You can select multiple RIRs: `./geofeed-finder-linux-x64 -i ripe,apnic` #### If you want to discover geofeeds across all RIRs: * Run the binary `./geofeed-finder-linux-x64` * See the final geofeed file in `result.csv` The final geofeed file is a file containing all the geofeeds discovered in whois data. Each entry is a prefix or IP which has been selected according to the draft (e.g. accepted only if contained by parent inetnum, priority to longest prefix match, etc.) Downloading data from ARIN whois takes longer. This is because the other RIRs publicly provide anonymized bulk whois data. Instead, ARIN requires authorization to access bulk whois data. If you have such authorization, soon there will be an option to use ARIN bulk data, otherwise rdap is used (default, which doesn't require authorization.) > Run ./geofeed-finder-linux-x64 -h for more options ### Use geofeed-finder in your code Install it: ```bash npm install geofeed-finder ``` Import it: ```js import GeofeedFinder from "geofeed-finder"; ``` Use it: ```js const options = { include: ["ripe", "apnic"] // The sources to explore (default: ripe, apnic, lacnic, afrinic, arin) }; new GeofeedFinder(options) .getGeofeeds() .then(geofeeds => { // Do something with the geofeeds // An array of objects { prefix, country, region, city } }); ```
2024-11-18T18:26:43.130835+00:00
2020-12-22T11:20:39
cb3a30eaf522b68578a3d4a24ac06ae47016eabc
3
{ "blob_id": "cb3a30eaf522b68578a3d4a24ac06ae47016eabc", "branch_name": "refs/heads/main", "committer_date": "2020-12-22T11:20:39", "content_id": "31d493bd1c60c41ff23392757614670cc2d5adb3", "detected_licenses": [ "Apache-2.0" ], "directory_id": "3fb1503287f4a4644ffe6b3dde8f8f0f58a9d062", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 323599519, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1974, "license": "Apache-2.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:174", "repo_name": "hkawaji/ggec", "revision_date": "2020-12-22T11:20:39", "revision_id": "66ea0fc1e4fc3c95d6c497fb01ee3755cd9030cd", "snapshot_id": "fce99fefb47b3b8a5f7228d44a3735628a9c2151", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/hkawaji/ggec/66ea0fc1e4fc3c95d6c497fb01ee3755cd9030cd/README.md", "visit_date": "2023-02-04T16:21:31.914228" }
3.4375
stackv2
# Genome-guided error correction for error prone sequencing of cDNA amplicon Usage --- To perform all steps of error correction, please use 'correct' subcommand as: ``` ./ggec.sh correct -i INFILE.fq -g GENOME [-p PASS(default:2, or 1)] [-t THREADS(default:10)] [options used in individual steps] ``` Each of the individual steps can be run by other subcommands, 'ggc' or 'ecc', as: ``` # genome guided clustering (via BLAT) ./ggec.sh ggc -i INFILE -g GENOME [-t THREADS(default:10)] [-l SEQLEN_MIN(default:1000, should not be changed for Canu error correction)] [-e error_correction_seqnum_min(default:5)] # error correction within each of the clusters (with Canu) ./ggec.sh ecc -i INFILE -c CLUSTER_FILE('ggc' output) [-t THREADS(default:10)] ``` Note that sequence IDs should not include comma (','). How it works ------------ Reads are grouped by isoform based on their alignments with the specified genome sequence (by minimap2), and the orphan reads (that does not grouped with others) are included to the grouop that has the maximum length of exons in total. Sequence error correction is performed within each of the groups. For two pass mode, the corrected sequences (in the first pass) are used for grouping, and sequence error correction itself is performed on the uncorrected reads. Note that Canu does not perform error correction on the sequences shorter than 1000bp (in default), and they are discarded at the beginning. Requirements ------------ Software below is required to run "./ggct.sh". Their versions used for development are indicated in '( )' * minimap2 (version 2.12) * setqk (version 1.3) * bedtools [bed12ToBed6, mergeBed, groupBy] (version 2.27.1) * samtools (version 1.7) * Canu (version 1.7.1) * R (with package 'stringr') * GNU awk (ver.4.1.3) Author ------ This software is written by Hideya Kawaji. Copyright (c) 2018-2020 RIKEN & Tokyo Metropolitan Institute of Medical Science Distributed under Apache License 2.0.
2024-11-18T18:26:43.165366+00:00
2019-05-30T14:53:11
9c7436b96e4c6a8f51c5111db286848524971b94
3
{ "blob_id": "9c7436b96e4c6a8f51c5111db286848524971b94", "branch_name": "refs/heads/master", "committer_date": "2019-05-30T14:53:11", "content_id": "026b9a00fd152cf72d341bed0f378ba567e18dc6", "detected_licenses": [ "MIT" ], "directory_id": "c7e527dddb91c1e6c6a4fb6cd936a44fe201bd49", "extension": "md", "filename": "README.md", "fork_events_count": 2, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 57601072, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 5245, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:175", "repo_name": "wicksy/CV", "revision_date": "2019-05-30T14:53:11", "revision_id": "017fc04fa039426240e1b613b5ba8b458f0126dc", "snapshot_id": "5564eded3847227f54f7cc6718f26f5f975746a1", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/wicksy/CV/017fc04fa039426240e1b613b5ba8b458f0126dc/README.md", "visit_date": "2021-01-23T21:46:02.802283" }
3.375
stackv2
[![Build Status](https://travis-ci.org/wicksy/CV.svg?branch=master)](https://travis-ci.org/wicksy/CV) [![license](https://img.shields.io/badge/License-MIT-blue.svg?maxAge=2592000)](https://github.com/wicksy/CV/blob/master/LICENSE.md)</br> ### CV to demonstrate DevOps Fu ![DevOpsFu logo](logos/devopsfu.png "Fu")</br> #### About The idea of this repo is to provide a web based version of my CV, deployable using automation, to showcase some of the technical skills that I have in the areas of Linux, DevOps, Automation, Cloud, etc. Tech stack includes: - Vagrant - Linux - Saltstack - Ansible - Docker - Mkdocs - Markdown - Terraform - AWS S3 and IAM - Python - Boto3 - Bash - Unit Tests (testinfra) #### Requirements The following software is required: - Virtualbox - Vagrant - Python/Pip (to run tests) Deployment has been successfully tested with: - Virtualbox 5.0.12 r104815 - Vagrant 1.8.5 - Python 2.7.13 - Pip 9.0.1 - OSX 10.10.5 #### Deployment Instructions ``` $ git clone https://github.com/wicksy/CV $ cd CV/vagrant $ vagrant up wicksycv --provision --provider virtualbox ``` Once the provisioning has completed, the CV should be available from: http://<IP_ADDRESS>:8080/ #### Tests There are a number of tests implemented using the serverspec-like testing framework for Python [**testinfra**](https://github.com/philpep/testinfra). Tests can be run using the `runtests.sh` bash script in the `test` directory: ``` $ cd CV/test $ ./runtests.sh ``` The script will bring up the vagrant machine if not already, setup a python virtual environment, install testinfra and paramiko pips, run a series of test packs through testinfra then clean up afterwards. Sample output from one of the test packs (for packages): ``` ========================================================= test session starts ================================================================== platform darwin -- Python 2.7.10, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- /Users/wicksy/.pyenvironments/CVtests/bin/python cachedir: ../.cache rootdir: /Users/wicksy/git/wicksy/CV, inifile: plugins: testinfra-1.4.2 collected 8 items ../test/test_packages.py::test_packages[paramiko:/wicksycv-git] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-python2.7] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-python-pip] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-apt-transport-https] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-ca-certificates] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-docker-engine] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-salt-minion] PASSED ../test/test_packages.py::test_packages[paramiko:/wicksycv-salt-common] PASSED ======================================================== pytest-warning summary ================================================================ WP1 None Modules are already imported so can not be re-written: testinfra ============================================= 8 passed, 1 pytest-warnings in 0.66 seconds ====================================================== ``` More information on **testinfra** can be found at https://github.com/philpep/testinfra #### Teardown Instructions ``` $ vagrant destroy wicksycv --force ``` #### Builds Builds are triggered automatically and run on [Travis CI](https://travis-ci.org/wicksy/CV/builds). The build will apply the Salt states in a build VM and run the tests to ensure code validity. #### Known issues There are build issues using the current latest docker-ce (17.06.0-ce) and docker-py (1.10.6) where even with multiple explicit `reload_modules: true` calls after both have been installed, an initial highstate fails with `Comment: Failed to get client args: docker Python module not imported`. A subsequent highstate works fine. The container build and run is now done by an Ansible role to work around this problem. To ensure the deployment is successful, it is recommended that the versions listed above are the minimum used as there are known issues with earlier versions. For example Vagrant 1.7.3 and 1.7.4 fail to deploy with: ``` Copying salt minion config to /etc/salt Failed to upload a file to the guest VM via SCP due to a permissions error. This is normally because the SSH user doesn't have permission to write to the destination location. Alternately, the user running Vagrant on the host machine may not have permission to read the file. ``` due to issue #5973 (https://github.com/mitchellh/vagrant/issues/5973) #### AWS version I've created an IAM user, policy and S3 bucket (with policies) in AWS using Terraform, which contains the static content built using `mkdocs build --clean`. The URL for this version is available [here](http://wicksy-cv.s3-website-eu-west-1.amazonaws.com/). The site content is rebuilt and uploaded to S3 using Python/Boto3 (`bin/CVtoS3.py`) wrapped by a Bash script (`bin/CVtoS3.sh`) that creates a Python virtualenv, installs the mkdocs pip, removes and rebuilds the site content, clears down the S3 bucket and uploads the new site content to it. ``` $ cd bin $ ./CVtoS3.sh ``` #### Future Plans Plans for additional content include using: - [Hugo](https://gohugo.io/)
2024-11-18T18:26:43.231435+00:00
2021-04-02T14:48:20
44c8a178cd51029494073e8b3da6ef228c0f8279
4
{ "blob_id": "44c8a178cd51029494073e8b3da6ef228c0f8279", "branch_name": "refs/heads/master", "committer_date": "2021-04-02T14:48:20", "content_id": "f35517e41ce1717cd458510cfe2b007ddb5922fd", "detected_licenses": [ "MIT" ], "directory_id": "bc495d1c13f0a83685f805693ae89f47809db986", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 288801409, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1646, "license": "MIT", "license_type": "permissive", "path": "/architecture/README.md", "provenance": "stack-edu-markdown-0000.json.gz:176", "repo_name": "brewkit/docs", "revision_date": "2021-04-02T14:48:20", "revision_id": "d2ce7c8c411115abcc93be9dfa852afe53d84f4a", "snapshot_id": "14611e546659e5a85afc087de3bd48b3f10a9bee", "src_encoding": "UTF-8", "star_events_count": 1, "url": "https://raw.githubusercontent.com/brewkit/docs/d2ce7c8c411115abcc93be9dfa852afe53d84f4a/architecture/README.md", "visit_date": "2023-04-02T09:34:35.212308" }
3.578125
stackv2
# Architecture Long-term maintenance is hard. Below you will find some standards and concepts we use to try to keep things simple, organized, and easy to maintain. Keep in mind these assume a TypeScript + React stack. <br> ## Component File Structure Styles and types should be in their own files, separate from the meat of the component itself. So your typical file structure should look something like this: ``` |- components |- /Button |- index.tsx |- styles.ts |- tests.ts |- types.ts ``` ### types.ts Your types file should export the types necessary for your component and any additional type-related configuration necessary for implementation of that specific component (i.e. module augmentation). Here is an example taken from the Brewkit Button component. ```ts import * as React from 'react'; import { Theme, ThemeOptions } from '@material-ui/core/styles/createMuiTheme'; import { ButtonProps } from '@material-ui/core/Button'; /** * Declare any theme variables we want to make available. */ declare module '@material-ui/core/styles/createMuiTheme' { interface Theme { bkOverrides: { Button: { loading: React.CSSProperties, }, }, } // allow configuration using `createMuiTheme` interface ThemeOptions { bkOverrides: { Button?: { loading?: React.CSSProperties, }, }, } } export interface Props extends ButtonProps { /** * If `true`, the button will be disabled and show a spinner. * @default false */ loading?: boolean, } ```
2024-11-18T18:56:46.491321+00:00
2019-04-01T22:53:08
2c87d9d8b05cd3d4b29769c120a34a841fab24b6
4
{ "blob_id": "2c87d9d8b05cd3d4b29769c120a34a841fab24b6", "branch_name": "refs/heads/master", "committer_date": "2019-04-01T22:53:08", "content_id": "530ed63b0428682ab31bcc429893675039067a84", "detected_licenses": [ "MIT" ], "directory_id": "76422df6ad087f99f0af53faa271c285f523982a", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 129957205, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 24945, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:177", "repo_name": "borysrybak/real-time-face-analytics", "revision_date": "2019-04-01T22:53:08", "revision_id": "7c81215f73812ed7f1028c9a4e88e53d61dc90ef", "snapshot_id": "a7da3e948113faa6464d18bce3281bfccdc3d11c", "src_encoding": "UTF-8", "star_events_count": 3, "url": "https://raw.githubusercontent.com/borysrybak/real-time-face-analytics/7c81215f73812ed7f1028c9a4e88e53d61dc90ef/README.md", "visit_date": "2020-03-11T10:58:29.544319" }
3.796875
stackv2
# RealTimeFaceAnalytics This sample project is an example of **analyzing faces in real-time**, by using **[Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/cognitive-services/welcome)**, mostly by **[Face API](https://docs.microsoft.com/en-us/azure/cognitive-services/Face/Overview)** service. ## Overview ### Description The whole concept was invented up with **[Tauron](https://www.tauron.pl/dla-domu)** for a hackfest to create a **Proof of Concept** for: - **Analyzing in real-time** customer's face features in customer service points, features such as gender, age, emotions, etc. - Integrating devices with **cloud storage** and **cognitive services**. We have made a decision with Tauron related to the target technology, in which the solution will be created (and with which services will be combined): - A Desktop application written in **[WPF](https://docs.microsoft.com/en-us/dotnet/framework/wpf/getting-started/introduction-to-wpf-in-vs) (C#)** and/or Python. - **Face API, Emotion API, Computer Vision API**, to collect data, such as gender, age, emotions, number of clients, etc. - **[Azure SQL Database](https://azure.microsoft.com/en-us/services/sql-database/)**, to store collected data. - **Azure SQL Database** with **[DirectQuery](https://docs.microsoft.com/en-us/power-bi/desktop-use-directquery)**, to receive direct data for **[Power BI](https://powerbi.microsoft.com/en-us/)** reports. We achieved: - [x] WPF Application with - [x] [Caliburn.Micro](https://caliburnmicro.com/), - [x] [Haar Cascade](https://docs.opencv.org/3.4.1/d7/d8b/tutorial_py_face_detection.html) local detector, - [x] [Frame grabber for real-time analysis](https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/vision-api-how-to-topics/howtoanalyzevideo_vision), - [x] [Entity Framework](https://docs.microsoft.com/en-us/ef/) databinding. - [x] Cognitive Services Face API service call. - [x] Azure SQL Database server connection. - [x] Power BI with DirectQuery data connection. - [ ] Connect with other Cloud Services. - [ ] Use data with Machine Learning services. ### Solution Architecture Overview: ![tauron_diagram](assets/tauron_diagram.png) ## Table of Contents - [Project](#realtimefaceanalytics) - [Overview](#overview) - [Description](#description) - [Solution Architecture Overview](#solution-architecture-overview) - [Table of Contents](#table-of-contents) - [Prerequisites](#prerequisites) - [Accounts](#accounts) - [Microsoft Account](#microsoft-account) - [Azure Subscription](#azure-subscription) - [Azure SQL Database](#azure-sql-database) - [Cognitive Services](#cognitive-services) - [Software](#software) - [Tools & Libraries](#tools-libraries) - [Power Bi Desktop](#power-bi-desktop) - [Devices](#devices) - [PC with Web Camera](#pc-with-web-camera) - [Usage](#usage) - [Application Setup](#application-setup) - [Application Run](#application-run) - [Application Highlights](#application-highlights) - [Database Upload](#database-upload) - [Database Check](#database-check) - [DirectQuery with Power Bi](#directquery-with-power-bi) - [Learnings](#learnings) - [Credits](#credits) - [Helpful Materials](#helpful-materials) ## Prerequisites To successfully run the application and use it, we need to prepare some remarkable things - if we do not do this, it may turn out that the app will not work correctly. Be sure that you have these... ### Accounts First, we need accounts that allow us to use specific services or applications. #### Microsoft Account We need this account in case of using Visual Studio and Azure Portal. When you start Visual Studio for the first time, you're asked to sign in and provide some necessary registration information. You should choose a Microsoft account or work or school account that best represents you. If you don't have any of these accounts, you can [create a Microsoft account for free](https://account.microsoft.com/account). #### Azure Subscription Be sure that you have a valid [Azure Subscription](https://azure.microsoft.com/en-us/account/) with funds for such things as Azure SQL Database and Cognitive Services. If not, several offers can help you. - [Azure Free Account](https://azure.microsoft.com/en-us/offers/ms-azr-0044p/) - [Azure for Students](https://azure.microsoft.com/en-us/free/students/) - [Azure Pass](https://www.microsoftazurepass.com/Home/HowTo) #### Azure SQL Database You need a place where you will collect your data from real-time face analysis. Adress, database name, user_id, and password needed! In that case, you should create a new resource from your Azure Portal, which will be **Azure SQL Database**. - [Create an Azure SQL database in the Azure portal](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-portal) #### Cognitive Services We need Face API key and endpoint address. It is possible to use free plan (**F0**) of Cognitive Services, however for better experience and results, I recommend you to create a new plan (**S0**), from higher pricing tier - [pricing](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/face-api/). - [Create a Cognitive Services APIs account in the Azure portal](https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account) ### Software Of course, it is possible to run this application without Visual Studio, however, in that case, you should consider downloading proper DLL's, setting-up dependencies and references, configure application settings and more! #### Tools & Libraries Visual Studio installed, and proper frameworks to run **Windows Application** (WPF), **.NET Framework 4.5.2**. - [Visual Studio IDE](https://www.visualstudio.com/vs/) #### Power Bi Desktop Power BI is a suite of business analytics tools that deliver insights throughout your organization. We will use it to get insights into our data from face analysis. - [Power BI Desktop](https://powerbi.microsoft.com/en-us/desktop/) ### Devices #### PC with Web Camera For sure providing frames in the applications is a must, and without a camera, you won't be able to achieve any results. I used **Creative Live! Cam Chat HD VF0790**. I believe laptop or any USB-like camera will be enough. <img src="assets/camera.jpg" alt="Creative Live! Cam Chat HD VF0790" width="150"/> ## Usage First things first! Do not skip things that you should do first, in that case, you need to correctly set-up the application. Prepare your already created resources, connection strings, credentials, etc. ### Application Setup 1. Fill in **Cognitive Services keys and endpoints**. (Don't worry if you miss that. You will be able to add these keys and endpoint during application runtime). - [RealTimeFaceAnalytics.Core/Properties/Settings.settings](RealTimeFaceAnalytics.Core/Properties/Settings.settings) ![keysendpoints](assets/keysendpoints_settings.PNG) Face API service is enough, just put: - **FaceAPIKey** - **FaceAPIHost** + ***AnalysisInterval**, you can change it for different frame analysis frequency. 2. Configure **Connection String** in application configuration file (you will find that particular block between line 36 and 40) with your **Azure SQL Database** credentials. - [RealTimeFaceAnalytics.WPF/App.config](RealTimeFaceAnalytics.WPF/App.config) ```xml <connectionStrings> <add name="FaceAnalyticsContext" connectionString="Server=tcp:{database_server_address};Database={database_name};User ID={user};Password={password};Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" providerName="System.Data.SqlClient" /> </connectionStrings> ``` Replace *connectionString* values. For example: ``` connectionString="Server=tcp:myserver.database.windows.net;Database=mydatabase_db;User ID=srvadmin;Password=*************;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" ``` 3. **Add rule** of your client IP address for Azure SQL Database server in **Firewalls and virtual networks** tab - [read more](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vnet-service-endpoint-rule-overview). ### Application Run 1. In Visual Studio set **RealTimeFaceAnalytics.WPF** project as a StartUp Project. 2. Be sure to add missing references and packages. 3. Rebuild 4. Run - *Before you start to analyze frames from your camera stream, you will be able to configure your settings again:* ![appstart](assets/app_start.PNG) - *After clicking Save, choosing Camera and clicking Analyze, you will get a preview camera stream (without local detector) and camera main stream (with local detector):* ![apprun](assets/app_run.PNG) - *Emotions test (Emotions are measured over time and every tick/interval, you can see them as an average number on the right panel and as color bars on the timeline below image stream):* ![emotions](assets/emotions.gif) - *Additional accessories test (Different kind of glasses and headwear):* ![accessories](assets/accessories.gif) ### Application Highlights 1. WPF Application with MVVM Architecture (Caliburn.Micro). Caliburn Micro solved my problem - as a small yet powerful framework, designed for building WPF applications. Great support for MVVM patterns enabled me to build a solution quickly. Most important thing I setup for Caliburn support was [Bootstrapper.cs](RealtimeFaceAnalytics.WPF/Bootstrapper.cs) file - with simple IoC container configuration: ```csharp public class Bootstrapper : BootstrapperBase { private SimpleContainer _container; ... protected override void Configure() { ... _container = new SimpleContainer(); _container.Singleton<IWindowManager, WindowManager>(); ... _container.PerRequest<ShellViewModel>(); } ... } ``` 2. Start of the Video Frame Analyzer Service process. 2.1. Loading cameras: - in [ShellViewModel.cs](RealTimeFaceAnalytics.Core/ViewModels/ShellViewModel.cs) ```csharp public List<string> CameraList { get { var availableCameraList = _videoFrameAnalyzerService.GetAvailableCameraList(); ... } } ``` - in [VideoFrameAnalyzerService.cs](RealTimeFaceAnalytics.Core/Services/VideoFrameAnalyzerService.cs) ```csharp public List<string> GetAvailableCameraList() { return LoadCameraList(); } ... private List<string> LoadCameraList() { var numberOfCameras = _frameGrabber.GetNumCameras(); ... var cameras = Enumerable.Range(0, numberOfCameras).Select(i => $"Camera {i + 1}"); return cameras.ToList(); } ``` - in [FrameGrabber.cs](VideoFrameAnalyzer/FrameGrabber.cs) ```csharp protected int NumCameras = -1; ... public int GetNumCameras() { if (NumCameras != -1) return NumCameras; ... while (NumCameras < 100) { using (var vc = VideoCapture.FromCamera(NumCameras)) { if (vc.IsOpened()) ++NumCameras; else break; } } return NumCameras; } ``` 2.2. Start processing with selected camera: - in [ShellViewModel.cs](RealTimeFaceAnalytics.Core/ViewModels/ShellViewModel.cs) ```csharp public void StartAnalyze() { ... _videoFrameAnalyzerService.StartProcessing(_selectedCameraList); ... } ``` - in [VideoFrameAnalyzerService.cs](RealTimeFaceAnalytics.Core/Services/VideoFrameAnalyzerService.cs) ```csharp public void StartProcessing(string selectedCamera) { StartProcessingCamera(selectedCamera); } ... private async void StartProcessingCamera(string selectedCamera) { ... var selectedCameraIndex = GetSelectedCameraIndex(selectedCamera); await _frameGrabber.StartProcessingCameraAsync(selectedCameraIndex); } ``` - in [FrameGrabber.cs](VideoFrameAnalyzer/FrameGrabber.cs) ```csharp public async Task StartProcessingCameraAsync(int cameraIndex = 0, double overrideFps = 0) { ... await StopProcessingAsync().ConfigureAwait(false); ... StartProcessing(TimeSpan.FromSeconds(1 / Fps), () => DateTime.Now); ... } ``` 2.3. Handle the events with results of frames and data (read more about **EventAggregator** in Caliburn.Micro): - creating events - [FaceAttributesResultEvent.cs](RealTimeFaceAnalytics.Core/Events/FaceAttributesResultEvent.cs) - [FrameImageProvidedEvent.cs](RealTimeFaceAnalytics.Core/Events/FrameImageProvidedEvent.cs) - [ResultImageAvailableEvent.cs](RealTimeFaceAnalytics.Core/Events/ResultImageAvailableEvent.cs) ```csharp using Microsoft.ProjectOxford.Face.Contract; ... public class FaceAttributesResultEvent { public FaceAttributes FaceAttributesResult; } ... using System.Windows.Media.Imaging; ... public class FrameImageProvidedEvent { public BitmapSource FrameImage; } ... public class ResultImageAvailableEvent { public BitmapSource ResultImage; } ... ``` - setup listeners and publishing events in [VideoFrameAnalyzerService.cs](RealTimeFaceAnalytics.Core/Services/VideoFrameAnalyzerService.cs) ```csharp private void SetUpListenerNewFrame() { _frameGrabber.NewFrameProvided += (s, e) => { var detectedFacesRectangles = _localFaceDetector.DetectMultiScale(e.Frame.Image); e.Frame.UserData = detectedFacesRectangles; Application.Current.Dispatcher.BeginInvoke((Action) (() => { var frameImage = e.Frame.Image.ToBitmapSource(); var resultImage = _visualizationService.Visualize(e.Frame, _currentLiveCameraResult); _eventAggregator.PublishOnUIThread(new FrameImageProvidedEvent {FrameImage = frameImage}); _eventAggregator.PublishOnUIThread(new ResultImageAvailableEvent {ResultImage = resultImage}); })); }; } ... private void SetUpListenerNewResultFromApiCall() { _frameGrabber.NewResultAvailable += (s, e) => { Application.Current.Dispatcher.BeginInvoke((Action) (() => { if (e.TimedOut) ... else if (e.Exception != null) ... else { _currentLiveCameraResult = e.Analysis; if (_currentLiveCameraResult.Faces.Length > 0) { _dataInsertionService.InitializeSessionInterval(); var faceAttributes = _currentLiveCameraResult.Faces[0].FaceAttributes; _eventAggregator.PublishOnUIThread( new FaceAttributesResultEvent {FaceAttributesResult = faceAttributes}); } } })); }; } ``` - handling events in [ShellViewModel.cs](RealTimeFaceAnalytics.Core/ViewModels/ShellViewModel.cs) (*Updating Properties in ViewModel and Invoking Services*) ```csharp public class ShellViewModel : Screen, IHandle<FrameImageProvidedEvent>, IHandle<ResultImageAvailableEvent>, IHandle<FaceAttributesResultEvent> { ... public void Handle(FaceAttributesResultEvent message) { _dataInsertionService.InitializeSessionInterval(); var faceAttributes = message.FaceAttributesResult; AssignFaceAttributes(faceAttributes); _dataInsertionService.AddAdditionalFeatures(faceAttributes); var averageAge = _faceService.CalculateAverageAge(); AssignAverageAge(averageAge); _dataInsertionService.AddAverageAge(averageAge); var averageGender = _faceService.CalculateAverageGender(); _dataInsertionService.AddAverageGender(averageGender); var emotionScores = faceAttributes.Emotion; GenerateAndPopulateEmotionBar(emotionScores); _emotionService.AddEmotionScoresToStatistics(emotionScores); _dataInsertionService.AddEmotions(emotionScores); var emotionScoresStatistics = _emotionService.CalculateEmotionScoresStatistics(); AssignEmotionStatistics(emotionScoresStatistics); _dataInsertionService.AddAverageEmotions(emotionScoresStatistics); var hairColors = faceAttributes.Hair.HairColor; GenerateHairColor(hairColors); var faceApiCallCount = _faceService.GetFaceServiceClientApiCallCount(); AssignFaceApiCallCount(faceApiCallCount); _dataInsertionService.AddFaceApiCallCount(faceApiCallCount); _dataInsertionService.AddSessionIntervalData(); _dataInsertionService.AddSessionDuration(_stopWatch.Elapsed); } ... public void Handle(FrameImageProvidedEvent message) { FrameImage = message.FrameImage; } ... public void Handle(ResultImageAvailableEvent message) { ResultImage = message.ResultImage; } } ``` In general, we are using here ready-to-go VideoFrameAnalyzer project for frames grabbing and detecting faces locally. If local haar cascade classifier detects a face, algorithm invokes Face API service for analysis. In return, we are receiving data model of Face Attributes for that particular frame. Additional features are: - displaying current basic face attributes, based on captured frame - displaying current face emotion attributes, based on captured frame - displaying all occurring face emotion attributes over time (UI timeline), with dominant emotion - displaying face emotion attributes statistics, based on face emotion attributes. ### Database Upload 1. With Entity Framework and Code-First approach creating model context was easy. In [FaceAnalyticsContext.cs](RealtimeFaceAnalytics.Core/Models/FaceAnalyticsContext.cs) file you will find Code-First Entity Framework approach example: ```csharp public class FaceAnalyticsContext : DbContext { public FaceAnalyticsContext() : base("name=FaceAnalyticsContext") { } public virtual DbSet<Customer> Customer { get; set; } public virtual DbSet<Emotions> Emotions { get; set; } public virtual DbSet<SessionInterval> SessionInterval { get; set; } public virtual DbSet<Hair> Hair { get; set; } public virtual DbSet<FacialHair> FacialHair { get; set; } public virtual DbSet<AdditionalFeatures> AdditionalFeatures { get; set; } public virtual DbSet<Accessories> Accessories { get; set; } public virtual DbSet<SessionServicesDetails> CognitiveService { get; set; } ... public virtual DbSet<Session> Session { get; set; } } public class Customer { ... } public class Emotions { ... } public class SessionInterval { ... } public class Hair { ... } public class FacialHair { ... } public class AdditionalFeatures { ... } public class Accessories { ... } public class SessionServicesDetails { ... } ... public class Session { public int SessionId { get; set; } ... public SessionServicesDetails SessionServicesDetails { get; set; } public DateTime? SessionDate { get; set; } public TimeSpan? SessionStartTime { get; set; } public TimeSpan? SessionEndTime { get; set; } public TimeSpan? SessionDuration { get; set; } public ICollection<SessionInterval> SessionIntervals { get; set; } public Customer Customer { get; set; } } ``` 2. As you've seen before in event handling example, we are invoking **DataInsertionService** methods whenever frame result and face attributes come. Then after stopping a session, we are preparing context and uploading it. In [ShellViewModel.cs](RealTimeFaceAnalytics.Core/ViewModels/ShellViewModel.cs): ```csharp public void StopAnalyze() { StopProcessing(); ... } ... private async void StopProcessing() { ... await _videoFrameAnalyzerService.StopProcessing(); _dataInsertionService.InsertSessionData(); ... } ``` In [DataInsertionService.cs](RealTimeFaceAnalytics.Core/Services/DataInsertionService.cs): ```csharp public void InsertSessionData() { InsertSessionDataToDatabaseContext(); } ... private async void InsertSessionDataToDatabaseContext() { ... using (var databaseContext = new FaceAnalyticsContext()) { databaseContext.Session.Add(_session); await databaseContext.SaveChangesAsync(); } } ``` ### Database Check 1. Checking if the context was uploaded correctly. Using SQL Server Object Explorer in Visual Studio: ![database_tables_view](assets/database_tables_view.png) 2. Checking data in tables: - Sessions ![session](assets/session.png) - SessionIntervals ![sessionintervals](assets/sessionintervals.png) - Customers ![customer](assets/customer.png) - Emotions ![emotion](assets/emotion.png) ### DirectQuery with Power Bi 1. Great lecture about connecting data resources with Power BI: [Use DirectQuery in Power BI Desktop](https://docs.microsoft.com/en-us/power-bi/desktop-use-directquery) 2. Remember to make IP Whitelisting, in case you will receive this message: ![directquery_fail](assets/directquery_fail.png) 3. After connecting with database server you will be asked about tables you want to load: ![directquery_navigator_load](assets/directquery_navigator_load.png) 4. Loaded tables and hierarchy: ![powerbi_hierarchy](assets/powerbi_hierarchy.png) 5. Sample Power Bi chart (Age over Time, in example session): ![age_over_time](assets/age_over_time.png) ## Learnings Analyzing faces in real-time is a challenge, not only for a local machine but also for service. For quicker analysis, we used local face detector from the OpenCVSharp library (haar cascade) - it is a more convenient way to provide previously cropped faces from a whole image. This solution and approach it is only a fraction of what we can achieve. For instance, providing face identifying would be a unique approach to recognizing specific customers - not only for binding their current customer's issues but also for storing data about their behavior and sentiment during the interview in Customer Service Point. Automating this solution would also be helpful for Business Intelligence Analytics and Consultants. As a consultant increasing conversation quality with a customer is a must - imagine that you can get tips and hints during that talks and suited offers that are generated especially for that particular customer, just after analyzing his sentiment of talk and emotions (Machine Learning). Few existing projects include similar scenario - I recommend you to read the one about **[Technical Case Study of BlueDynamic](https://github.com/pospanet/TechCaseStudy_BlueDynamic).** ## Credits - Łukasz Blyk - Senior Software Development & Integration Specialist, Tauron - Łukasz Cempulik - Software Development & Integration Specialist, Tauron - Marcin Zylski - Senior Software Development & Integration Specialist, Tauron - Tomasz Kozar - Cloud Technology Strategist, Microsoft - Borys Rybak - Software Development Engineer, Microsoft ## Helpful Materials 1. Other Projects - [Video Frame Analysis Sample](https://github.com/Microsoft/Cognitive-Samples-VideoFrameAnalysis) - [Intelligent Kiosk](https://github.com/Microsoft/Cognitive-Samples-IntelligentKiosk) - [Technical Case Study - BlueDynamic](https://github.com/pospanet/TechCaseStudy_BlueDynamic) - [Signal Faces](https://github.com/msimecek/Signal-Faces) ([blogpost](https://codez.deedx.cz/projects/signal-faces/)) - [Windows IoT Core Cognitive Services Sample](https://github.com/Microsoft/Windows-iotcore-samples/tree/develop/Samples/CognitiveServicesExample) 2. Websites - [How to Analyze Videos in Real-time](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/howtoanalyzevideo_face) - [Face API Documentation](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) - [Cognitive Services Pricing](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/) - [Visualizing and interacting with your Azure Machine Learning Studio experiments](https://powerbi.microsoft.com/en-us/blog/visualizing-and-interacting-with-your-azure-machine-learning-studio-experiments/)
2024-11-18T18:56:46.621556+00:00
2014-05-08T19:46:08
caa1d8b03fdd3dbdb06cbef105c65f2fec68e613
3
{ "blob_id": "caa1d8b03fdd3dbdb06cbef105c65f2fec68e613", "branch_name": "refs/heads/master", "committer_date": "2014-05-08T19:46:08", "content_id": "78549dff4ea711c3b45219a1cf2058dc63ebadf4", "detected_licenses": [ "BSD-3-Clause" ], "directory_id": "b5aa2497bcba66f933b618bc5c47400d3330efb7", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1432, "license": "BSD-3-Clause", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:178", "repo_name": "ecancino/DoctrineMemcacheSASL", "revision_date": "2014-05-08T19:46:08", "revision_id": "b88b02c90e0834c26d0c91bcc5518a3e19f2980b", "snapshot_id": "c23baa2b49d8009f20a4ea60755fe28b7476ec86", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ecancino/DoctrineMemcacheSASL/b88b02c90e0834c26d0c91bcc5518a3e19f2980b/README.md", "visit_date": "2023-08-11T14:43:34.928138" }
3.015625
stackv2
# MemcacheSASL A pure PHP Memcache client with [binary protocol](http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped), [SASL](http://code.google.com/p/memcached/wiki/SASLAuthProtocol) & [Doctrine Cache](http://docs.doctrine-project.org/en/2.0.x/reference/caching.html#memcache) support. It aims to be compatible with the PHP Memcached class. You can find documentation on the PHP Memcached class [here](http://php.net/manual/en/class.memcached.php). Not all features are supported at this time. ## Changes vs. ronnywang Version This is a fork of the original code base by [Ronny Wang](https://github.com/ronnywang/PHPMemcacheSASL). [MemCachier](https://github.com/memcachier) made the following improvements: * Support for `flush`. * Support for timeouts on operations (connections and requests). * Fixed `increment` and `decrement` operations. * Support for the PHP Composer package manager. [treeskelt](https://github.com/treeskelt) made the following improvements: * Support for Doctrine Memcache Cache Driver * Support for the PHP Composer package manager. ## Licensing This library is BSD-licensed. ## Authors This library was written by [Ronny Wang](https://github.com/ronnywang), [MemCachier ](https://github.com/memcachier) & [treeskelt ](https://github.com/treeskelt). Ronny Wang wrote the initial version and bulk of the code, MemCachier & treeskelt later forked it to improve on the code base.
2024-11-18T18:56:46.703254+00:00
2023-08-23T18:44:52
72d3851a54d99749f2a759df1bccb98f4e44494d
4
{ "blob_id": "72d3851a54d99749f2a759df1bccb98f4e44494d", "branch_name": "refs/heads/main", "committer_date": "2023-08-23T18:44:52", "content_id": "d2b61554085e94d71a30426d7a5899dedcf64cdf", "detected_licenses": [ "Apache-2.0" ], "directory_id": "4d3032fd5062f7b6790951899c0ef6333a54bb83", "extension": "md", "filename": "README.md", "fork_events_count": 373, "gha_created_at": "2021-01-25T22:06:53", "gha_event_created_at": "2023-09-14T17:24:40", "gha_language": "HTML", "gha_license_id": "Apache-2.0", "github_id": 332897262, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4502, "license": "Apache-2.0", "license_type": "permissive", "path": "/oracle-db/README.md", "provenance": "stack-edu-markdown-0000.json.gz:179", "repo_name": "bcgov/ppr", "revision_date": "2023-08-23T18:44:52", "revision_id": "af1a4458bb78c16ecca484514d4bd0d1d8c24b5d", "snapshot_id": "381ceb4120fc14fb21b0ee863b08e56fe35cf156", "src_encoding": "UTF-8", "star_events_count": 4, "url": "https://raw.githubusercontent.com/bcgov/ppr/af1a4458bb78c16ecca484514d4bd0d1d8c24b5d/oracle-db/README.md", "visit_date": "2023-08-24T00:34:09.508413" }
3.625
stackv2
# Oracle Database Server Docker Image Documentation PPR uses an Oracle 12c database. Here are instructions on running a Docker Oracle 12c database for local development. After starting the instance, see the scripts readme to create the ppr_mgr schema. Oracle Database Server 12c R2 is an industry leading relational database server. The Oracle Database Server Docker Image contains the Oracle Database Server <IP_ADDRESS> Enterprise Edition running on Oracle Linux 7. This image contains a default database in a multitenant configuration with one pdb. For more information on Oracle Database Server 12c R2 refer to http://docs.oracle.com/en/database/ This directory includes an example start-ee.sh script for starting the image, as well as example ora.conf and tnsnames.ora configuration files. ## Accepting the terms of service From the store.docker.com website accept Terms of Service for Oracle Database Enterprise Edition. ## Login to Docker Store Login to Docker Store with your credentials $ docker login ## Get the image $ docker pull store/oracle/database-enterprise:<IP_ADDRESS> ## Starting an Oracle Database Server instance Starting an Oracle database server instance is as simple as executing $ docker run -d -it --name <Oracle-DB> store/oracle/database-enterprise:<IP_ADDRESS> (optional - start it with a defined directory) $ docker run -d -it --name <Oracle-DB> -v /mnt/c/Users/username/Containers/bcregistry/oradata/OracleDBData:/ORCL store/oracle/database-enterprise:<IP_ADDRESS> where <Oracle-DB> is the name of the container and <IP_ADDRESS> is the Docker image tag. The database server is ready to use when the STATUS field shows (healthy) in the output of docker ps. ## Connecting to the Database Server Container The default password to connect to the database with sys user is Oradoc_db1. ### Connecting from within the container The database server can be connected to by executing SQL*Plus, $ docker exec -it <Oracle-DB> bash -c "source /home/oracle/.bashrc; sqlplus /nolog" ## Connecting from outside the container The database server exposes port 1521 for Oracle client connections over SQLNet protocol and port 5500 for Oracle XML DB. SQLPlus or any JDBC client can be used to connect to the database server from outside the container. To connect from outside the container start the container with -P or -p option as, $ docker run -d -it --name <Oracle-DB> -P store/oracle/database-enterprise:<IP_ADDRESS> option -P indicates the ports are allocated by Docker. The mapped port can be discovered by executing $ docker port <Oracle-DB> Using this <mapped host port> and <ip-address of host> create tnsnames.ora in the directory pointed to by environment variable TNS_ADMIN. ORCLCDB=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<ip-address of host>)(PORT=<mapped host port>)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCLCDB.localdomain))) ORCLPDB1=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<ip-address> of host)(PORT=<mapped host port>)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCLPDB1.localdomain))) To connect from outside the container using SQL*Plus, $ sqlplus sys/Oradoc_db1@ORCLCDB as sysdba ## Custom Configurations The Oracle database server container also provides custom configuration parameters for starting up the container. All the custom configuration parameters are optional. The following list of custom configuration parameters can be provided in the ENV file (ora.conf). DB_SID This parameter changes the ORACLE_SID of the database. The default value is set to ORCLCDB. DB_PDB This parameter modifies the name of the PDB. The default value is set to ORCLPDB1. DB_MEMORY This parameter sets the memory requirement for the Oracle server. This value determines the amount of memory to be allocated for SGA and PGA. The default value is set to 2GB. DB_DOMAIN This parameter sets the domain to be used for database server. The default value is localdomain. To start an Oracle database server with custom configuration parameters $ docker run -d -it --name <Oracle-DB> -P --env-file ora.conf store/oracle/database-enterprise:<IP_ADDRESS> Ensure custom values for DB_SID, DB_PDB and DB_DOMAIN are updated in the tnsnames.ora. ## Using host system directory for data volume To use a directory on the host system for the data volume, $ docker run -d -it --name <Oracle-DB> -v /data/OracleDBData:/ORCL store/oracle/database-enterprise:<IP_ADDRESS> where /data/OracleDBData is a directory in the host system.
2024-11-18T18:56:46.857092+00:00
2023-04-07T21:18:41
ab83a600f0b162fa3788e4cc4cf87a77c8b6b5da
2
{ "blob_id": "ab83a600f0b162fa3788e4cc4cf87a77c8b6b5da", "branch_name": "refs/heads/master", "committer_date": "2023-04-07T21:18:41", "content_id": "079c99340b788b2128a3367c58d327586164562f", "detected_licenses": [ "MIT" ], "directory_id": "a360aa1e7c6fff00904c53e1cd1cb8bb6d5c8ba6", "extension": "md", "filename": "07_PSTweetChat_July2022.md", "fork_events_count": 5, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 173375898, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 15493, "license": "MIT", "license_type": "permissive", "path": "/transcripts/2022/07_PSTweetChat_July2022.md", "provenance": "stack-edu-markdown-0000.json.gz:180", "repo_name": "jdhitsolutions/PSTweetChat", "revision_date": "2023-04-07T21:18:41", "revision_id": "74e60ab2b817ec156d223c77dd233bf3ef75e95f", "snapshot_id": "ef83ca8427ace910c75407c998bb68ccda9ec1de", "src_encoding": "UTF-8", "star_events_count": 30, "url": "https://raw.githubusercontent.com/jdhitsolutions/PSTweetChat/74e60ab2b817ec156d223c77dd233bf3ef75e95f/transcripts/2022/07_PSTweetChat_July2022.md", "visit_date": "2023-04-14T03:24:28.372864" }
2.421875
stackv2
# PSTweetChat TweetScript ## Friday, July 1, 2022 ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 13:06:00Z* > [Chatting #PowerShell and the community today at 1:00PM Eastern (UTC+4). Hope you can join us. #PSTweetChat](https://twitter.com/JeffHicks/status/1542857050136498176) ![embedded media](https://pbs.twimg.com/media/FWXuv0RXgAAClKz.jpg) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 16:40:00Z* > [Our open monthly #PowerShell chat starts at the top of the hour. Use #PSTweetChat to follow along.](https://twitter.com/JeffHicks/status/1542910905159241731) ### [@doctordns](https://twitter.com/doctordns) \<Thomas Lee\> *2022-07-01 16:52:22Z* > [so how is everyone? #PSTweetChat And what are you doing with #PowerShell today?](https://twitter.com/doctordns/status/1542914016963616774) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:00:22Z* > [Welcome to our monthly #PowerShell chat. Because I'll create a transcript, please remember to use the #PSTweetChat tag.](https://twitter.com/JeffHicks/status/1542916032544784384) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:00:52Z* > [There is no agenda or rules other than be kind and helpful. #PSTweetChat](https://twitter.com/JeffHicks/status/1542916158126542850) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:02:22Z* > [Obviously the big news, maybe the biggest ever, is the departure of @jsnover from Microsoft. I'm sure he was as instrumental in your career, either directly or indirectly, as he was in mine. #PSTweetChat](https://twitter.com/JeffHicks/status/1542916534984663042) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:03:38Z* > [I suspect this might be a light chat given the beginning of a holiday weekend in the US. #PSTweetChat](https://twitter.com/JeffHicks/status/1542916852149620736) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:05:13Z* > [I thought I'd share an AMA I'm doing with @Script_Runner later this summer. #PSTweetChat](https://twitter.com/JeffHicks/status/1542917253523558402) + [https://www.youtube.com/watch?v=7rhpDQrPHbM](https://www.youtube.com/watch?v=7rhpDQrPHbM) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:05:46Z* > [@doctordns We were waiting for you. #PSTweetChat.](https://twitter.com/JeffHicks/status/1542917391457390595) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:05:54Z* > [Just started a new blog series on how I used #PowerShell to automate parts of the authoring process, on my book about PowerShell #automation. First entry is on comparing imagines #PSTweetChat](https://twitter.com/MDowst/status/1542917425133457408) + [https://www.dowst.dev/automation-authoring/](https://www.dowst.dev/automation-authoring/) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:07:56Z* > [@MDowst That is extra challenging since you have to author in Microsoft Word. It's a shame you can't write in markdown. #PSTweetChat](https://twitter.com/JeffHicks/status/1542917937211871234) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:08:21Z* > [@JeffHicks @jsnover I owe a large part of my career to PowerShell and him. Thanks, @jsnover, for everything you have done for industry. I wish you well in your next chapter. #PSTweetChat](https://twitter.com/MDowst/status/1542918041964617729) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:09:14Z* > [@MDowst @jsnover I think we all feel a great disturbance in the PSForce today. #PowerShell #PSTweetChat](https://twitter.com/JeffHicks/status/1542918260580040707) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:10:22Z* > [@JeffHicks I already have a few pieces I'm working regarding that. Markdown would have made things easier, but I was able to use Office com objects for a lot of things. #PSTweetChat](https://twitter.com/MDowst/status/1542918546581344256) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:10:42Z* > [@doctordns Good and just trying to automate those manual tasks with #PowerShell to take human error out #PSTweetChat](https://twitter.com/greggZ251/status/1542918632119963650) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:11:10Z* > [If you are new to our monthly chats, you can find transcripts of past chats at #PSTweetChat](https://twitter.com/JeffHicks/status/1542918749958840321) + [https://github.com/jdhitsolutions/PSTweetChat](https://github.com/jdhitsolutions/PSTweetChat) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:11:50Z* > [@JeffHicks @MDowst @jsnover That announcement was not expected. #PSTweetChat](https://twitter.com/greggZ251/status/1542918918271995905) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:14:15Z* > [@greggZ251 @MDowst @jsnover As far as I know, he hasn't had #PowerShell management duties for several years. But he was, and will always be, the guiding force. #PSTweetChat](https://twitter.com/JeffHicks/status/1542919526924312576) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:15:56Z* > [On this #PSFollowFriday I want to give a big shout out to @jsnover @concentrateddon @JeffHicks @RSiddaway @doctordns @dfinke @MDowst and others including the whole #PowerShell team over the years for the tools and knowledge they have shared. #PSTweetChat](https://twitter.com/greggZ251/status/1542919949785743367) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:16:24Z* > [It's a little crazy to think that some of us have been using PowerShell since 2006. I can't get my head around that. #PSTweetChat](https://twitter.com/JeffHicks/status/1542920065628110849) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:16:26Z* > [@JeffHicks I may or may not be hiding in my office avoiding yardwork at the moment ??#PSTweetChat](https://twitter.com/MDowst/status/1542920073039552512) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:17:54Z* > [I'm curious how useful people are finding the PSGallery reports. #PSTweetChat #PowerShell](https://twitter.com/JeffHicks/status/1542920443664949254) + [https://github.com/jdhitsolutions/PSGalleryReport](https://github.com/jdhitsolutions/PSGalleryReport) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:18:12Z* > [@JeffHicks I was still using some of your and @concentrateddon WSH code when it came out and for some time after. Let those youngsters try to remember WSH ?? #PSTweetChat](https://twitter.com/greggZ251/status/1542920520441729031) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:19:04Z* > [@MDowst @JeffHicks Definitely #PSTweetChat](https://twitter.com/greggZ251/status/1542920738797195267) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:19:27Z* > [@JeffHicks I was just getting out of the military and starting my first job on a help desk. Picked up PowerShell shortly afterwards, and the rest is history. #PSTweetChat](https://twitter.com/MDowst/status/1542920834368606211) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:20:03Z* > [@JeffHicks It is on my list to try. Just on the tail end of moving and have not gotten back into the groove on some things. #PSTweetChat](https://twitter.com/greggZ251/status/1542920985631985665) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:20:20Z* > [@greggZ251 @concentrateddon One of my first TechEd talks was comparing VBScript to #PowerShell #PSTweetChat](https://twitter.com/JeffHicks/status/1542921057807597570) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:21:53Z* > [@JeffHicks @concentrateddon Glory days.... ?? #PSTweetChat](https://twitter.com/greggZ251/status/1542921446632132611) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:22:01Z* > [@JeffHicks I love the PowerShell Gallery Filtered report. Make finding out what is new much easier. #PSTweetChat](https://twitter.com/MDowst/status/1542921479897206785) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:22:54Z* > [I have an open discussion topic in PSGalleryReports for people to highlight their most valuable #PowerShell modules. #PSTweetChat](https://twitter.com/JeffHicks/status/1542921701624791043) + [https://github.com/jdhitsolutions/PSGalleryReport/discussions/2](https://github.com/jdhitsolutions/PSGalleryReport/discussions/2) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:24:36Z* > [@MDowst I found the AnyBox module in a report which is a super-easy way to add WPF elements to your #PowerShell work. #PSTweetChat](https://twitter.com/JeffHicks/status/1542922128407805952) + [https://www.fresh2.dev/doc/anybox/](https://www.fresh2.dev/doc/anybox/) ### [@MDowst](https://twitter.com/MDowst) \<Matthew Dowst\> *2022-07-01 17:26:30Z* > [@JeffHicks I haven't seen that one. Looks pretty interesting. #PSTweetChat](https://twitter.com/MDowst/status/1542922606814322689) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:27:03Z* > [@JeffHicks @MDowst That looks worthy of a look and try. #PSTweetChat](https://twitter.com/greggZ251/status/1542922745763319809) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:28:30Z* > [@MDowst I had never heard of it either until I saw it in a recently published module report. That's why I started the reports. There are good tools in the PSGallery that many of us don't know about. #PSTweetChat](https://twitter.com/JeffHicks/status/1542923109770186755) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:33:14Z* > [I can remember from Citrix Synergy 2015 Esther Barthel showing #PowerShell automation of NetScalers. So many things we can automate with #PowerShell @devblackops had a module for it also if I remember correctly. #PSTweetChat](https://twitter.com/greggZ251/status/1542924302525292548) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:33:58Z* > [Does anyone have any comments about PSConfEU? Something you learned that made the trip worth it? #PSTweetChat](https://twitter.com/JeffHicks/status/1542924485191471107) ### [@thedavecarroll](https://twitter.com/thedavecarroll) \<Dave Carroll\> *2022-07-01 17:37:13Z* > [@JeffHicks I think I've only been a PowerShell'er since late 2009, early 2010. One of the first things I did was to convert large set of VBSripts. They were the institution's homegrown identity management solution (also written by me). I did this to support Live@EDU Exchange. #PSTweetChat](https://twitter.com/thedavecarroll/status/1542925306058743808) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:38:17Z* > [If you have not perused the playlist from #PSHSummit do so. I have not watched them all but there is a lot of good knowledge there. #15 by Mark Wilkinson is one of my favorites along with @WindosNZ Ansible talk. #PSTweetChat](https://twitter.com/greggZ251/status/1542925573151924225) + [https://www.youtube.com/playlist?list=PLfeA8kIs7Cocj9vy9XxXvjCkLhsoCELgr](https://www.youtube.com/playlist?list=PLfeA8kIs7Cocj9vy9XxXvjCkLhsoCELgr) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:38:36Z* > [In case you missed it, a new #PowerShell preview was released last week. #PSTweetChat](https://twitter.com/JeffHicks/status/1542925652973785094) ![embedded media](https://pbs.twimg.com/media/FWmStAjXgAMBhPj.png) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:39:36Z* > [@JeffHicks How many of you are letting Windows Update install the latest PowerShell? #PSTweetChat](https://twitter.com/greggZ251/status/1542925905370177537) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:40:36Z* > [Looks like I also need to update PSReadline. Compare-Module is in the PSScriptTools module. #PSTweetChat](https://twitter.com/JeffHicks/status/1542926157170999297) ![embedded media](https://pbs.twimg.com/media/FWmTKYHXkAMmTZf.png) ### [@JustinWGrote](https://twitter.com/JustinWGrote) \<Justin Grote\> *2022-07-01 17:41:19Z* > [@greggZ251 @JeffHicks I still use scoop but I probably should cut to this #PSTweetChat](https://twitter.com/JustinWGrote/status/1542926336544542721) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:41:52Z* > [@greggZ251 I either use winget or the PSReleaseTools module. #PSTweetChat](https://twitter.com/JeffHicks/status/1542926474541416448) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:43:31Z* > [@JeffHicks I should have clarified at work. At home it is still PSReleaseTools for me. #PSTweetChat](https://twitter.com/greggZ251/status/1542926889030934531) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:43:33Z* > [And until winget gets its #PowerShell story together, I use my own module. #PSTweetChat](https://twitter.com/JeffHicks/status/1542926899290292225) + [https://github.com/jdhitsolutions/WingetTools](https://github.com/jdhitsolutions/WingetTools) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 17:45:48Z* > [Mark your calendars for our next #PowerShell chat on 5 August from 1-2PM Eastern #PSTweetChat](https://twitter.com/JeffHicks/status/1542927463285768194) ### [@frumpa](https://twitter.com/frumpa) \<Al Degutis\> *2022-07-01 17:46:06Z* > [I did this right away #pstweetchat RT @merill: Trust me. PowerShell is not going to be the same again once you do this. Update to the latest version of PowerShell and run this command. Set-PSReadLineOption -PredictionViewStyle ListView Your entire PowerShell history at your fingertips!](https://twitter.com/frumpa/status/1542927539039084546) + [https://twitter.com/merill/status/1541634611893383168](https://twitter.com/merill/status/1541634611893383168) ![embedded media](https://pbs.twimg.com/media/FWTnjo0akAARZ8n.jpg) ### [@greggZ251](https://twitter.com/greggZ251) \<Gregg Lott\> *2022-07-01 17:50:49Z* > [@JeffHicks I have to pay better attention. I have not used Compare-Module. Nice. #PSTweetChat](https://twitter.com/greggZ251/status/1542928728296128514) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 18:00:11Z* > [Thanks for hanging out today. Hope my US-based #PowerShell pros have a safe and happy holiday weekend. #PSTweetChat](https://twitter.com/JeffHicks/status/1542931085683720196) ### [@JeffHicks](https://twitter.com/JeffHicks) \<Jeff Hicks\> *2022-07-01 18:00:40Z* > [I'll post a transcript later today. #PSTweetChat](https://twitter.com/JeffHicks/status/1542931206903300096) This transcript is based on tracking the #PSTweetchat tag. However, not everyone remembers to insert the tag so this is most likely an incomplete record. The entries are listed in order of Twitter's ID number which may not necessarily mean it is in true chronological order. _generated Friday, July 1, 2022 6:37:20 PM UTC_
2024-11-18T18:56:46.943300+00:00
2019-09-13T20:38:32
b7688122a3630916d428e75efac875296a38449c
3
{ "blob_id": "b7688122a3630916d428e75efac875296a38449c", "branch_name": "refs/heads/master", "committer_date": "2019-09-13T20:38:32", "content_id": "e41d891a54859aa082e6fff2e1f33ab4e28afd36", "detected_licenses": [ "MIT" ], "directory_id": "421869fa635b454b2ce5960e7fafe6b6e4297c1c", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2649, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:181", "repo_name": "ademikel/Kaggle-freesound-audio-tagging-2019", "revision_date": "2019-09-13T20:38:32", "revision_id": "e1e73fc301a1bd3b59ef1aab75704f53616c26f4", "snapshot_id": "c5ba5d48398847998047b080cf196f321fda7eb7", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/ademikel/Kaggle-freesound-audio-tagging-2019/e1e73fc301a1bd3b59ef1aab75704f53616c26f4/README.md", "visit_date": "2023-03-16T12:54:45.048413" }
3.109375
stackv2
# Kaggle-freesound-audio-tagging-2019 Top 20% entry for Kaggle Freesound Audio Tagging 2019 competition The goal of this competition was to build a multi-label classifier to recognize sounds in audio samples from a dictionary of 80 common sounds. My best solution was to convert the sounds to mel spectogram images and apply deep learning classifiers. More info can be found at the Kaggle site: https://www.kaggle.com/c/freesound-audio-tagging-2019/overview ## Solution ### Data The data consists of 4970 audio samples (.wav files) that have been classified by human listeners according to 80 labels (for example, Applause, Bark, Accordion, Bus, Cheering, etc.) In addition a 'noisy' data set was also provided, where the training labels were generated by a predictive model. This data set did not seem to help the training results in my experiment. ### Data Selection A few audio samples were removed, becuase there was an error in labeling them. ### Feature Generation Feature Generation was inspired by this starter kernel: https://www.kaggle.com/daisukelab/cnn-2d-basic-solution-powered-by-fast-ai One of the drawbacks of this approach is that image classifiers handle rgb images (3 channels) yet the mel spectrograms reflect greyscale images (all channels get the same info). I tried some additional experiments where I increased the frequency bands of the mel spectrogram and spread those across the three color channels. THe thought was that this would provide additional information to the network and avoid redundant channel info. Cross validation results showed that this did not produce better results, however. Black and white Mel spectrogram (all channels equal) ![mel spectrogram](https://raw.githubusercontent.com/filipmu/Kaggle-freesound-audio-tagging-2019/master/bw%20mel%20spectrogram.png) Colored Mel spectrogram (lower bands in red channel, mid bands in green channel, high bands in blue channel) ![colored mel spectrogram](https://raw.githubusercontent.com/filipmu/Kaggle-freesound-audio-tagging-2019/master/3%20color%20mel%20spectrogram.png) #### Mixup The mixup techique was used to generate additional training sample images based on weighted combinations of the existing data. These weighted combinations are then labelled with a weighted combination of the original labels. This resulted in a larger number of examples of sound combinations. ### Training and Model combinations Resnet18 and Resnet34 were used, along with different mel spectrum sample parameters, as well as test time augmentation (or not). ### Model selection Model selection was based on the best cross-validation scores.
2024-11-18T18:56:46.999234+00:00
2016-03-27T00:27:20
36261f973e1522391b98a8ccb4473dbf8817a107
2
{ "blob_id": "36261f973e1522391b98a8ccb4473dbf8817a107", "branch_name": "refs/heads/master", "committer_date": "2016-03-27T00:27:20", "content_id": "593f6860e3c9332b0124ec7815f021abd41ddd18", "detected_licenses": [ "MIT" ], "directory_id": "6ef18c15e2ca79bddb739186391065875bc8bad8", "extension": "md", "filename": "2016-04-25-go-datascience.md", "fork_events_count": 1, "gha_created_at": "2015-02-16T01:59:14", "gha_event_created_at": "2015-02-24T05:50:22", "gha_language": "CSS", "gha_license_id": null, "github_id": 30850062, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 977, "license": "MIT", "license_type": "permissive", "path": "/_posts/2016-04-25-go-datascience.md", "provenance": "stack-edu-markdown-0000.json.gz:182", "repo_name": "chicagolang/site", "revision_date": "2016-03-27T00:27:20", "revision_id": "7d34a8d29e1cb98c14aa45e32e20c56b5f7f0405", "snapshot_id": "a30a60daf8a2e773acd9221a7ddc777f0dcd3fdc", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/chicagolang/site/7d34a8d29e1cb98c14aa45e32e20c56b5f7f0405/_posts/2016-04-25-go-datascience.md", "visit_date": "2021-01-17T09:24:19.554509" }
2.390625
stackv2
--- layout: event title: Can Go become the "Go to language" for data science/engineering­? author: Daniel Whitenack author_link: http://www.datadan.io/ venue: name: Hashrocket address: 661 W Lake St 3NE, Chicago, IL instructions: directions_link: https://www.google.com/maps?f=q&hl=en&q=661+W+Lake+St+3NE,+Chicago,+IL,+60661,+us event: date: April 26, 2015 time: 6:00 PM meetup_id: 229487034 categories: - events - upcoming --- There is a lot of hype around Data Science/Engineering and there is a lot of hype around Golang. However, there has not been a lot of hype around using Go for Data Science/Engineering. In this meetup, Daniel Whitenack will discuss reasons for this, the huge value that Go could provide in data science/engineering, major Go-based efforts in the data world, and how you can get you can get involved and/or get your feet wet doing data science with Go. Daniel will also be presenting at [GopherCon 2016](https://gophercon.com/)
2024-11-18T18:56:47.056048+00:00
2023-08-31T06:54:24
6b44d452234173d9908584d4522c9b845cd2086c
3
{ "blob_id": "6b44d452234173d9908584d4522c9b845cd2086c", "branch_name": "refs/heads/main", "committer_date": "2023-08-31T06:54:24", "content_id": "e205cb63bb16f3bf259293ebf9820b9bc7c0c39c", "detected_licenses": [ "CC0-1.0" ], "directory_id": "a745692b804b666440712a4eb7f708ecef917062", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2021-10-22T17:28:22", "gha_event_created_at": "2023-08-31T06:54:26", "gha_language": "Rust", "gha_license_id": "CC0-1.0", "github_id": 420186751, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1841, "license": "CC0-1.0", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:183", "repo_name": "Kattair/argon2-rs", "revision_date": "2023-08-31T06:54:24", "revision_id": "477a7ac7e631e1a38283c7f35dcb1d02eaf51102", "snapshot_id": "76afa8bf7dfea2914b97237c073e53621eed5c8d", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/Kattair/argon2-rs/477a7ac7e631e1a38283c7f35dcb1d02eaf51102/README.md", "visit_date": "2023-08-31T21:38:30.533996" }
3.46875
stackv2
# argon2-rs Simple argon2 hashing program using crate rust-argon2. ## Links Usability mimicks usability of argon2 utility on Debian: https://manpages.debian.org/buster/argon2/argon2.1.en.html Default values are defined by the rust-argon2 crate here: https://docs.sru-systems.com/rust-argon2/0.8.0/argon2/struct.Config.html ## Usage The program reads its input from standard input. Example: echo "my input" -n | argon2-rs "randomsalt" **! Windows adds CR LF to the end of the echoed string !** ## Synopsis argon2-rs salt [OPTIONS] | Option | Parameters | Description | | ------ | ---------- | ------------------------------------------------------------------ | | -h | | Display tool usage | | -i | | Use Argon2i (this is the default) | | -d | | Use Argon2d instead of Argon2i | | -id | | Use Argon2id instead of Argon2i | | -t | u_int_32 | Sets the number of iterations to N (default = 3) | | -m | u_int_32 | Sets the memory usage of 2^N KB (default = 12) | | -k | u_int_32 | Sets the memory usage of N KB (default = 4096) | | -p | u_int_32 | Sets parallelism to N threads (default = 1) | | -l | u_int_32 | Sets hash output length to N bytes (default = 32) | | -e | | Output only encoded hash | | -r | | Output only the raw bytes of the hash | | -v | 10 or 13 | Argon2 version (defaults to the most recent version, currently 13) |
2024-11-18T18:56:47.519183+00:00
2021-01-10T13:40:24
357fa48ceaa6c0d612c58b1041986e74e13d37f7
4
{ "blob_id": "357fa48ceaa6c0d612c58b1041986e74e13d37f7", "branch_name": "refs/heads/main", "committer_date": "2021-01-10T13:40:24", "content_id": "2fe41d6234ab50d0965fa4e19a638f69f17f8372", "detected_licenses": [ "MIT" ], "directory_id": "a2c7cc5cc6964593d8988fe04d1a4a3a516e2a9a", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2159, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:184", "repo_name": "man1989/HPBTT", "revision_date": "2021-01-10T13:40:24", "revision_id": "98cec9ff4ef95a01393718b024e9645e77fb70ee", "snapshot_id": "0662aa57f7cc194e619354bb94ff92615c11a827", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/man1989/HPBTT/98cec9ff4ef95a01393718b024e9645e77fb70ee/README.md", "visit_date": "2023-02-11T00:12:28.335840" }
3.640625
stackv2
# Human Parsing Based Texture Transfer from Single Image to 3D Human via Cross-View Consistency Code for the paper [Human Parsing Based Texture Transfer from Single Image to 3D Human via Cross-View Consistency (NeurIPS 2020)](https://papers.nips.cc/paper/2020/file/a516a87cfcaef229b342c437fe2b95f7-Paper.pdf). ## Requirements - Cuda 9.2 - Python 3.6 - Pytorch 1.4 - Opencv 3.4.2 Other requirements: ``` pip install -r requirements.txt ``` To install Neural Mesh Renderer and Perceptual loss: ``` cd ./HPBTT/external sh install_external.sh ``` ## Datasets - [Market-1501](http://zheng-lab.cecs.anu.edu.au/Project/project_reid.html) - [DeepFashion (In-shop Clothes Retrieval Benchmark)](http://mmlab.ie.cuhk.edu.hk/projects/DeepFashion/InShopRetrieval.html) ## Demo - Download the [trained models](https://drive.google.com/drive/folders/1zTxalRr6RnJ-lK3_u2JB23ejF1yBK1Ao?usp=sharing). - Extract and put the models of Market-1501 and DeepFashion in `./HPBTT/cachedir/snapshots` and HMR models in `./HPBTT/external/hmr` - Run the demo: ``` sh ./HPBTT/run_demo_market.sh <model_name> <epoch_num> <input_image_name> ``` ## Training - Download the [Market-1501 dataset](https://drive.google.com/file/d/1HGRDRrYr0nLhQzQmAFc2Odws_bn3q9Jo/view?usp=sharing) and [PRW dataset](https://github.com/liangzheng06/PRW-baseline) for background. - Extract and put the datasets in `./dataset` - Generate input images and their SMPL parameters: ``` python -m HPBTT.experiments.hmr_market ``` - Train the model: ``` python -m HPBTT.experiments.train_market --name <model_name> ``` ## Evaluation To evaluate the model: ``` sh ./HPBTT/run_eval_market.sh <model_name> <epoch_num> <output_image_path> ``` ## Acknowledgement Our code is based on [cmr](https://github.com/akanazawa/cmr). ## Citation If you use this code for your research, please consider citing: ``` @inproceedings{zhao2020human, title={Human Parsing Based Texture Transfer from Single Image to 3D Human via Cross-View Consistency}, author={Zhao, Fang and Liao, Shengcai and Zhang, Kaihao and Shao, Ling}, booktitle={Advances in Neural Information Processing Systems}, year={2020} } ```
2024-11-18T18:56:47.668223+00:00
2013-12-07T15:08:33
7efc05e9e725621273bf1814721cccf593ddad80
4
{ "blob_id": "7efc05e9e725621273bf1814721cccf593ddad80", "branch_name": "refs/heads/master", "committer_date": "2013-12-07T15:08:33", "content_id": "605a2d30d73bf8f156abd4e22569ac97e35f0f98", "detected_licenses": [ "MIT" ], "directory_id": "7a175335eee930f0721b0aa677b6ae9a289d7207", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4018, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:185", "repo_name": "bilenskaya/angular-virtual-scroll", "revision_date": "2013-12-07T15:08:33", "revision_id": "8629e5a7c05ea5ba0543137b29b18dc7b6ac3ba5", "snapshot_id": "ff47dd324222e0b6b7530378e403556090fcb06e", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/bilenskaya/angular-virtual-scroll/8629e5a7c05ea5ba0543137b29b18dc7b6ac3ba5/README.md", "visit_date": "2020-05-20T22:25:36.133686" }
3.5625
stackv2
angular-virtual-scroll ====================== Source for the sf.virtualScroll module for AngularJS Intended as a replacement for `ng-repeat` for large collections of data and contains different solutions to the problem. About ----- The module was developed as a proof of concept. I needed to display log messages and I didn't want to use paging. There were some excellent alternatives including some wrappers of jQuery grids, but nothing was using the `ng-repeat` pattern. I wrote a couple of articles explaining myself as I went along: * http://blog.stackfull.com/2013/02/angularjs-virtual-scrolling-part-1/ * http://blog.stackfull.com/2013/03/angularjs-virtual-scrolling-part-2/ There should be an online demo here: http://demo.stackfull.com/virtual-scroll/ Usage ----- Whether you build the component, copy the raw source or use bower (see below), the end result should be included in your page and the module `sf.virtualScroll` included as a dependency: angular.module('myModule', ['sf.virtualScroll']); Then use the directive `sf-virtual-scroll` just as you would use `ng-repeat`. <div class="viewport"> <div> <table> <tbody> <tr sf-virtual-repeat="line in book.lines"><th>{{$index}}: <td>{{line}} </table> </div> </div> <div class="viewport real"> <ul> <li ng-repeat="thing in simpleList">{{thing}}</li> </ul> </div> If you want to expose the scroll postion (to simulate an `atEnd` event for example), use `ng-model` and you have access to the scroll properties. Check out the examples in the demo folder for all the details. Limitations ----------- First up, the obligatory warning: **virtual scrolling is usually the wrong approach**. If you want to display really large lists, your users will probably not thank you for it: filtering can be a more friendly way to tame the data. Or if you have performance problems with angular bindings, one of the "bind-once" implementation may make more sense. Tables are problematic. It is possible to use `sf-virtual-repeat` in a `<tr>` to create table rows, but you have to be very careful about your CSS. The element having the `sf-virtual-repeat` needs to be contained within an element suitable for use as a viewport. This suitability is the main difficulty as the viewport must contain a single element (and no text) and this contained element must be explicitly sizable. So a `table` will need 2 parent `div`s for example. The collection must be an array (not an object) and the array must not change identity - that is, the value on the scope must remain the same and you should push, pop, splice etc. rather than re-assigning to the scope variable. This is a limitiation that might be removed in future versions, but for now it's a consequence of watching the collection lightly. Developing ---------- [Grunt](http://gruntjs.com/) is used as the build tool, so you will need [node](http://nodejs.org/) and [npm](https://npmjs.org/) installed. Since v0.4, grunt has 2 parts: the heavy lifting package `grunt` and the shell command `grunt-cli`. If you haven't already installed `grunt-cli` globally, do so now with: sudo npm install -g grunt-cli To run the simple demo, install the npm dependencies for the build tools and go: npm install grunt demo You can now view the demo at http://localhost:8000/ Build with `grunt dist` and choose a file from the `dist` directory. Using the component ------------------- For use with [bower](http://twitter.github.com/bower/), there is a separate repo containing just the built artifacts here: [angular-virtual-scroll-bower](https://github.com/stackfull/angular-virtual-scroll-bower). You can add the component to your project with: bower install angular-virtual-scroll Or by adding a line to your `component.json` file. If you are using `grunt` for your build, consider using a plugin like [bowerful](https://npmjs.org/package/grunt-bowerful). All comments to<EMAIL_ADDRESS>
2024-11-18T18:56:47.761313+00:00
2021-02-07T08:14:04
e177d0d8faeeba0de81949b9d97aa61d84e2baa7
3
{ "blob_id": "e177d0d8faeeba0de81949b9d97aa61d84e2baa7", "branch_name": "refs/heads/master", "committer_date": "2021-02-07T08:14:04", "content_id": "cf091f77f3f6266ca19f92ee0ab7a7b45cba81a2", "detected_licenses": [ "MIT" ], "directory_id": "04cd9d057f4ed026d1324d440c7eb401fad4de6c", "extension": "md", "filename": "CHANGELOG.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 701, "license": "MIT", "license_type": "permissive", "path": "/CHANGELOG.md", "provenance": "stack-edu-markdown-0000.json.gz:186", "repo_name": "4144/datatype99", "revision_date": "2021-02-07T08:14:04", "revision_id": "4dab61761375c55cc09da28f249237d4b3b21bad", "snapshot_id": "eb630d78984c93823471c227cdb7a5e75bda7fc9", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/4144/datatype99/4dab61761375c55cc09da28f249237d4b3b21bad/CHANGELOG.md", "visit_date": "2023-02-27T00:41:50.446489" }
2.734375
stackv2
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [unreleased] ### Changed - Force users to download metalang99 as well, i.e. don't use it as a Git submodule. ### Added - Generate `typedef struct <datatype-name> <datatype-name>;` beforehand so `<datatype-name> *` can be used instead of `struct <datatype-name> *` inside variants. ## [0.2.0] - 2020-02-05 ### Changed - Replace `Epilepsy` with `Metalang99` (more neutral). ## [0.1.0] - 2020-02-04 ### Added - This excellent project.
2024-11-18T18:56:47.840916+00:00
2023-08-21T11:37:28
e5fe4cc1c76b2b705194d2f855897ed6635ffd7b
2
{ "blob_id": "e5fe4cc1c76b2b705194d2f855897ed6635ffd7b", "branch_name": "refs/heads/master", "committer_date": "2023-08-21T11:37:28", "content_id": "fcfa5c6667108ab6a52bbff4dcf6d5ac2114b9ee", "detected_licenses": [ "MIT" ], "directory_id": "5d839fef51fb896cd2a49fed7112761bd21f3684", "extension": "md", "filename": "CHANGELOG.md", "fork_events_count": 17, "gha_created_at": "2018-02-01T10:13:01", "gha_event_created_at": "2023-09-08T13:32:45", "gha_language": "JavaScript", "gha_license_id": "MIT", "github_id": 119818775, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 252909, "license": "MIT", "license_type": "permissive", "path": "/CHANGELOG.md", "provenance": "stack-edu-markdown-0000.json.gz:187", "repo_name": "cozy/cozy-client", "revision_date": "2023-08-21T11:37:28", "revision_id": "e03c21751e68ce24db6804dadca52b367e84abfb", "snapshot_id": "1c14b8ff3d58d2b080f7960ddf8de808ee3143a7", "src_encoding": "UTF-8", "star_events_count": 10, "url": "https://raw.githubusercontent.com/cozy/cozy-client/e03c21751e68ce24db6804dadca52b367e84abfb/CHANGELOG.md", "visit_date": "2023-08-31T11:53:03.781503" }
2.140625
stackv2
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [40.3.0](https://github.com/cozy/cozy-client/compare/v40.2.1...v40.3.0) (2023-08-21) ### Features * Add link for driver_license expiration note ([226cba8](https://github.com/cozy/cozy-client/commit/226cba80edc9ef8fd627ca63e5ed5d81defdd68a)) ## [40.2.1](https://github.com/cozy/cozy-client/compare/v40.2.0...v40.2.1) (2023-08-16) ### Bug Fixes * Document has to be wrap into a data object to update instance ([b83bf51](https://github.com/cozy/cozy-client/commit/b83bf519e9a6db9a2797751c08d7967e8b40878f)) # [40.2.0](https://github.com/cozy/cozy-client/compare/v40.1.0...v40.2.0) (2023-08-01) ### Features * Add AppsRegistryCollection ([9d010a9](https://github.com/cozy/cozy-client/commit/9d010a9943d295b4eeb789bd188d4b4988164382)) # [40.1.0](https://github.com/cozy/cozy-client/compare/v40.0.1...v40.1.0) (2023-07-31) ### Features * Replace Reminder by Note ([3035ed8](https://github.com/cozy/cozy-client/commit/3035ed8ecfb32929fa3e5e5ed79bd07d84de87eb)) ## [40.0.1](https://github.com/cozy/cozy-client/compare/v40.0.0...v40.0.1) (2023-07-28) ### Bug Fixes * Stop destroying inconsistent index ([fd6d6a4](https://github.com/cozy/cozy-client/commit/fd6d6a487f845718e8a709fdd9e4cf74ea47a04c)) # [40.0.0](https://github.com/cozy/cozy-client/compare/v39.0.0...v40.0.0) (2023-07-27) ### Bug Fixes * Update tests for unregistered error handling ([0e9b96b](https://github.com/cozy/cozy-client/commit/0e9b96b0a97fa3525a695bce32bf326fe16580a7)) ### Features * Add Oauth test and catch early ([6fb6108](https://github.com/cozy/cozy-client/commit/6fb61088b3c5c2236870b171168e7d51c3b09a51)) * Add unit test to revocation event emitter ([83e26cb](https://github.com/cozy/cozy-client/commit/83e26cb382c7966c2063865251f0d91535ffa928)) * CheckForRevocation automatically after an invalid token ([82d4ac3](https://github.com/cozy/cozy-client/commit/82d4ac3cce69613b659fe5fe47dd20331b2d2703)) * Update docs for revocation changes ([dc417f0](https://github.com/cozy/cozy-client/commit/dc417f0238a64c07af487cedb672c2976bcdbcf1)) ### BREAKING CHANGES * checkForRevocation() is only callable when dealing with an OAuthClient. It should not break your app, since if you called this method on a stackClient before, it should have crashed your app. # [39.0.0](https://github.com/cozy/cozy-client/compare/v38.11.1...v39.0.0) (2023-07-21) ### Bug Fixes * Handle `503 Blocked` response when calling `rootCozyUrl` ([603cb08](https://github.com/cozy/cozy-client/commit/603cb08c3d173fe1b58129c972eec18cd055b764)) ### BREAKING CHANGES * rootCozyUrl() can now throw a BlockedCozyError exception if the target Cozy is blocked ## [38.11.1](https://github.com/cozy/cozy-client/compare/v38.11.0...v38.11.1) (2023-07-17) ### Bug Fixes * **HasManyFiles:** Update after removing a relation ([a6a59c4](https://github.com/cozy/cozy-client/commit/a6a59c410a8b6b6098c6f8f9a42d5edd4d8b5416)) # [38.11.0](https://github.com/cozy/cozy-client/compare/v38.10.0...v38.11.0) (2023-07-12) ### Features * Update wording of note qualifications ([b9400a3](https://github.com/cozy/cozy-client/commit/b9400a3a36196b48b65cb90c2fb80e8017e0a19e)) # [38.10.0](https://github.com/cozy/cozy-client/compare/v38.9.2...v38.10.0) (2023-07-10) ### Bug Fixes * Missing user helper documentation ([bf2c241](https://github.com/cozy/cozy-client/commit/bf2c241219614b40fcf78becd9c41323cd2f1e9d)) ### Features * **instance:** Add makeDiskInfos helper ([b8ced4b](https://github.com/cozy/cozy-client/commit/b8ced4b5eb84d06c6becef074526ff7e59367f88)) ## [38.9.2](https://github.com/cozy/cozy-client/compare/v38.9.1...v38.9.2) (2023-07-04) ### Bug Fixes * **SettingsCollection:** Normalize a document spreads attributes to root ([9140116](https://github.com/cozy/cozy-client/commit/91401164bb9a0f55033e4609861e95dd4d5b0975)), closes [#1118](https://github.com/cozy/cozy-client/issues/1118) ## [38.9.1](https://github.com/cozy/cozy-client/compare/v38.9.0...v38.9.1) (2023-07-04) ### Bug Fixes * Set the fresh data after getting a new query result ([d589bae](https://github.com/cozy/cozy-client/commit/d589bae138c3092021179c7066e045e26357ef09)) # [38.9.0](https://github.com/cozy/cozy-client/compare/v38.8.1...v38.9.0) (2023-07-04) ### Features * Add `note/reminder` qualification ([065671d](https://github.com/cozy/cozy-client/commit/065671dc831be9bf95c1099ef7ef8655cb1348a1)) ## [38.8.1](https://github.com/cozy/cozy-client/compare/v38.8.0...v38.8.1) (2023-07-04) **Note:** Version bump only for package cozy-client # [38.8.0](https://github.com/cozy/cozy-client/compare/v38.7.1...v38.8.0) (2023-06-23) ### Features * Add hasPassword helper ([1705b9b](https://github.com/cozy/cozy-client/commit/1705b9b745bb480f2ed9d81cdd5b176532a4aab1)) ## [38.7.1](https://github.com/cozy/cozy-client/compare/v38.7.0...v38.7.1) (2023-06-22) ### Bug Fixes * Do not call refreshToken several times in parallel ([22cbe8d](https://github.com/cozy/cozy-client/commit/22cbe8dd77cd2c3661735689fb08ef0375e964ba)) * Handle fetch errors with no Response Body ([890db21](https://github.com/cozy/cozy-client/commit/890db211d2b976cea82934b90e58ec154ef1e13b)) # [38.7.0](https://github.com/cozy/cozy-client/compare/v38.6.0...v38.7.0) (2023-06-20) ### Features * Add metadata attributes to createDirectory ([f06425a](https://github.com/cozy/cozy-client/commit/f06425a9e05cbba80c4dd9f703dffba19583e5bb)) # [38.6.0](https://github.com/cozy/cozy-client/compare/v38.5.1...v38.6.0) (2023-06-16) ### Features * Add instance name in certification failure ([ef3fa99](https://github.com/cozy/cozy-client/commit/ef3fa996e7fd6351706dc135a728265f34257bd5)) ## [38.5.1](https://github.com/cozy/cozy-client/compare/v38.5.0...v38.5.1) (2023-06-15) ### Bug Fixes * **getBoundT:** Propagate polyglot options ([6635154](https://github.com/cozy/cozy-client/commit/66351543c170894e8b8b4cc19383079c81885195)) # [38.5.0](https://github.com/cozy/cozy-client/compare/v38.4.0...v38.5.0) (2023-06-14) ### Features * Add types to konnectors document ([4cbbb4b](https://github.com/cozy/cozy-client/commit/4cbbb4b8ff99751dabf8c7884d919f838f288576)) # [38.4.0](https://github.com/cozy/cozy-client/compare/v38.3.0...v38.4.0) (2023-05-17) ### Features * **Qualification:** Change driver license locale value ([0246c72](https://github.com/cozy/cozy-client/commit/0246c727791228124098134bace98f93d18ab496)) # [38.3.0](https://github.com/cozy/cozy-client/compare/v38.2.1...v38.3.0) (2023-05-16) ### Features * **cozy-client:** Add `others` theme and `other_admin_doc` qualif ([47c5618](https://github.com/cozy/cozy-client/commit/47c561862867c041628ac270f940586c6953c14e)) ## [38.2.1](https://github.com/cozy/cozy-client/compare/v38.2.0...v38.2.1) (2023-04-26) **Note:** Version bump only for package cozy-client # [38.2.0](https://github.com/cozy/cozy-client/compare/v38.1.0...v38.2.0) (2023-04-20) ### Features * Add `can_auth_with_magic_links` to `ClientCapabilities` type ([28fe220](https://github.com/cozy/cozy-client/commit/28fe220789948bb0d74948d8a6672ed5a30b17d8)), closes [cozy/cozy-stack#3872](https://github.com/cozy/cozy-stack/issues/3872) # [38.1.0](https://github.com/cozy/cozy-client/compare/v38.0.2...v38.1.0) (2023-04-19) ### Features * Remove unnecessary parentheses ([8566460](https://github.com/cozy/cozy-client/commit/85664605c9c8057d7fce1b9a189b3f13bb47b4d8)) ## [38.0.2](https://github.com/cozy/cozy-client/compare/v38.0.1...v38.0.2) (2023-04-19) ### Bug Fixes * Revert the import change for cozy-stack-client ([9ee0a9e](https://github.com/cozy/cozy-client/commit/9ee0a9e6704c810c5775fbfb740ff2594d9fe965)) ## [38.0.1](https://github.com/cozy/cozy-client/compare/v38.0.0...v38.0.1) (2023-04-19) ### Bug Fixes * Use io.cozy.settings.capabilities full id in getById ([abb71d0](https://github.com/cozy/cozy-client/commit/abb71d0647f467732df52894c9b029e5c8b15dbb)) # [38.0.0](https://github.com/cozy/cozy-client/compare/v37.2.1...v38.0.0) (2023-04-13) ### Features * Add pluralization to the qualification labels ([6c27cc3](https://github.com/cozy/cozy-client/commit/6c27cc350570d61b9000782eff3befaa898b029a)) ### BREAKING CHANGES * getBoundT: With the arrival of pluralization, the return of this function has been updated The second parameter, to indicate the country, is no longer of String type. Before, we use this implementation: ``` const t = getBoundT(lang) t("translation.key", "fr" ) ``` Now please follow the following example: ``` const t = getBoundT(lang) t("translation.key", { country: "fr" }) ``` For pluralization, just add the `smart_count` option ``` t("translation.key", { country: "fr", smart_count: 2 }) ``` The `Items.invoices` translation key has been removed, its value has been added to the `Items.invoice` key in its plural version. Please use this new implementation: ``` t("Items.invoice", { smart_count: 2 }) ``` The following translation keys are no longer plural by default. `Items.other_revenue`, `Items.unemployment_benefit`, `Items.personal_sporting_licence`, `Items.tax_timetable`. Please use this new implementation: ``` t("translation.key", { smart_count: 2 }) ``` ## [37.2.1](https://github.com/cozy/cozy-client/compare/v37.2.0...v37.2.1) (2023-04-12) ### Bug Fixes * Return correct bitwarden id in SettingsCollection.getById ([d562101](https://github.com/cozy/cozy-client/commit/d562101702fc22cbcd62ae5beca9331dde1c1aec)) # [37.2.0](https://github.com/cozy/cozy-client/compare/v37.1.1...v37.2.0) (2023-04-03) ### Features * Query io.cozy.settings.bitwarden in SettingsCollection ([3447594](https://github.com/cozy/cozy-client/commit/3447594a2641e9216b0fc9bacf2f6b01d2b8b63d)) ## [37.1.1](https://github.com/cozy/cozy-client/compare/v37.1.0...v37.1.1) (2023-03-31) ### Bug Fixes * Handle undefined `pathname` in `generateWebLink()` method ([c633f43](https://github.com/cozy/cozy-client/commit/c633f4397ddaa4db53543370744e5a99cfc6ab3e)) # [37.1.0](https://github.com/cozy/cozy-client/compare/v37.0.0...v37.1.0) (2023-03-30) ### Features * Expose setAppMetadata ([cb65772](https://github.com/cozy/cozy-client/commit/cb65772ef41e927a61cc67178a63277dff17a0e3)) # [37.0.0](https://github.com/cozy/cozy-client/compare/v36.2.0...v37.0.0) (2023-03-27) ### Bug Fixes * Remove doctypes locales type ([9a30f02](https://github.com/cozy/cozy-client/commit/9a30f0286c6ae1b8655e767355c6995e87fbdd45)), closes [/github.com/cozy/cozy-settings/blob/71a21962f4fb48f84561db845bd5f4f5c3e858e8/src/lib/withAllLocales.js#L4](https://github.com//github.com/cozy/cozy-settings/blob/71a21962f4fb48f84561db845bd5f4f5c3e858e8/src/lib/withAllLocales.js/issues/L4) ### BREAKING CHANGES * Before, you could import with `import { en, fr } from 'cozy-client/dist/models/doctypes/locales'` Now you have to import each locale doctypes with `import en from 'cozy-client/dist/models/doctypes/locales/en.json'` # [36.2.0](https://github.com/cozy/cozy-client/compare/v36.1.0...v36.2.0) (2023-03-21) ### Bug Fixes * Use id instead of path in SettingsCollection.get() ([3a35f4f](https://github.com/cozy/cozy-client/commit/3a35f4fd34a74b1133bb9fc36a1f915c69e4122f)) ### Features * Add update method to SettingsCollection ([68d5dd0](https://github.com/cozy/cozy-client/commit/68d5dd0220c32edc8647fb49fd538962e65dff28)) # [36.1.0](https://github.com/cozy/cozy-client/compare/v36.0.0...v36.1.0) (2023-03-16) ### Features * Add isContact method on contacts models ([0281ad3](https://github.com/cozy/cozy-client/commit/0281ad39f7ad612aa0d53afdb26569fcdcbf58ad)) # [36.0.0](https://github.com/cozy/cozy-client/compare/v35.7.0...v36.0.0) (2023-03-16) ### Bug Fixes * Harmonize deconstructRedirectLink return path to pathname ([8f1cdf3](https://github.com/cozy/cozy-client/commit/8f1cdf3ea6973bb2a90c6ed12300aa4503dd9a72)) * Throw when redirect link not correct in deconstructRedirectLink ([e5bd367](https://github.com/cozy/cozy-client/commit/e5bd367ce3be7eedd61d42545ca489e3de8de74a)) ### BREAKING CHANGES * deconstructRedirectLink return an object with an attribute called "pathname" instead of "path". # [35.7.0](https://github.com/cozy/cozy-client/compare/v35.6.0...v35.7.0) (2023-03-15) ### Features * Changing a label's theme ([7131f86](https://github.com/cozy/cozy-client/commit/7131f86b5ba7bdcbedfb309b1c5c8c3ad6c46e0c)) # [35.6.0](https://github.com/cozy/cozy-client/compare/v35.5.0...v35.6.0) (2023-03-08) ### Features * JobCollection extends DocumentCollection ([2e770e3](https://github.com/cozy/cozy-client/commit/2e770e35c0037def9a48b3170c5419e3f5ebe686)) # [35.5.0](https://github.com/cozy/cozy-client/compare/v35.4.1...v35.5.0) (2023-03-08) ### Features * Add account.isAccountWithTrigger ([eacbb79](https://github.com/cozy/cozy-client/commit/eacbb797b51ce27a2bd3f18054ed9b3fb0759d2e)) ## [35.4.1](https://github.com/cozy/cozy-client/compare/v35.4.0...v35.4.1) (2023-03-06) ### Bug Fixes * Correctly type nullable return for `useClient()` ([b946c52](https://github.com/cozy/cozy-client/commit/b946c5208c9696eaac7731e0033b5818abd2bddf)) # [35.4.0](https://github.com/cozy/cozy-client/compare/v35.3.1...v35.4.0) (2023-03-02) ### Features * Add deconstruct redirect link helper ([3362196](https://github.com/cozy/cozy-client/commit/336219668c2bd3920be2f0ea27f9f6c8fe437e30)) * Add ts types for new helpers files ([9428736](https://github.com/cozy/cozy-client/commit/942873643c2f77f6863eef9174ccd4d4a6e9150b)) * Export deconstructRedirectLink ([28421ee](https://github.com/cozy/cozy-client/commit/28421eecccf4baf6677b4b692c5bf46300da4dc0)) * Remove deprecated helpers types ([2720603](https://github.com/cozy/cozy-client/commit/272060324dc07ee079154b52fc0fc0c0efa0b93d)) ## [35.3.1](https://github.com/cozy/cozy-client/compare/v35.3.0...v35.3.1) (2023-02-22) ### Bug Fixes * Normalize doc for fetchChanges ([5f662eb](https://github.com/cozy/cozy-client/commit/5f662eb3adfe0eb36ee38f20fe7a23585ad6642d)), closes [/github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/StackLink.js#L122](https://github.com//github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/StackLink.js/issues/L122) [/github.com/cozy/cozy-banks/blob/master/src/targets/services/helpers/helpers.js#L19-L45](https://github.com//github.com/cozy/cozy-banks/blob/master/src/targets/services/helpers/helpers.js/issues/L19-L45) # [35.3.0](https://github.com/cozy/cozy-client/compare/v35.2.2...v35.3.0) (2023-02-21) ### Bug Fixes * Do not rely on potentially missing datetime ([e49a1e9](https://github.com/cozy/cozy-client/commit/e49a1e97af1f356a67d52667730ae25d5aa348ad)) ### Features * Add datetime type for files metadata ([0a17373](https://github.com/cozy/cozy-client/commit/0a17373760a21c0ddec4bd0603db766da05df7fc)) ## [35.2.2](https://github.com/cozy/cozy-client/compare/v35.2.1...v35.2.2) (2023-02-20) ### Bug Fixes * **deps:** update dependency cozy-device-helper to v2.7.0 ([fef2ed8](https://github.com/cozy/cozy-client/commit/fef2ed884046b6f801b3054f4353f78ee93165cc)) * **deps:** update dependency react-redux to v7.2.9 ([3dc67e2](https://github.com/cozy/cozy-client/commit/3dc67e28ad8f974f61da952829efc0d134591448)) ## [35.2.1](https://github.com/cozy/cozy-client/compare/v35.2.0...v35.2.1) (2023-02-14) ### Bug Fixes * Update registry types to return Promise ([68a2678](https://github.com/cozy/cozy-client/commit/68a2678786cae7de674765bbd1c8bec6437af39b)) # [35.2.0](https://github.com/cozy/cozy-client/compare/v35.1.0...v35.2.0) (2023-02-13) ### Features * Add contract type locales ([80ff505](https://github.com/cozy/cozy-client/commit/80ff5057ab495c4d21ecc37e695e1dea139a3b51)) # [35.1.0](https://github.com/cozy/cozy-client/compare/v35.0.0...v35.1.0) (2023-02-10) ### Features * Import accounts and triggers features from harvest ([aef7a4f](https://github.com/cozy/cozy-client/commit/aef7a4f1a9b92cb1f2fc28375a458dce15fdb366)) # [35.0.0](https://github.com/cozy/cozy-client/compare/v34.11.1...v35.0.0) (2023-02-10) ### Features * Move manifest file to cozy-client models ([edf9f2a](https://github.com/cozy/cozy-client/commit/edf9f2ac86d93b61cc24cb10939c20403d964a0a)) * Sanitize fields in manifest lib ([6554b76](https://github.com/cozy/cozy-client/commit/6554b76c00758248f6d867c172ab8a8e1a694f98)) * Small fixes after review ([4cf775c](https://github.com/cozy/cozy-client/commit/4cf775c8919c0364cfd136ee6efd798eba4a4bea)) ### BREAKING CHANGES * If you were importing manifest from 'cozy-client/dist/manifest` you have to either import it from the root or from the models. ## [34.11.1](https://github.com/cozy/cozy-client/compare/v34.11.0...v34.11.1) (2023-02-09) ### Bug Fixes * Remove existing trailing space ([1e8112e](https://github.com/cozy/cozy-client/commit/1e8112e06db653d9c635f80a5ebdf64f5fff87ac)) # [34.11.0](https://github.com/cozy/cozy-client/compare/v34.10.1...v34.11.0) (2023-01-31) ### Features * Add sourceAccount & sourceAccountIdentifier to createFile ([1f8e450](https://github.com/cozy/cozy-client/commit/1f8e4507632dd43309366b1df5ecbefa5a4a8406)) ## [34.10.1](https://github.com/cozy/cozy-client/compare/v34.10.0...v34.10.1) (2023-01-24) ### Bug Fixes * Throw error if enabled is not a boolean ([e56c933](https://github.com/cozy/cozy-client/commit/e56c93394cf22b8d0b03d49e2adc5464a876864a)) # [34.10.0](https://github.com/cozy/cozy-client/compare/v34.9.0...v34.10.0) (2023-01-23) ### Features * Add types to client capabilities ([2962b6d](https://github.com/cozy/cozy-client/commit/2962b6d6f89fd6cd156d37c966ccb5eff91dc1e2)) # [34.9.0](https://github.com/cozy/cozy-client/compare/v34.8.0...v34.9.0) (2023-01-23) ### Features * Add some qualifications ([cbbe235](https://github.com/cozy/cozy-client/commit/cbbe235caa1542053d03aca1df6d9cf7f3a0db9a)) # [34.8.0](https://github.com/cozy/cozy-client/compare/v34.7.3...v34.8.0) (2023-01-17) ### Features * Expose ensureFirstSlash method to replace the one in cozy-ui ([6d0de6b](https://github.com/cozy/cozy-client/commit/6d0de6b5477f8b752c20f1b12a7bfe7477703290)) ## [34.7.3](https://github.com/cozy/cozy-client/compare/v34.7.2...v34.7.3) (2023-01-16) ### Bug Fixes * Do not modify selector with lodash merge ([552c73a](https://github.com/cozy/cozy-client/commit/552c73ad79b684b9ec58b3440f76d4eb1d8fbd16)) ## [34.7.2](https://github.com/cozy/cozy-client/compare/v34.7.1...v34.7.2) (2023-01-11) ### Bug Fixes * Translation key `work_disability_recognition` ([5159e10](https://github.com/cozy/cozy-client/commit/5159e10ebe34308afa2bd0a93e401a249709129d)) ## [34.7.1](https://github.com/cozy/cozy-client/compare/v34.7.0...v34.7.1) (2023-01-06) ### Bug Fixes * **ContactsCollection:** Check selector to prevent undefined ([a18ea13](https://github.com/cozy/cozy-client/commit/a18ea13f7823a195570ed18cfd4a3d32c9e60ec5)) # [34.7.0](https://github.com/cozy/cozy-client/compare/v34.6.4...v34.7.0) (2023-01-05) ### Features * Add new method to fetch konnector token in native context ([aad6757](https://github.com/cozy/cozy-client/commit/aad6757cb7a3c874c1ac6380043a84445a8a05c5)) ## [34.6.4](https://github.com/cozy/cozy-client/compare/v34.6.3...v34.6.4) (2023-01-04) ### Bug Fixes * Async login ([f642ec9](https://github.com/cozy/cozy-client/commit/f642ec9b34fbda38224bf1eaf33b939596ce396d)) ## [34.6.3](https://github.com/cozy/cozy-client/compare/v34.6.2...v34.6.3) (2023-01-04) ### Bug Fixes * **deps:** update dependency cozy-device-helper to v2.6.0 ([dac2ecf](https://github.com/cozy/cozy-client/commit/dac2ecf0218eee09e0a67c5e61f62bc6d5f59337)) * **deps:** update dependency enzyme-adapter-react-16 to v1.15.7 ([8f5f8bd](https://github.com/cozy/cozy-client/commit/8f5f8bdb5397e8268de27e4ec637d837a6f38a30)) ## [34.6.2](https://github.com/cozy/cozy-client/compare/v34.6.1...v34.6.2) (2023-01-04) ### Bug Fixes * Do not call the queryDefinition if enabled is false ([c5b6022](https://github.com/cozy/cozy-client/commit/c5b602256f3e4cd747734fa213500191eeb2e3c9)) ## [34.6.1](https://github.com/cozy/cozy-client/compare/v34.6.0...v34.6.1) (2023-01-04) ### Bug Fixes * Add deprecated PermCollection.findApps ([6e82d87](https://github.com/cozy/cozy-client/commit/6e82d87bd713d6b94d046df98d5c5c0b13cb856b)) # [34.6.0](https://github.com/cozy/cozy-client/compare/v34.5.0...v34.6.0) (2022-12-23) ### Features * Add helper link for passport file ([c99a808](https://github.com/cozy/cozy-client/commit/c99a8083aec95afbf8f093eefdf1a9e2ab070d88)) * Update computeExpirationNoticeLink function ([b081108](https://github.com/cozy/cozy-client/commit/b08110879c0ce2df929a9744ccee1a545032ddde)) # [34.5.0](https://github.com/cozy/cozy-client/compare/v34.4.0...v34.5.0) (2022-12-07) ### Features * Replace isExpiringResidencePermit function to another more generic ([8fb64a6](https://github.com/cozy/cozy-client/commit/8fb64a698135f50eb0c62a334c0295e57bd671e1)) # [34.4.0](https://github.com/cozy/cozy-client/compare/v34.3.0...v34.4.0) (2022-12-06) ### Features * Add expiration helpers ([aa7f501](https://github.com/cozy/cozy-client/commit/aa7f50143e9f1871105b5be05b5e8e9b1aa752c2)) * Add generated types and documentation for new exported helpers ([e9fc08b](https://github.com/cozy/cozy-client/commit/e9fc08beab0784afb3ac467aa2413e5ffa7e409a)) * Update `date-fns` to 2.29.3 and put it as a dependency ([c4e392c](https://github.com/cozy/cozy-client/commit/c4e392cb161555110f7cdf72ff4900ea33f3f768)) # [34.3.0](https://github.com/cozy/cozy-client/compare/v34.2.0...v34.3.0) (2022-12-06) ### Features * **index.node.js:** Export fetchPolicies ([e4615ea](https://github.com/cozy/cozy-client/commit/e4615ea0998c7d3345dae5e4e95d1eae01f0ce62)) # [34.2.0](https://github.com/cozy/cozy-client/compare/v34.1.5...v34.2.0) (2022-11-30) ### Features * **documentTypeData:** Add other_invoice qualif in homeLabels theme ([1a69b0d](https://github.com/cozy/cozy-client/commit/1a69b0d4727f58869d564ed9fc70d05d13c1d5b6)) ## [34.1.5](https://github.com/cozy/cozy-client/compare/v34.1.4...v34.1.5) (2022-11-28) ### Bug Fixes * Encode filename ([dda0284](https://github.com/cozy/cozy-client/commit/dda028423bbbcf9b3cd3f6ae50f6da9bd29da41d)) ## [34.1.4](https://github.com/cozy/cozy-client/compare/v34.1.3...v34.1.4) (2022-11-15) ### Bug Fixes * Be more defensive on id and type ([48ad8bb](https://github.com/cozy/cozy-client/commit/48ad8bb6914552ba3edf572057757c6237d389ed)) * Delete File ([47e4e07](https://github.com/cozy/cozy-client/commit/47e4e078db7dcb317fe78a93fc6c757012cf6011)) ## [34.1.3](https://github.com/cozy/cozy-client/compare/v34.1.2...v34.1.3) (2022-11-14) ### Bug Fixes * Query definition evaluation when only partialFilter ([61803b7](https://github.com/cozy/cozy-client/commit/61803b7d784c6de230f9f76ba3f046bf124964e6)) ## [34.1.2](https://github.com/cozy/cozy-client/compare/v34.1.1...v34.1.2) (2022-11-10) ### Bug Fixes * **deps:** update dependency cozy-flags to v2.10.2 ([a158b48](https://github.com/cozy/cozy-client/commit/a158b48b7dd9e3fb146f9e3fb54730c4544335e8)) ## [34.1.1](https://github.com/cozy/cozy-client/compare/v34.1.0...v34.1.1) (2022-11-10) ### Bug Fixes * **deps:** update dependency commitlint-config-cozy to v0.7.9 ([04e6c43](https://github.com/cozy/cozy-client/commit/04e6c431c8fa83780e86b9a05a648212ac52ae79)) * **deps:** update dependency cozy-device-helper to v2.5.0 ([1b0fa1e](https://github.com/cozy/cozy-client/commit/1b0fa1e0c10de9bb19f23a0ea17c142d4ff364d1)) # [34.1.0](https://github.com/cozy/cozy-client/compare/v34.0.1...v34.1.0) (2022-11-09) ### Features * Method fetchPermissionsByLink normalizes permissions ([c454fc7](https://github.com/cozy/cozy-client/commit/c454fc7c1a4d2476da1e10d32d6058248762ed2a)) ## [34.0.1](https://github.com/cozy/cozy-client/compare/v34.0.0...v34.0.1) (2022-11-04) ### Bug Fixes * Properly display objects in warning logs ([d0e0cc3](https://github.com/cozy/cozy-client/commit/d0e0cc33ed2b595ac6b9ae86bc8dfd3af616516d)) # [34.0.0](https://github.com/cozy/cozy-client/compare/v33.4.0...v34.0.0) (2022-11-04) ### Bug Fixes * Remove isReferencedByAlbum ([890cc7b](https://github.com/cozy/cozy-client/commit/890cc7b9bad7cc1692f970f1fc439bacf38a0d3d)) ### BREAKING CHANGES * Since the introduction of the photos' clustering, each photo is at least referenced by an automatic album. Therefore, this method which was used to know if a file was referenced by an album, will always return true, does not make sense anymore because it is not what we want to test. Instead, we now want to see if a file is not referenced by an album that has not been created automatically. This implementation has been done in Drive directly in eb76c831b3deabd0857b9472451830831df5fb3a # [33.4.0](https://github.com/cozy/cozy-client/compare/v33.3.0...v33.4.0) (2022-10-27) ### Features * Add copy in FileCollection ([f45b861](https://github.com/cozy/cozy-client/commit/f45b861333b1c6c635345d7ce088c3a380dfa38e)) # [33.3.0](https://github.com/cozy/cozy-client/compare/v33.2.1...v33.3.0) (2022-10-26) ### Features * Add all doctypes translations from cozy-store ([2edcfe2](https://github.com/cozy/cozy-client/commit/2edcfe2753956b428906f0e1ce1d520ae1a8649e)) ## [33.2.1](https://github.com/cozy/cozy-client/compare/v33.2.0...v33.2.1) (2022-10-20) ### Bug Fixes * CozyClient typing issue ([06abe53](https://github.com/cozy/cozy-client/commit/06abe53cd95e8c4e6e3afc3c7692761599c55d7c)) * Pass option to getQueryFromstate for query too ([3768d54](https://github.com/cozy/cozy-client/commit/3768d54741d792cc2cab8aec2d7bdbd97a56c195)) * Pass options to getQueryFromState ([a840bf4](https://github.com/cozy/cozy-client/commit/a840bf46e2d6b5f28572e3f1d9f9558765d8e085)) # [33.2.0](https://github.com/cozy/cozy-client/compare/v33.1.2...v33.2.0) (2022-09-27) ### Features * Allow to provide `credential` value in `fetchJSON()` options ([a3cd585](https://github.com/cozy/cozy-client/commit/a3cd58544709d95aa7bf64bee1a201afaa8a5d31)) * Do not use NODE_ENV=development to detect authentication ([57114cf](https://github.com/cozy/cozy-client/commit/57114cfc9e07a2667d453549c9c59739c42f8efc)) * **scripts:** Add examples of scripts adding and deleting files ([b525047](https://github.com/cozy/cozy-client/commit/b5250478529f33b2b39c25fb64881071732b4ea9)) ## [33.1.2](https://github.com/cozy/cozy-client/compare/v33.1.1...v33.1.2) (2022-09-22) ### Bug Fixes * Get apps method was returning wrong type for not-registry source ([32eaf43](https://github.com/cozy/cozy-client/commit/32eaf43ee4172cf4f93d843aa200b6f4303b1e7b)) ## [33.1.1](https://github.com/cozy/cozy-client/compare/v33.1.0...v33.1.1) (2022-09-22) ### Bug Fixes * Rename and fix types for findAll ([b7cd8d9](https://github.com/cozy/cozy-client/commit/b7cd8d931bed78d83aeda31d03db1cb4077db84e)) * Use partial filter in the find when index creation fails ([8830a3f](https://github.com/cozy/cozy-client/commit/8830a3fa3a2c5e17c320e4f6726b5ed0f947867c)) # [33.1.0](https://github.com/cozy/cozy-client/compare/v33.0.8...v33.1.0) (2022-09-22) ### Features * **qualification:** Add more logic to getBoundT function ([1154d33](https://github.com/cozy/cozy-client/commit/1154d33f0eb5c001c4348a8569356bb0560f0715)) ## [33.0.8](https://github.com/cozy/cozy-client/compare/v33.0.7...v33.0.8) (2022-09-20) ### Bug Fixes * Spread attributes also with get request ([8fe9a58](https://github.com/cozy/cozy-client/commit/8fe9a588431ce83e72f0253548dc56b023c3bf3a)) ## [33.0.7](https://github.com/cozy/cozy-client/compare/v33.0.6...v33.0.7) (2022-09-19) ### Bug Fixes * QueryAll return empty array if error ([20a8a80](https://github.com/cozy/cozy-client/commit/20a8a807a0b9d9137bfad1ac1c7715ab8a3a057c)) ## [33.0.6](https://github.com/cozy/cozy-client/compare/v33.0.5...v33.0.6) (2022-09-07) ### Bug Fixes * Don't throw error when removing inconsistent indexes ([beeb270](https://github.com/cozy/cozy-client/commit/beeb2709fee5da4b6a9985fb041d779d01c32483)) ## [33.0.5](https://github.com/cozy/cozy-client/compare/v33.0.4...v33.0.5) (2022-09-06) ### Bug Fixes * MatchingIndex with partialFilter ([8687e6b](https://github.com/cozy/cozy-client/commit/8687e6b6bbc21d6ae2c46a54cbb4d1ac3404bd18)) ## [33.0.4](https://github.com/cozy/cozy-client/compare/v33.0.3...v33.0.4) (2022-09-01) ### Bug Fixes * Fix store issue with creation mutation ([2626d81](https://github.com/cozy/cozy-client/commit/2626d819e9d49c8df601b53db3a5716d3403614c)) ## [33.0.3](https://github.com/cozy/cozy-client/compare/v33.0.2...v33.0.3) (2022-09-01) ### Bug Fixes * **cozy-client:** IsNote should validate note with less params ([681a5ae](https://github.com/cozy/cozy-client/commit/681a5aef82ad3b10b5b9c3ab9ba5781117f4e5f7)) ## [33.0.2](https://github.com/cozy/cozy-client/compare/v33.0.1...v33.0.2) (2022-08-31) **Note:** Version bump only for package cozy-client ## [33.0.1](https://github.com/cozy/cozy-client/compare/v33.0.0...v33.0.1) (2022-08-30) **Note:** Version bump only for package cozy-client # [33.0.0](https://github.com/cozy/cozy-client/compare/v32.8.1...v33.0.0) (2022-08-23) ### Bug Fixes * Do not call `loadInstanceOptionsFromDOM` for OAuth clients ([cc2f931](https://github.com/cozy/cozy-client/commit/cc2f93130303f5fe0c4f8d7da00f281314a547fb)) ### Features * Fetch capabilities on OAuth login ([46955d0](https://github.com/cozy/cozy-client/commit/46955d0116a61efb2281f69d0735b4572cb1d2f9)) * Use `client.capabilities` in `useCapabilities` if available ([d6864c8](https://github.com/cozy/cozy-client/commit/d6864c80ebbbc4c71ee1e6f5475eb74af58ad24b)) ### BREAKING CHANGES * `useCapabilities` now returns the `capability` object instead of the `.query()` result. So there is no need anymore to drill into `.data?.attributes?.` members Old usage: ``` const { capabilities } = useCapabilities(client) const isFlatDomain = capabilities?.data?.attributes?.flat_subdomains ``` New usage: ``` const { capabilities } = useCapabilities(client) const isFlatDomain = capabilities?.flat_subdomains ``` ## [32.8.1](https://github.com/cozy/cozy-client/compare/v32.8.0...v32.8.1) (2022-08-22) ### Bug Fixes * Throw error instead of not existing code ([b07276f](https://github.com/cozy/cozy-client/commit/b07276fda9d7ca73960a0b5b86e53185e4ebf7bf)) # [32.8.0](https://github.com/cozy/cozy-client/compare/v32.7.4...v32.8.0) (2022-08-18) ### Features * Add energy contract qualification ([2a85113](https://github.com/cozy/cozy-client/commit/2a85113be251f1423f7521a3dd898164df67409a)) ## [32.7.4](https://github.com/cozy/cozy-client/compare/v32.7.3...v32.7.4) (2022-08-17) ### Bug Fixes * Export `deconstructCozyWebLinkWithSlug` from `index.node.js` ([e3f43e8](https://github.com/cozy/cozy-client/commit/e3f43e823e67b159dc8272a3bf60e078fe91a0c8)), closes [#1217](https://github.com/cozy/cozy-client/issues/1217) ## [32.7.3](https://github.com/cozy/cozy-client/compare/v32.7.2...v32.7.3) (2022-08-17) **Note:** Version bump only for package cozy-client ## [32.7.2](https://github.com/cozy/cozy-client/compare/v32.7.1...v32.7.2) (2022-08-17) ### Bug Fixes * Use find method where args are for find ([dadbbd4](https://github.com/cozy/cozy-client/commit/dadbbd407e45babd9dfa4c2ef04feeb990753e0a)) ## [32.7.1](https://github.com/cozy/cozy-client/compare/v32.7.0...v32.7.1) (2022-08-16) **Note:** Version bump only for package cozy-client # [32.7.0](https://github.com/cozy/cozy-client/compare/v32.6.0...v32.7.0) (2022-08-10) ### Features * **stack-client:** Add findAll ([e69433e](https://github.com/cozy/cozy-client/commit/e69433ed15efabc573be7f355229c1e946240ca4)) # [32.6.0](https://github.com/cozy/cozy-client/compare/v32.5.0...v32.6.0) (2022-08-10) ### Features * Add warning when selector fields are not indexed ([bdb630a](https://github.com/cozy/cozy-client/commit/bdb630a354603fb66c459d360a0a36206773a8e6)) # [32.5.0](https://github.com/cozy/cozy-client/compare/v32.4.1...v32.5.0) (2022-08-09) ### Features * Add `deconstructCozyWebLinkWithSlug` to extract data from Cozy url ([9fa2b4b](https://github.com/cozy/cozy-client/commit/9fa2b4bca719c4f6bb8453ccd1f4fd927c703f5a)) ## [32.4.1](https://github.com/cozy/cozy-client/compare/v32.4.0...v32.4.1) (2022-08-08) ### Bug Fixes * **deps:** update dependency cozy-device-helper to v2.2.2 ([ca2da28](https://github.com/cozy/cozy-client/commit/ca2da28ff01fff08f4e546bab4ff68d38496e497)) # [32.4.0](https://github.com/cozy/cozy-client/compare/v32.3.3...v32.4.0) (2022-08-08) ### Bug Fixes * **deps:** update dependency babel-preset-cozy-app to v1.12.0 ([56680c3](https://github.com/cozy/cozy-client/commit/56680c3ddfe2665f8d415e079e6c5f2cb6fd2c06)) * **fetchPolicies:** Background fetching should respect the fetch policy ([cfeec8b](https://github.com/cozy/cozy-client/commit/cfeec8b59893d6083aa9b814f895be774a7f8693)) ### Features * **background-fetching:** Introduce isFetching in QueryState to handle refetch ([8c565eb](https://github.com/cozy/cozy-client/commit/8c565eba797319e544a3b1c24b5f874c97dae221)) ## [32.3.3](https://github.com/cozy/cozy-client/compare/v32.3.2...v32.3.3) (2022-08-05) ### Bug Fixes * Fix lint issue ([c4c64c5](https://github.com/cozy/cozy-client/commit/c4c64c5aed00bf18d1cb7e048ae6a9a98f65031a)) ## [32.3.2](https://github.com/cozy/cozy-client/compare/v32.3.1...v32.3.2) (2022-08-04) **Note:** Version bump only for package cozy-client ## [32.3.1](https://github.com/cozy/cozy-client/compare/v32.3.0...v32.3.1) (2022-07-28) ### Bug Fixes * Export permissions' translations ([e1578ec](https://github.com/cozy/cozy-client/commit/e1578ece34ea6ce59de3d81bae4c637e9979b403)) # [32.3.0](https://github.com/cozy/cozy-client/compare/v32.2.8...v32.3.0) (2022-07-27) ### Features * Add permissions's translation ([68ba8b7](https://github.com/cozy/cozy-client/commit/68ba8b793791d6a435fb68869f362afa5141cd07)) ## [32.2.8](https://github.com/cozy/cozy-client/compare/v32.2.7...v32.2.8) (2022-07-25) **Note:** Version bump only for package cozy-client ## [32.2.7](https://github.com/cozy/cozy-client/compare/v32.2.6...v32.2.7) (2022-07-21) ### Bug Fixes * Lodash.merge is not creating a new object ([3bb94d0](https://github.com/cozy/cozy-client/commit/3bb94d0ba9aa3d919cf79ad839022981f2b6d7ea)) ## [32.2.6](https://github.com/cozy/cozy-client/compare/v32.2.5...v32.2.6) (2022-07-20) **Note:** Version bump only for package cozy-client ## [32.2.5](https://github.com/cozy/cozy-client/compare/v32.2.4...v32.2.5) (2022-07-20) ### Bug Fixes * Mark the query as loaded when the document does not exist ([8dcd1e9](https://github.com/cozy/cozy-client/commit/8dcd1e9d18cc06e5b3c4d31f89d6b5a08c68c44e)), closes [/github.com/cozy/cozy-client/blob/8ec78eb5a028f8df4908e283d0d48572d475ab3f/packages/cozy-stack-client/src/Collection.js#L103](https://github.com//github.com/cozy/cozy-client/blob/8ec78eb5a028f8df4908e283d0d48572d475ab3f/packages/cozy-stack-client/src/Collection.js/issues/L103) [/github.com/cozy/cozy-client/blob/8ec78eb5a028f8df4908e283d0d48572d475ab3f/packages/cozy-client/src/store/queries.js#L167-L169](https://github.com//github.com/cozy/cozy-client/blob/8ec78eb5a028f8df4908e283d0d48572d475ab3f/packages/cozy-client/src/store/queries.js/issues/L167-L169) [/github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/CozyClient.js#L922-L925](https://github.com//github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/CozyClient.js/issues/L922-L925) * Types ([5b5ab85](https://github.com/cozy/cozy-client/commit/5b5ab8556b2752881f08ae203e574264a01d9bd1)) ## [32.2.4](https://github.com/cozy/cozy-client/compare/v32.2.3...v32.2.4) (2022-07-19) ### Bug Fixes * Call `onTokenRefresh()` after `setToken()` when refreshing token ([e0c4581](https://github.com/cozy/cozy-client/commit/e0c4581f8837412b3d81dad58ebc7e3e6fdce673)) * **deps:** update dependency commitlint-config-cozy to v0.7.7 ([403adae](https://github.com/cozy/cozy-client/commit/403adae96f92f6c1e72d90a1f90d9892d48622eb)) ## [32.2.3](https://github.com/cozy/cozy-client/compare/v32.2.2...v32.2.3) (2022-07-18) ### Bug Fixes * Check the correct path to get the warning ([60a6959](https://github.com/cozy/cozy-client/commit/60a69599b7709525ea2471f956a84d33c3981bbc)) ## [32.2.2](https://github.com/cozy/cozy-client/compare/v32.2.1...v32.2.2) (2022-07-08) ### Bug Fixes * Handle query limit for first and last paginated query ([d986f59](https://github.com/cozy/cozy-client/commit/d986f59781557a97ff2545b228153325d18307b9)) ## [32.2.1](https://github.com/cozy/cozy-client/compare/v32.2.0...v32.2.1) (2022-07-04) ### Bug Fixes * **deps:** update dependency babel-plugin-search-and-replace to v1.1.1 ([080371c](https://github.com/cozy/cozy-client/commit/080371ccbd5a34a28a396c5202e802e53bd5e520)) # [32.2.0](https://github.com/cozy/cozy-client/compare/v32.1.1...v32.2.0) (2022-06-28) ### Bug Fixes * Use correct index name with partial filter ([06d61a8](https://github.com/cozy/cozy-client/commit/06d61a83ddf310470207fb9d3e6849a770422596)) ### Features * Detect inconsistent index with partial filter ([2c30bcb](https://github.com/cozy/cozy-client/commit/2c30bcb12d39cc2dc6ca0d3cab597bf74fce4927)) * Handle CouchDB fallback for partial index ([7c69838](https://github.com/cozy/cozy-client/commit/7c69838d2962be8f59ada6806d65761dbfe47082)) ## [32.1.1](https://github.com/cozy/cozy-client/compare/v32.1.0...v32.1.1) (2022-06-27) ### Bug Fixes * Make a correct deep merge on objects. ([59a2708](https://github.com/cozy/cozy-client/commit/59a2708c6c8cf1321e0270c11489777a6f1a2581)), closes [#1175](https://github.com/cozy/cozy-client/issues/1175) # [32.1.0](https://github.com/cozy/cozy-client/compare/v32.0.0...v32.1.0) (2022-06-24) ### Features * Add the partial filter fields in the index name ([32c432d](https://github.com/cozy/cozy-client/commit/32c432dd1376b9faec51376294f27d116b1f6370)) # [32.0.0](https://github.com/cozy/cozy-client/compare/v31.0.1...v32.0.0) (2022-06-21) ### Bug Fixes * Enforce limit on documents coming from store ([0f2e8a3](https://github.com/cozy/cozy-client/commit/0f2e8a3f2f13157723fa6395929476d66b860dec)) ### BREAKING CHANGES * we used to return all data from the store positively evaluated by sift without enforcing any limit, even when a `.limitBy` was specified. To demonstrate the problematic, consider this example: ``` Q1 = Q('io.cozy.todos').select(['name']).limitBy(10) Q2 = Q('io.cozy.todos').limitBy(1000) ``` When Q2 is run, Q1 is updated and receives all data coming from Q2. Thus, Q1 returns 1000 docs, while expecting only 10 max. Another problem was related to the use of `.select`: Q1 only needs the `name` attribute, and displays todos accordingly to this expected format. But since it actually also receives the results from Q2, some todos will have more data than expected. Likewise, Q2 will expect all the attributes from Q2. But, if the todos retreived by Q1 and Q2 are not the same, Q2 will have todos without all the expecting fields, which could leads to issues. docs: Add jsdoc and fix typo ## [31.0.1](https://github.com/cozy/cozy-client/compare/v31.0.0...v31.0.1) (2022-06-20) ### Bug Fixes * Return data from remote-doctype ([f6cb0cc](https://github.com/cozy/cozy-client/commit/f6cb0ccff9bf0a5b2abf36ba8d3e3740d1159012)) # [31.0.0](https://github.com/cozy/cozy-client/compare/v30.0.0...v31.0.0) (2022-06-17) ### Bug Fixes * Adapt dacc remote-doctype contribution sending ([4aa5a18](https://github.com/cozy/cozy-client/commit/4aa5a185f7818fe5c9120beece06a97bb1a3d258)) ### Features * Add method to fetch DACC aggregates ([281701e](https://github.com/cozy/cozy-client/commit/281701eb2fd43fa97c22adccf6a61d0611a03a19)) ### BREAKING CHANGES * Adapt DACC measure request to cope with new remote-doctypes. The `sendMeasureToDACC` method should be uesd with the DACC v2 remote doctype, that parametrize the path, e.g. /measure or /aggregate. See https://github.com/cozy/cozy-doctypes/pull/202/files # [30.0.0](https://github.com/cozy/cozy-client/compare/v29.2.0...v30.0.0) (2022-06-09) ### Features * Throw an error when fields do not include all searched attributes ([ca72614](https://github.com/cozy/cozy-client/commit/ca726142e5194a3f03bf6f0d48fc62a3e4ee2df7)) ### BREAKING CHANGES * when a `.select` is used in a query definition, it MUST includes all the fields expressed in the selector and partial index. This is because we evaluate queries on the store thanks to sift, and it requires to have all the necessary fields to evaluate the query. If one is missing, the query will return nothing. See this example: ``` Q('io.cozy.todos).where({date: $gt: { null}}).select(['name']) ``` When this query will be run, only the todos name will be in the store. Then, when later evaluated in the store, sift won't find any todos with a date ; thus it will return nothing and consider all the existing todos should be removed from the store. # [29.2.0](https://github.com/cozy/cozy-client/compare/v29.1.3...v29.2.0) (2022-06-03) ### Features * **cozy-stack-client:** Add loginFlagship entry point ([ee66c16](https://github.com/cozy/cozy-client/commit/ee66c16c9ae71b6534e30e06e0d20550b2d34854)), closes [cozy/cozy-stack#3400](https://github.com/cozy/cozy-stack/issues/3400) ## [29.1.3](https://github.com/cozy/cozy-client/compare/v29.1.2...v29.1.3) (2022-06-02) ### Bug Fixes * Do not throw when value is 0 ([17d75ac](https://github.com/cozy/cozy-client/commit/17d75ac98bb277bb0df4f920380d7e4267e28601)) ## [29.1.2](https://github.com/cozy/cozy-client/compare/v29.1.1...v29.1.2) (2022-06-02) ### Bug Fixes * Export dacc model ([82781cd](https://github.com/cozy/cozy-client/commit/82781cd4be0413a9138e3dde35fc6434bcd2b3b2)) ## [29.1.1](https://github.com/cozy/cozy-client/compare/v29.1.0...v29.1.1) (2022-05-27) ### Bug Fixes * CozyClient can be used in a node env ([ab4556f](https://github.com/cozy/cozy-client/commit/ab4556fe28c4be092fdadb889b120bb0ae89a213)) # [29.1.0](https://github.com/cozy/cozy-client/compare/v29.0.1...v29.1.0) (2022-05-24) ### Bug Fixes * Include rev when normalizing files ([f420743](https://github.com/cozy/cozy-client/commit/f42074387a9713ee2e8a8fb46265f7d03475a11d)) ### Features * Support client.save for files ([ac72bff](https://github.com/cozy/cozy-client/commit/ac72bff11a3d8afa0a509e1baf893af78504ca75)) ## [29.0.1](https://github.com/cozy/cozy-client/compare/v29.0.0...v29.0.1) (2022-05-19) ### Bug Fixes * CozyClient can be used in a node env ([509a0ca](https://github.com/cozy/cozy-client/commit/509a0ca8daa630e300daecae23a14ebd83b745df)) # [29.0.0](https://github.com/cozy/cozy-client/compare/v28.3.0...v29.0.0) (2022-05-11) ### Bug Fixes * Cozy-Client runs on node ([9d546f8](https://github.com/cozy/cozy-client/commit/9d546f85f6392a6b9417d095964621b370d823f8)) ### BREAKING CHANGES * We need to upgrade cozy-device-helper in order to be able to run cozy-client within a node context. So let's upgrade it. You need to install cozy-device-helper >= 2.1.0 in your app. # [28.3.0](https://github.com/cozy/cozy-client/compare/v28.2.3...v28.3.0) (2022-05-10) ### Features * Add secure protocol to URI when window.cozy.isSecureProtocol=true ([3a9d557](https://github.com/cozy/cozy-client/commit/3a9d557bbf70f6c7a30acbdad225000b40a23215)) ## [28.2.3](https://github.com/cozy/cozy-client/compare/v28.2.2...v28.2.3) (2022-05-02) ### Bug Fixes * **deps:** update dependency @cozy/codemods to v1.14.4 ([0794262](https://github.com/cozy/cozy-client/commit/079426228c80b4832de0a43b543ccd56317cdc6c)) ## [28.2.2](https://github.com/cozy/cozy-client/compare/v28.2.1...v28.2.2) (2022-05-02) ### Bug Fixes * bump cross-fetch from 3.0.6 to 3.1.5 ([010cd28](https://github.com/cozy/cozy-client/commit/010cd285b4aafcc7cb6d2a3bf03b87c838e61a2f)) * **deps:** pin dependency cozy-device-helper to v ([f47dc14](https://github.com/cozy/cozy-client/commit/f47dc14d34d287e63eaef345a233632f3cc1f69f)) ## [28.2.1](https://github.com/cozy/cozy-client/compare/v28.2.0...v28.2.1) (2022-04-26) **Note:** Version bump only for package cozy-client # [28.2.0](https://github.com/cozy/cozy-client/compare/v28.1.1...v28.2.0) (2022-04-25) ### Features * Add encrypted option to file creation and update ([7a1a8d0](https://github.com/cozy/cozy-client/commit/7a1a8d0075095d7d7406c3c0ef14b41d9fcc6bb1)) * Add helper to know if a file is client-side encrypted ([b7ffdd9](https://github.com/cozy/cozy-client/commit/b7ffdd97d017bbd52226e0b61099da3090d8253f)) ## [28.1.1](https://github.com/cozy/cozy-client/compare/v28.1.0...v28.1.1) (2022-04-25) **Note:** Version bump only for package cozy-client # [28.1.0](https://github.com/cozy/cozy-client/compare/v28.0.2...v28.1.0) (2022-04-22) ### Features * Add getSharingLink function ([17ea34e](https://github.com/cozy/cozy-client/commit/17ea34e9d42371fe44a633f7a7dc2ac961b6d36a)) ## [28.0.2](https://github.com/cozy/cozy-client/compare/v28.0.1...v28.0.2) (2022-04-22) ### Bug Fixes * Make Travis job fail when typecheck fails ([23675e0](https://github.com/cozy/cozy-client/commit/23675e01449ee619d37f30808a2fc3aaf46a4cad)) * Update tsconfig.json ([454ba2f](https://github.com/cozy/cozy-client/commit/454ba2f4659acd49e53d8a277a8c4d89d9664620)) ## [28.0.1](https://github.com/cozy/cozy-client/compare/v28.0.0...v28.0.1) (2022-04-22) ### Bug Fixes * **stack-client:** PeerDependencies should not be fixed ([1fe5086](https://github.com/cozy/cozy-client/commit/1fe50865f6d0eca9bfe0191c694bdea100518391)) # [28.0.0](https://github.com/cozy/cozy-client/compare/v27.26.4...v28.0.0) (2022-04-08) ### Bug Fixes * **deps:** Upgrade cozy-flags + consider each cozy-lib as peerDeps ([afdee02](https://github.com/cozy/cozy-client/commit/afdee027edb8da4107693bab01c60ca671e5b310)) ### BREAKING CHANGES * **deps:** Each consuming app should install the following dependencies: "@cozy/minilog": "1.0.0", "cozy-device-helper": ">1.12.0", "cozy-flags": ">2.8.6", "cozy-logger": ">1.7.0", ## [27.26.4](https://github.com/cozy/cozy-client/compare/v27.26.3...v27.26.4) (2022-04-01) ### Bug Fixes * **deps:** update dependency @cozy/codemods to v1.14.2 ([1c1b6ef](https://github.com/cozy/cozy-client/commit/1c1b6efdc740d5338ca895be2c4d6f695360fb7f)) * **deps:** update dependency react-redux to v7.2.7 ([7cf5585](https://github.com/cozy/cozy-client/commit/7cf5585d4cf7ddc46dd9226340183a1273bc6414)) ## [27.26.3](https://github.com/cozy/cozy-client/compare/v27.26.2...v27.26.3) (2022-03-30) **Note:** Version bump only for package cozy-client ## [27.26.2](https://github.com/cozy/cozy-client/compare/v27.26.1...v27.26.2) (2022-03-28) **Note:** Version bump only for package cozy-client ## [27.26.1](https://github.com/cozy/cozy-client/compare/v27.26.0...v27.26.1) (2022-03-24) **Note:** Version bump only for package cozy-client # [27.26.0](https://github.com/cozy/cozy-client/compare/v27.25.0...v27.26.0) (2022-03-24) ### Bug Fixes * **refresh-token:** Fetch refresh token on a specific route ([cbc62eb](https://github.com/cozy/cozy-client/commit/cbc62eb431403d1538f1b428d3996783eb9c7455)) ### Features * Add grocery invoice qualification ([778e7f1](https://github.com/cozy/cozy-client/commit/778e7f12b42112b11be28b2297f563657d6664a4)) # [27.25.0](https://github.com/cozy/cozy-client/compare/v27.24.0...v27.25.0) (2022-03-23) ### Features * Add DACC model ([f9c38fe](https://github.com/cozy/cozy-client/commit/f9c38feeaee272d9f7cc72b05d94d2b3cb2d94e7)) # [27.24.0](https://github.com/cozy/cozy-client/compare/v27.23.0...v27.24.0) (2022-03-22) ### Bug Fixes * Persist native inapp browser when sending application in background ([eacd7e4](https://github.com/cozy/cozy-client/commit/eacd7e44687acfd8fb0779fd62bc22c4dbe6cfd7)) ### Features * Display gray header instead of violet in ReactNative InAppBrowser ([7aa93e2](https://github.com/cozy/cozy-client/commit/7aa93e20e1f5f66621a9c5e226c60dabbb56532c)) * Handle user cancelation from ReactNative's InAppBrowser ([17cf4e9](https://github.com/cozy/cozy-client/commit/17cf4e9d22daa5f78fad824a76876cfb2eb812e7)), closes [cozy/cozy-stack#3338](https://github.com/cozy/cozy-stack/issues/3338) # [27.23.0](https://github.com/cozy/cozy-client/compare/v27.22.3...v27.23.0) (2022-03-21) ### Features * Add useQueryAll hook ([590f18a](https://github.com/cozy/cozy-client/commit/590f18abbf13db372b3d3a1c517a7795957a1808)) ## [27.22.3](https://github.com/cozy/cozy-client/compare/v27.22.2...v27.22.3) (2022-03-18) ### Bug Fixes * Correct fr locale 'facture d'énergie' in cozy-client ([81a0b21](https://github.com/cozy/cozy-client/commit/81a0b21fbb81cedb526ffeea988d868a543695f2)) ## [27.22.2](https://github.com/cozy/cozy-client/compare/v27.22.1...v27.22.2) (2022-03-18) ### Bug Fixes * **deps:** update dependency @testing-library/react-hooks to v3.7.0 ([98af3ae](https://github.com/cozy/cozy-client/commit/98af3ae5455af91af4ea0c6f715261d3afef4b59)) * **deps:** update dependency jest-localstorage-mock to v2.4.19 ([50cf979](https://github.com/cozy/cozy-client/commit/50cf979e64b28cbdf65fc6e1bc60b6f289e28ff9)) ## [27.22.1](https://github.com/cozy/cozy-client/compare/v27.22.0...v27.22.1) (2022-03-18) ### Bug Fixes * **typedoc:** Upgrade typedoc package ([09889e5](https://github.com/cozy/cozy-client/commit/09889e5d60b0da5ab1a4c44db5ac5d4c02d007de)) # [27.22.0](https://github.com/cozy/cozy-client/compare/v27.21.0...v27.22.0) (2022-03-11) ### Bug Fixes * Wording FR translation ([459e9fe](https://github.com/cozy/cozy-client/commit/459e9fee4de909e26f60863dab7da23f218bc2a0)) ### Features * Add pay sheet to finance thème list ([7128d77](https://github.com/cozy/cozy-client/commit/7128d77f430e49298c667f549e8c9eef6e01ecdf)) # [27.21.0](https://github.com/cozy/cozy-client/compare/v27.20.0...v27.21.0) (2022-03-09) ### Features * Add `fetchSessionCodeWithPassword` method on OAuthClient ([beaaa8b](https://github.com/cozy/cozy-client/commit/beaaa8bc6caf8d489be906a028337d6a621ecd94)) * Add `sessionCode` handling on `authorize()` method ([4176f54](https://github.com/cozy/cozy-client/commit/4176f5405379c826c401e180b6c701ded2883ad0)) * Add default value for `openURLCallback` param on `authorize()` ([d0ee7a2](https://github.com/cozy/cozy-client/commit/d0ee7a230acc9ecd546235f7479858c97b639a11)) * Add optional PKCE code handling on `authorize()` ([663a0a4](https://github.com/cozy/cozy-client/commit/663a0a41d2f80161a4abccfda953db7e7b7e1291)) * Extract `certifyFlagship` from `startOAuthFlow` ([8d4b260](https://github.com/cozy/cozy-client/commit/8d4b2604d35cd2f9a08a9c3d32e9b573108df72d)) * Implement `/settings/passphrase/flagship` api in `OAuthClient` ([574b1f5](https://github.com/cozy/cozy-client/commit/574b1f59b7e19481d0aaf73bef6d0c382b7f49f9)) # [27.20.0](https://github.com/cozy/cozy-client/compare/v27.19.4...v27.20.0) (2022-03-07) ### Features * Plug devtools to the store ([56a5192](https://github.com/cozy/cozy-client/commit/56a51922f5a777f0f9cc360d33f10fef1f6dc16a)) ## [27.19.4](https://github.com/cozy/cozy-client/compare/v27.19.3...v27.19.4) (2022-03-04) ### Bug Fixes * **stack-client:** Fetch icon url when no appData and slug is passed ([5538630](https://github.com/cozy/cozy-client/commit/5538630f7e04fe7ba1563e5dd8f1982fe8e64fb7)) ## [27.19.3](https://github.com/cozy/cozy-client/compare/v27.19.2...v27.19.3) (2022-03-04) ### Bug Fixes * **stack-client:** Fetch icon url from registry when slug is passed ([17fbc69](https://github.com/cozy/cozy-client/commit/17fbc69679910741511db1676121d3b4933fbd57)) ## [27.19.2](https://github.com/cozy/cozy-client/compare/v27.19.1...v27.19.2) (2022-03-02) ### Bug Fixes * **upload:** Handle Ampersand characters in file name while xhr used ([03256a0](https://github.com/cozy/cozy-client/commit/03256a0f9eb9c23629efa6873169660833f2680d)) ## [27.19.1](https://github.com/cozy/cozy-client/compare/v27.19.0...v27.19.1) (2022-03-01) ### Bug Fixes * **stack-client:** Get Icon Url uses preloaded url when oAuth not needed ([34611df](https://github.com/cozy/cozy-client/commit/34611dfe129f02b5ccabab3c1d0d49173e8da134)) # [27.19.0](https://github.com/cozy/cozy-client/compare/v27.18.0...v27.19.0) (2022-02-25) ### Bug Fixes * **deps:** update dependency commitlint-config-cozy to v0.7.2 ([d19e7df](https://github.com/cozy/cozy-client/commit/d19e7dfb2a1ae90b4603201c4ae6f2fd888519fe)) ### Features * Handle `access token expired` error in `www-authenticate` header ([30a5983](https://github.com/cozy/cozy-client/commit/30a59831dcc772a7ae930214441eaa535acdda6c)) # [27.18.0](https://github.com/cozy/cozy-client/compare/v27.17.0...v27.18.0) (2022-02-23) ### Bug Fixes * Set correct error when non-native `store-attestation.js` is called ([716c1ce](https://github.com/cozy/cozy-client/commit/716c1ce4234600d3b356e7b8c567dff2212da7d1)) ### Features * Ignore flagship certification failure to allow 2FA certification ([3ee7c2f](https://github.com/cozy/cozy-client/commit/3ee7c2f2517ea376e89f3ab9614a3a9d282d5e72)), closes [cozy/cozy-stack#3287](https://github.com/cozy/cozy-stack/issues/3287) # [27.17.0](https://github.com/cozy/cozy-client/compare/v27.16.1...v27.17.0) (2022-02-23) ### Features * Add Manual to Job creation ([4843bd8](https://github.com/cozy/cozy-client/commit/4843bd86651158d9d4ec1611bc48aaf4814a403f)) ## [27.16.1](https://github.com/cozy/cozy-client/compare/v27.16.0...v27.16.1) (2022-02-22) ### Bug Fixes * **documents:** Reducer should assign new object for concerned doctype ([83b03e8](https://github.com/cozy/cozy-client/commit/83b03e8d3bfb5c9722fe95ac8558fc842ef08feb)) # [27.16.0](https://github.com/cozy/cozy-client/compare/v27.15.3...v27.16.0) (2022-02-22) ### Features * Add CoachCO2 to MAGIC_FOLDERS ([e1cd4a3](https://github.com/cozy/cozy-client/commit/e1cd4a3cb0474036bb47ce7d6cb2e6e3d9b92471)) ## [27.15.3](https://github.com/cozy/cozy-client/compare/v27.15.2...v27.15.3) (2022-02-18) **Note:** Version bump only for package cozy-client ## [27.15.2](https://github.com/cozy/cozy-client/compare/v27.15.1...v27.15.2) (2022-02-18) **Note:** Version bump only for package cozy-client ## [27.15.1](https://github.com/cozy/cozy-client/compare/v27.15.0...v27.15.1) (2022-02-17) ### Bug Fixes * **deps:** Bump lodash from 4.17.20 to 4.17.21 ([de0b7df](https://github.com/cozy/cozy-client/commit/de0b7dfa9ca382b4c2c6c9f7a76e839c660526cc)) * **deps:** pin dependencies ([f8fb41a](https://github.com/cozy/cozy-client/commit/f8fb41af68c798f84d29744b9a2d8e7904f9dd87)) * **deps:** update dependency lerna to v4 ([2c8dc64](https://github.com/cozy/cozy-client/commit/2c8dc644852294425ba33b3b707028f50bc38feb)) # [27.15.0](https://github.com/cozy/cozy-client/compare/v27.14.4...v27.15.0) (2022-02-02) ### Features * **file:** Fill last modified date in UpdatedAt path query string ([9f0a0d2](https://github.com/cozy/cozy-client/commit/9f0a0d26d97b4628855a975016a09bda7957de6f)) ## [27.14.4](https://github.com/cozy/cozy-client/compare/v27.14.3...v27.14.4) (2022-01-31) ### Bug Fixes * Generate FileCollection URLs with querystring ([ea17e24](https://github.com/cozy/cozy-client/commit/ea17e24ab40e225ecaf48bbaabac315dd5cda353)) ## [27.14.3](https://github.com/cozy/cozy-client/compare/v27.14.2...v27.14.3) (2022-01-28) ### Bug Fixes * **qualification:** Fix typo in identity ([e89aa8d](https://github.com/cozy/cozy-client/commit/e89aa8de0b6b25d5eecd8dc1ba41baa80dff5ec2)) ## [27.14.2](https://github.com/cozy/cozy-client/compare/v27.14.1...v27.14.2) (2022-01-28) **Note:** Version bump only for package cozy-client ## [27.14.1](https://github.com/cozy/cozy-client/compare/v27.14.0...v27.14.1) (2022-01-28) **Note:** Version bump only for package cozy-client # [27.14.0](https://github.com/cozy/cozy-client/compare/v27.13.0...v27.14.0) (2022-01-25) ### Features * Add rootCozyUrl helper ([ca09e71](https://github.com/cozy/cozy-client/commit/ca09e71a7b687bf28055ed0764d08c4dbd7e70cc)) # [27.13.0](https://github.com/cozy/cozy-client/compare/v27.12.0...v27.13.0) (2022-01-24) ### Features * Add fetchBlobFileById function ([eb37b1a](https://github.com/cozy/cozy-client/commit/eb37b1af091d3e95372a0540ad0f14ba59e74a4c)) # [27.12.0](https://github.com/cozy/cozy-client/compare/v27.11.1...v27.12.0) (2022-01-14) ### Features * Use lib alias for safetynet ([f937db5](https://github.com/cozy/cozy-client/commit/f937db5eaedf4d41e88f7380ffbe79867941af59)) ## [27.11.1](https://github.com/cozy/cozy-client/compare/v27.11.0...v27.11.1) (2022-01-14) **Note:** Version bump only for package cozy-client # [27.11.0](https://github.com/cozy/cozy-client/compare/v27.10.0...v27.11.0) (2022-01-13) ### Features * Change other_identity_document translations ([aebb1bf](https://github.com/cozy/cozy-client/commit/aebb1bff1721f17baf12b79c92440467b4549257)) * Move other_revenue in finance theme ([dcb54fa](https://github.com/cozy/cozy-client/commit/dcb54fa11eced184524d6c6c713636e8b7e2f06f)) # [27.10.0](https://github.com/cozy/cozy-client/compare/v27.9.0...v27.10.0) (2022-01-12) ### Features * Add activity theme ([44eb0a8](https://github.com/cozy/cozy-client/commit/44eb0a8d8b0bed4a5f081efe7cd42223d7935768)) # [27.9.0](https://github.com/cozy/cozy-client/compare/v27.8.0...v27.9.0) (2022-01-12) ### Features * Add a method to get session_code ([a3e7c8e](https://github.com/cozy/cozy-client/commit/a3e7c8e7dd0122c55e7e8ff6730de5bdc5b58b3e)) # [27.8.0](https://github.com/cozy/cozy-client/compare/v27.7.0...v27.8.0) (2022-01-11) ### Bug Fixes * Rebuild `permission.d.ts` to fit CI version ([380db52](https://github.com/cozy/cozy-client/commit/380db528004e9a64b244a99bb238351fac4f2a05)) * UseQuery returns fetch method ([93e7f3d](https://github.com/cozy/cozy-client/commit/93e7f3d217353003795d43dfedf1397bb64815af)) * **deps:** Upgrade caniuse-lite ([b13f7fe](https://github.com/cozy/cozy-client/commit/b13f7fee4374f7ae4cc83652e1f59d2876e63779)) ### Features * Add `react-native-google-safetynet` module as peerDependencies ([cd4b37f](https://github.com/cozy/cozy-client/commit/cd4b37fc3353b702035e773b2b423ef7e7aa3156)) * Add `react-native-ios11-devicecheck` module as peerDependencies ([b9ed2e9](https://github.com/cozy/cozy-client/commit/b9ed2e9c42518a50961f5b233b5f6ae1894ed7d6)) * Add flagship certification mechanism ([fe8474c](https://github.com/cozy/cozy-client/commit/fe8474c3286393c996eb5704184de652aa8028fe)) # [27.7.0](https://github.com/cozy/cozy-client/compare/v27.6.5...v27.7.0) (2022-01-03) ### Features * Add of missing papers targeted for v1 ([25e4953](https://github.com/cozy/cozy-client/commit/25e4953cee9de7f7043aea33a2f2b67841435529)) ## [27.6.5](https://github.com/cozy/cozy-client/compare/v27.6.4...v27.6.5) (2021-12-20) ### Bug Fixes * Use fetchOwnPermissions instead of deprecated getOwnPermissions ([fb1dd51](https://github.com/cozy/cozy-client/commit/fb1dd517c3f8ca6e184055ad3194d387a5901027)) ## [27.6.4](https://github.com/cozy/cozy-client/compare/v27.6.3...v27.6.4) (2021-12-20) ### Bug Fixes * Konnectors collection now ignores id in manifest ([96e08e9](https://github.com/cozy/cozy-client/commit/96e08e91f0447cea60eb2c393ecb7d6935603bff)) ## [27.6.3](https://github.com/cozy/cozy-client/compare/v27.6.2...v27.6.3) (2021-12-16) ### Bug Fixes * **docs:** Add JS Docs on File Collection ([c3f739a](https://github.com/cozy/cozy-client/commit/c3f739a60a4d32501970997585c0b8f7755ca6b9)) ## [27.6.2](https://github.com/cozy/cozy-client/compare/v27.6.1...v27.6.2) (2021-12-16) ### Bug Fixes * Update dependency date-fns to v2.27.0 ([5ec7911](https://github.com/cozy/cozy-client/commit/5ec7911352072a72de99ec68f545f0b36c56c990)) * **doc:** Update readme + bump version because npm publish failed ([f176dc7](https://github.com/cozy/cozy-client/commit/f176dc7761df738bc75cf383cb7a837acd2d5d5e)) ## [27.6.1](https://github.com/cozy/cozy-client/compare/v27.6.0...v27.6.1) (2021-12-15) ### Bug Fixes * **filename:** Get illegal characters from file name and returns them ([7c00526](https://github.com/cozy/cozy-client/commit/7c00526283dd865aea929c2983d32f7a12121c65)) # [27.6.0](https://github.com/cozy/cozy-client/compare/v27.5.1...v27.6.0) (2021-12-13) ### Features * Add some helpers for model file ([e074067](https://github.com/cozy/cozy-client/commit/e0740674bb250b979fc3a6bfeace771de3d3c2fd)) ## [27.5.1](https://github.com/cozy/cozy-client/compare/v27.5.0...v27.5.1) (2021-12-01) ### Bug Fixes * Re-export associations helpers ([9a8d841](https://github.com/cozy/cozy-client/commit/9a8d84135762a1cf0ce29c7da247ca9a4ec617e5)), closes [#1076](https://github.com/cozy/cozy-client/issues/1076) # [27.5.0](https://github.com/cozy/cozy-client/compare/v27.4.0...v27.5.0) (2021-12-01) ### Features * Added referencedBy helpers ([2bd77e4](https://github.com/cozy/cozy-client/commit/2bd77e451eab26b85b21b41db522a7da6378672b)) * Adding types around references ([6d9c8aa](https://github.com/cozy/cozy-client/commit/6d9c8aade0ece644674b9adfee1b08b8eff7482e)) # [27.4.0](https://github.com/cozy/cozy-client/compare/v27.3.2...v27.4.0) (2021-11-25) ### Features * onError Callback ([c5f65d3](https://github.com/cozy/cozy-client/commit/c5f65d33e0ab29a22b409365151173a3b7645b56)) ## [27.3.2](https://github.com/cozy/cozy-client/compare/v27.3.1...v27.3.2) (2021-11-17) ### Bug Fixes * Login on RN iOS ([4b85b47](https://github.com/cozy/cozy-client/commit/4b85b475bf0c5b32f94a06e524fa7f0f5011f90e)) ## [27.3.1](https://github.com/cozy/cozy-client/compare/v27.3.0...v27.3.1) (2021-11-16) ### Bug Fixes * Export Qualification ([3472bce](https://github.com/cozy/cozy-client/commit/3472bcec6ab3e19353a290e79189bf09c34b38b8)) # [27.3.0](https://github.com/cozy/cozy-client/compare/v27.2.0...v27.3.0) (2021-11-16) ### Features * Add node-polyglot package ([964b05d](https://github.com/cozy/cozy-client/commit/964b05d031c233f73640218f83469b2791a73fde)) # [27.2.0](https://github.com/cozy/cozy-client/compare/v27.1.0...v27.2.0) (2021-11-15) ### Features * Be more explicit on query warning messages ([8d9b896](https://github.com/cozy/cozy-client/commit/8d9b896693f94898e610a79da69dda6bc0ad6f0a)) # [27.1.0](https://github.com/cozy/cozy-client/compare/v27.0.1...v27.1.0) (2021-11-04) ### Features * Add FileCollection.fetchChanges() method ([af2f43b](https://github.com/cozy/cozy-client/commit/af2f43b154e6ba6011cb969c63e4e2045295bd4a)) ## [27.0.1](https://github.com/cozy/cozy-client/compare/v27.0.0...v27.0.1) (2021-11-04) ### Bug Fixes * Build new OAuth client from old OAuth client ([a8ecfd0](https://github.com/cozy/cozy-client/commit/a8ecfd0344d86ba7c45e2589442bb836ba274a89)) # [27.0.0](https://github.com/cozy/cozy-client/compare/v26.0.2...v27.0.0) (2021-11-03) ### Bug Fixes * Normalize referenced_by data into Array ([f2dd095](https://github.com/cozy/cozy-client/commit/f2dd095220116c74afaf06dad730ac40de242c2b)) * Return meta after file's referenced_by update ([917ebb5](https://github.com/cozy/cozy-client/commit/917ebb576f5d199ba596039285c9f074da79e13b)) ### BREAKING CHANGES * Changed returned `data` object value of `FileCollection.findReferencedBy()`, `FileCollection.addReferencedBy()` and `FileCollection.removeReferencedBy()` from `null` to `[]`. When a file is not referenced by any document, or we removed the last reference with a call to `FileCollection.removeReferencedBy()`, `cozy-stack` will return a `null` data object instead of an empty Array. To simplify the use of these methods, we'll normalize the response data to make sure it is always an Array. ## [26.0.2](https://github.com/cozy/cozy-client/compare/v26.0.1...v26.0.2) (2021-11-01) ### Bug Fixes * Use regex supported by Safari ([1497318](https://github.com/cozy/cozy-client/commit/149731833c1830f4091f9361d717413caac4e664)) ## [26.0.1](https://github.com/cozy/cozy-client/compare/v26.0.0...v26.0.1) (2021-10-30) **Note:** Version bump only for package cozy-client # [26.0.0](https://github.com/cozy/cozy-client/compare/v25.1.0...v26.0.0) (2021-10-29) ### Features * Update & added qualification labels ([4bcf889](https://github.com/cozy/cozy-client/commit/4bcf889054ab3bf58c24d92ad179f94aad6d3d20)) ### BREAKING CHANGES * Renamed label `national_insurance_card` to `national_health_insurance_card`. Replace `Qualification.getByLabel('national_insurance_card')` to `Qualification.getByLabel('national_health_insurance_card')` if necessary Please update your `cozy-scanner` to `2.0.0` version to be synchronized with the right translations # [25.1.0](https://github.com/cozy/cozy-client/compare/v25.0.5...v25.1.0) (2021-10-26) ### Features * Add at least _id when selecting fields ([0c50670](https://github.com/cozy/cozy-client/commit/0c50670753cd7f2cd369bff3c78d48980f32d563)), closes [#985](https://github.com/cozy/cozy-client/issues/985) ## [25.0.5](https://github.com/cozy/cozy-client/compare/v25.0.4...v25.0.5) (2021-10-25) ### Bug Fixes * References routes do not return content ([2d34058](https://github.com/cozy/cozy-client/commit/2d340580ba00aac9d20d8b856c12abac998270e2)) ## [25.0.4](https://github.com/cozy/cozy-client/compare/v25.0.3...v25.0.4) (2021-10-25) ### Bug Fixes * Allow 401 errors for expired tokens ([cdd785d](https://github.com/cozy/cozy-client/commit/cdd785d93015ac8ec2a37e4b80fa77482d788ccf)) ## [25.0.3](https://github.com/cozy/cozy-client/compare/v25.0.2...v25.0.3) (2021-10-21) ### Bug Fixes * Add id in CozyClientDocument for RealTime ([5e242d6](https://github.com/cozy/cozy-client/commit/5e242d6d5fcb34e9f09c8b5661133b63aa35f93e)) ## [25.0.2](https://github.com/cozy/cozy-client/compare/v25.0.1...v25.0.2) (2021-10-14) **Note:** Version bump only for package cozy-client ## [25.0.1](https://github.com/cozy/cozy-client/compare/v25.0.0...v25.0.1) (2021-10-13) ### Bug Fixes * Do not save target document after add/remove references ([62902ce](https://github.com/cozy/cozy-client/commit/62902ce158f1b20da241ae6c42e5cc63ca0205bc)) * Normalize file relationship response ([f5f465f](https://github.com/cozy/cozy-client/commit/f5f465f05a4885981f7bb1f5c2a4c1d968e29449)) # [25.0.0](https://github.com/cozy/cozy-client/compare/v24.10.2...v25.0.0) (2021-10-12) ### Bug Fixes * Doc created by Save should use _type to define _type ([61f9559](https://github.com/cozy/cozy-client/commit/61f95599359f9bbf02f0f2a689fa4b5aa5577508)) ### BREAKING CHANGES * save() must use argument with `_type` property ## [24.10.2](https://github.com/cozy/cozy-client/compare/v24.10.1...v24.10.2) (2021-10-11) ### Bug Fixes * RealTimeQueries accepts more than files ([e23239f](https://github.com/cozy/cozy-client/commit/e23239fc2a17f8362a74dabdda0e3f816dfc6eb2)) * Return destroyed OAuth client ([8e8151b](https://github.com/cozy/cozy-client/commit/8e8151bae87779e4640543566c5b016324621774)) ## [24.10.1](https://github.com/cozy/cozy-client/compare/v24.10.0...v24.10.1) (2021-10-08) **Note:** Version bump only for package cozy-client # [24.10.0](https://github.com/cozy/cozy-client/compare/v24.9.2...v24.10.0) (2021-10-06) ### Features * Add OAuthClientsCollection ([ca3a439](https://github.com/cozy/cozy-client/commit/ca3a439157c5a3c6c6b74131ffc5d9992da408ea)) ## [24.9.2](https://github.com/cozy/cozy-client/compare/v24.9.1...v24.9.2) (2021-10-01) ### Bug Fixes * Save also normalize _type like create ([cdbbd9f](https://github.com/cozy/cozy-client/commit/cdbbd9fd4ead453f67462992c5e8cfff4794165e)) ## [24.9.1](https://github.com/cozy/cozy-client/compare/v24.9.0...v24.9.1) (2021-09-23) ### Bug Fixes * Revert open upgrade ([6c945a5](https://github.com/cozy/cozy-client/commit/6c945a5ef8c286f546f4343df075cc73e6d3416c)) # [24.9.0](https://github.com/cozy/cozy-client/compare/v24.8.1...v24.9.0) (2021-09-22) ### Features * Add papers path to MAGIC_FOLDERS contante ([3e31d5b](https://github.com/cozy/cozy-client/commit/3e31d5b5e3de64b810366aee64610d92925de823)) ## [24.8.1](https://github.com/cozy/cozy-client/compare/v24.8.0...v24.8.1) (2021-09-20) **Note:** Version bump only for package cozy-client # [24.8.0](https://github.com/cozy/cozy-client/compare/v24.7.0...v24.8.0) (2021-09-16) ### Features * Makes queryAll faster with many requests ([17a9e23](https://github.com/cozy/cozy-client/commit/17a9e2397f72f94daafd03b49f1cebae5bad0ec3)) # [24.7.0](https://github.com/cozy/cozy-client/compare/v24.6.2...v24.7.0) (2021-09-14) ### Features * Add deprecating warning for set/unset ([210a816](https://github.com/cozy/cozy-client/commit/210a8162df0816fa96b0beb6d3e910ef9ae5e616)) * Use add and remove API for both has-one and has-many ([8bc0a4b](https://github.com/cozy/cozy-client/commit/8bc0a4be3c70f2068556d3d0c169eb5d23ed5033)) ## [24.6.2](https://github.com/cozy/cozy-client/compare/v24.6.1...v24.6.2) (2021-09-14) ### Bug Fixes * **deps:** update dependency open to v8 ([8590ae3](https://github.com/cozy/cozy-client/commit/8590ae3ac00c1109c625316b4449d6e3f1d8b6ab)) * **deps:** update dependency url-search-params-polyfill to v8 ([7723a7d](https://github.com/cozy/cozy-client/commit/7723a7dbc9bab386cb9dbc9d0e7a751abb2e56fb)) ## [24.6.1](https://github.com/cozy/cozy-client/compare/v24.6.0...v24.6.1) (2021-09-13) ### Bug Fixes * Change sharing rule for `com.bitwarden.organizations` ([9884a2c](https://github.com/cozy/cozy-client/commit/9884a2cbc19a75c5d233509e68a1cb8b340376a6)) # [24.6.0](https://github.com/cozy/cozy-client/compare/v24.5.0...v24.6.0) (2021-09-13) ### Bug Fixes * Set lastModifiedDate ([038b7d0](https://github.com/cozy/cozy-client/commit/038b7d0e0eafa5e84398f572f41b0dc34dd7a604)) ### Features * Infer content-type from file extension ([16877e8](https://github.com/cozy/cozy-client/commit/16877e81e53aa14b3346f2bda351b4f680ddfa3a)) # [24.5.0](https://github.com/cozy/cozy-client/compare/v24.4.0...v24.5.0) (2021-09-09) ### Features * Implement data retrieval for HasManyFiles ([f6740be](https://github.com/cozy/cozy-client/commit/f6740be2b0e8a0c88cbc3d5beddffd30c240fcdb)) * Pass name as param in updateFile ([b5d8034](https://github.com/cozy/cozy-client/commit/b5d803491bc09484763be5ab98c1a621d83c2c39)) # [24.4.0](https://github.com/cozy/cozy-client/compare/v24.3.3...v24.4.0) (2021-09-08) ### Features * Handle Onboarding V2 ([91e0a3a](https://github.com/cozy/cozy-client/commit/91e0a3aad5c2ed6608a9c9d9420cda51a68e9f62)) ## [24.3.3](https://github.com/cozy/cozy-client/compare/v24.3.2...v24.3.3) (2021-09-07) ### Bug Fixes * Retrieve correct `data-cozy-*` in `refreshToken()` ([a74b774](https://github.com/cozy/cozy-client/commit/a74b774800d746834d11848547b79215e523cbe5)) ## [24.3.2](https://github.com/cozy/cozy-client/compare/v24.3.1...v24.3.2) (2021-09-03) ### Bug Fixes * Method to get adapter name should be static ([ff7e26d](https://github.com/cozy/cozy-client/commit/ff7e26d40abc6c2a115df4cf3efcad5741242fc5)) ## [24.3.1](https://github.com/cozy/cozy-client/compare/v24.3.0...v24.3.1) (2021-09-03) ### Bug Fixes * Correcty iterate over object keys ([9bf26cd](https://github.com/cozy/cozy-client/commit/9bf26cdd7f8ff7bd572cf98c79f116e0f9fbc8c6)) # [24.3.0](https://github.com/cozy/cozy-client/compare/v24.2.0...v24.3.0) (2021-09-02) ### Features * Expose method to get the adapter name ([2095d0a](https://github.com/cozy/cozy-client/commit/2095d0a4c0169bd10035043f2e6bd407dcae5bc3)) # [24.2.0](https://github.com/cozy/cozy-client/compare/v24.1.3...v24.2.0) (2021-09-01) ### Features * Allow to query a HasManyFiles relation in both ways ([1577564](https://github.com/cozy/cozy-client/commit/15775649a275020cf6d41b36214e3a2b4f486338)) * Uniq ids in query ([e6a7b17](https://github.com/cozy/cozy-client/commit/e6a7b17c918adf54a9d8b7024f78c7393f9b53b7)) ## [24.1.3](https://github.com/cozy/cozy-client/compare/v24.1.2...v24.1.3) (2021-08-27) **Note:** Version bump only for package cozy-client ## [24.1.2](https://github.com/cozy/cozy-client/compare/v24.1.1...v24.1.2) (2021-08-27) **Note:** Version bump only for package cozy-client ## [24.1.1](https://github.com/cozy/cozy-client/compare/v24.1.0...v24.1.1) (2021-08-27) ### Bug Fixes * Linting ([6a9f31d](https://github.com/cozy/cozy-client/commit/6a9f31dc85b651d996c5b1ce296fe970fcc9ccae)) * Moved polyfills in createClientInteractive ([39d3cd4](https://github.com/cozy/cozy-client/commit/39d3cd4d8bc6bd9f5c6a4620fa98fa0e15948857)) # [24.1.0](https://github.com/cozy/cozy-client/compare/v24.0.0...v24.1.0) (2021-08-23) ### Bug Fixes * Next attribute for Pouch ([556dd99](https://github.com/cozy/cozy-client/commit/556dd99fe0b66af993a9e08b6f658699cbda41b3)) * QueryAll for CozyPouchLink ([00a54cc](https://github.com/cozy/cozy-client/commit/00a54cc60ac6421c44f31c209c30e4bf6d1f592e)) ### Features * Add deleted true to a deleted doc with CozyPouchLink ([144be1d](https://github.com/cozy/cozy-client/commit/144be1d4293a1fdf1e4784fb9edbaebc3701cd21)) * Add doctype specification in warmupQueries error ([b0f6d2f](https://github.com/cozy/cozy-client/commit/b0f6d2feb3a666a9f7e599d7a59d5b3c92f14fad)) # [24.0.0](https://github.com/cozy/cozy-client/compare/v23.22.0...v24.0.0) (2021-08-13) ### Features * Replace fetchAppLatestVersion by fetchAppVersion ([d705072](https://github.com/cozy/cozy-client/commit/d705072a858430e95579cc27dc7d074fe2912c67)) ### BREAKING CHANGES * the fetchAppLatestVersion method won't exist anymore, but it is really new and has no sense with the presence of fetchAppVersion. # [23.22.0](https://github.com/cozy/cozy-client/compare/v23.21.0...v23.22.0) (2021-08-12) ### Features * Add a devtool panel for pouch ([dca619c](https://github.com/cozy/cozy-client/commit/dca619c25baa2d99b51349ceadb717639ad20e25)) * Add registry.fetchAppLatestVersion ([100c6ac](https://github.com/cozy/cozy-client/commit/100c6ac95ad25f278a811709ecaef712489ee286)) * Check presence of parameters in fetchAppLatestVersion ([6536904](https://github.com/cozy/cozy-client/commit/65369048041e2c012d1ba566ab34825b1bff9cad)) * Devtools opens at last panels that was opened ([6f466a1](https://github.com/cozy/cozy-client/commit/6f466a10352835a2863f697e05bfd2c0734cc826)) * Nicer close button for dev panel (sits just above the panel) ([9246f40](https://github.com/cozy/cozy-client/commit/9246f408174201e99f09d48f8cb43ecea92d7a57)) * Queries panels has a minWidth of 400 ([22eb1f5](https://github.com/cozy/cozy-client/commit/22eb1f5ece5b17dd018324bb1350652c78c440e9)) # [23.21.0](https://github.com/cozy/cozy-client/compare/v23.20.0...v23.21.0) (2021-08-11) ### Bug Fixes * Avoid memory leak ([0f276c2](https://github.com/cozy/cozy-client/commit/0f276c2550584f7662277206251c970ad94c2b80)) ### Features * Adapter migration ([36c3c7e](https://github.com/cozy/cozy-client/commit/36c3c7ea9e1eb49d4c7f329be7b32a457276e538)) * Do not reload page after migration ([fb4a2e2](https://github.com/cozy/cozy-client/commit/fb4a2e2d4f6727cbf6780cae2c5ab53927253dfa)) * Recompute indexes after migration ([2330592](https://github.com/cozy/cozy-client/commit/2330592d61ec4bb6b3dc1ae394b5513eb68b6899)) * Simpler API ([e73fb42](https://github.com/cozy/cozy-client/commit/e73fb42c7bfc3db49f9ac0bd56b6eee3bd57dc9c)) # [23.20.0](https://github.com/cozy/cozy-client/compare/v23.19.3...v23.20.0) (2021-08-10) ### Features * Update pouchdb-browser ([94ce6df](https://github.com/cozy/cozy-client/commit/94ce6df5797ec09a436b50723aef11bdd1e9dce6)) ## [23.19.3](https://github.com/cozy/cozy-client/compare/v23.19.2...v23.19.3) (2021-08-10) **Note:** Version bump only for package cozy-client ## [23.19.2](https://github.com/cozy/cozy-client/compare/v23.19.1...v23.19.2) (2021-08-09) **Note:** Version bump only for package cozy-client ## [23.19.1](https://github.com/cozy/cozy-client/compare/v23.19.0...v23.19.1) (2021-08-09) ### Bug Fixes * Move [@types](https://github.com/types) back to dependencies ([486b49d](https://github.com/cozy/cozy-client/commit/486b49d4cb7a9f550811e08f7c924aafef1956a3)) # [23.19.0](https://github.com/cozy/cozy-client/compare/v23.18.1...v23.19.0) (2021-08-06) ### Features * Add sharing rules for bitwarden organizations ([866b8c2](https://github.com/cozy/cozy-client/commit/866b8c23a257d6cbf32656c1362ec018e749c5b5)) ## [23.18.1](https://github.com/cozy/cozy-client/compare/v23.18.0...v23.18.1) (2021-08-04) **Note:** Version bump only for package cozy-client # [23.18.0](https://github.com/cozy/cozy-client/compare/v23.17.3...v23.18.0) (2021-08-04) ### Features * Ability to saveAll through StackLink ([b763de4](https://github.com/cozy/cozy-client/commit/b763de4232375d6f971d6dc35ebbf8c162aa07c9)) * Attach bad documents to the error ([e570918](https://github.com/cozy/cozy-client/commit/e57091877cbc76465d837df2803520cee49c8f79)) * BulkEditError provides a way to get updated documents and errors ([bdf6b47](https://github.com/cozy/cozy-client/commit/bdf6b478cab7d11f8a4ab81d286cd8a2cbadd7f1)) * Improve validation errors while bulk saving ([ff7811a](https://github.com/cozy/cozy-client/commit/ff7811ae733cfb5ae50af565c23f9b6cdd9054db)) * Mock saveAll in mock client ([a1cf7d0](https://github.com/cozy/cozy-client/commit/a1cf7d09604ce25a3e6ae562d1dc197cdade246b)) * PouchLink supports saveAll ([4dcf35f](https://github.com/cozy/cozy-client/commit/4dcf35f630250f32d12f8d65cdf2108f01caee64)), closes [#694](https://github.com/cozy/cozy-client/issues/694) * Update all automatically removes special member _type from docs ([54d96e1](https://github.com/cozy/cozy-client/commit/54d96e133b47be93c59de83fbfa1641ff83159a7)), closes [#758](https://github.com/cozy/cozy-client/issues/758) ## [23.17.3](https://github.com/cozy/cozy-client/compare/v23.17.2...v23.17.3) (2021-07-19) ### Bug Fixes * Cached queries optimization ([f3f1f0f](https://github.com/cozy/cozy-client/commit/f3f1f0f0136555a43c4fd157d96be68b11a818f8)) ## [23.17.2](https://github.com/cozy/cozy-client/compare/v23.17.1...v23.17.2) (2021-07-15) ### Bug Fixes * Move [@types](https://github.com/types) to devDependencies ([abd847c](https://github.com/cozy/cozy-client/commit/abd847ce4bb29f405fc80109fd78f65fd780d5f2)) ## [23.17.1](https://github.com/cozy/cozy-client/compare/v23.17.0...v23.17.1) (2021-07-09) ### Bug Fixes * Restore the log URL for mobile authentication ([63b8eb4](https://github.com/cozy/cozy-client/commit/63b8eb44ab0f7ca3661f6dee887fcde4f80edb87)), closes [unified#diff-e879aaa33e459b749f1f68b01b84a2faf1fccd65cc819c96e7afc6c8bcbb2c36L168](https://github.com/unified/issues/diff-e879aaa33e459b749f1f68b01b84a2faf1fccd65cc819c96e7afc6c8bcbb2c36L168) # [23.17.0](https://github.com/cozy/cozy-client/compare/v23.16.0...v23.17.0) (2021-07-01) ### Features * Include_docs is done by default by fetchChanges ([2f7c8a3](https://github.com/cozy/cozy-client/commit/2f7c8a35ec589f44b8b2bd5e667242dfbeae2248)) # [23.16.0](https://github.com/cozy/cozy-client/compare/v23.15.2...v23.16.0) (2021-06-30) ### Features * Pass readme none to typedocs ([1fbf7f7](https://github.com/cozy/cozy-client/commit/1fbf7f78e060026aa991c6be44d055a05e74d9a8)) ## [23.15.2](https://github.com/cozy/cozy-client/compare/v23.15.1...v23.15.2) (2021-06-30) ### Bug Fixes * Typo, don't generate docs from cozy-client with jsdocs ([19d557a](https://github.com/cozy/cozy-client/commit/19d557a7b71273fe78b0a2d9e2f00ea7af7d9002)) ### Features * Bump node js version to 12 on CI to support typedoc ([ef50252](https://github.com/cozy/cozy-client/commit/ef5025237839b61929d1e78df208270f26226a94)) ## [23.15.1](https://github.com/cozy/cozy-client/compare/v23.15.0...v23.15.1) (2021-06-28) ### Bug Fixes * LoadInstanceOptionsFromDOM add root datas and cozy datas ([12b3d6a](https://github.com/cozy/cozy-client/commit/12b3d6a4ec83ec30d93b9383bb4f6214c00e581c)) * Remove useless omit import ([f8d43b7](https://github.com/cozy/cozy-client/commit/f8d43b70956006806e2e7b7c276a85ef12bfac43)) # [23.15.0](https://github.com/cozy/cozy-client/compare/v23.14.1...v23.15.0) (2021-06-24) ### Features * Improve type documentation for CozyClient ([dbacf5d](https://github.com/cozy/cozy-client/commit/dbacf5dcf814ba655aca3c880bea80b07a6cc801)) ## [23.14.1](https://github.com/cozy/cozy-client/compare/v23.14.0...v23.14.1) (2021-06-24) ### Bug Fixes * Remove docs ids that have been removed from docs slice ([9804ccd](https://github.com/cozy/cozy-client/commit/9804ccd2352089b039f2cfd5ae7bb34ca36ceb91)) # [23.14.0](https://github.com/cozy/cozy-client/compare/v23.13.1...v23.14.0) (2021-06-22) ### Bug Fixes * Defensive code to not throw an error if there is no Qd. ([bd61235](https://github.com/cozy/cozy-client/commit/bd6123591e8ba8ef59648c62075ef34d37a5ab00)) * Set fetchStatus to loading by default ([6a80e38](https://github.com/cozy/cozy-client/commit/6a80e384136afb7e77851f77e6793e5df1637720)), closes [#925](https://github.com/cozy/cozy-client/issues/925) ### Features * Dedupes equal queries fired at the same time ([b13d463](https://github.com/cozy/cozy-client/commit/b13d463e222cdb629cf43ea4cf759e2264ebe467)) ## [23.13.1](https://github.com/cozy/cozy-client/compare/v23.13.0...v23.13.1) (2021-06-18) ### Bug Fixes * Updating a file also sanitize its name ([03bdd7e](https://github.com/cozy/cozy-client/commit/03bdd7e0687d69443d037d4b7bc32fd2b6d2a65a)) # [23.13.0](https://github.com/cozy/cozy-client/compare/v23.12.0...v23.13.0) (2021-06-17) ### Bug Fixes * Add parameters to query() in Association ([0aa559e](https://github.com/cozy/cozy-client/commit/0aa559e6074a71233595914cda816ceec2e733e2)) * Remove ref to CozyClient as it breaks tests (circular dependency) ([3872bb4](https://github.com/cozy/cozy-client/commit/3872bb4981ead5ba7775c7b72cff1bf47bcdeed7)) ### Features * Improve type documentation for Association.js ([e33702e](https://github.com/cozy/cozy-client/commit/e33702e403cc150a3fa785cca48b4becfbe3a059)) * Improve type documentation for timeseries.js ([4c19bb0](https://github.com/cozy/cozy-client/commit/4c19bb0660dc07312c7d797de0d1f48e014afe9c)) # [23.12.0](https://github.com/cozy/cozy-client/compare/v23.11.1...v23.12.0) (2021-06-17) ### Features * Instanciating new CozyClient now add capabilities to it ([324a6d2](https://github.com/cozy/cozy-client/commit/324a6d22687c915d28fd8a20239aa56790aa4f93)) ## [23.11.1](https://github.com/cozy/cozy-client/compare/v23.11.0...v23.11.1) (2021-06-15) **Note:** Version bump only for package cozy-client # [23.11.0](https://github.com/cozy/cozy-client/compare/v23.10.0...v23.11.0) (2021-06-15) ### Features * Allow to pass null to instantiate a query ([eca6e03](https://github.com/cozy/cozy-client/commit/eca6e03b69ae4b45820675af05c69d112a964a6a)) # [23.10.0](https://github.com/cozy/cozy-client/compare/v23.9.1...v23.10.0) (2021-06-15) ### Features * Handle multiple workers in TriggerCollection.find ([4cc8a9a](https://github.com/cozy/cozy-client/commit/4cc8a9ad27625f8a9c68c1091ef1cefcd0fd4753)) ## [23.9.1](https://github.com/cozy/cozy-client/compare/v23.9.0...v23.9.1) (2021-06-11) ### Bug Fixes * Add normalization to jobCollection.update ([5989dd5](https://github.com/cozy/cozy-client/commit/5989dd5a86da5ef8b892a6755426b7590b829c00)) * Lint ([656c523](https://github.com/cozy/cozy-client/commit/656c523e944fd3cc72281b5a0eb66d00eabf9fe3)) # [23.9.0](https://github.com/cozy/cozy-client/compare/v23.8.0...v23.9.0) (2021-06-08) ### Bug Fixes * Remove obsolete comment ([9b5d1e1](https://github.com/cozy/cozy-client/commit/9b5d1e10480d1a887674ce864f1dd233712424b6)) * Types ([b19de82](https://github.com/cozy/cozy-client/commit/b19de82a0e3f6172f5b1cec45aa032632fb5b8d4)) ### Features * Use native.js file to make react native really optionnal ([390f46d](https://github.com/cozy/cozy-client/commit/390f46d47c8c80917c93d518ac201a1b40868329)) # [23.8.0](https://github.com/cozy/cozy-client/compare/v23.7.0...v23.8.0) (2021-06-07) ### Features * Add synchronization exclusions methods ([f1b9193](https://github.com/cozy/cozy-client/commit/f1b91936be78ab5eec796817cd17d686a9494086)) # [23.7.0](https://github.com/cozy/cozy-client/compare/v23.6.0...v23.7.0) (2021-06-07) ### Bug Fixes * Better error message ([99d285d](https://github.com/cozy/cozy-client/commit/99d285dbb4311a533404e14a590739f3881472de)) * Changed setState method to update ([fa75fc4](https://github.com/cozy/cozy-client/commit/fa75fc412a2bb4983d306300cd7d54717a5b3fd3)) * Throw when the worker is not a client one ([f6fb779](https://github.com/cozy/cozy-client/commit/f6fb779f1d1662c51b47ad9f160843d53ef1f7d2)) ### Features * Add job setState ([2861501](https://github.com/cozy/cozy-client/commit/2861501df40a78f3af076f4505dbebe01f043bb3)) # [23.6.0](https://github.com/cozy/cozy-client/compare/v23.5.0...v23.6.0) (2021-06-07) ### Bug Fixes * Better docs ([d7b30c5](https://github.com/cozy/cozy-client/commit/d7b30c5ffd257b256f8e80030657c64de5275881)) * Typos ([02491cd](https://github.com/cozy/cozy-client/commit/02491cd66a7a6b4e396256a8fb6dfc393c0440fb)) ### Features * Add react-native authentication ([ce2fa57](https://github.com/cozy/cozy-client/commit/ce2fa571427ed77f3be18095b3eb3345b3634b0c)) # [23.5.0](https://github.com/cozy/cozy-client/compare/v23.4.0...v23.5.0) (2021-06-02) ### Bug Fixes * Do not try to COPY index if it is already the right one ([5319f6b](https://github.com/cozy/cozy-client/commit/5319f6b9a479ff42d49f7e661bcac8949e10eff6)) * Queries in error are correctly sorted ([b486081](https://github.com/cozy/cozy-client/commit/b486081b6da4b1afa10a4f6ab9e3d93f4e0cfe9c)) * When returning default query, return it with the requested id ([4d1072f](https://github.com/cozy/cozy-client/commit/4d1072f7566a14aa378ba73b7f0b1c46aa4b37c8)) ### Features * Add tests for autoUpdate strategies ([8f1b5e6](https://github.com/cozy/cozy-client/commit/8f1b5e6ddd592e61bf8610dede3d87e7bd14eae8)) * Add types for redux slices ([740d31b](https://github.com/cozy/cozy-client/commit/740d31bb0317e05172ef1948bab543fbb1c1e5f0)) * Add types to schema ([132b561](https://github.com/cozy/cozy-client/commit/132b561a085c7f59f8b91bcf9409eb7e1bfecdb0)) * Better types for queries state slice ([7513489](https://github.com/cozy/cozy-client/commit/7513489a5ab50f9c8c716fecbb675078494d6be0)) * Highlight failed queries in query list ([3ece710](https://github.com/cozy/cozy-client/commit/3ece71068c12c1dde9fbd3abceb38a7def15186a)) * Ignore tslint warning ([4a0fc58](https://github.com/cozy/cozy-client/commit/4a0fc58763760bbbcce5cf98b75e564c8ddfb552)) * Queries can choose not to be auto updated ([dd76114](https://github.com/cozy/cozy-client/commit/dd761142cb75b2d8f8acdd2ae4e84a38b6ce52bb)) * Show indexedFields in the Query devtool ([c1debce](https://github.com/cozy/cozy-client/commit/c1debce2ce0dca7959ce0ce493fa2cbc4de62621)) * Type query state ([a3bc450](https://github.com/cozy/cozy-client/commit/a3bc450aabad76c341dea7338db386717fdf590d)) * Type query state in devtools ([7427fa3](https://github.com/cozy/cozy-client/commit/7427fa38b00d76aaa8654861d56bd262492538b1)) * Use lowercase text to have for coherence with other labels ([1c3028b](https://github.com/cozy/cozy-client/commit/1c3028b6a6e0ea77e32cc4957f1585e9cb1dd9ba)) * useQuery/Query support an enabled parameter ([6faede4](https://github.com/cozy/cozy-client/commit/6faede4f590ef2a9f2e5fb53603d6beb035f71f9)) # [23.4.0](https://github.com/cozy/cozy-client/compare/v23.3.0...v23.4.0) (2021-05-26) ### Bug Fixes * Move devtools doc at the right place ([1733bd6](https://github.com/cozy/cozy-client/commit/1733bd67a10fb3b4a632a04a58b6407de075e120)) ### Features * Debug flag activates execution statistics ([083ec05](https://github.com/cozy/cozy-client/commit/083ec059798f123a3be20b35d0ce3427498b2506)) * Reorganize a bit the docs tree structure ([10e7a10](https://github.com/cozy/cozy-client/commit/10e7a1089e4633b2d10816edd9dc164b967cda74)) # [23.3.0](https://github.com/cozy/cozy-client/compare/v23.2.0...v23.3.0) (2021-05-18) ### Features * Add some file models from Drive ([27ed3b0](https://github.com/cozy/cozy-client/commit/27ed3b05391aa820ac1821d66abc4f99444bb7d6)) # [23.2.0](https://github.com/cozy/cozy-client/compare/v23.1.2...v23.2.0) (2021-05-12) ### Bug Fixes * Persist last replicated docid per doctype ([a808320](https://github.com/cozy/cozy-client/commit/a808320d962ab5a69bb67adbba2bf587e110aad9)) ### Features * Initiate replication with _all_docs + bulk insert ([decaeb7](https://github.com/cozy/cozy-client/commit/decaeb7f74a2b14ac5581aedb2b2cbed9858aec8)) * Save last document _id when replicating with all_docs ([4434120](https://github.com/cozy/cozy-client/commit/4434120ad62f4014cb41e5fac5fb444af3608313)) * Upgrade pouchdb-find to benefit from indexeddb ([1bdd848](https://github.com/cozy/cozy-client/commit/1bdd8483ceb2d9c8fdf6e3d45e54f73a5c98fdd7)) ## [23.1.2](https://github.com/cozy/cozy-client/compare/v23.1.1...v23.1.2) (2021-05-11) ### Bug Fixes * Add missing export to useAppsInMaintenance ([6cdeb12](https://github.com/cozy/cozy-client/commit/6cdeb12dbc17569855a62d1e90ec8ea9da2235bb)) ## [23.1.1](https://github.com/cozy/cozy-client/compare/v23.1.0...v23.1.1) (2021-05-11) **Note:** Version bump only for package cozy-client # [23.1.0](https://github.com/cozy/cozy-client/compare/v23.0.0...v23.1.0) (2021-05-10) ### Features * Add useAppsInMaintenance ([a3802f5](https://github.com/cozy/cozy-client/commit/a3802f5f3d43dd067e31f9d3b755627ef4cfdc9c)) # [23.0.0](https://github.com/cozy/cozy-client/compare/v22.3.0...v23.0.0) (2021-04-22) ### Features * Change files storage location on Android ([f45aacb](https://github.com/cozy/cozy-client/commit/f45aacbc5e2fe08e8c1cf8b3da6b49e08a3c0fe6)) ### BREAKING CHANGES * Due to Android 11 release, we have to change the files storage location. # [22.3.0](https://github.com/cozy/cozy-client/compare/v22.2.0...v22.3.0) (2021-04-22) ### Bug Fixes * Better error handling on travis for type check ([4146fba](https://github.com/cozy/cozy-client/commit/4146fbacdabe10999695eab43b6042bdb564c821)) * Remove warnings ([290d118](https://github.com/cozy/cozy-client/commit/290d1189fbd365c2b78008916366dfa2faecdfe4)) * Upgrade cozy-flags to fix errors in test ([3d557e4](https://github.com/cozy/cozy-client/commit/3d557e4afbb12718e544e46b6ceed7e2e6d9da3f)) ### Features * Add execution time in Queries ([829389c](https://github.com/cozy/cozy-client/commit/829389c5d3b2e71d4009ffa78b15f569dd58ae48)) * DevTools display exec time first ([3207153](https://github.com/cozy/cozy-client/commit/3207153cc184187b45916fe554ca0c6aded86f72)) * DevTools Math round exec time ([cd79fca](https://github.com/cozy/cozy-client/commit/cd79fca8d6fa0ba2428f2105e92ed18cbb9bb9d3)) * DevTools warning for < 250ms ([cc0525a](https://github.com/cozy/cozy-client/commit/cc0525a4305d3df489cf03eb94fbf744f00cc1a0)) * Use ObjectInspector by default on queryDef and exec_time ([ff96599](https://github.com/cozy/cozy-client/commit/ff965993596fce5e8b4c1a41f2f93fb74f3ca820)) # [22.2.0](https://github.com/cozy/cozy-client/compare/v22.1.0...v22.2.0) (2021-04-19) ### Bug Fixes * Type ([033d019](https://github.com/cozy/cozy-client/commit/033d0197acc25b327f90de9432983f708b5080f8)) ### Features * Add devtools panel resize ([a07d47e](https://github.com/cozy/cozy-client/commit/a07d47ec684a7046aa445aab5cdf585122339dd8)) * Do not fetch the same query is she is already loading ([9396f32](https://github.com/cozy/cozy-client/commit/9396f3279aafaf27e30853233614913c68d892d3)) * Wrap devtools in a slide component ([60b0ccf](https://github.com/cozy/cozy-client/commit/60b0ccf7255729761937d4847b11a23f2a107578)) # [22.1.0](https://github.com/cozy/cozy-client/compare/v22.0.0...v22.1.0) (2021-03-31) ### Bug Fixes * Defensive code. Check if there is attributes ([87982ea](https://github.com/cozy/cozy-client/commit/87982eac7dd66ecfea3e15063af7b251d38f98bf)) * Move returns line makes the doc generation OK ([6a18ebf](https://github.com/cozy/cozy-client/commit/6a18ebf9b53a0e6c64e5e49323ce4ecdc96a059e)) * Use the correct method to be "type" compatible and add Types ([43c663f](https://github.com/cozy/cozy-client/commit/43c663f8b553ae9609fa191f6f4b7636d48d623f)) ### Features * Autoname getById() query ([dfefe59](https://github.com/cozy/cozy-client/commit/dfefe59e7ac122a5485e3291a7d03106efe04a57)) # [22.0.0](https://github.com/cozy/cozy-client/compare/v21.1.1...v22.0.0) (2021-03-30) ### Bug Fixes * Devtools improvements ([e200fef](https://github.com/cozy/cozy-client/commit/e200fef7b0764b88ea9e2b189a4ccd0c989fb63b)) ### Features * Ability to use devtools without binding store to cozy-client ([77eeb0b](https://github.com/cozy/cozy-client/commit/77eeb0be713b912c63730966a5a2c80d8569b957)) * Auto create store if options.store !== false ([6afda4e](https://github.com/cozy/cozy-client/commit/6afda4e893309f7dfacee4275760bcef14da5f35)) * Improve Queries panels ([a7aa0eb](https://github.com/cozy/cozy-client/commit/a7aa0ebcb1aae53e3f1b9119c7bd820a1f24256f)) * Put devtool panel above all ([4f22090](https://github.com/cozy/cozy-client/commit/4f22090be0be251f614dc041a87178b60564c6ec)) * Show definition ([3c3e08b](https://github.com/cozy/cozy-client/commit/3c3e08b2018d7869188f45a4339faf3382bb76c7)) ### BREAKING CHANGES * If you want to use your own store with cozy-client, you need to pass `store: false` when instantiating CozyClient, otherwise a default redux store will be created for you. Fix https://github.com/cozy/cozy-client/issues/910 ## [21.1.1](https://github.com/cozy/cozy-client/compare/v21.1.0...v21.1.1) (2021-03-29) ### Bug Fixes * Better peer dependency ([00807bb](https://github.com/cozy/cozy-client/commit/00807bb0c66b01d99ed8af171bdcc184897c18d0)) # [21.1.0](https://github.com/cozy/cozy-client/compare/v21.0.1...v21.1.0) (2021-03-29) ### Bug Fixes * Remove two colliding dep and devDep warnings ([f03110a](https://github.com/cozy/cozy-client/commit/f03110a66ff2cd238708fcef5022878e73c068f6)) ### Features * Add devtools ([c2e8a74](https://github.com/cozy/cozy-client/commit/c2e8a74edc4216b49f983c4368f4f22b71ed45eb)) * Add flag devtools panel ([fbac244](https://github.com/cozy/cozy-client/commit/fbac244ecc7992c6d3c5f651b7cdee0f314b5e64)) * Add library version devtools panel ([a4a1d33](https://github.com/cozy/cozy-client/commit/a4a1d3360605b2a95444b4e094a1a17fc6d6570f)) * Add query devtools panel ([55a59cc](https://github.com/cozy/cozy-client/commit/55a59cc458d07396a3bc7090ce5a1d48a351d37f)) ## [21.0.1](https://github.com/cozy/cozy-client/compare/v21.0.0...v21.0.1) (2021-03-24) **Note:** Version bump only for package cozy-client # [21.0.0](https://github.com/cozy/cozy-client/compare/v20.3.0...v21.0.0) (2021-03-23) ### Features * Remove useClientErrors from default export ([c62d396](https://github.com/cozy/cozy-client/commit/c62d396f944eb21855c6ed9768a61b8e5526c2ce)) ### BREAKING CHANGES * To use useClientErrors, you must import it directly: ```patch import { useClientErrors } from 'cozy-client' import useClientErrors from 'cozy-client/dist/hooks/useClientErrors ``` # [20.3.0](https://github.com/cozy/cozy-client/compare/v20.2.1...v20.3.0) (2021-03-23) ### Features * Use createSelector hook to remove need for ReduxProvider ([98ea8c5](https://github.com/cozy/cozy-client/commit/98ea8c5ccaed3776f204f3a5cba73fe484eb8b60)) ## [20.2.1](https://github.com/cozy/cozy-client/compare/v20.2.0...v20.2.1) (2021-03-22) ### Bug Fixes * Detect and destroy inconsistent indexes ([0f54e1a](https://github.com/cozy/cozy-client/commit/0f54e1aca8d44dbf609f7f52199abbb7b995602a)) * Pass the _design for index name ([7e4c3a6](https://github.com/cozy/cozy-client/commit/7e4c3a6f30fa05928b1c23eae07cb8d442239649)) * Query the whole selector to avoid creating specific index ([3ba0b5b](https://github.com/cozy/cozy-client/commit/3ba0b5b8c247f5a464b691c49babf00cf71d3685)) # [20.2.0](https://github.com/cozy/cozy-client/compare/v20.1.0...v20.2.0) (2021-03-17) ### Features * Update cozy-device-helper ([75da334](https://github.com/cozy/cozy-client/commit/75da3341aa4f9f0042fd937b7079f81baab72a4d)) # [20.1.0](https://github.com/cozy/cozy-client/compare/v20.0.0...v20.1.0) (2021-03-16) ### Features * Throw instead of returning undefined in fromDOM ([61e7a03](https://github.com/cozy/cozy-client/commit/61e7a030d13d4bf6a15f75082e602551c3667561)) # [20.0.0](https://github.com/cozy/cozy-client/compare/v19.1.1...v20.0.0) (2021-03-16) ### Bug Fixes * Correct types ([8d7b6ed](https://github.com/cozy/cozy-client/commit/8d7b6ed5362af4f7706878bda36e207a85a94923)) * Use correct method for getAssociation ([11ddd9e](https://github.com/cozy/cozy-client/commit/11ddd9e5d9e5b6961af2f301a43f33a8064d148b)) ### Features * Add capabilities to client DOM instantiation ([c823db2](https://github.com/cozy/cozy-client/commit/c823db2a04174b5a01c6f1a698c881d4a7471780)) * Add on/removeListener methods to cozy client ([f7afbc5](https://github.com/cozy/cozy-client/commit/f7afbc52148625077a700a36f65d934aa1ab1e7e)) * Better types ([f01577d](https://github.com/cozy/cozy-client/commit/f01577dabb8b931a2a2cc73a781705aa7cf0923a)) * Doctype typing ([f1d05c1](https://github.com/cozy/cozy-client/commit/f1d05c143a42d7bb388a6f4cc2e884aa479dc12b)) * Exchange order of arguments for fromDOM ([58524f4](https://github.com/cozy/cozy-client/commit/58524f413e9f50145dd044fe999f8f2cd1e4e827)) * Improve types ([b57c3ab](https://github.com/cozy/cozy-client/commit/b57c3abe703ad571422a8ab95b803f444cccdb06)) * Improve types for CozyClient.fromEnv ([0445dac](https://github.com/cozy/cozy-client/commit/0445dacd9f198ac3fe223fb8470c889e360a94d0)) * Improve typing ([e95f3f0](https://github.com/cozy/cozy-client/commit/e95f3f02d5261ce94580de34b8e12bb7726aa75f)) * Support for instantiating client fromDOM with {{.CozyData}} ([9e5ec4f](https://github.com/cozy/cozy-client/commit/9e5ec4fb93dc6bf2a524c90dd0b7f9b50bb19d52)) * Type useClient return value ([534d934](https://github.com/cozy/cozy-client/commit/534d9342cfea08e740b0c5760ba262faa0f207c7)) ### Reverts * Revert "feat: Remove getAssociation" ([f823ea3](https://github.com/cozy/cozy-client/commit/f823ea3eced7e8efc0dcafd8712dbc1f8a1c0442)) ### BREAKING CHANGES * fromDOM order of arguments has changed, please use CozyClient.fromDOM(options) or CozyClient.fromDOM(options, nodeSelector) ## [19.1.1](https://github.com/cozy/cozy-client/compare/v19.1.0...v19.1.1) (2021-03-12) **Note:** Version bump only for package cozy-client # [19.1.0](https://github.com/cozy/cozy-client/compare/v19.0.0...v19.1.0) (2021-03-08) ### Features * Upgrade cozy-flag to fix react import in node env ([fe18020](https://github.com/cozy/cozy-client/commit/fe180208e8ddce2d06a33aedbe00b182fe523920)) # [19.0.0](https://github.com/cozy/cozy-client/compare/v18.1.3...v19.0.0) (2021-03-05) ### Features * Do not polyfill at the module level ([b8007ff](https://github.com/cozy/cozy-client/commit/b8007ffddf79b1a1741fab13a90f2d9c753ef7e6)) ### BREAKING CHANGES * Any application relying on this behavior (fetch being polyfilled by importing cozy-client) should instead polyfill fetch themself. ## [18.1.3](https://github.com/cozy/cozy-client/compare/v18.1.2...v18.1.3) (2021-03-05) ### Bug Fixes * Upgrade cozy-flags to avoid error in node env ([825bce5](https://github.com/cozy/cozy-client/commit/825bce505af12c04adad7e937481decc37702495)) ## [18.1.2](https://github.com/cozy/cozy-client/compare/v18.1.1...v18.1.2) (2021-03-02) ### Bug Fixes * Do not assign window to win if window is not defined ([d0cd762](https://github.com/cozy/cozy-client/commit/d0cd76231cac91408dde94a18e3a49f49e538d10)) ## [18.1.1](https://github.com/cozy/cozy-client/compare/v18.1.0...v18.1.1) (2021-03-02) **Note:** Version bump only for package cozy-client # [18.1.0](https://github.com/cozy/cozy-client/compare/v18.0.0...v18.1.0) (2021-03-02) ### Features * Make interval query consistent on operators ([ac5c52f](https://github.com/cozy/cozy-client/commit/ac5c52fab5f5bb2501b1e845986a0882a461c68c)) # [18.0.0](https://github.com/cozy/cozy-client/compare/v17.6.1...v18.0.0) (2021-03-02) ### Bug Fixes * Do not import recursively cozy-client ([ced357d](https://github.com/cozy/cozy-client/commit/ced357d0e5f87e4fb45d15e05a7827565bfa0fce)), closes [/github.com/microsoft/TypeScript/issues/14538#issuecomment-638989542](https://github.com//github.com/microsoft/TypeScript/issues/14538/issues/issuecomment-638989542) * HasManyInPlace used this instead of doc passed in argument ([8b56be3](https://github.com/cozy/cozy-client/commit/8b56be37b3a9952ffb1f611802ca88ec2feaea6e)) * Move outDir out of compiler options ([110cb87](https://github.com/cozy/cozy-client/commit/110cb870dd5515fda9551c30efdc43b93c11d668)) * Need plugin to convert & to | when generating doc through jsdoc ([856acf7](https://github.com/cozy/cozy-client/commit/856acf71c9ebfc430156bb55b0a9d7072b3aff79)) * Remove old definition file ([c740ec4](https://github.com/cozy/cozy-client/commit/c740ec4a13d6d863dcecf8f16602fb5ad7487c50)) ### Features * Accept redux 3 or 4 in dependencies ([eb08719](https://github.com/cozy/cozy-client/commit/eb08719292bdeca1dfe05877ad91127934049716)) * Add types for fsnative ([ab01b12](https://github.com/cozy/cozy-client/commit/ab01b128d2a1674d2ebd4c188a06bd8d249b0895)) * Add types to package.json ([c65c3c5](https://github.com/cozy/cozy-client/commit/c65c3c5e2b4777319382ddf3172cb47de40fb27b)) * Better typing for useQuery return value ([c0f0d05](https://github.com/cozy/cozy-client/commit/c0f0d05e1d24892ccaa01522bb70ef0e612c9ae4)) * Explicitely add types to files that get pushed to npm ([5db845c](https://github.com/cozy/cozy-client/commit/5db845ca583d14e851be16b19a475862bb168683)) * Improve typing for HasOneInPlace:query ([82692b5](https://github.com/cozy/cozy-client/commit/82692b508213970b7e7908ae3ff7d16ca6a7282e)) * Re-add outDir types in CLI ([d40c39a](https://github.com/cozy/cozy-client/commit/d40c39a08ae46fdd2962986b6d6b8035060e88ca)) * Remove getAssociation ([83e3ea2](https://github.com/cozy/cozy-client/commit/83e3ea2bff21cf095e838068568616995288196e)) * Reuse QueryResult type definition ([25e8877](https://github.com/cozy/cozy-client/commit/25e8877922bc49ecb80cb3b858872af4e9a31f5f)) * Revise typedefs for window ([0f771a2](https://github.com/cozy/cozy-client/commit/0f771a279baad4b6d6632b5c5db88f8950306f06)) * Type corrections ([b8188c6](https://github.com/cozy/cozy-client/commit/b8188c6fba93560aa54774d0808f7894e82079d2)) * Update jsdocs-to-markdown to version 6 ([c60f843](https://github.com/cozy/cozy-client/commit/c60f843a4f9fe826856e0fa2eea5b21726e4de13)) ### BREAKING CHANGES * This removes the getAssociation method from CozyClient and from the Query result This method did not work so it should not have a big impact ;) ## [17.6.1](https://github.com/cozy/cozy-client/compare/v17.6.0...v17.6.1) (2021-03-01) ### Bug Fixes * HandleMissingIndex can now deal with undefined indexedFields ([743d883](https://github.com/cozy/cozy-client/commit/743d8834b71682d7aaa2bcec1e8285a2af0d536d)) # [17.6.0](https://github.com/cozy/cozy-client/compare/v17.5.0...v17.6.0) (2021-02-26) ### Features * Send uploaded file size via query-string ([#882](https://github.com/cozy/cozy-client/issues/882)) ([2bb6eb9](https://github.com/cozy/cozy-client/commit/2bb6eb966c1fc0d7031757b5702ed17fa0d0e39c)) # [17.5.0](https://github.com/cozy/cozy-client/compare/v17.4.0...v17.5.0) (2021-02-26) ### Features * Add openFileWith in fsnative ([8196628](https://github.com/cozy/cozy-client/commit/819662801421a7fff185895d5ca46497baf3d35d)) # [17.4.0](https://github.com/cozy/cozy-client/compare/v17.3.0...v17.4.0) (2021-02-24) ### Features * Add TimeSerie helpers ([3b1a030](https://github.com/cozy/cozy-client/commit/3b1a030811e8f7a39f3399bd100c2d02f3665395)) # [17.3.0](https://github.com/cozy/cozy-client/compare/v17.2.0...v17.3.0) (2021-02-23) ### Features * Can use app_slug when creating a sharing ([29ecad0](https://github.com/cozy/cozy-client/commit/29ecad0c761e822f33cccbf944cbe38cd37f3c2f)) # [17.2.0](https://github.com/cozy/cozy-client/compare/v17.1.1...v17.2.0) (2021-02-23) ### Features * Add method to deal with cordova ([afd28c4](https://github.com/cozy/cozy-client/commit/afd28c4c2adfe1719c8aa6ca97b6a81cd5dc0fe8)) ## [17.1.1](https://github.com/cozy/cozy-client/compare/v17.1.0...v17.1.1) (2021-02-16) ### Bug Fixes * Copy fields before sort ([a880556](https://github.com/cozy/cozy-client/commit/a880556ddd8dfdc34579708ed1411409bbd0f2d1)) * Do not throw no_usable_index error after find query ([22f7db6](https://github.com/cozy/cozy-client/commit/22f7db69c0fa702f6fa268cb63d4db059febc4bf)) ### Features * Add docs ([7ec48e6](https://github.com/cozy/cozy-client/commit/7ec48e6117a34ddace4f610d048333bbc50bbb21)) # [17.1.0](https://github.com/cozy/cozy-client/compare/v17.0.3...v17.1.0) (2021-02-15) ### Features * Copy design doc when equivalent index is found ([65b3e75](https://github.com/cozy/cozy-client/commit/65b3e75cb5f04fb8000fe41cbd53502f2a73e3b1)) * Limit to 1 the queries after index creation ([20c13ec](https://github.com/cozy/cozy-client/commit/20c13ec80203694a2353708b91c1f8b91af76263)) * Optimistic index creation ([f104d0d](https://github.com/cozy/cozy-client/commit/f104d0df97a553093e640437b22cd94362b95a50)) ## [17.0.3](https://github.com/cozy/cozy-client/compare/v17.0.2...v17.0.3) (2021-02-12) ### Bug Fixes * HasOneInPlace correctly gets its data ([55668a9](https://github.com/cozy/cozy-client/commit/55668a97ec8455e2d4a1588778675f5f18226e74)) ## [17.0.2](https://github.com/cozy/cozy-client/compare/v17.0.1...v17.0.2) (2021-02-12) **Note:** Version bump only for package cozy-client ## [17.0.1](https://github.com/cozy/cozy-client/compare/v17.0.0...v17.0.1) (2021-02-11) ### Bug Fixes * Moving of some spec files to src root folder ([9256942](https://github.com/cozy/cozy-client/commit/92569424e1191cf89f88b7b5af90de0f1295e14c)) * Throw an error only if sources is not an array ([07d4de4](https://github.com/cozy/cozy-client/commit/07d4de452624490f722e22109203779385e96264)) # [17.0.0](https://github.com/cozy/cozy-client/compare/v16.19.0...v17.0.0) (2021-02-10) ### Code Refactoring * Remove deprecated connect ([4b41dad](https://github.com/cozy/cozy-client/commit/4b41dad2d52204cb5903df6a67d2fe4ee501c5b3)) ### Features * Throw if realtime plugin not registered inside client ([2a85818](https://github.com/cozy/cozy-client/commit/2a858188fff5905940c60bcda474fbbf32a8fbdb)) ### BREAKING CHANGES * connect has been removed, please use Query, queryConnect or useQuery to bind data to components. # [16.19.0](https://github.com/cozy/cozy-client/compare/v16.18.0...v16.19.0) (2021-02-08) ### Bug Fixes * Add type to path ([e529b99](https://github.com/cozy/cozy-client/commit/e529b99198d7d83b66a0864f8e691543452e5d24)) ### Features * Add posibility to have multiple values in type with $in ([3ea6132](https://github.com/cozy/cozy-client/commit/3ea6132a27c9a32a735048051862742b3380bd22)) * Docs update architecture schema ([4bbe866](https://github.com/cozy/cozy-client/commit/4bbe866023c05f15cb15383731b407483ab987d8)) # [16.18.0](https://github.com/cozy/cozy-client/compare/v16.17.0...v16.18.0) (2021-02-08) ### Features * Add fetchQueryAndGetFromState ([f06b5a8](https://github.com/cozy/cozy-client/commit/f06b5a8ff1fcc185bfefb9a06b7b2c5fcbdef890)) # [16.17.0](https://github.com/cozy/cozy-client/compare/v16.16.0...v16.17.0) (2021-01-27) ### Features * Add endpoint and method to transform result to Registry ([f206b3b](https://github.com/cozy/cozy-client/commit/f206b3b258949e778a2e24bbbd96d5d286da58ec)) * Add possibility to chose sources when executing a Q().getById() ([cfb82f5](https://github.com/cozy/cozy-client/commit/cfb82f51d45c2998e1c7b9281cd55032534fa21d)) * Add query as argument to collection.get() ([dbab610](https://github.com/cozy/cozy-client/commit/dbab61064dc869460a7bc2eabee3085e93283424)) # [16.16.0](https://github.com/cozy/cozy-client/compare/v16.15.1...v16.16.0) (2021-01-27) ### Bug Fixes * Prevent Too many open files error ([4505818](https://github.com/cozy/cozy-client/commit/4505818a47964a24bdfc42e58bb56f6a3b01d08c)) ### Features * Only return booleans in existsById ([b80c86a](https://github.com/cozy/cozy-client/commit/b80c86a29042a0078d773019d6e81e64bba66e9c)) * Use Q instead of client.get / client.find ([eb5cf84](https://github.com/cozy/cozy-client/commit/eb5cf849592f45ccfad92383cfc23b2f5e4f3cb6)) * Use Q instead of client.get / client.find ([f6581d6](https://github.com/cozy/cozy-client/commit/f6581d6f27c05e3a4351b1ce5dc52175141eb5f2)) ## [16.15.1](https://github.com/cozy/cozy-client/compare/v16.15.0...v16.15.1) (2021-01-26) **Note:** Version bump only for package cozy-client # [16.15.0](https://github.com/cozy/cozy-client/compare/v16.14.0...v16.15.0) (2021-01-26) ### Features * Use Q instead of client.get ([623f02c](https://github.com/cozy/cozy-client/commit/623f02cd697e7b26d6707bd085be87fc46f99605)) # [16.14.0](https://github.com/cozy/cozy-client/compare/v16.13.1...v16.14.0) (2021-01-22) ### Features * Handle index conflicts ([5fa5832](https://github.com/cozy/cozy-client/commit/5fa58327201a95c4e9bff054d8aad41180c9d446)) ## [16.13.1](https://github.com/cozy/cozy-client/compare/v16.13.0...v16.13.1) (2021-01-19) ### Bug Fixes * Fetch qualifications by rules ([72ed55d](https://github.com/cozy/cozy-client/commit/72ed55da9bbb389b1286dd848be8f790ab4a489c)) # [16.13.0](https://github.com/cozy/cozy-client/compare/v16.12.1...v16.13.0) (2021-01-19) ### Features * Add helper to get files by qualification rules ([017b078](https://github.com/cozy/cozy-client/commit/017b07826286df602a5159cd366e8df5b6a42520)) ## [16.12.1](https://github.com/cozy/cozy-client/compare/v16.12.0...v16.12.1) (2021-01-18) ### Bug Fixes * getLastsuccess -> getLastSuccess ([4a60bb2](https://github.com/cozy/cozy-client/commit/4a60bb252a9c04543194e8697b8afeb96a0a62b7)) # [16.12.0](https://github.com/cozy/cozy-client/compare/v16.11.0...v16.12.0) (2021-01-13) ### Bug Fixes * Files API uses meta ([d8b402e](https://github.com/cozy/cozy-client/commit/d8b402efd1b0a2da6928121f91a4a10e64fbecc9)) ### Features * Add log when execution_stats is set ([5959db4](https://github.com/cozy/cozy-client/commit/5959db4afea134f7354305c2324a712388c2f391)) * Support for perfs.execution_stats flag ([19cda8c](https://github.com/cozy/cozy-client/commit/19cda8cb6df9f9c204f3ba964ecb4709120c77a1)) # [16.11.0](https://github.com/cozy/cozy-client/compare/v16.10.2...v16.11.0) (2021-01-11) ### Features * Can create tiny code (6 digits) ([958395f](https://github.com/cozy/cozy-client/commit/958395f73e00c3638fc9ff4c8d29c0cd7d88eae4)) ## [16.10.2](https://github.com/cozy/cozy-client/compare/v16.10.1...v16.10.2) (2020-12-18) **Note:** Version bump only for package cozy-client ## [16.10.1](https://github.com/cozy/cozy-client/compare/v16.10.0...v16.10.1) (2020-12-18) ### Bug Fixes * Add partial index selectors to sift ([29d8b39](https://github.com/cozy/cozy-client/commit/29d8b39fe2898f4e495554df0050cadc4ab64679)) # [16.10.0](https://github.com/cozy/cozy-client/compare/v16.9.0...v16.10.0) (2020-12-10) ### Features * Add receipt qualification ([a838a39](https://github.com/cozy/cozy-client/commit/a838a39687ed813b938406e2d5a7be5cc7bfd4f2)) # [16.9.0](https://github.com/cozy/cozy-client/compare/v16.8.0...v16.9.0) (2020-12-07) ### Features * Allow registry collection fetch to have a limit parameter ([7071d48](https://github.com/cozy/cozy-client/commit/7071d48077f8627c36e4de999792ab3f1de1480a)), closes [/github.com/cozy/cozy-store/pull/705#issuecomment-739244759](https://github.com//github.com/cozy/cozy-store/pull/705/issues/issuecomment-739244759) # [16.8.0](https://github.com/cozy/cozy-client/compare/v16.7.0...v16.8.0) (2020-11-26) ### Bug Fixes * Split imports ([f2175aa](https://github.com/cozy/cozy-client/commit/f2175aa90fd6a1b00b1aefd0d6af9d8eb80249b1)) ### Features * Add partial index example ([18a3bbb](https://github.com/cozy/cozy-client/commit/18a3bbb56d2fe826b1e51737ce150e6352284a14)) * Add partial index in QueryDefinition ([2a3f4c5](https://github.com/cozy/cozy-client/commit/2a3f4c55d7fc5f427ed5a9213579977ee0e73bd2)) * Support partial index in DocumentCollection ([cb3a7f7](https://github.com/cozy/cozy-client/commit/cb3a7f7feaabd0c1d72fe311c738ba8d84a37d2e)) * Use createClientInteractive for examples ([7f4257e](https://github.com/cozy/cozy-client/commit/7f4257e0e1b172d1a072c29b99e0592409c0007c)) * Use partial filter in selector for PouchDB ([ba6bc9b](https://github.com/cozy/cozy-client/commit/ba6bc9bef5e6dcd21e647ad15b678d0f7e60e9f5)) # [16.7.0](https://github.com/cozy/cozy-client/compare/v16.6.0...v16.7.0) (2020-11-25) ### Features * Add isSharingShortcut and isSharingShortcutNew ([d9bbaec](https://github.com/cozy/cozy-client/commit/d9bbaec51bbd5d9a738278fa79523f676c0d529b)) # [16.6.0](https://github.com/cozy/cozy-client/compare/v16.5.0...v16.6.0) (2020-11-24) ### Features * Use node-fetch in place of isomorphic-fetch ([87f9e4e](https://github.com/cozy/cozy-client/commit/87f9e4e2f23f86f9fd9f81f96070f4eede2e01ce)), closes [konnectors/libs#724](https://github.com/konnectors/libs/issues/724) # [16.5.0](https://github.com/cozy/cozy-client/compare/v16.4.1...v16.5.0) (2020-11-24) ### Features * Deprecate query helpers on the client ([aaa7f08](https://github.com/cozy/cozy-client/commit/aaa7f08)) ## [16.4.1](https://github.com/cozy/cozy-client/compare/v16.4.0...v16.4.1) (2020-11-23) ### Bug Fixes * Do not log in tests ([9cb6d2b](https://github.com/cozy/cozy-client/commit/9cb6d2b)) # [16.4.0](https://github.com/cozy/cozy-client/compare/v16.3.0...v16.4.0) (2020-11-16) ### Bug Fixes * Rename getOwnPermissions to fetchOwnPermissions ([5731ea5](https://github.com/cozy/cozy-client/commit/5731ea5)) ### Features * Add get on SharingCollection ([61b4c62](https://github.com/cozy/cozy-client/commit/61b4c62)) * Add isShortcutCreated to permission's model ([cfee955](https://github.com/cozy/cozy-client/commit/cfee955)) * Add others qualifications ([4b3b8b1](https://github.com/cozy/cozy-client/commit/4b3b8b1)) # [16.3.0](https://github.com/cozy/cozy-client/compare/v16.2.0...v16.3.0) (2020-11-16) ### Bug Fixes * Update docs & delete setHasManyItems ([86af0f0](https://github.com/cozy/cozy-client/commit/86af0f0)) ### Features * Add setHasManyItems & removeHasManyItem helpers ([209c4bb](https://github.com/cozy/cozy-client/commit/209c4bb)) # [16.2.0](https://github.com/cozy/cozy-client/compare/v16.1.2...v16.2.0) (2020-11-09) ### Features * Add telecom invoice qualification ([d26df60](https://github.com/cozy/cozy-client/commit/d26df60)) ## [16.1.2](https://github.com/cozy/cozy-client/compare/v16.1.1...v16.1.2) (2020-11-09) ### Bug Fixes * Lint ([c000331](https://github.com/cozy/cozy-client/commit/c000331)) * Use correct var ([38c6599](https://github.com/cozy/cozy-client/commit/38c6599)) ## [16.1.1](https://github.com/cozy/cozy-client/compare/v16.1.0...v16.1.1) (2020-11-05) ### Bug Fixes * **deps:** update dependency isomorphic-fetch to v3 ([0575af6](https://github.com/cozy/cozy-client/commit/0575af6)) # [16.1.0](https://github.com/cozy/cozy-client/compare/v16.0.0...v16.1.0) (2020-11-04) ### Features * Add qualification model ([2320e60](https://github.com/cozy/cozy-client/commit/2320e60)) * Add qualifications helpers ([573f625](https://github.com/cozy/cozy-client/commit/573f625)) * Export document model ([ffc2894](https://github.com/cozy/cozy-client/commit/ffc2894)) * File helper to save qualification ([7204d60](https://github.com/cozy/cozy-client/commit/7204d60)) # [16.0.0](https://github.com/cozy/cozy-client/compare/v15.6.0...v16.0.0) (2020-10-26) ### Bug Fixes * Don't send empty params ([8a384ce](https://github.com/cozy/cozy-client/commit/8a384ce)) * Remove the reference to policy in getSharingRules warning ([b654415](https://github.com/cozy/cozy-client/commit/b654415)) ### Features * New addRecipients API to follow recipients and readOnlyRecipients ([41a8b75](https://github.com/cozy/cozy-client/commit/41a8b75)) * Remove OLD addRecipients API ([8bec3dd](https://github.com/cozy/cozy-client/commit/8bec3dd)) ### BREAKING CHANGES * addRecipients(sharing, recipients, sharingType) is now addRecipients({document, recipients, readOnlyRecipients}) Added Recipient / Sharing / Rule Typedef Don't send params (recipients / readOnlyRecipients) if they are empty # [15.6.0](https://github.com/cozy/cozy-client/compare/v15.5.0...v15.6.0) (2020-10-23) ### Features * GetOwnPermissions returns included ([868c63e](https://github.com/cozy/cozy-client/commit/868c63e)) # [15.5.0](https://github.com/cozy/cozy-client/compare/v15.4.2...v15.5.0) (2020-10-22) ### Features * New Create method for SharingCollection ([0f7c917](https://github.com/cozy/cozy-client/commit/0f7c917)) ## [15.4.2](https://github.com/cozy/cozy-client/compare/v15.4.1...v15.4.2) (2020-10-19) ### Bug Fixes * Use cozy's fork of minilog ([6601431](https://github.com/cozy/cozy-client/commit/6601431)) ## [15.4.1](https://github.com/cozy/cozy-client/compare/v15.4.0...v15.4.1) (2020-10-19) ### Bug Fixes * Rename fetchFileContent to fetchFilecontentById ([a77607c](https://github.com/cozy/cozy-client/commit/a77607c)) * Use console.warn for depreciation ([ae05f44](https://github.com/cozy/cozy-client/commit/ae05f44)) # [15.4.0](https://github.com/cozy/cozy-client/compare/v15.3.1...v15.4.0) (2020-10-16) ### Features * Add Contact's makeFullname, makeDisplayName, makeIndexBy ([a3180c8](https://github.com/cozy/cozy-client/commit/a3180c8)) ## [15.3.1](https://github.com/cozy/cozy-client/compare/v15.3.0...v15.3.1) (2020-10-06) ### Bug Fixes * HasMany helpers ([1786148](https://github.com/cozy/cozy-client/commit/1786148)) # [15.3.0](https://github.com/cozy/cozy-client/compare/v15.2.0...v15.3.0) (2020-10-06) ### Features * Create fails for references without relationship support ([03e46d1](https://github.com/cozy/cozy-client/commit/03e46d1)) # [15.2.0](https://github.com/cozy/cozy-client/compare/v15.1.1...v15.2.0) (2020-10-05) ### Features * When an app/konnector is fetched by id, doctype should be present ([1487ec1](https://github.com/cozy/cozy-client/commit/1487ec1)) ## [15.1.1](https://github.com/cozy/cozy-client/compare/v15.1.0...v15.1.1) (2020-10-02) ### Bug Fixes * Do not show singleDocData warning for non single doc queries ([8dbc52b](https://github.com/cozy/cozy-client/commit/8dbc52b)) # [15.1.0](https://github.com/cozy/cozy-client/compare/v15.0.3...v15.1.0) (2020-09-30) ### Bug Fixes * Handle single dom dataset ([e9b1f54](https://github.com/cozy/cozy-client/commit/e9b1f54)) ### Features * Add fromDOM method ([1740ee7](https://github.com/cozy/cozy-client/commit/1740ee7)) ## [15.0.3](https://github.com/cozy/cozy-client/compare/v15.0.2...v15.0.3) (2020-09-30) ### Bug Fixes * PouchLink should not forward if this is a read only operation ([af021ad](https://github.com/cozy/cozy-client/commit/af021ad)) ## [15.0.2](https://github.com/cozy/cozy-client/compare/v15.0.1...v15.0.2) (2020-09-28) **Note:** Version bump only for package cozy-client ## [15.0.1](https://github.com/cozy/cozy-client/compare/v15.0.0...v15.0.1) (2020-09-25) ### Bug Fixes * Use index for PouchDB mango queries ([#796](https://github.com/cozy/cozy-client/issues/796)) ([7d264df](https://github.com/cozy/cozy-client/commit/7d264df)) # [15.0.0](https://github.com/cozy/cozy-client/compare/v14.7.0...v15.0.0) (2020-09-25) ### Bug Fixes * Do not sort fields for index name ([88a1878](https://github.com/cozy/cozy-client/commit/88a1878)), closes [/github.com/cozy/cozy-client/blob/ea768adecaf0dd1c52e9876bf68e86d099579a9b/packages/cozy-stack-client/src/DocumentCollection.js#L416-L418](https://github.com//github.com/cozy/cozy-client/blob/ea768adecaf0dd1c52e9876bf68e86d099579a9b/packages/cozy-stack-client/src/DocumentCollection.js/issues/L416-L418) ### Features * Check if the sort is correct ([5f1f597](https://github.com/cozy/cozy-client/commit/5f1f597)) ### BREAKING CHANGES * in the absence of an `indexedFields` directive, the attributes order in a `where` selector will matter to create the index. To force an attributes order for an index, use `indexedFields`. We used to sort the index fields to build its name, e.g. "by_date_and_type", which allows to keep the same order independently from their position in the `where` selector. However, this breaks the `indexedFields` behavior: because of the sort, the fields might be indexed in a wrong order, e.g. `[type, date]` will actually produce a `[date, type]` index. As the order is important in Mango, this can break some queries. We remove this sort to be consistent with # [14.7.0](https://github.com/cozy/cozy-client/compare/v14.6.0...v14.7.0) (2020-09-18) ### Bug Fixes * Remove old and not wanted tests ([5b9ce0b](https://github.com/cozy/cozy-client/commit/5b9ce0b)) * Use indexedFields in priority ([4371100](https://github.com/cozy/cozy-client/commit/4371100)) ### Features * Handle executeQuery fail ([25c74a4](https://github.com/cozy/cozy-client/commit/25c74a4)) * PouchLink add warmup queries ([6df1413](https://github.com/cozy/cozy-client/commit/6df1413)) # [14.6.0](https://github.com/cozy/cozy-client/compare/v14.5.0...v14.6.0) (2020-09-18) ### Bug Fixes * Empty contact indexes are objects ([351129a](https://github.com/cozy/cozy-client/commit/351129a)) ### Features * Client-side query sort handles nested attributes ([ea8c06b](https://github.com/cozy/cozy-client/commit/ea8c06b)) # [14.5.0](https://github.com/cozy/cozy-client/compare/v14.4.0...v14.5.0) (2020-09-16) ### Bug Fixes * Typo preventing to use object directly as query in useQuery ([f73e7f1](https://github.com/cozy/cozy-client/commit/f73e7f1)) ### Features * Ability to deactivate hydration ([0378e4b](https://github.com/cozy/cozy-client/commit/0378e4b)) * Use logger for warn / info messages ([adbec45](https://github.com/cozy/cozy-client/commit/adbec45)) * Use query can return single doc data for single doc queries ([60a1ec5](https://github.com/cozy/cozy-client/commit/60a1ec5)) # [14.4.0](https://github.com/cozy/cozy-client/compare/v14.3.0...v14.4.0) (2020-09-11) ### Bug Fixes * Remove fast_finish: true ([8fa88ec](https://github.com/cozy/cozy-client/commit/8fa88ec)) ### Features * Add account model helpers ([bc68346](https://github.com/cozy/cozy-client/commit/bc68346)) * Add static helpers to deal with relationship data ([cae291f](https://github.com/cozy/cozy-client/commit/cae291f)) * Throw if getById is called without id ([bc00255](https://github.com/cozy/cozy-client/commit/bc00255)) # [14.3.0](https://github.com/cozy/cozy-client/compare/v14.2.0...v14.3.0) (2020-09-10) ### Features * Add model functions to deal with sharing shortcuts ([4f02370](https://github.com/cozy/cozy-client/commit/4f02370)) # [14.2.0](https://github.com/cozy/cozy-client/compare/v14.1.3...v14.2.0) (2020-09-07) ### Bug Fixes * Do not set loading on queryState for noninitial initQuery ([293cd1c](https://github.com/cozy/cozy-client/commit/293cd1c)) ### Features * Do not change references unnecessarily ([e8c2c81](https://github.com/cozy/cozy-client/commit/e8c2c81)) ## [14.1.3](https://github.com/cozy/cozy-client/compare/v14.1.2...v14.1.3) (2020-09-04) ### Bug Fixes * Remove deleted document from store ([6f9244d](https://github.com/cozy/cozy-client/commit/6f9244d)) ## [14.1.2](https://github.com/cozy/cozy-client/compare/v14.1.1...v14.1.2) (2020-09-04) ### Bug Fixes * Revoke sharing links fetch all the related permissions ([d769190](https://github.com/cozy/cozy-client/commit/d769190)) ## [14.1.1](https://github.com/cozy/cozy-client/compare/v14.1.0...v14.1.1) (2020-09-03) ### Bug Fixes * Do not reassign to function parameters ([feb6e8e](https://github.com/cozy/cozy-client/commit/feb6e8e)) * Query can be passed a simple object ([cc6e1a6](https://github.com/cozy/cozy-client/commit/cc6e1a6)) * Query with props based query definitions would use stale def ([6ef9c11](https://github.com/cozy/cozy-client/commit/6ef9c11)) ### Features * Set no-reassign-params lint rule to produce errors ([30fa052](https://github.com/cozy/cozy-client/commit/30fa052)) # [14.1.0](https://github.com/cozy/cozy-client/compare/v14.0.0...v14.1.0) (2020-09-03) ### Features * Add ttl params to create Permissions ([cf3478c](https://github.com/cozy/cozy-client/commit/cf3478c)) # [14.0.0](https://github.com/cozy/cozy-client/compare/v13.21.0...v14.0.0) (2020-08-28) ### Features * We can pass a codes argument at the perm creation ([720ab0c](https://github.com/cozy/cozy-client/commit/720ab0c)) ### BREAKING CHANGES * By default, we defaulted the codes values to code for PermissionsCollection.create. Without we receive an object without key in response shortcodes: {"": "abcdfef"}. Now by default we have : shortcodes: {"code": "adcdef"}. It's a BC, but this method is not used in our code base for now. # [13.21.0](https://github.com/cozy/cozy-client/compare/v13.20.3...v13.21.0) (2020-08-20) ### Bug Fixes * Link from React Integration to fetchPolicies ([c37acb0](https://github.com/cozy/cozy-client/commit/c37acb0)) ### Features * Throw if scope is not passed ([78b72e4](https://github.com/cozy/cozy-client/commit/78b72e4)) ## [13.20.3](https://github.com/cozy/cozy-client/compare/v13.20.2...v13.20.3) (2020-08-20) ### Bug Fixes * Broken and missing link in hook ([c32ef3a](https://github.com/cozy/cozy-client/commit/c32ef3a)) * GetInitials now deals with empty name and cozy url ([73f92a0](https://github.com/cozy/cozy-client/commit/73f92a0)) * Method to get contact index now capitalize the index ([7eb266a](https://github.com/cozy/cozy-client/commit/7eb266a)) * Method to get contact index return now an object when empty ([83c1b5c](https://github.com/cozy/cozy-client/commit/83c1b5c)) ## [13.20.2](https://github.com/cozy/cozy-client/compare/v13.20.1...v13.20.2) (2020-08-19) **Note:** Version bump only for package cozy-client ## [13.20.1](https://github.com/cozy/cozy-client/compare/v13.20.0...v13.20.1) (2020-08-13) ### Bug Fixes * Get cozyDomain instead of primaryCozy for contact displayName ([b96b817](https://github.com/cozy/cozy-client/commit/b96b817)) # [13.20.0](https://github.com/cozy/cozy-client/compare/v13.19.0...v13.20.0) (2020-08-07) ### Features * Add getPrimaryCozyDomain in contact models ([156302d](https://github.com/cozy/cozy-client/commit/156302d)) # [13.19.0](https://github.com/cozy/cozy-client/compare/v13.18.2...v13.19.0) (2020-08-05) ### Bug Fixes * Rename contacts to contact (singular) ([26b5546](https://github.com/cozy/cozy-client/commit/26b5546)) ### Features * Add contacts model ([10ade3c](https://github.com/cozy/cozy-client/commit/10ade3c)) ## [13.18.2](https://github.com/cozy/cozy-client/compare/v13.18.1...v13.18.2) (2020-08-05) ### Bug Fixes * Take the right path to get the docs ([9ae299d](https://github.com/cozy/cozy-client/commit/9ae299d)) ## [13.18.1](https://github.com/cozy/cozy-client/compare/v13.18.0...v13.18.1) (2020-08-03) **Note:** Version bump only for package cozy-client # [13.18.0](https://github.com/cozy/cozy-client/compare/v13.17.0...v13.18.0) (2020-07-27) ### Bug Fixes * Switch CI to node 10 ([2d474ea](https://github.com/cozy/cozy-client/commit/2d474ea)) ### Features * RealTimeQueries component ([0e818d6](https://github.com/cozy/cozy-client/commit/0e818d6)) # [13.17.0](https://github.com/cozy/cozy-client/compare/v13.16.1...v13.17.0) (2020-07-27) ### Features * Add hasBeenUpdatedByApp helper ([7c17fc8](https://github.com/cozy/cozy-client/commit/7c17fc8)) ## [13.16.1](https://github.com/cozy/cozy-client/compare/v13.16.0...v13.16.1) (2020-07-24) ### Bug Fixes * Reset other offsets in queries ([36cbade](https://github.com/cozy/cozy-client/commit/36cbade)) # [13.16.0](https://github.com/cozy/cozy-client/compare/v13.15.1...v13.16.0) (2020-07-23) ### Features * Add ContactCollection ([aa60741](https://github.com/cozy/cozy-client/commit/aa60741)) ## [13.15.1](https://github.com/cozy/cozy-client/compare/v13.15.0...v13.15.1) (2020-07-17) ### Bug Fixes * Always have response ids for settings routes ([5327493](https://github.com/cozy/cozy-client/commit/5327493)) # [13.15.0](https://github.com/cozy/cozy-client/compare/v13.14.2...v13.15.0) (2020-07-15) ### Features * Add hasActionableError ([ef489c6](https://github.com/cozy/cozy-client/commit/ef489c6)) * Add method to get createdByApp ([313c2b0](https://github.com/cozy/cozy-client/commit/313c2b0)) ## [13.14.2](https://github.com/cozy/cozy-client/compare/v13.14.1...v13.14.2) (2020-07-15) ### Bug Fixes * Normalize _type but not type ([5d75e1a](https://github.com/cozy/cozy-client/commit/5d75e1a)) ## [13.14.1](https://github.com/cozy/cozy-client/compare/v13.14.0...v13.14.1) (2020-07-13) ### Bug Fixes * Splitfile name accepts empty names ([19af5b2](https://github.com/cozy/cozy-client/commit/19af5b2)) # [13.14.0](https://github.com/cozy/cozy-client/compare/v13.13.1...v13.14.0) (2020-07-09) ### Features * Emit event during PouchLifeCycle ([bb24592](https://github.com/cozy/cozy-client/commit/bb24592)) ## [13.13.1](https://github.com/cozy/cozy-client/compare/v13.13.0...v13.13.1) (2020-07-08) ### Bug Fixes * No next page when querying a set of ids ([12be191](https://github.com/cozy/cozy-client/commit/12be191)) * Support deleted documents in pouch responses ([c64bfb3](https://github.com/cozy/cozy-client/commit/c64bfb3)) # [13.13.0](https://github.com/cozy/cozy-client/compare/v13.12.1...v13.13.0) (2020-07-07) ### Bug Fixes * Can't combine skip, cursor and bookmark in the DSL ([44e1855](https://github.com/cozy/cozy-client/commit/44e1855)) * Support results paginated with limit ([1b7f430](https://github.com/cozy/cozy-client/commit/1b7f430)) * Use query support fetchMore without bookmark + fetchMore return ([383cb48](https://github.com/cozy/cozy-client/commit/383cb48)) ### Features * Support monodirectionnal sync for some doctypes ([c60beef](https://github.com/cozy/cozy-client/commit/c60beef)) ## [13.12.1](https://github.com/cozy/cozy-client/compare/v13.12.0...v13.12.1) (2020-06-30) ### Bug Fixes * FileCollection.statById pagination ([8f07797](https://github.com/cozy/cozy-client/commit/8f07797)) # [13.12.0](https://github.com/cozy/cozy-client/compare/v13.11.2...v13.12.0) (2020-06-30) ### Features * Expose FileCollection.update() via CozyClient.save() ([118f53e](https://github.com/cozy/cozy-client/commit/118f53e)) ## [13.11.2](https://github.com/cozy/cozy-client/compare/v13.11.1...v13.11.2) (2020-06-26) ### Bug Fixes * Support multiple ids in store query updates ([9c33207](https://github.com/cozy/cozy-client/commit/9c33207)) ## [13.11.1](https://github.com/cozy/cozy-client/compare/v13.11.0...v13.11.1) (2020-06-26) ### Bug Fixes * Client-side query sort is case insensitive ([f97400b](https://github.com/cozy/cozy-client/commit/f97400b)) # [13.11.0](https://github.com/cozy/cozy-client/compare/v13.10.0...v13.11.0) (2020-06-26) ### Features * Add emptyTrash method ([52f683e](https://github.com/cozy/cozy-client/commit/52f683e)) # [13.10.0](https://github.com/cozy/cozy-client/compare/v13.9.0...v13.10.0) (2020-06-25) ### Features * Support query defs with multiple ids in pouch link ([942d900](https://github.com/cozy/cozy-client/commit/942d900)) # [13.9.0](https://github.com/cozy/cozy-client/compare/v13.8.5...v13.9.0) (2020-06-23) ### Features * CozyClient can be instantiated without any options ([908ae86](https://github.com/cozy/cozy-client/commit/908ae86)) * Keep query results sorted if a sort has been used on the query ([1ac9386](https://github.com/cozy/cozy-client/commit/1ac9386)) * Support file/folder creation through client.create ([149231a](https://github.com/cozy/cozy-client/commit/149231a)) ### Performance Improvements * Transpile files in parallel ([34f25a2](https://github.com/cozy/cozy-client/commit/34f25a2)) ## [13.8.5](https://github.com/cozy/cozy-client/compare/v13.8.4...v13.8.5) (2020-06-15) ### Bug Fixes * Reset state on logout ([11d77ed](https://github.com/cozy/cozy-client/commit/11d77ed)) ## [13.8.4](https://github.com/cozy/cozy-client/compare/v13.8.3...v13.8.4) (2020-06-10) ### Bug Fixes * Need to return the source from a codemod ([10d09cf](https://github.com/cozy/cozy-client/commit/10d09cf)) * Use correct package for codemods ([181d036](https://github.com/cozy/cozy-client/commit/181d036)) ## [13.8.3](https://github.com/cozy/cozy-client/compare/v13.8.2...v13.8.3) (2020-06-03) ### Bug Fixes * Correctly call callback for tokenRefresh passed in options ([c472fb0](https://github.com/cozy/cozy-client/commit/c472fb0)) ## [13.8.2](https://github.com/cozy/cozy-client/compare/v13.8.1...v13.8.2) (2020-05-27) **Note:** Version bump only for package cozy-client ## [13.8.1](https://github.com/cozy/cozy-client/compare/v13.8.0...v13.8.1) (2020-05-18) ### Bug Fixes * Do not crash if relationship is set to null ([2ec65f8](https://github.com/cozy/cozy-client/commit/2ec65f8)) * Do not dehydrate unexistent relationship as null ([2c5eeca](https://github.com/cozy/cozy-client/commit/2c5eeca)) * No failure if bad Relationship::query() throws ([e1bf884](https://github.com/cozy/cozy-client/commit/e1bf884)) # [13.8.0](https://github.com/cozy/cozy-client/compare/v13.7.0...v13.8.0) (2020-05-15) ### Features * Expose permission.fetchOwn ([f134f62](https://github.com/cozy/cozy-client/commit/f134f62)) # [13.7.0](https://github.com/cozy/cozy-client/compare/v13.6.0...v13.7.0) (2020-05-14) ### Features * useQueries and queryConnectFlat ([9cd7735](https://github.com/cozy/cozy-client/commit/9cd7735)) # [13.6.0](https://github.com/cozy/cozy-client/compare/v13.5.3...v13.6.0) (2020-05-12) ### Features * Codemod to transform withClient into useClient ([23753fc](https://github.com/cozy/cozy-client/commit/23753fc)) ## [13.5.3](https://github.com/cozy/cozy-client/compare/v13.5.2...v13.5.3) (2020-05-06) ### Bug Fixes * **cozy-stack-client:** Allow fetch to work in node ([bd00205](https://github.com/cozy/cozy-client/commit/bd00205)) ## [13.5.2](https://github.com/cozy/cozy-client/compare/v13.5.1...v13.5.2) (2020-04-24) ### Bug Fixes * Handle correctly KO result ([4767ecd](https://github.com/cozy/cozy-client/commit/4767ecd)) ## [13.5.1](https://github.com/cozy/cozy-client/compare/v13.5.0...v13.5.1) (2020-04-24) ### Bug Fixes * Add onerror handler to fetchXHR ([eaf9fbb](https://github.com/cozy/cozy-client/commit/eaf9fbb)) # [13.5.0](https://github.com/cozy/cozy-client/compare/v13.4.2...v13.5.0) (2020-04-22) ### Features * Add useFetchJSON ([55cfdc6](https://github.com/cozy/cozy-client/commit/55cfdc6)) ## [13.4.2](https://github.com/cozy/cozy-client/compare/v13.4.1...v13.4.2) (2020-04-09) ### Bug Fixes * Normalize PermissionsCol.add response ([a9d2fa6](https://github.com/cozy/cozy-client/commit/a9d2fa6)) ## [13.4.1](https://github.com/cozy/cozy-client/compare/v13.4.0...v13.4.1) (2020-04-09) ### Bug Fixes * Add minilog dependency ([b82edb4](https://github.com/cozy/cozy-client/commit/b82edb4)) # [13.4.0](https://github.com/cozy/cozy-client/compare/v13.3.0...v13.4.0) (2020-04-09) ### Features * Add splitFilename ([f7986ee](https://github.com/cozy/cozy-client/commit/f7986ee)) # [13.3.0](https://github.com/cozy/cozy-client/compare/v13.2.1...v13.3.0) (2020-04-03) ### Features * Handle client errors ([6d53aca](https://github.com/cozy/cozy-client/commit/6d53aca)) ## [13.2.1](https://github.com/cozy/cozy-client/compare/v13.2.0...v13.2.1) (2020-03-25) ### Bug Fixes * Wrong condition to check for onload/onprogress support ([ed8ac0f](https://github.com/cozy/cozy-client/commit/ed8ac0f)) # [13.2.0](https://github.com/cozy/cozy-client/compare/v13.1.2...v13.2.0) (2020-03-23) ### Features * Progress events for upload ([43643fc](https://github.com/cozy/cozy-client/commit/43643fc)) ## [13.1.2](https://github.com/cozy/cozy-client/compare/v13.1.1...v13.1.2) (2020-03-19) ### Bug Fixes * Typo in function name ([5e2cefa](https://github.com/cozy/cozy-client/commit/5e2cefa)) ## [13.1.1](https://github.com/cozy/cozy-client/compare/v13.1.0...v13.1.1) (2020-03-19) ### Bug Fixes * Use bookmark with fetchMore ([5ace9b8](https://github.com/cozy/cozy-client/commit/5ace9b8)) # [13.1.0](https://github.com/cozy/cozy-client/compare/v13.0.0...v13.1.0) (2020-03-17) ### Features * Support cursor on FilesCollection.find ([418ff0d](https://github.com/cozy/cozy-client/commit/418ff0d)) # [13.0.0](https://github.com/cozy/cozy-client/compare/v12.6.0...v13.0.0) (2020-03-16) ### Bug Fixes * Typo ([a2e7c63](https://github.com/cozy/cozy-client/commit/a2e7c63)) ### BREAKING CHANGES * Renamed shortcurtImg to shotcutImg in useFetchShortcut # [12.6.0](https://github.com/cozy/cozy-client/compare/v12.5.1...v12.6.0) (2020-03-16) ### Features * Add ShortcutsCollection ([ffd854c](https://github.com/cozy/cozy-client/commit/ffd854c)) ## [12.5.1](https://github.com/cozy/cozy-client/compare/v12.5.0...v12.5.1) (2020-03-13) ### Bug Fixes * Make query data duplicate free ([a06dddc](https://github.com/cozy/cozy-client/commit/a06dddc)) # [12.5.0](https://github.com/cozy/cozy-client/compare/v12.4.0...v12.5.0) (2020-03-06) ### Bug Fixes * Add relative dep on cozy-client ([5fd9cd6](https://github.com/cozy/cozy-client/commit/5fd9cd6)) * Take review into account ([7a1a2e8](https://github.com/cozy/cozy-client/commit/7a1a2e8)) * Tests ([9515444](https://github.com/cozy/cozy-client/commit/9515444)) ### Features * Better UI/token prompt ([b022232](https://github.com/cozy/cozy-client/commit/b022232)) * Implement correctly getDerivedState ([e26588c](https://github.com/cozy/cozy-client/commit/e26588c)) * Make options.as mandatory ([38fb7fb](https://github.com/cozy/cozy-client/commit/38fb7fb)) * Show nb of transactions shown ([6b709c2](https://github.com/cozy/cozy-client/commit/6b709c2)) * Store bookmark inside query ([1bf9f36](https://github.com/cozy/cozy-client/commit/1bf9f36)) * Use query hook ([96cad34](https://github.com/cozy/cozy-client/commit/96cad34)) * Use random name for query when missing ([46c68f0](https://github.com/cozy/cozy-client/commit/46c68f0)) # [12.4.0](https://github.com/cozy/cozy-client/compare/v12.3.0...v12.4.0) (2020-03-06) ### Bug Fixes * Removed timeout ([8fda21d](https://github.com/cozy/cozy-client/commit/8fda21d)) * Typo in the method name ([a77427c](https://github.com/cozy/cozy-client/commit/a77427c)) ### Features * Add useFetchShortcut hooks ([5bebdcf](https://github.com/cozy/cozy-client/commit/5bebdcf)) # [12.3.0](https://github.com/cozy/cozy-client/compare/v12.2.0...v12.3.0) (2020-03-03) ### Features * Added folder model ([ba14aee](https://github.com/cozy/cozy-client/commit/ba14aee)) # [12.2.0](https://github.com/cozy/cozy-client/compare/v12.1.1...v12.2.0) (2020-03-03) ### Features * Hooks for useClient ([6fcf963](https://github.com/cozy/cozy-client/commit/6fcf963)) * Provider and withClient use new context API ([df1d12b](https://github.com/cozy/cozy-client/commit/df1d12b)) ## [12.1.1](https://github.com/cozy/cozy-client/compare/v12.1.0...v12.1.1) (2020-02-28) ### Bug Fixes * Allow custom token file path in createClientInteractive ([ff8a76a](https://github.com/cozy/cozy-client/commit/ff8a76a)) # [12.1.0](https://github.com/cozy/cozy-client/compare/v12.0.0...v12.1.0) (2020-02-28) ### Bug Fixes * Remove open handles after resolve/reject ([b145056](https://github.com/cozy/cozy-client/commit/b145056)) ### Features * Add onListen callback + option to disable authentication page open ([7c6f787](https://github.com/cozy/cozy-client/commit/7c6f787)) * Add test CLI for createClientInteractive ([91648e4](https://github.com/cozy/cozy-client/commit/91648e4)) # [12.0.0](https://github.com/cozy/cozy-client/compare/v11.6.0...v12.0.0) (2020-02-26) ### Features * Snapshot the client in a simplified form ([da3472e](https://github.com/cozy/cozy-client/commit/da3472e)) ### BREAKING CHANGES * Will break existing snapshots # [11.6.0](https://github.com/cozy/cozy-client/compare/v11.5.0...v11.6.0) (2020-02-26) ### Features * Add isShortcut method ([b9b919c](https://github.com/cozy/cozy-client/commit/b9b919c)) # [11.5.0](https://github.com/cozy/cozy-client/compare/v11.4.1...v11.5.0) (2020-02-26) ### Features * Add useCapabilities hook ([e8bd041](https://github.com/cozy/cozy-client/commit/e8bd041)) ## [11.4.1](https://github.com/cozy/cozy-client/compare/v11.4.0...v11.4.1) (2020-02-25) ### Bug Fixes * Don't import from cozy-client. Import from path ([93978ff](https://github.com/cozy/cozy-client/commit/93978ff)) # [11.4.0](https://github.com/cozy/cozy-client/compare/v11.3.0...v11.4.0) (2020-02-24) ### Bug Fixes * Don't expose React from node entry point ([e4bc988](https://github.com/cozy/cozy-client/commit/e4bc988)) ### Features * Add useAppLinkWithStoreFallback hook ([7c4dcd2](https://github.com/cozy/cozy-client/commit/7c4dcd2)) # [11.3.0](https://github.com/cozy/cozy-client/compare/v11.2.1...v11.3.0) (2020-02-24) ### Features * Support single cozy dataset in DOM ([7a6efbd](https://github.com/cozy/cozy-client/commit/7a6efbd)) ## [11.2.1](https://github.com/cozy/cozy-client/compare/v11.2.0...v11.2.1) (2020-02-21) ### Bug Fixes * Invert private / public params for a note url ([adf9fac](https://github.com/cozy/cozy-client/commit/adf9fac)) # [11.2.0](https://github.com/cozy/cozy-client/compare/v11.1.1...v11.2.0) (2020-02-21) ### Bug Fixes * Fix doc ([4f0d6c7](https://github.com/cozy/cozy-client/commit/4f0d6c7)) ### Features * Add a few methods to Note Model ([40eb5e0](https://github.com/cozy/cozy-client/commit/40eb5e0)) * Add create to NotesCollection ([77ab427](https://github.com/cozy/cozy-client/commit/77ab427)) ## [11.1.1](https://github.com/cozy/cozy-client/compare/v11.1.0...v11.1.1) (2020-02-17) # [9.2.0](https://github.com/cozy/cozy-client/compare/v9.1.1...v9.2.0) (2019-12-19) ## [9.1.1](https://github.com/cozy/cozy-client/compare/v9.1.0...v9.1.1) (2019-12-18) ### Bug Fixes * Ensure backward compatibility from pre-9.0.0 ([92ee48e](https://github.com/cozy/cozy-client/commit/92ee48e)) # [9.1.0](https://github.com/cozy/cozy-client/compare/v9.0.0...v9.1.0) (2019-12-18) ### Features * Share a link with special permissions ([#598](https://github.com/cozy/cozy-client/issues/598)) ([ab73de8](https://github.com/cozy/cozy-client/commit/ab73de8)) # [9.0.0](https://github.com/cozy/cozy-client/compare/v8.10.1...v9.0.0) (2019-12-18) ### Bug Fixes * Export triggers model ([6553bd9](https://github.com/cozy/cozy-client/commit/6553bd9)) * Fail safe trigger state checks ([e313b08](https://github.com/cozy/cozy-client/commit/e313b08)) ### Code Refactoring * Singularize method names ([6ecfede](https://github.com/cozy/cozy-client/commit/6ecfede)) ### Features * Check if trigger errors are muted ([3d33ef6](https://github.com/cozy/cozy-client/commit/3d33ef6)) * Destroy all removes the _type from the document ([1ca7ac7](https://github.com/cozy/cozy-client/commit/1ca7ac7)) * Get accounts last error ([bed0445](https://github.com/cozy/cozy-client/commit/bed0445)) * Get last trigger error ([4583e24](https://github.com/cozy/cozy-client/commit/4583e24)) * Get last trigger exec date ([d208d88](https://github.com/cozy/cozy-client/commit/d208d88)) * Get triggers account ([50b5f0d](https://github.com/cozy/cozy-client/commit/50b5f0d)) * Mute account errors ([c2be0f9](https://github.com/cozy/cozy-client/commit/c2be0f9)) ### BREAKING CHANGES * The trigger model is now singular, update your import statements ## [8.10.1](https://github.com/cozy/cozy-client/compare/v8.10.0...v8.10.1) (2019-12-17) ### Bug Fixes * Test if note ([dc80c34](https://github.com/cozy/cozy-client/commit/dc80c34)) # [8.10.0](https://github.com/cozy/cozy-client/compare/v8.9.0...v8.10.0) (2019-12-17) ### Features * Add Note model ([5b4f150](https://github.com/cozy/cozy-client/commit/5b4f150)) # [8.9.0](https://github.com/cozy/cozy-client/compare/v8.8.1...v8.9.0) (2019-12-16) ### Features * Add file model ([b83e58d](https://github.com/cozy/cozy-client/commit/b83e58d)) ## [8.8.1](https://github.com/cozy/cozy-client/compare/v8.8.0...v8.8.1) (2019-12-12) # [8.8.0](https://github.com/cozy/cozy-client/compare/v8.7.1...v8.8.0) (2019-12-12) ### Bug Fixes * JSDoc warnings ([ac3d55a](https://github.com/cozy/cozy-client/commit/ac3d55a)) ### Features * Add mockClient creation for use in tests ([b2c7b40](https://github.com/cozy/cozy-client/commit/b2c7b40)) ## [8.7.1](https://github.com/cozy/cozy-client/compare/v8.7.0...v8.7.1) (2019-12-10) # [8.7.0](https://github.com/cozy/cozy-client/compare/v8.6.0...v8.7.0) (2019-12-10) ### Features * Fix regeneratorRuntime ([#588](https://github.com/cozy/cozy-client/issues/588)) ([4612ad9](https://github.com/cozy/cozy-client/commit/4612ad9)), closes [#584](https://github.com/cozy/cozy-client/issues/584) # [8.6.0](https://github.com/cozy/cozy-client/compare/v8.5.1...v8.6.0) (2019-12-09) ### Bug Fixes * Require regenerator-runtime from @babel/runtime/regenerator ([3de520a](https://github.com/cozy/cozy-client/commit/3de520a)) ### Features * Instance add method to check if already subscribed ([6fb6938](https://github.com/cozy/cozy-client/commit/6fb6938)) ## [8.5.1](https://github.com/cozy/cozy-client/compare/v8.5.0...v8.5.1) (2019-12-05) ### Bug Fixes * Don't change my headers ([fa25142](https://github.com/cozy/cozy-client/commit/fa25142)) # [8.5.0](https://github.com/cozy/cozy-client/compare/v8.4.0...v8.5.0) (2019-12-02) ### Features * Export applications model ([5579f07](https://github.com/cozy/cozy-client/commit/5579f07)) # [8.4.0](https://github.com/cozy/cozy-client/compare/v8.3.1...v8.4.0) (2019-11-29) ### Features * Add checkForRevocation helper ([e62d62b](https://github.com/cozy/cozy-client/commit/e62d62b)) * Add helper functions ([3d9d2dd](https://github.com/cozy/cozy-client/commit/3d9d2dd)) ## [8.3.1](https://github.com/cozy/cozy-client/compare/v8.3.0...v8.3.1) (2019-11-29) # [8.3.0](https://github.com/cozy/cozy-client/compare/v8.2.0...v8.3.0) (2019-11-28) ### Features * Expose cozy client's version ([df53db0](https://github.com/cozy/cozy-client/commit/df53db0)) # [8.2.0](https://github.com/cozy/cozy-client/compare/v8.1.0...v8.2.0) (2019-11-25) ### Features * Instance model add buildPremiumLink ([722085d](https://github.com/cozy/cozy-client/commit/722085d)) # [8.1.0](https://github.com/cozy/cozy-client/compare/v8.0.0...v8.1.0) (2019-11-25) ### Features * Add shoulDisplayOffers method ([d1a3b34](https://github.com/cozy/cozy-client/commit/d1a3b34)) # [8.0.0](https://github.com/cozy/cozy-client/compare/v7.10.0...v8.0.0) (2019-11-22) ### Bug Fixes * SettingsCollection fix data response ([11edf5e](https://github.com/cozy/cozy-client/commit/11edf5e)) ### BREAKING CHANGES * SettingsCollection now returns the result in data : {} # [7.10.0](https://github.com/cozy/cozy-client/compare/v7.9.0...v7.10.0) (2019-11-12) ### Features * Expose Q helper to build query definitions ([64f1924](https://github.com/cozy/cozy-client/commit/64f1924)) # [7.9.0](https://github.com/cozy/cozy-client/compare/v7.8.0...v7.9.0) (2019-11-08) ### Features * Add client creation for CLI ([d5c76cf](https://github.com/cozy/cozy-client/commit/d5c76cf)) # [7.8.0](https://github.com/cozy/cozy-client/compare/v7.7.0...v7.8.0) (2019-10-31) ### Features * Added a simple settings collection ([fa0c1d6](https://github.com/cozy/cozy-client/commit/fa0c1d6)) # [7.7.0](https://github.com/cozy/cozy-client/compare/v7.6.0...v7.7.0) (2019-10-29) ### Features * Log out a web client ([1569893](https://github.com/cozy/cozy-client/commit/1569893)) # [7.6.0](https://github.com/cozy/cozy-client/compare/e3dcce6...v7.6.0) (2019-10-24) ### Features * Export fetchPolicies directly ([#550](https://github.com/cozy/cozy-client/issues/550)) ([e3dcce6](https://github.com/cozy/cozy-client/commit/e3dcce6)) # [11.1.0](https://github.com/cozy/cozy-client/compare/v11.0.1...v11.1.0) (2020-02-14) ### Features * Refresh stack token when invalid ([#643](https://github.com/cozy/cozy-client/issues/643)) ([63ab7a7](https://github.com/cozy/cozy-client/commit/63ab7a7)) ## [11.0.1](https://github.com/cozy/cozy-client/compare/v11.0.0...v11.0.1) (2020-02-13) ### Bug Fixes * Consider data object from stat ([98799f7](https://github.com/cozy/cozy-client/commit/98799f7)) # [11.0.0](https://github.com/cozy/cozy-client/compare/v10.9.0...v11.0.0) (2020-02-12) ### Features * Add paginated find query in perf example ([6e36c52](https://github.com/cozy/cozy-client/commit/6e36c52)) * Add support for bookmark pagination on _find queries ([070f626](https://github.com/cozy/cozy-client/commit/070f626)) ### BREAKING CHANGES * the `meta: {count}` in the response no longer exist. It was used to know how many docs were returned so far and was computed with the skip value. If the client needs this, it can be overcomed by keeping track of the returned docs for each query and perform a `.length` on it. # [10.9.0](https://github.com/cozy/cozy-client/compare/v10.8.1...v10.9.0) (2020-02-11) ### Features * Deprecate withMutations ([fd36af3](https://github.com/cozy/cozy-client/commit/fd36af3)) ## [10.8.1](https://github.com/cozy/cozy-client/compare/v10.8.0...v10.8.1) (2020-02-07) ### Bug Fixes * URL is already encoded, re-encoding it leads to a stack error ([8b39d80](https://github.com/cozy/cozy-client/commit/8b39d80)) # [10.8.0](https://github.com/cozy/cozy-client/compare/v10.7.1...v10.8.0) (2020-02-07) ### Features * Checks if a doc has read-only permissions ([#636](https://github.com/cozy/cozy-client/issues/636)) ([a69184c](https://github.com/cozy/cozy-client/commit/a69184c)) ## [10.7.1](https://github.com/cozy/cozy-client/compare/v10.7.0...v10.7.1) (2020-02-05) ### Bug Fixes * Use open package instead of old opn ([636c969](https://github.com/cozy/cozy-client/commit/636c969)) # [10.7.0](https://github.com/cozy/cozy-client/compare/v10.6.0...v10.7.0) (2020-01-31) ### Features * Add Notes collection `fetchURL` method ([231c737](https://github.com/cozy/cozy-client/commit/231c737)) # [10.6.0](https://github.com/cozy/cozy-client/compare/v10.5.0...v10.6.0) (2020-01-31) ### Features * Add generateWebLink helper ([#628](https://github.com/cozy/cozy-client/issues/628)) ([4d0966b](https://github.com/cozy/cozy-client/commit/4d0966b)) # [10.5.0](https://github.com/cozy/cozy-client/compare/v10.4.0...v10.5.0) (2020-01-28) ### Features * **cozy-client:** Export models in node entry point ([2da0c92](https://github.com/cozy/cozy-client/commit/2da0c92)) # [10.4.0](https://github.com/cozy/cozy-client/compare/v10.3.0...v10.4.0) (2020-01-27) ### Features * Add revokeAllRecipients for a sharing ([57d9786](https://github.com/cozy/cozy-client/commit/57d9786)) # [10.3.0](https://github.com/cozy/cozy-client/compare/v10.2.1...v10.3.0) (2020-01-24) ### Bug Fixes * Use correct data endpoint ([d3339bd](https://github.com/cozy/cozy-client/commit/d3339bd)) ### Features * Get apps by id ([a59bf77](https://github.com/cozy/cozy-client/commit/a59bf77)) ## [10.2.1](https://github.com/cozy/cozy-client/compare/v10.2.0...v10.2.1) (2020-01-23) **Note:** Version bump only for package cozy-client # [10.2.0](https://github.com/cozy/cozy-client/compare/v10.0.0...v10.2.0) (2020-01-22) ### Features * Add fromOldOAuthClient static initiator ([a210668](https://github.com/cozy/cozy-client/commit/a210668)) # [10.1.0](https://github.com/cozy/cozy-client/compare/v10.0.0...v10.1.0) (2020-01-22) ### Features * Add fromOldOAuthClient static initiator ([a210668](https://github.com/cozy/cozy-client/commit/a210668)) # [10.0.0](https://github.com/cozy/cozy-client/compare/v9.10.0...v10.0.0) (2020-01-22) ### Features * HasMany prunes absent documents before passing them down ([6ab4130](https://github.com/cozy/cozy-client/commit/6ab4130)) ### BREAKING CHANGES * - HasMany::data does not return null values - existsById changes of semantics - containsById retains the previous behavior of existsById - containsById does not check for document existence in the store - existsById checks for existence of the document in the store # [9.10.0](https://github.com/cozy/cozy-client/compare/v9.9.0...v9.10.0) (2020-01-20) ### Features * Notes collection ([cac0cc7](https://github.com/cozy/cozy-client/commit/cac0cc7)) # [9.9.0](https://github.com/cozy/cozy-client/compare/v9.8.1...v9.9.0) (2020-01-20) ### Bug Fixes * Add onLine to memoize ([b1febfc](https://github.com/cozy/cozy-client/commit/b1febfc)) * Memoization for getIcon ([73c43eb](https://github.com/cozy/cozy-client/commit/73c43eb)) * Use custom error ([0c091d4](https://github.com/cozy/cozy-client/commit/0c091d4)) ### Features * Correctly await during tests ([2852488](https://github.com/cozy/cozy-client/commit/2852488)) ## [9.8.1](https://github.com/cozy/cozy-client/compare/v9.8.0...v9.8.1) (2020-01-16) ### Bug Fixes * Refresh token on expiration ([#618](https://github.com/cozy/cozy-client/issues/618)) ([434962d](https://github.com/cozy/cozy-client/commit/434962d)) # [9.8.0](https://github.com/cozy/cozy-client/compare/v9.7.0...v9.8.0) (2020-01-15) ### Features * Export createClientInteractive in node entry point ([521d526](https://github.com/cozy/cozy-client/commit/521d526)) * Export createMockClient in both entry points ([7544c97](https://github.com/cozy/cozy-client/commit/7544c97)) # [9.7.0](https://github.com/cozy/cozy-client/compare/v9.6.1...v9.7.0) (2020-01-15) ### Bug Fixes * Await promise during tests and fix the test ([d4bc48e](https://github.com/cozy/cozy-client/commit/d4bc48e)) ### Features * Add codemod to transform client.all into Q ([4ca3a1d](https://github.com/cozy/cozy-client/commit/4ca3a1d)) * Deprecate client.all in favor of Q ([887d422](https://github.com/cozy/cozy-client/commit/887d422)) * Export Q in node env ([cc11c86](https://github.com/cozy/cozy-client/commit/cc11c86)) ## [9.6.1](https://github.com/cozy/cozy-client/compare/v9.6.0...v9.6.1) (2020-01-15) **Note:** Version bump only for package cozy-client # [9.6.0](https://github.com/cozy/cozy-client/compare/v9.5.2...v9.6.0) (2020-01-13) ### Features * Use bookmark pagination for queryAll ([8195a72](https://github.com/cozy/cozy-client/commit/8195a72)) * Use faster concat instead of union ([544887f](https://github.com/cozy/cozy-client/commit/544887f)) ## [9.5.2](https://github.com/cozy/cozy-client/compare/v9.5.1...v9.5.2) (2020-01-10) **Note:** Version bump only for package cozy-client ## [9.5.1](https://github.com/cozy/cozy-client/compare/v9.5.0...v9.5.1) (2020-01-09) ### Bug Fixes * Mute trigger errors without success ([53ea662](https://github.com/cozy/cozy-client/commit/53ea662)) # [9.5.0](https://github.com/cozy/cozy-client/compare/v9.4.0...v9.5.0) (2020-01-08) ### Bug Fixes * Add btoa/cozy-logger deps needed for createClientInteractive tests ([2e80a4a](https://github.com/cozy/cozy-client/commit/2e80a4a)) * Add server-destroy dep necessary for createClientInteractive tests ([edcf7fd](https://github.com/cozy/cozy-client/commit/edcf7fd)) * Revive the client with oauthOptions ([32c0685](https://github.com/cozy/cozy-client/commit/32c0685)) ### Features * Add a manual test script for createClientInteractive ([f9ed9c1](https://github.com/cozy/cozy-client/commit/f9ed9c1)) * Add doctypes to the path of the saved credentials ([675cec0](https://github.com/cozy/cozy-client/commit/675cec0)) * Add tests for createInteractiveClient ([9850f74](https://github.com/cozy/cozy-client/commit/9850f74)) * Pass an fs object to serverOptions ([9b42325](https://github.com/cozy/cozy-client/commit/9b42325)) # [9.4.0](https://github.com/cozy/cozy-client/compare/v9.3.0...v9.4.0) (2020-01-06) ### Features * **cozy-client:** Add getStoreURL method to applications model ([a6f5de0](https://github.com/cozy/cozy-client/commit/a6f5de0)) # [9.3.0](https://github.com/cozy/cozy-client/compare/v9.2.0...v9.3.0) (2020-01-02) ### Features * File normalization function ([#602](https://github.com/cozy/cozy-client/issues/602)) ([ef6e11b](https://github.com/cozy/cozy-client/commit/ef6e11b)), closes [/github.com/cozy/cozy-notes/pull/41#discussion_r360844792](https://github.com//github.com/cozy/cozy-notes/pull/41/issues/discussion_r360844792) # [9.2.0](https://github.com/cozy/cozy-client/compare/v9.1.1...v9.2.0) (2019-12-19) ### Features * Destroy all removes the _type from the document ([1ca7ac7](https://github.com/cozy/cozy-client/commit/1ca7ac7)) ## [9.1.1](https://github.com/cozy/cozy-client/compare/v9.1.0...v9.1.1) (2019-12-18) ### Bug Fixes * Ensure backward compatibility from pre-9.0.0 ([92ee48e](https://github.com/cozy/cozy-client/commit/92ee48e)) # [9.1.0](https://github.com/cozy/cozy-client/compare/v9.0.0...v9.1.0) (2019-12-18) ### Features * Share a link with special permissions ([#598](https://github.com/cozy/cozy-client/issues/598)) ([ab73de8](https://github.com/cozy/cozy-client/commit/ab73de8)) # [9.0.0](https://github.com/cozy/cozy-client/compare/v8.10.1...v9.0.0) (2019-12-18) ### Bug Fixes * Export triggers model ([6553bd9](https://github.com/cozy/cozy-client/commit/6553bd9)) * Fail safe trigger state checks ([e313b08](https://github.com/cozy/cozy-client/commit/e313b08)) ### Code Refactoring * Singularize method names ([6ecfede](https://github.com/cozy/cozy-client/commit/6ecfede)) ### Features * Check if trigger errors are muted ([3d33ef6](https://github.com/cozy/cozy-client/commit/3d33ef6)) * Get accounts last error ([bed0445](https://github.com/cozy/cozy-client/commit/bed0445)) * Get last trigger error ([4583e24](https://github.com/cozy/cozy-client/commit/4583e24)) * Get last trigger exec date ([d208d88](https://github.com/cozy/cozy-client/commit/d208d88)) * Get triggers account ([50b5f0d](https://github.com/cozy/cozy-client/commit/50b5f0d)) * Mute account errors ([c2be0f9](https://github.com/cozy/cozy-client/commit/c2be0f9)) ### BREAKING CHANGES * The trigger model is now singular, update your import statements ## [8.10.1](https://github.com/cozy/cozy-client/compare/v8.10.0...v8.10.1) (2019-12-17) ### Bug Fixes * Test if note ([dc80c34](https://github.com/cozy/cozy-client/commit/dc80c34)) # [8.10.0](https://github.com/cozy/cozy-client/compare/v8.9.0...v8.10.0) (2019-12-17) ### Features * Add Note model ([5b4f150](https://github.com/cozy/cozy-client/commit/5b4f150)) # [8.9.0](https://github.com/cozy/cozy-client/compare/v8.8.1...v8.9.0) (2019-12-16) ### Features * Add file model ([b83e58d](https://github.com/cozy/cozy-client/commit/b83e58d)) ## [8.8.1](https://github.com/cozy/cozy-client/compare/v8.8.0...v8.8.1) (2019-12-12) **Note:** Version bump only for package cozy-client # [8.8.0](https://github.com/cozy/cozy-client/compare/v8.7.1...v8.8.0) (2019-12-12) ### Bug Fixes * JSDoc warnings ([ac3d55a](https://github.com/cozy/cozy-client/commit/ac3d55a)) ### Features * Add mockClient creation for use in tests ([b2c7b40](https://github.com/cozy/cozy-client/commit/b2c7b40)) ## [8.7.1](https://github.com/cozy/cozy-client/compare/v8.7.0...v8.7.1) (2019-12-10) **Note:** Version bump only for package cozy-client # [8.7.0](https://github.com/cozy/cozy-client/compare/v8.6.0...v8.7.0) (2019-12-10) ### Features * Fix regeneratorRuntime ([#588](https://github.com/cozy/cozy-client/issues/588)) ([4612ad9](https://github.com/cozy/cozy-client/commit/4612ad9)), closes [#584](https://github.com/cozy/cozy-client/issues/584) # [8.6.0](https://github.com/cozy/cozy-client/compare/v8.5.1...v8.6.0) (2019-12-09) ### Bug Fixes * Require regenerator-runtime from @babel/runtime/regenerator ([3de520a](https://github.com/cozy/cozy-client/commit/3de520a)) ### Features * Instance add method to check if already subscribed ([6fb6938](https://github.com/cozy/cozy-client/commit/6fb6938)) ## [8.5.1](https://github.com/cozy/cozy-client/compare/v8.5.0...v8.5.1) (2019-12-05) ### Bug Fixes * Don't change my headers ([fa25142](https://github.com/cozy/cozy-client/commit/fa25142)) # [8.5.0](https://github.com/cozy/cozy-client/compare/v8.4.0...v8.5.0) (2019-12-02) ### Features * Export applications model ([5579f07](https://github.com/cozy/cozy-client/commit/5579f07)) # [8.4.0](https://github.com/cozy/cozy-client/compare/v8.3.1...v8.4.0) (2019-11-29) ### Features * Add checkForRevocation helper ([e62d62b](https://github.com/cozy/cozy-client/commit/e62d62b)) * Add helper functions ([3d9d2dd](https://github.com/cozy/cozy-client/commit/3d9d2dd)) ## [8.3.1](https://github.com/cozy/cozy-client/compare/v8.3.0...v8.3.1) (2019-11-29) **Note:** Version bump only for package cozy-client # [8.3.0](https://github.com/cozy/cozy-client/compare/v8.2.0...v8.3.0) (2019-11-28) ### Features * Expose cozy client's version ([df53db0](https://github.com/cozy/cozy-client/commit/df53db0)) # [8.2.0](https://github.com/cozy/cozy-client/compare/v8.1.0...v8.2.0) (2019-11-25) ### Features * Instance model add buildPremiumLink ([722085d](https://github.com/cozy/cozy-client/commit/722085d)) # [8.1.0](https://github.com/cozy/cozy-client/compare/v8.0.0...v8.1.0) (2019-11-25) ### Features * Add shoulDisplayOffers method ([d1a3b34](https://github.com/cozy/cozy-client/commit/d1a3b34)) # [8.0.0](https://github.com/cozy/cozy-client/compare/v7.14.0...v8.0.0) (2019-11-22) ### Bug Fixes * SettingsCollection fix data response ([11edf5e](https://github.com/cozy/cozy-client/commit/11edf5e)) ### BREAKING CHANGES * SettingsCollection now returns the result in data : {} # [7.14.0](https://github.com/cozy/cozy-client/compare/v7.13.0...v7.14.0) (2019-11-21) ### Features * Add Instance Model to manager instance information ([42678fa](https://github.com/cozy/cozy-client/commit/42678fa)) # [7.13.0](https://github.com/cozy/cozy-client/compare/v7.12.0...v7.13.0) (2019-11-21) ### Features * Attempt options auto load ([43786c8](https://github.com/cozy/cozy-client/commit/43786c8)) * Expose instance options ([9824683](https://github.com/cozy/cozy-client/commit/9824683)) # [7.12.0](https://github.com/cozy/cozy-client/compare/v7.11.0...v7.12.0) (2019-11-18) ### Features * **cozy-stack-client:** Files get binary of a file ([31236b9](https://github.com/cozy/cozy-client/commit/31236b9)) # [7.11.0](https://github.com/cozy/cozy-client/compare/v7.10.0...v7.11.0) (2019-11-13) ### Features * **cozy-stack-client:** Download file version ([830679b](https://github.com/cozy/cozy-client/commit/830679b)) # [7.10.0](https://github.com/cozy/cozy-client/compare/v7.9.0...v7.10.0) (2019-11-12) ### Features * Expose Q helper to build query definitions ([64f1924](https://github.com/cozy/cozy-client/commit/64f1924)) # [7.9.0](https://github.com/cozy/cozy-client/compare/v7.8.0...v7.9.0) (2019-11-08) ### Features * Add client creation for CLI ([d5c76cf](https://github.com/cozy/cozy-client/commit/d5c76cf)) # [7.8.0](https://github.com/cozy/cozy-client/compare/v7.7.0...v7.8.0) (2019-10-31) ### Features * Added a simple settings collection ([fa0c1d6](https://github.com/cozy/cozy-client/commit/fa0c1d6)) # [7.7.0](https://github.com/cozy/cozy-client/compare/v7.6.0...v7.7.0) (2019-10-29) ### Features * Log out a web client ([1569893](https://github.com/cozy/cozy-client/commit/1569893)) # [7.6.0](https://github.com/cozy/cozy-client/compare/v7.5.2...v7.6.0) (2019-10-24) ### Features * Export fetchPolicies directly ([89293b8](https://github.com/cozy/cozy-client/commit/89293b8)) ## [7.5.2](https://github.com/cozy/cozy-client/compare/v7.5.1...v7.5.2) (2019-10-21) ### Bug Fixes * Get last execution from state ([64e194e](https://github.com/cozy/cozy-client/commit/64e194e)) ## [7.5.1](https://github.com/cozy/cozy-client/compare/v7.5.0...v7.5.1) (2019-10-16) ### Bug Fixes * Pass doctype correctly to hydrateDocuments ([a2fbe42](https://github.com/cozy/cozy-client/commit/a2fbe42)) # [7.5.0](https://github.com/cozy/cozy-client/compare/v7.4.1...v7.5.0) (2019-10-16) ### Bug Fixes * Make unused variable an error ([19fa023](https://github.com/cozy/cozy-client/commit/19fa023)) ### Features * GetQueryFromState can hydrate documents directly ([6150ae3](https://github.com/cozy/cozy-client/commit/6150ae3)) ## [7.4.1](https://github.com/cozy/cozy-client/compare/v7.4.0...v7.4.1) (2019-10-16) **Note:** Version bump only for package cozy-client # [7.4.0](https://github.com/cozy/cozy-client/compare/v7.3.1...v7.4.0) (2019-10-16) ### Features * Fetch a single app from the registry ([b6a9d85](https://github.com/cozy/cozy-client/commit/b6a9d85)) ## [7.3.1](https://github.com/cozy/cozy-client/compare/v7.3.0...v7.3.1) (2019-10-15) ### Bug Fixes * Do not modify wrapped component PropTypes ([2d107f1](https://github.com/cozy/cozy-client/commit/2d107f1)) # [7.3.0](https://github.com/cozy/cozy-client/compare/v7.2.0...v7.3.0) (2019-10-14) ### Features * Add model helper methods inside cozy-client ([ead3458](https://github.com/cozy/cozy-client/commit/ead3458)) # [7.2.0](https://github.com/cozy/cozy-client/compare/v7.1.1...v7.2.0) (2019-10-14) ### Features * Fetch maintenance apps ([59cc024](https://github.com/cozy/cozy-client/commit/59cc024)) ## [7.1.1](https://github.com/cozy/cozy-client/compare/v7.1.0...v7.1.1) (2019-10-11) **Note:** Version bump only for package cozy-client # [7.1.0](https://github.com/cozy/cozy-client/compare/v7.0.0...v7.1.0) (2019-10-10) ### Bug Fixes * Deprecate updateFileMetadata ([fc811fe](https://github.com/cozy/cozy-client/commit/fc811fe)) ### Features * **cozy-stack-client:** Filecollection update file metadata ([1dbeb40](https://github.com/cozy/cozy-client/commit/1dbeb40)) # [7.0.0](https://github.com/cozy/cozy-client/compare/v6.66.0...v7.0.0) (2019-10-07) ### Bug Fixes * Job collection has default options ([1862faf](https://github.com/cozy/cozy-client/commit/1862faf)) ### Features * Remove unused code ([f4047cb](https://github.com/cozy/cozy-client/commit/f4047cb)) * Show state when warning for unfound document/collection/query ([ff7155c](https://github.com/cozy/cozy-client/commit/ff7155c)) * Throw error if a store already has been set on the client ([744be29](https://github.com/cozy/cozy-client/commit/744be29)) ### BREAKING CHANGES * If you need to use setStore twice, you need to pass options { force: true } * If using StoreProxy {read/write/touch}Query, you should not since it is undocumented and untested # [6.66.0](https://github.com/cozy/cozy-client/compare/v6.65.0...v6.66.0) (2019-10-04) ### Features * Add method to waitFor the completion of a job ([e4759fd](https://github.com/cozy/cozy-client/commit/e4759fd)) * Add methods to launch/update a konnector ([2e83b5b](https://github.com/cozy/cozy-client/commit/2e83b5b)) # [6.65.0](https://github.com/cozy/cozy-client/compare/v6.64.7...v6.65.0) (2019-10-03) ### Bug Fixes * Triple equal ([52edce0](https://github.com/cozy/cozy-client/commit/52edce0)) ### Features * Add updateAll and deleteAll ([e8aa1f1](https://github.com/cozy/cozy-client/commit/e8aa1f1)) * Refresh token throws if not in web context ([b06c19d](https://github.com/cozy/cozy-client/commit/b06c19d)) ## [6.64.7](https://github.com/cozy/cozy-client/compare/v6.64.6...v6.64.7) (2019-09-30) **Note:** Version bump only for package cozy-client ## [6.64.6](https://github.com/cozy/cozy-client/compare/v6.64.5...v6.64.6) (2019-09-17) **Note:** Version bump only for package cozy-client ## [6.64.5](https://github.com/cozy/cozy-client/compare/v6.64.4...v6.64.5) (2019-09-13) **Note:** Version bump only for package cozy-client ## [6.64.4](https://github.com/cozy/cozy-client/compare/v6.64.3...v6.64.4) (2019-09-13) **Note:** Version bump only for package cozy-client ## [6.64.3](https://github.com/cozy/cozy-client/compare/v6.64.2...v6.64.3) (2019-09-13) **Note:** Version bump only for package cozy-client ## [6.64.2](https://github.com/cozy/cozy-client/compare/v6.64.1...v6.64.2) (2019-09-13) ### Bug Fixes * **deps:** update dependency url-search-params-polyfill to v7 ([1189cc5](https://github.com/cozy/cozy-client/commit/1189cc5)) ## [6.64.1](https://github.com/cozy/cozy-client/compare/v6.64.0...v6.64.1) (2019-09-12) **Note:** Version bump only for package cozy-client # [6.64.0](https://github.com/cozy/cozy-client/compare/v6.63.0...v6.64.0) (2019-09-09) ### Features * Add ready-made fetch policies ([fdfb6db](https://github.com/cozy/cozy-client/commit/fdfb6db)) * Fetch policy ([22380bb](https://github.com/cozy/cozy-client/commit/22380bb)) # [6.63.0](https://github.com/cozy/cozy-client/compare/v6.62.0...v6.63.0) (2019-09-09) ### Bug Fixes * Correctly mock requestQuery to send back a response shaped object ([c3ef9f9](https://github.com/cozy/cozy-client/commit/c3ef9f9)) * Error reports the right fix ([46c4efd](https://github.com/cozy/cozy-client/commit/46c4efd)) * Observable query automatically subscribes/unsubscribe from store ([63eddb9](https://github.com/cozy/cozy-client/commit/63eddb9)) ### Features * Better name for watchQuery ([6e83c12](https://github.com/cozy/cozy-client/commit/6e83c12)) * Create children args only when query changes ([8224f70](https://github.com/cozy/cozy-client/commit/8224f70)) # [6.62.0](https://github.com/cozy/cozy-client/compare/v6.61.0...v6.62.0) (2019-09-05) ### Bug Fixes * Add execution flag to scripts/deploy ([cf86dc4](https://github.com/cozy/cozy-client/commit/cf86dc4)) ### Features * Publish git release with lerna ([f95cfcb](https://github.com/cozy/cozy-client/commit/f95cfcb)) * Small improvements and refactor ([#518](https://github.com/cozy/cozy-client/issues/518)) ([d3a308c](https://github.com/cozy/cozy-client/commit/d3a308c)) ## [6.43.1](https://github.com/cozy/cozy-client/compare/v6.43.0...v6.43.1) (2019-06-05) # [6.43.0](https://github.com/cozy/cozy-client/compare/v6.42.0...v6.43.0) (2019-06-05) ### Features * Add job creation + fetching ([77ffdf4](https://github.com/cozy/cozy-client/commit/77ffdf4)) # [6.42.0](https://github.com/cozy/cozy-client/compare/v6.41.1...v6.42.0) (2019-06-04) ### Features * Add an unified way to get the access token ([4799688](https://github.com/cozy/cozy-client/commit/4799688)) ## [6.41.1](https://github.com/cozy/cozy-client/compare/v6.41.0...v6.41.1) (2019-06-03) ### Bug Fixes * **schema:** Map on names to show duplicate error ([606a84f](https://github.com/cozy/cozy-client/commit/606a84f)) # [6.41.0](https://github.com/cozy/cozy-client/compare/v6.40.1...v6.41.0) (2019-06-03) ## [6.40.1](https://github.com/cozy/cozy-client/compare/v6.40.0...v6.40.1) (2019-05-31) ### Features * Add queries on id in dsl ([f625f3d](https://github.com/cozy/cozy-client/commit/f625f3d)) # [6.40.0](https://github.com/cozy/cozy-client/compare/v6.39.0...v6.40.0) (2019-05-31) # [6.39.0](https://github.com/cozy/cozy-client/compare/v6.38.2...v6.39.0) (2019-05-31) ### Bug Fixes * Use memory adapter ([14a6332](https://github.com/cozy/cozy-client/commit/14a6332)) * Use pouchdb browser ([635f71a](https://github.com/cozy/cozy-client/commit/635f71a)) ### Features * Add fetch polyfill in jest setup ([750216d](https://github.com/cozy/cozy-client/commit/750216d)) * Delete triggers ([198062b](https://github.com/cozy/cozy-client/commit/198062b)) * Implicitly create the schema if it does not exist ([3a834a4](https://github.com/cozy/cozy-client/commit/3a834a4)) ## [6.38.2](https://github.com/cozy/cozy-client/compare/v6.38.1...v6.38.2) (2019-05-29) ### Bug Fixes * **cozy-client:** Export cancelable util ([d262983](https://github.com/cozy/cozy-client/commit/d262983)) ## [6.38.1](https://github.com/cozy/cozy-client/compare/v6.38.0...v6.38.1) (2019-05-29) ### Bug Fixes * Use NODE_ENV to differenciate authentication methods ([25499f0](https://github.com/cozy/cozy-client/commit/25499f0)) # [6.38.0](https://github.com/cozy/cozy-client/compare/v6.37.1...v6.38.0) (2019-05-28) ### Bug Fixes * Allow fromEnv instantiation from oauth client ([4f03be9](https://github.com/cozy/cozy-client/commit/4f03be9)) ### Features * **cozy-stack-client:** Add restore method on FileCollection ([cebca37](https://github.com/cozy/cozy-client/commit/cebca37)) ## [6.37.1](https://github.com/cozy/cozy-client/compare/v6.37.0...v6.37.1) (2019-05-27) # [6.37.0](https://github.com/cozy/cozy-client/compare/v6.36.0...v6.37.0) (2019-05-27) ### Features * Add --verbose for babel for watch to show transpiled files ([56fb28a](https://github.com/cozy/cozy-client/commit/56fb28a)) * Fetch apps ([0aa92e4](https://github.com/cozy/cozy-client/commit/0aa92e4)) * Manifest sanitization ([0e75f3f](https://github.com/cozy/cozy-client/commit/0e75f3f)) # [6.36.0](https://github.com/cozy/cozy-client/compare/v6.35.0...v6.36.0) (2019-05-27) ### Features * Standard method of instantiating CozyClient from env vars ([dc2cfab](https://github.com/cozy/cozy-client/commit/dc2cfab)) # [6.35.0](https://github.com/cozy/cozy-client/compare/v6.34.0...v6.35.0) (2019-05-23) ### Features * Add cancelable util ([9f20d87](https://github.com/cozy/cozy-client/commit/9f20d87)) # [6.34.0](https://github.com/cozy/cozy-client/compare/v6.33.0...v6.34.0) (2019-05-22) ### Features * Add Registry API ([73fd7f0](https://github.com/cozy/cozy-client/commit/73fd7f0)) # [6.33.0](https://github.com/cozy/cozy-client/compare/v6.32.0...v6.33.0) (2019-05-21) ### Features * **cozy-stack-client:** Add updateFile method to FileCollection ([21006d1](https://github.com/cozy/cozy-client/commit/21006d1)) # [6.32.0](https://github.com/cozy/cozy-client/compare/v6.31.1...v6.32.0) (2019-05-20) ### Features * Add display name to queryConnect and withClient ([fead480](https://github.com/cozy/cozy-client/commit/fead480)) ## [6.31.1](https://github.com/cozy/cozy-client/compare/v6.31.0...v6.31.1) (2019-05-14) ### Bug Fixes * Do not bind query.fetch if it does not exist ([18846e5](https://github.com/cozy/cozy-client/commit/18846e5)) # [6.31.0](https://github.com/cozy/cozy-client/compare/v6.30.0...v6.31.0) (2019-05-14) # [6.30.0](https://github.com/cozy/cozy-client/compare/v6.29.0...v6.30.0) (2019-05-13) ### Bug Fixes * Do not log warnings when we know what we are doing ([cad9243](https://github.com/cozy/cozy-client/commit/cad9243)) ### Features * Can insert task immediately into PouchLink loop ([7e99e0f](https://github.com/cozy/cozy-client/commit/7e99e0f)) * Sync immediately ([343f394](https://github.com/cozy/cozy-client/commit/343f394)) # [6.29.0](https://github.com/cozy/cozy-client/compare/v6.28.0...v6.29.0) (2019-05-10) ### Features * Cozy-client will autologin if initialized with uri and token ([467a534](https://github.com/cozy/cozy-client/commit/467a534)) # [6.28.0](https://github.com/cozy/cozy-client/compare/v6.27.0...v6.28.0) (2019-05-10) ### Features * Fetch method on ObservableQuery ([4c505b6](https://github.com/cozy/cozy-client/commit/4c505b6)) # [6.27.0](https://github.com/cozy/cozy-client/compare/v6.26.0...v6.27.0) (2019-05-06) ### Features * Add beforeLogin event ([c574c6a](https://github.com/cozy/cozy-client/commit/c574c6a)) # [6.26.0](https://github.com/cozy/cozy-client/compare/v6.25.0...v6.26.0) (2019-05-02) ### Features * Emit beforeLogout event before doing the logout logic ([75a68c6](https://github.com/cozy/cozy-client/commit/75a68c6)) # [6.25.0](https://github.com/cozy/cozy-client/compare/v6.24.2...v6.25.0) (2019-04-30) ### Features * Allows to refresh app tokens ([8b55e2c](https://github.com/cozy/cozy-client/commit/8b55e2c)) ## [6.24.2](https://github.com/cozy/cozy-client/compare/v6.24.1...v6.24.2) (2019-04-29) ## [6.24.1](https://github.com/cozy/cozy-client/compare/v6.24.0...v6.24.1) (2019-04-26) ### Bug Fixes * Bad name for attribute ([4ce8968](https://github.com/cozy/cozy-client/commit/4ce8968)) * Defensive condition ([b23e924](https://github.com/cozy/cozy-client/commit/b23e924)) * Handle isRevoked in login() ([00668fb](https://github.com/cozy/cozy-client/commit/00668fb)) * Set Authorization header ([976f47d](https://github.com/cozy/cozy-client/commit/976f47d)) # [6.24.0](https://github.com/cozy/cozy-client/compare/v6.23.3...v6.24.0) (2019-04-25) ## 6.23.3 (2019-04-25) # [6.61.0](https://github.com/cozy/cozy-client/compare/v6.60.0...v6.61.0) (2019-09-03) ### Features * Change plugin interface ([#511](https://github.com/cozy/cozy-client/issues/511)) ([04f4949](https://github.com/cozy/cozy-client/commit/04f4949)) # [6.60.0](https://github.com/cozy/cozy-client/compare/v6.59.0...v6.60.0) (2019-09-02) ### Features * Add registerPlugin method ([#509](https://github.com/cozy/cozy-client/issues/509)) ([1341329](https://github.com/cozy/cozy-client/commit/1341329)) # [6.59.0](https://github.com/cozy/cozy-client/compare/v6.58.2...v6.59.0) (2019-09-02) ### Features * Instantiate from old client ([#508](https://github.com/cozy/cozy-client/issues/508)) ([a63a5c1](https://github.com/cozy/cozy-client/commit/a63a5c1)) ## [6.58.2](https://github.com/cozy/cozy-client/compare/v6.58.1...v6.58.2) (2019-08-29) ### Bug Fixes * Typo ([92d6cf5](https://github.com/cozy/cozy-client/commit/92d6cf5)) ## [6.58.1](https://github.com/cozy/cozy-client/compare/v6.58.0...v6.58.1) (2019-08-21) **Note:** Version bump only for package cozy-client # [6.58.0](https://github.com/cozy/cozy-client/compare/v6.57.0...v6.58.0) (2019-08-19) ### Features * **cozy-client:** Expose main and browsers entry points ([22f96ed](https://github.com/cozy/cozy-client/commit/22f96ed)) # [6.57.0](https://github.com/cozy/cozy-client/compare/v6.56.1...v6.57.0) (2019-08-07) ### Features * Implement referenced-by add/remove ([04aee66](https://github.com/cozy/cozy-client/commit/04aee66)) ## [6.56.1](https://github.com/cozy/cozy-client/compare/v6.56.0...v6.56.1) (2019-08-07) ### Bug Fixes * Hydrate documents also for in-flight queries ([d4623ad](https://github.com/cozy/cozy-client/commit/d4623ad)) # [6.56.0](https://github.com/cozy/cozy-client/compare/v6.55.1...v6.56.0) (2019-08-02) ### Features * **cozy-stack-client:** We can find on TriggerCollection ([5cef03b](https://github.com/cozy/cozy-client/commit/5cef03b)) ## [6.55.1](https://github.com/cozy/cozy-client/compare/v6.55.0...v6.55.1) (2019-07-30) **Note:** Version bump only for package cozy-client # [6.55.0](https://github.com/cozy/cozy-client/compare/v6.54.0...v6.55.0) (2019-07-23) ### Features * **stackClient:** Implement JobCollection.get() ✨ ([3615b90](https://github.com/cozy/cozy-client/commit/3615b90)) # [6.54.0](https://github.com/cozy/cozy-client/compare/v6.53.0...v6.54.0) (2019-07-23) ### Features * **cozy-client:** Add queryAll method ([932cdc1](https://github.com/cozy/cozy-client/commit/932cdc1)) # [6.53.0](https://github.com/cozy/cozy-client/compare/v6.52.0...v6.53.0) (2019-07-16) ### Features * Use a lighter mime library ([#373](https://github.com/cozy/cozy-client/issues/373)) ([5a97df0](https://github.com/cozy/cozy-client/commit/5a97df0)) # [6.52.0](https://github.com/cozy/cozy-client/compare/v6.51.0...v6.52.0) (2019-07-16) ### Features * **cozy-stack-client:** Updatefile can create metadata ([bd768f7](https://github.com/cozy/cozy-client/commit/bd768f7)) # [6.51.0](https://github.com/cozy/cozy-client/compare/v6.50.0...v6.51.0) (2019-07-16) ### Features * IsChild ([87e92e2](https://github.com/cozy/cozy-client/commit/87e92e2)) # [6.50.0](https://github.com/cozy/cozy-client/compare/v6.49.3...v6.50.0) (2019-07-16) ### Features * **stack:** Add deleteFilePermanently method ([e422b27](https://github.com/cozy/cozy-client/commit/e422b27)) ## [6.49.3](https://github.com/cozy/cozy-client/compare/v6.49.2...v6.49.3) (2019-07-13) ### Bug Fixes * **deps:** update dependency lodash to v4.17.14 ([dc48ea4](https://github.com/cozy/cozy-client/commit/dc48ea4)) ## [6.49.2](https://github.com/cozy/cozy-client/compare/v6.49.1...v6.49.2) (2019-07-12) ### Bug Fixes * **deps:** update dependency lodash to v4.17.13 [security] ([3af67f3](https://github.com/cozy/cozy-client/commit/3af67f3)) ## [6.49.1](https://github.com/cozy/cozy-client/compare/v6.49.0...v6.49.1) (2019-07-12) ### Bug Fixes * **deps:** update dependency cozy-device-helper to v1.7.3 ([9e1328f](https://github.com/cozy/cozy-client/commit/9e1328f)) # [6.49.0](https://github.com/cozy/cozy-client/compare/v6.48.0...v6.49.0) (2019-07-08) ### Bug Fixes * Allow double-array in query param ([78e8d73](https://github.com/cozy/cozy-client/commit/78e8d73)) ### Features * Add cursor-based pagination ([a075999](https://github.com/cozy/cozy-client/commit/a075999)) * Add relationship pagination example ([3f26b98](https://github.com/cozy/cozy-client/commit/3f26b98)) * Force use of cursor for view pagination ([5ad9387](https://github.com/cozy/cozy-client/commit/5ad9387)) * Use recursivity for querystrings ([daaa79f](https://github.com/cozy/cozy-client/commit/daaa79f)) # [6.48.0](https://github.com/cozy/cozy-client/compare/v6.47.1...v6.48.0) (2019-06-27) ### Features * **cozy-client:** Add set and unset methods on HasOne ([0d29b8a](https://github.com/cozy/cozy-client/commit/0d29b8a)) ## [6.47.1](https://github.com/cozy/cozy-client/compare/v6.47.0...v6.47.1) (2019-06-26) ### Bug Fixes * **cozy-client:** Association HasOne don't fail if there is no data ([262d617](https://github.com/cozy/cozy-client/commit/262d617)) # [6.47.0](https://github.com/cozy/cozy-client/compare/v6.46.0...v6.47.0) (2019-06-26) ### Features * **stack:** Expose JobCollection via client.collection('io.cozy.jobs') ([57e5c91](https://github.com/cozy/cozy-client/commit/57e5c91)) # [6.46.0](https://github.com/cozy/cozy-client/compare/v6.45.2...v6.46.0) (2019-06-21) ### Features * **stack:** Implment TriggerCollection.get method ✨ ([f8b170a](https://github.com/cozy/cozy-client/commit/f8b170a)) ## [6.45.2](https://github.com/cozy/cozy-client/compare/v6.45.1...v6.45.2) (2019-06-20) ### Bug Fixes * :bug: Put proptypes on wrapped component instead of wrapper ([c52bc54](https://github.com/cozy/cozy-client/commit/c52bc54)) ## [6.45.1](https://github.com/cozy/cozy-client/compare/v6.45.0...v6.45.1) (2019-06-19) ### Bug Fixes * Broken link ([986d184](https://github.com/cozy/cozy-client/commit/986d184)) * **withMutations:** Expose all withMutations provided props types ([ceeb9ee](https://github.com/cozy/cozy-client/commit/ceeb9ee)) # [6.45.0](https://github.com/cozy/cozy-client/compare/v6.44.0...v6.45.0) (2019-06-14) ### Bug Fixes * **cozy-client:** Login links after the uri is set ([7ea68ea](https://github.com/cozy/cozy-client/commit/7ea68ea)) ### Features * **cozy-pouch-link:** Prevent creating dbs without prefix ([5b5a15b](https://github.com/cozy/cozy-client/commit/5b5a15b)) # [6.44.0](https://github.com/cozy/cozy-client/compare/v6.43.1...v6.44.0) (2019-06-14) ### Bug Fixes * Add execution flag to scripts/deploy ([cf86dc4](https://github.com/cozy/cozy-client/commit/cf86dc4)) ### Features * Add createFileMetadata ([c5a282c](https://github.com/cozy/cozy-client/commit/c5a282c)) * Publish git release with lerna ([f95cfcb](https://github.com/cozy/cozy-client/commit/f95cfcb)) <a name="6.43.1"></a> ## [6.43.1](https://github.com/cozy/cozy-client/compare/v6.43.0...v6.43.1) (2019-06-05) **Note:** Version bump only for package undefined <a name="6.43.0"></a> # [6.43.0](https://github.com/cozy/cozy-client/compare/v6.42.0...v6.43.0) (2019-06-05) ### Features * Add job creation + fetching ([77ffdf4](https://github.com/cozy/cozy-client/commit/77ffdf4)) <a name="6.42.0"></a> # [6.42.0](https://github.com/cozy/cozy-client/compare/v6.41.1...v6.42.0) (2019-06-04) ### Features * Add an unified way to get the access token ([4799688](https://github.com/cozy/cozy-client/commit/4799688)) <a name="6.41.1"></a> ## [6.41.1](https://github.com/cozy/cozy-client/compare/v6.41.0...v6.41.1) (2019-06-03) ### Bug Fixes * **schema:** Map on names to show duplicate error ([606a84f](https://github.com/cozy/cozy-client/commit/606a84f)) <a name="6.41.0"></a> # [6.41.0](https://github.com/cozy/cozy-client/compare/v6.40.1...v6.41.0) (2019-06-03) ### Features * Add queries on id in dsl ([f625f3d](https://github.com/cozy/cozy-client/commit/f625f3d)) <a name="6.40.1"></a> ## [6.40.1](https://github.com/cozy/cozy-client/compare/v6.40.0...v6.40.1) (2019-05-31) **Note:** Version bump only for package undefined <a name="6.40.0"></a> # [6.40.0](https://github.com/cozy/cozy-client/compare/v6.39.0...v6.40.0) (2019-05-31) ### Bug Fixes * Use memory adapter ([14a6332](https://github.com/cozy/cozy-client/commit/14a6332)) * Use pouchdb browser ([635f71a](https://github.com/cozy/cozy-client/commit/635f71a)) ### Features * Add fetch polyfill in jest setup ([750216d](https://github.com/cozy/cozy-client/commit/750216d)) * Implicitly create the schema if it does not exist ([3a834a4](https://github.com/cozy/cozy-client/commit/3a834a4)) <a name="6.39.0"></a> # [6.39.0](https://github.com/cozy/cozy-client/compare/v6.38.2...v6.39.0) (2019-05-31) ### Features * Delete triggers ([198062b](https://github.com/cozy/cozy-client/commit/198062b)) <a name="6.38.2"></a> ## [6.38.2](https://github.com/cozy/cozy-client/compare/v6.38.1...v6.38.2) (2019-05-29) ### Bug Fixes * **cozy-client:** Export cancelable util ([d262983](https://github.com/cozy/cozy-client/commit/d262983)) <a name="6.38.1"></a> ## [6.38.1](https://github.com/cozy/cozy-client/compare/v6.38.0...v6.38.1) (2019-05-29) ### Bug Fixes * Allow fromEnv instantiation from oauth client ([4f03be9](https://github.com/cozy/cozy-client/commit/4f03be9)) * Use NODE_ENV to differenciate authentication methods ([25499f0](https://github.com/cozy/cozy-client/commit/25499f0)) <a name="6.38.0"></a> # [6.38.0](https://github.com/cozy/cozy-client/compare/v6.37.1...v6.38.0) (2019-05-28) ### Features * **cozy-stack-client:** Add restore method on FileCollection ([cebca37](https://github.com/cozy/cozy-client/commit/cebca37)) <a name="6.37.1"></a> ## [6.37.1](https://github.com/cozy/cozy-client/compare/v6.37.0...v6.37.1) (2019-05-27) **Note:** Version bump only for package undefined <a name="6.37.0"></a> # [6.37.0](https://github.com/cozy/cozy-client/compare/v6.36.0...v6.37.0) (2019-05-27) ### Features * Add --verbose for babel for watch to show transpiled files ([56fb28a](https://github.com/cozy/cozy-client/commit/56fb28a)) * Fetch apps ([0aa92e4](https://github.com/cozy/cozy-client/commit/0aa92e4)) * Manifest sanitization ([0e75f3f](https://github.com/cozy/cozy-client/commit/0e75f3f)) <a name="6.36.0"></a> # [6.36.0](https://github.com/cozy/cozy-client/compare/v6.35.0...v6.36.0) (2019-05-27) ### Features * Standard method of instantiating CozyClient from env vars ([dc2cfab](https://github.com/cozy/cozy-client/commit/dc2cfab)) <a name="6.35.0"></a> # [6.35.0](https://github.com/cozy/cozy-client/compare/v6.34.0...v6.35.0) (2019-05-23) ### Features * Add cancelable util ([9f20d87](https://github.com/cozy/cozy-client/commit/9f20d87)) <a name="6.34.0"></a> # [6.34.0](https://github.com/cozy/cozy-client/compare/v6.33.0...v6.34.0) (2019-05-22) ### Features * Add Registry API ([73fd7f0](https://github.com/cozy/cozy-client/commit/73fd7f0)) <a name="6.33.0"></a> # [6.33.0](https://github.com/cozy/cozy-client/compare/v6.32.0...v6.33.0) (2019-05-21) ### Features * **cozy-stack-client:** Add updateFile method to FileCollection ([21006d1](https://github.com/cozy/cozy-client/commit/21006d1)) <a name="6.32.0"></a> # [6.32.0](https://github.com/cozy/cozy-client/compare/v6.31.1...v6.32.0) (2019-05-20) ### Features * Add display name to queryConnect and withClient ([fead480](https://github.com/cozy/cozy-client/commit/fead480)) <a name="6.31.1"></a> ## [6.31.1](https://github.com/cozy/cozy-client/compare/v6.31.0...v6.31.1) (2019-05-14) ### Bug Fixes * Do not bind query.fetch if it does not exist ([18846e5](https://github.com/cozy/cozy-client/commit/18846e5)) <a name="6.31.0"></a> # [6.31.0](https://github.com/cozy/cozy-client/compare/v6.30.0...v6.31.0) (2019-05-14) ### Bug Fixes * Do not log warnings when we know what we are doing ([cad9243](https://github.com/cozy/cozy-client/commit/cad9243)) ### Features * Can insert task immediately into PouchLink loop ([7e99e0f](https://github.com/cozy/cozy-client/commit/7e99e0f)) <a name="6.30.0"></a> # [6.30.0](https://github.com/cozy/cozy-client/compare/v6.29.0...v6.30.0) (2019-05-13) ### Features * Sync immediately ([343f394](https://github.com/cozy/cozy-client/commit/343f394)) <a name="6.29.0"></a> # [6.29.0](https://github.com/cozy/cozy-client/compare/v6.28.0...v6.29.0) (2019-05-10) ### Features * Cozy-client will autologin if initialized with uri and token ([467a534](https://github.com/cozy/cozy-client/commit/467a534)) <a name="6.28.0"></a> # [6.28.0](https://github.com/cozy/cozy-client/compare/v6.27.0...v6.28.0) (2019-05-10) ### Features * Fetch method on ObservableQuery ([4c505b6](https://github.com/cozy/cozy-client/commit/4c505b6)) <a name="6.27.0"></a> # [6.27.0](https://github.com/cozy/cozy-client/compare/v6.26.0...v6.27.0) (2019-05-06) ### Features * Add beforeLogin event ([c574c6a](https://github.com/cozy/cozy-client/commit/c574c6a)) <a name="6.26.0"></a> # [6.26.0](https://github.com/cozy/cozy-client/compare/v6.25.0...v6.26.0) (2019-05-02) ### Features * Emit beforeLogout event before doing the logout logic ([75a68c6](https://github.com/cozy/cozy-client/commit/75a68c6)) <a name="6.25.0"></a> # [6.25.0](https://github.com/cozy/cozy-client/compare/v6.24.2...v6.25.0) (2019-04-30) ### Features * Allows to refresh app tokens ([8b55e2c](https://github.com/cozy/cozy-client/commit/8b55e2c)) <a name="6.24.2"></a> ## [6.24.2](https://github.com/cozy/cozy-client/compare/v6.24.1...v6.24.2) (2019-04-29) ### Bug Fixes * Bad name for attribute ([4ce8968](https://github.com/cozy/cozy-client/commit/4ce8968)) * Defensive condition ([b23e924](https://github.com/cozy/cozy-client/commit/b23e924)) * Handle isRevoked in login() ([00668fb](https://github.com/cozy/cozy-client/commit/00668fb)) * Set Authorization header ([976f47d](https://github.com/cozy/cozy-client/commit/976f47d)) <a name="6.24.1"></a> ## [6.24.1](https://github.com/cozy/cozy-client/compare/v6.24.0...v6.24.1) (2019-04-26) **Note:** Version bump only for package undefined <a name="6.24.0"></a> # [6.24.0](https://github.com/cozy/cozy-client/compare/v6.23.3...v6.24.0) (2019-04-25) ### Features * Ensure stackClient in options has handlers ([27983ae](https://github.com/cozy/cozy-client/commit/27983ae)) * Stack client tells CozyClient of a revocation ([f7c9e95](https://github.com/cozy/cozy-client/commit/f7c9e95)) <a name="6.23.3"></a> ## [6.23.3](https://github.com/cozy/cozy-client/compare/v6.23.2...v6.23.3) (2019-04-25) ### Bug Fixes * Find method was used for KonnectorCollection ([6a46477](https://github.com/cozy/cozy-client/commit/6a46477)) <a name="6.23.2"></a> ## [6.23.2](https://github.com/cozy/cozy-client/compare/v6.23.1...v6.23.2) (2019-04-25) ### Bug Fixes * Await promises otherwise test errors are unhandled rejections ([a291040](https://github.com/cozy/cozy-client/commit/a291040)) * Test was failing ([73856c4](https://github.com/cozy/cozy-client/commit/73856c4)) <a name="6.23.1"></a> ## [6.23.1](https://github.com/cozy/cozy-client/compare/v6.23.0...v6.23.1) (2019-04-25) ### Bug Fixes * **deps:** update dependency qs to v6.7.0 ([cbb1661](https://github.com/cozy/cozy-client/commit/cbb1661)) <a name="6.23.0"></a> # [6.23.0](https://github.com/cozy/cozy-client/compare/v6.22.0...v6.23.0) (2019-04-25) ### Features * Allow to use stack client when not completely initialized ([0c16046](https://github.com/cozy/cozy-client/commit/0c16046)) * Login can set uri and token ([9a4b6b4](https://github.com/cozy/cozy-client/commit/9a4b6b4)) * Reduce timeout for prompt access_code ([84486bf](https://github.com/cozy/cozy-client/commit/84486bf)) <a name="6.22.0"></a> # [6.22.0](https://github.com/cozy/cozy-client/compare/v6.21.0...v6.22.0) (2019-04-24) ### Features * Add event when token is refreshed ([7e92346](https://github.com/cozy/cozy-client/commit/7e92346)) * Client emits events for log{in,out} ([b12d20f](https://github.com/cozy/cozy-client/commit/b12d20f)) <a name="6.21.0"></a> # [6.21.0](https://github.com/cozy/cozy-client/compare/v6.20.0...v6.21.0) (2019-04-03) ### Features * Remove warning ([e0734c2](https://github.com/cozy/cozy-client/commit/e0734c2)) <a name="6.20.0"></a> # [6.20.0](https://github.com/cozy/cozy-client/compare/v6.19.0...v6.20.0) (2019-03-27) ### Features * **client:** Better AppColleciton and KonnectorCollection 📝 ([985d762](https://github.com/cozy/cozy-client/commit/985d762)), closes [#406](https://github.com/cozy/cozy-client/issues/406) <a name="6.19.0"></a> # [6.19.0](https://github.com/cozy/cozy-client/compare/v6.18.1...v6.19.0) (2019-03-26) ### Bug Fixes * **client:** Revert recent changes in fetchRelationships 🚑 ([63e4e46](https://github.com/cozy/cozy-client/commit/63e4e46)) ### Features * **client:** Change HasManyTriggers implementation ✨ ([9e7c3b2](https://github.com/cozy/cozy-client/commit/9e7c3b2)) * **client:** Optimize queries by deduplicating ✨ ([1a856e1](https://github.com/cozy/cozy-client/commit/1a856e1)) <a name="6.18.1"></a> ## [6.18.1](https://github.com/cozy/cozy-client/compare/v6.18.0...v6.18.1) (2019-03-25) ### Bug Fixes * **stack:** Make KonnectorCollection inherit from DocumentCollection 🚑i ([1a56bad](https://github.com/cozy/cozy-client/commit/1a56bad)) <a name="6.18.0"></a> # [6.18.0](https://github.com/cozy/cozy-client/compare/v6.17.0...v6.18.0) (2019-03-22) ### Bug Fixes * **client:** Make TriggerCollection.all() return all 📝 ([ee904c4](https://github.com/cozy/cozy-client/commit/ee904c4)) * **client:** Normalize trigger as expected 📝 ([2561588](https://github.com/cozy/cozy-client/commit/2561588)) ### Features * **client:** Add HasManyTriggers association ✨ ([0f39c37](https://github.com/cozy/cozy-client/commit/0f39c37)) * **client:** Implement find() method in TriggerCollection ✨ ([8787a79](https://github.com/cozy/cozy-client/commit/8787a79)) <a name="6.17.0"></a> # [6.17.0](https://github.com/cozy/cozy-client/compare/v6.16.0...v6.17.0) (2019-03-21) ### Bug Fixes * **stack:** Make KonnectorCollection export KONNECTORS_DOCTYPE 📝 ([a5eb7e8](https://github.com/cozy/cozy-client/commit/a5eb7e8)) * **stack:** Normalize Konnector after fetch 🚑 ([3e938a9](https://github.com/cozy/cozy-client/commit/3e938a9)) ### Features * **stack:** Serve KonnectorCollection and ensure legacy ✨ ([ba2821b](https://github.com/cozy/cozy-client/commit/ba2821b)) <a name="6.16.0"></a> # [6.16.0](https://github.com/cozy/cozy-client/compare/v6.15.0...v6.16.0) (2019-03-20) ### Features * **client:** Add Schema.add() method ✨ ([8c9e592](https://github.com/cozy/cozy-client/commit/8c9e592)) * **stack:** Make Schema.add() throw error if name or doctype exist ⚠️ ([80cf7a1](https://github.com/cozy/cozy-client/commit/80cf7a1)) <a name="6.15.0"></a> # [6.15.0](https://github.com/cozy/cozy-client/compare/v6.14.0...v6.15.0) (2019-03-19) ### Bug Fixes * **client:** Association query may return same QueryDefinition 📝 ([abee793](https://github.com/cozy/cozy-client/commit/abee793)) * **client:** Make association query responses unique in included 📝 ([014d056](https://github.com/cozy/cozy-client/commit/014d056)) * **client:** Make fetchRelationships handle document list 📝 ([bbf8094](https://github.com/cozy/cozy-client/commit/bbf8094)) ### Features * **client:** Allow async query method in Assocation ✨ ([529e7f0](https://github.com/cozy/cozy-client/commit/529e7f0)) <a name="6.14.0"></a> # [6.14.0](https://github.com/cozy/cozy-client/compare/v6.13.0...v6.14.0) (2019-03-19) ### Features * Log via minilog ([661b015](https://github.com/cozy/cozy-client/commit/661b015)) <a name="6.13.0"></a> # [6.13.0](https://github.com/cozy/cozy-client/compare/v6.12.0...v6.13.0) (2019-03-19) ### Features * **client:** Add getCollectionFromState() ✨ ([50ab811](https://github.com/cozy/cozy-client/commit/50ab811)) <a name="6.12.0"></a> # [6.12.0](https://github.com/cozy/cozy-client/compare/v6.11.1...v6.12.0) (2019-03-18) ### Features * **stack:** Add KonnectorCollection ✨ ([addc2d8](https://github.com/cozy/cozy-client/commit/addc2d8)) * **stack:** Add konnectors object under stackClient ✨ ([b6d698b](https://github.com/cozy/cozy-client/commit/b6d698b)) <a name="6.11.1"></a> ## [6.11.1](https://github.com/cozy/cozy-client/compare/v6.11.0...v6.11.1) (2019-03-14) **Note:** Version bump only for package undefined <a name="6.11.0"></a> # [6.11.0](https://github.com/cozy/cozy-client/compare/v6.10.0...v6.11.0) (2019-03-14) ### Features * **cozy-stack-client:** Add all function on TriggerCollection ([7b8e169](https://github.com/cozy/cozy-client/commit/7b8e169)) <a name="6.10.0"></a> # [6.10.0](https://github.com/cozy/cozy-client/compare/v6.9.0...v6.10.0) (2019-03-14) ### Features * :sparkles: Handle konnectors with AppCollection ([6c35e00](https://github.com/cozy/cozy-client/commit/6c35e00)) <a name="6.9.0"></a> # [6.9.0](https://github.com/cozy/cozy-client/compare/v6.8.1...v6.9.0) (2019-03-08) ### Features * Add metadataVersion automatically ([e8b03cd](https://github.com/cozy/cozy-client/commit/e8b03cd)) <a name="6.8.1"></a> ## [6.8.1](https://github.com/cozy/cozy-client/compare/v6.8.0...v6.8.1) (2019-03-08) **Note:** Version bump only for package undefined <a name="6.8.0"></a> # [6.8.0](https://github.com/cozy/cozy-client/compare/v6.7.0...v6.8.0) (2019-03-08) ### Features * Don't use client.schema to add/update cozyMetadata, new format for updatedByApps ([bf6be9b](https://github.com/cozy/cozy-client/commit/bf6be9b)) <a name="6.7.0"></a> # [6.7.0](https://github.com/cozy/cozy-client/compare/v6.6.0...v6.7.0) (2019-03-06) ### Bug Fixes * Copy headers since they can be mutated ([b5ee211](https://github.com/cozy/cozy-client/commit/b5ee211)) ### Features * **Stack:** Add getAuthorizationHeader, deprecate getCredentials ([3c9f82e](https://github.com/cozy/cozy-client/commit/3c9f82e)) * **stackClient:** Send cookies even without Authorization header ([b7c8983](https://github.com/cozy/cozy-client/commit/b7c8983)) * Add setToken, deprecate setCredentials ([2578a22](https://github.com/cozy/cozy-client/commit/2578a22)) * Pass custom Authorization through headers.Authorization ([e4c5acb](https://github.com/cozy/cozy-client/commit/e4c5acb)) * Remove test testing the implementation ([b321f08](https://github.com/cozy/cozy-client/commit/b321f08)) <a name="6.6.0"></a> # [6.6.0](https://github.com/cozy/cozy-client/compare/v6.5.1...v6.6.0) (2019-03-06) ### Features * Change to POST request for doc_ids parameter ([60528a1](https://github.com/cozy/cozy-client/commit/60528a1)) * Update changes route to match all couch parameters ([922bfe1](https://github.com/cozy/cozy-client/commit/922bfe1)) <a name="6.5.1"></a> ## [6.5.1](https://github.com/cozy/cozy-client/compare/v6.5.0...v6.5.1) (2019-03-06) **Note:** Version bump only for package undefined <a name="6.5.0"></a> # [6.5.0](https://github.com/cozy/cozy-client/compare/v6.4.2...v6.5.0) (2019-03-01) ### Features * **OAuthClient:** Add resetClient ([aa18361](https://github.com/cozy/cozy-client/commit/aa18361)) <a name="6.4.2"></a> ## [6.4.2](https://github.com/cozy/cozy-client/compare/v6.4.1...v6.4.2) (2019-02-27) **Note:** Version bump only for package undefined <a name="6.4.1"></a> ## [6.4.1](https://github.com/cozy/cozy-client/compare/v6.4.0...v6.4.1) (2019-02-21) ### Bug Fixes * Support $gt null in query selectors ([516a9f5](https://github.com/cozy/cozy-client/commit/516a9f5)) <a name="6.4.0"></a> # [6.4.0](https://github.com/cozy/cozy-client/compare/v6.3.3...v6.4.0) (2019-02-21) ### Features * Automatic cozy metadata ([f12574b](https://github.com/cozy/cozy-client/commit/f12574b)) <a name="6.3.3"></a> ## [6.3.3](https://github.com/cozy/cozy-client/compare/v6.3.2...v6.3.3) (2019-02-20) ### Bug Fixes * Registry and app routes have different resp fmts ([5e35615](https://github.com/cozy/cozy-client/commit/5e35615)) <a name="6.3.2"></a> ## [6.3.2](https://github.com/cozy/cozy-client/compare/v6.3.1...v6.3.2) (2019-02-20) **Note:** Version bump only for package undefined <a name="6.3.1"></a> ## [6.3.1](https://github.com/cozy/cozy-client/compare/v6.3.0...v6.3.1) (2019-02-19) ### Bug Fixes * Copy options not to modify passed args ([883b010](https://github.com/cozy/cozy-client/commit/883b010)) * Options for fetch were unnecessary and buggy ([2bdcca9](https://github.com/cozy/cozy-client/commit/2bdcca9)) <a name="6.3.0"></a> # [6.3.0](https://github.com/cozy/cozy-client/compare/v6.2.0...v6.3.0) (2019-02-18) ### Features * Get icon from stack or registry for apps and konnectors ([c37fbe1](https://github.com/cozy/cozy-client/commit/c37fbe1)) <a name="6.2.0"></a> # [6.2.0](https://github.com/cozy/cozy-client/compare/v6.1.0...v6.2.0) (2019-02-14) ### Features * Allow multiple mutations in withMutations() ✨ ([0fc07e4](https://github.com/cozy/cozy-client/commit/0fc07e4)) <a name="6.1.0"></a> # [6.1.0](https://github.com/cozy/cozy-client/compare/v6.0.0...v6.1.0) (2019-02-14) ### Bug Fixes * **harvest:** Tests ☔️ ([739449b](https://github.com/cozy/cozy-client/commit/739449b)) ### Features * **stack-client:** Base for TriggersCollection ✨ ([d4be9c2](https://github.com/cozy/cozy-client/commit/d4be9c2)) <a name="6.0.0"></a> # [6.0.0](https://github.com/cozy/cozy-client/compare/v5.7.7...v6.0.0) (2019-02-05) ### Features * Auto-save addById / removeById ([83e3adf](https://github.com/cozy/cozy-client/commit/83e3adf)) ### BREAKING CHANGES * Removed deprecated Associations API <a name="5.7.7"></a> ## [5.7.7](https://github.com/cozy/cozy-client/compare/v5.7.6...v5.7.7) (2019-02-05) ### Bug Fixes * **client:** Use properId in all store slices ([56537e7](https://github.com/cozy/cozy-client/commit/56537e7)) <a name="5.7.6"></a> ## [5.7.6](https://github.com/cozy/cozy-client/compare/v5.7.5...v5.7.6) (2019-01-30) ### Bug Fixes * Add dehydrate method on HasOneInPlace ([d53ab4c](https://github.com/cozy/cozy-client/commit/d53ab4c)) * Return null when getDocumentFromState errors ([51da9f5](https://github.com/cozy/cozy-client/commit/51da9f5)) * Throw if a relation is not dehydratable ([e24d187](https://github.com/cozy/cozy-client/commit/e24d187)) <a name="5.7.5"></a> ## [5.7.5](https://github.com/cozy/cozy-client/compare/v5.7.4...v5.7.5) (2019-01-30) ### Bug Fixes * **docs:** Broken link to DocumentCollection ([b8a7d81](https://github.com/cozy/cozy-client/commit/b8a7d81)) <a name="5.7.4"></a> ## [5.7.4](https://github.com/cozy/cozy-client/compare/v5.7.3...v5.7.4) (2019-01-29) ### Bug Fixes * Hydrating null documents failed ([c66c3c9](https://github.com/cozy/cozy-client/commit/c66c3c9)) <a name="5.7.3"></a> ## [5.7.3](https://github.com/cozy/cozy-client/compare/v5.7.2...v5.7.3) (2019-01-28) ### Bug Fixes * Combine relationships when attaching them to responses ([5d862c3](https://github.com/cozy/cozy-client/commit/5d862c3)) <a name="5.7.2"></a> ## [5.7.2](https://github.com/cozy/cozy-client/compare/v5.7.1...v5.7.2) (2019-01-28) ### Bug Fixes * **client:** Handle undefined relationships ([d1ffcbe](https://github.com/cozy/cozy-client/commit/d1ffcbe)) <a name="5.7.1"></a> ## [5.7.1](https://github.com/cozy/cozy-client/compare/v5.7.0...v5.7.1) (2019-01-23) ### Bug Fixes * Avoid deleting relationships in stored documents ([372fccf](https://github.com/cozy/cozy-client/commit/372fccf)) * Broken link ([89e97a8](https://github.com/cozy/cozy-client/commit/89e97a8)) * Smarter detection of relationship attachments ([bde18dc](https://github.com/cozy/cozy-client/commit/bde18dc)) <a name="5.7.0"></a> # [5.7.0](https://github.com/cozy/cozy-client/compare/v5.6.6...v5.7.0) (2019-01-23) ### Features * **StackLink:** Use find instead of all if a sort option is given ([d7d7b8e](https://github.com/cozy/cozy-client/commit/d7d7b8e)) <a name="5.6.6"></a> ## [5.6.6](https://github.com/cozy/cozy-client/compare/v5.6.5...v5.6.6) (2019-01-22) **Note:** Version bump only for package undefined <a name="5.6.5"></a> ## [5.6.5](https://github.com/cozy/cozy-client/compare/v5.6.4...v5.6.5) (2019-01-22) ### Bug Fixes * Update relationship meta count ([978bd8b](https://github.com/cozy/cozy-client/commit/978bd8b)) <a name="5.6.4"></a> ## [5.6.4](https://github.com/cozy/cozy-client/compare/v5.6.3...v5.6.4) (2019-01-18) ### Bug Fixes * Docs path ([7dc79cd](https://github.com/cozy/cozy-client/commit/7dc79cd)) * Example type ([f2f34e3](https://github.com/cozy/cozy-client/commit/f2f34e3)) <a name="5.6.3"></a> ## [5.6.3](https://github.com/cozy/cozy-client/compare/v5.6.2...v5.6.3) (2019-01-17) ### Bug Fixes * Example type ([6a4e753](https://github.com/cozy/cozy-client/commit/6a4e753)) * Example type ([96af3da](https://github.com/cozy/cozy-client/commit/96af3da)) * Example type ([bac4416](https://github.com/cozy/cozy-client/commit/bac4416)) * Example type ([9ed5aec](https://github.com/cozy/cozy-client/commit/9ed5aec)) <a name="5.6.2"></a> ## [5.6.2](https://github.com/cozy/cozy-client/compare/v5.6.1...v5.6.2) (2019-01-17) ### Bug Fixes * Clean syncedDoctypes on property and localstorage ([25282dd](https://github.com/cozy/cozy-client/commit/25282dd)) <a name="5.6.1"></a> ## [5.6.1](https://github.com/cozy/cozy-client/compare/v5.6.0...v5.6.1) (2019-01-17) ### Features * Split API docs into files ([0c4a9a8](https://github.com/cozy/cozy-client/commit/0c4a9a8)) <a name="5.6.0"></a> # [5.6.0](https://github.com/cozy/cozy-client/compare/v5.5.0...v5.6.0) (2019-01-17) ### Features * Dehydrate more relationships ([f20b7f9](https://github.com/cozy/cozy-client/commit/f20b7f9)) * New HasMany relations API ([7b11927](https://github.com/cozy/cozy-client/commit/7b11927)) <a name="5.5.0"></a> # [5.5.0](https://github.com/cozy/cozy-client/compare/v5.4.6...v5.5.0) (2019-01-15) ### Features * Add urls helpers ([e9de4dc](https://github.com/cozy/cozy-client/commit/e9de4dc)) <a name="5.4.6"></a> ## [5.4.6](https://github.com/cozy/cozy-client/compare/v5.4.5...v5.4.6) (2019-01-14) ### Bug Fixes * **CozyPouchLink:** Re-add allDocs function ([e4e56c4](https://github.com/cozy/cozy-client/commit/e4e56c4)) <a name="5.4.5"></a> ## [5.4.5](https://github.com/cozy/cozy-client/compare/v5.4.3...v5.4.5) (2019-01-11) **Note:** Version bump only for package undefined <a name="5.4.4"></a> ## [5.4.4](https://github.com/cozy/cozy-client/compare/v5.4.3...v5.4.4) (2019-01-11) **Note:** Version bump only for package undefined <a name="5.4.3"></a> ## [5.4.3](https://github.com/cozy/cozy-client/compare/v5.4.2...v5.4.3) (2019-01-11) ### Bug Fixes * Adapter limit bug ([f4fe400](https://github.com/cozy/cozy-client/commit/f4fe400)) <a name="5.4.2"></a> ## [5.4.2](https://github.com/cozy/cozy-client/compare/v5.4.1...v5.4.2) (2019-01-10) **Note:** Version bump only for package undefined <a name="5.4.1"></a> ## [5.4.1](https://github.com/cozy/cozy-client/compare/v5.4.0...v5.4.1) (2019-01-10) ### Bug Fixes * **deps:** pin dependency redux-thunk to 2.3.0 ([6868e9b](https://github.com/cozy/cozy-client/commit/6868e9b)) <a name="5.4.0"></a> # [5.4.0](https://github.com/cozy/cozy-client/compare/v5.3.0...v5.4.0) (2019-01-10) ### Features * **cozy-client:** Deprecate connect HOC ([6b64982](https://github.com/cozy/cozy-client/commit/6b64982)) <a name="5.3.0"></a> # [5.3.0](https://github.com/cozy/cozy-client/compare/v5.2.2...v5.3.0) (2019-01-10) ### Bug Fixes * Fixup thunk ([cf48914](https://github.com/cozy/cozy-client/commit/cf48914)) * Update queries after association fetch more ([9fcf6b7](https://github.com/cozy/cozy-client/commit/9fcf6b7)) ### Features * Added dispatch access to Associations ([c4886cc](https://github.com/cozy/cozy-client/commit/c4886cc)) * Added redux-thunk ([2c0bbd1](https://github.com/cozy/cozy-client/commit/2c0bbd1)) <a name="5.2.2"></a> ## [5.2.2](https://github.com/cozy/cozy-client/compare/v5.2.1...v5.2.2) (2019-01-03) **Note:** Version bump only for package undefined <a name="5.2.1"></a> ## [5.2.1](https://github.com/cozy/cozy-client/compare/v5.2.0...v5.2.1) (2018-12-21) ### Bug Fixes * Guard against rows containg errors ([cb298d9](https://github.com/cozy/cozy-client/commit/cb298d9)) <a name="5.2.0"></a> # [5.2.0](https://github.com/cozy/cozy-client/compare/v5.1.0...v5.2.0) (2018-12-20) ### Features * Method add() for Permissions ✨ ([afdd721](https://github.com/cozy/cozy-client/commit/afdd721)) <a name="5.1.0"></a> # [5.1.0](https://github.com/cozy/cozy-client/compare/v5.0.7...v5.1.0) (2018-12-19) ### Features * HasOne association ✨ ([64221d7](https://github.com/cozy/cozy-client/commit/64221d7)) <a name="5.0.7"></a> ## [5.0.7](https://github.com/cozy/cozy-client/compare/v5.0.6...v5.0.7) (2018-12-19) ### Bug Fixes * Don't update queries with an id selector ([f912d62](https://github.com/cozy/cozy-client/commit/f912d62)) <a name="5.0.6"></a> ## [5.0.6](https://github.com/cozy/cozy-client/compare/v5.0.5...v5.0.6) (2018-12-19) **Note:** Version bump only for package undefined <a name="5.0.5"></a> ## [5.0.5](https://github.com/cozy/cozy-client/compare/v5.0.4...v5.0.5) (2018-12-19) ### Bug Fixes * Do not crash if data is null ([6346e74](https://github.com/cozy/cozy-client/commit/6346e74)) <a name="5.0.4"></a> ## [5.0.4](https://github.com/cozy/cozy-client/compare/v5.0.3...v5.0.4) (2018-12-19) **Note:** Version bump only for package undefined <a name="5.0.3"></a> ## [5.0.3](https://github.com/cozy/cozy-client/compare/v5.0.2...v5.0.3) (2018-12-19) **Note:** Version bump only for package undefined <a name="5.0.2"></a> ## [5.0.2](https://github.com/cozy/cozy-client/compare/v5.0.1...v5.0.2) (2018-12-12) ### Bug Fixes * **CozyStackClient:** Permissions POST endpoint 🚑 ([265633e](https://github.com/cozy/cozy-client/commit/265633e)) <a name="5.0.1"></a> ## [5.0.1](https://github.com/cozy/cozy-client/compare/v5.0.0...v5.0.1) (2018-12-12) ### Bug Fixes * **Query-Doc:** Return included documents to data ([fbcfd94](https://github.com/cozy/cozy-client/commit/fbcfd94)) <a name="5.0.0"></a> # [5.0.0](https://github.com/cozy/cozy-client/compare/v4.14.0...v5.0.0) (2018-12-10) ### Bug Fixes * **CozyClient:** Query's mutations 🚑 ([4166cbc](https://github.com/cozy/cozy-client/commit/4166cbc)) ### Features * Create with fixed id ✨ ([bc26177](https://github.com/cozy/cozy-client/commit/bc26177)) ### BREAKING CHANGES * Create or Update decision is now based on _rev attribute existence and not _id's one anymore <a name="4.14.0"></a> # [4.14.0](https://github.com/cozy/cozy-client/compare/v4.13.2...v4.14.0) (2018-12-10) ### Features * Verbose jest and coverage 🔊 ([3bd50fb](https://github.com/cozy/cozy-client/commit/3bd50fb)) * **client:** Handle stack client unregister error ([c39d816](https://github.com/cozy/cozy-client/commit/c39d816)) <a name="4.13.2"></a> ## [4.13.2](https://github.com/cozy/cozy-client/compare/v4.13.1...v4.13.2) (2018-12-04) ### Bug Fixes * **hasMany:** Tranforom doc into query ([7189ee5](https://github.com/cozy/cozy-client/commit/7189ee5)) <a name="4.13.1"></a> ## [4.13.1](https://github.com/cozy/cozy-client/compare/v4.13.0...v4.13.1) (2018-12-03) ### Bug Fixes * **DocumentCollection:** Check if the doc is not null ([953413e](https://github.com/cozy/cozy-client/commit/953413e)) * **DocumentCollection:** No need to filter when querying _normal_docs ([146b287](https://github.com/cozy/cozy-client/commit/146b287)) <a name="4.13.0"></a> # [4.13.0](https://github.com/cozy/cozy-client/compare/v4.12.2...v4.13.0) (2018-11-30) ### Features * Add fetch changes ([7193f00](https://github.com/cozy/cozy-client/commit/7193f00)) <a name="4.12.2"></a> ## [4.12.2](https://github.com/cozy/cozy-client/compare/v4.12.1...v4.12.2) (2018-11-28) ### Bug Fixes * **DocumentCollection:** Return all docs if limit is null ([a093931](https://github.com/cozy/cozy-client/commit/a093931)) <a name="4.12.1"></a> ## [4.12.1](https://github.com/cozy/cozy-client/compare/v4.12.0...v4.12.1) (2018-11-21) ### Bug Fixes * Loop replication witout delay ([5d08a87](https://github.com/cozy/cozy-client/commit/5d08a87)) <a name="4.12.0"></a> # [4.12.0](https://github.com/cozy/cozy-client/compare/v4.11.0...v4.12.0) (2018-11-21) ### Features * Remove resign cordova event ([c070d52](https://github.com/cozy/cozy-client/commit/c070d52)) <a name="4.11.0"></a> # [4.11.0](https://github.com/cozy/cozy-client/compare/v4.10.0...v4.11.0) (2018-11-21) ### Features * Save state of login to not start replication twice ([6a1f71f](https://github.com/cozy/cozy-client/commit/6a1f71f)) <a name="4.10.0"></a> # [4.10.0](https://github.com/cozy/cozy-client/compare/v4.8.0...v4.10.0) (2018-11-19) ### Bug Fixes * Remove listener and add tests ([81b6df3](https://github.com/cozy/cozy-client/commit/81b6df3)) * Rm safariViewController for Android ([6f1c0e6](https://github.com/cozy/cozy-client/commit/6f1c0e6)) ### Features * Stop Start replication when device is online/offline ([de0a1f9](https://github.com/cozy/cozy-client/commit/de0a1f9)) <a name="4.9.0"></a> # [4.9.0](https://github.com/cozy/cozy-client/compare/v4.8.0...v4.9.0) (2018-11-19) ### Bug Fixes * Remove listener and add tests ([81b6df3](https://github.com/cozy/cozy-client/commit/81b6df3)) * Rm safariViewController for Android ([6f1c0e6](https://github.com/cozy/cozy-client/commit/6f1c0e6)) ### Features * Stop Start replication when device is online/offline ([de0a1f9](https://github.com/cozy/cozy-client/commit/de0a1f9)) <a name="4.8.0"></a> # [4.8.0](https://github.com/cozy/cozy-client/compare/v4.7.1...v4.8.0) (2018-11-19) ### Bug Fixes * **DocCollection:** Correct pagination limits ([de4d7a9](https://github.com/cozy/cozy-client/commit/de4d7a9)) ### Features * **DocCollection:** Use _normal_docs route ([4622d0e](https://github.com/cozy/cozy-client/commit/4622d0e)) <a name="4.7.1"></a> ## [4.7.1](https://github.com/cozy/cozy-client/compare/v4.7.0...v4.7.1) (2018-11-19) **Note:** Version bump only for package undefined <a name="4.7.0"></a> # [4.7.0](https://github.com/cozy/cozy-client/compare/v4.6.0...v4.7.0) (2018-11-14) ### Features * **pouch:** Destroy databases when login on another instance ([a64caad](https://github.com/cozy/cozy-client/commit/a64caad)) <a name="4.6.0"></a> # [4.6.0](https://github.com/cozy/cozy-client/compare/v4.5.0...v4.6.0) (2018-11-14) ### Features * Add authenticate with SafariViewController on mobile ([900bdd4](https://github.com/cozy/cozy-client/commit/900bdd4)) <a name="4.5.0"></a> # [4.5.0](https://github.com/cozy/cozy-client/compare/v4.4.0...v4.5.0) (2018-11-13) ### Bug Fixes * Lint ([c7bc4b1](https://github.com/cozy/cozy-client/commit/c7bc4b1)) ### Features * Add index method to QueryDefinition ([70de235](https://github.com/cozy/cozy-client/commit/70de235)) <a name="4.4.0"></a> # [4.4.0](https://github.com/cozy/cozy-client/compare/v4.3.0...v4.4.0) (2018-11-09) ### Features * Ability to execute a custom request/mutation ([ec243f7](https://github.com/cozy/cozy-client/commit/ec243f7)) <a name="4.3.0"></a> # [4.3.0](https://github.com/cozy/cozy-client/compare/v4.2.1...v4.3.0) (2018-11-09) ### Features * **FileCollection:** Url-encode all parameters ([5f99a42](https://github.com/cozy/cozy-client/commit/5f99a42)) <a name="4.2.1"></a> ## [4.2.1](https://github.com/cozy/cozy-client/compare/v4.2.0...v4.2.1) (2018-11-08) ### Bug Fixes * Case typo ([8b6acc2](https://github.com/cozy/cozy-client/commit/8b6acc2)) <a name="4.2.0"></a> # [4.2.0](https://github.com/cozy/cozy-client/compare/v4.1.0...v4.2.0) (2018-11-08) ### Features * **pouch:** Manage sync status by doctype ([a2d4923](https://github.com/cozy/cozy-client/commit/a2d4923)) <a name="4.1.0"></a> # [4.1.0](https://github.com/cozy/cozy-client/compare/v4.0.0...v4.1.0) (2018-11-07) ### Features * Add pouch parameters ([f783916](https://github.com/cozy/cozy-client/commit/f783916)) <a name="4.0.0"></a> # [4.0.0](https://github.com/cozy/cozy-client/compare/v3.8.0...v4.0.0) (2018-11-05) ### Code Refactoring * Client uses stackClient ([42428f7](https://github.com/cozy/cozy-client/commit/42428f7)) ### Features * Disable console via mock in all tests ([8e67741](https://github.com/cozy/cozy-client/commit/8e67741)) * Pouch link calls setData on the client ([989b432](https://github.com/cozy/cozy-client/commit/989b432)) ### BREAKING CHANGES * registerOnLinks is no longer called with a CozyStackClient but with a CozyClient <a name="3.8.0"></a> # [3.8.0](https://github.com/cozy/cozy-client/compare/v3.7.7...v3.8.0) (2018-11-02) ### Features * Log time necessary to replicate a DB ([452a1a0](https://github.com/cozy/cozy-client/commit/452a1a0)) <a name="3.7.7"></a> ## [3.7.7](https://github.com/cozy/cozy-client/compare/v3.7.6...v3.7.7) (2018-11-02) ### Bug Fixes * Discard rev from PouchDB results ([#249](https://github.com/cozy/cozy-client/issues/249)) ([5d88ae4](https://github.com/cozy/cozy-client/commit/5d88ae4)) <a name="3.7.6"></a> ## [3.7.6](https://github.com/cozy/cozy-client/compare/v3.7.5...v3.7.6) (2018-10-31) ### Bug Fixes * Ensure database is created on the remote side ([ff71b37](https://github.com/cozy/cozy-client/commit/ff71b37)) <a name="3.7.5"></a> ## [3.7.5](https://github.com/cozy/cozy-client/compare/v3.7.3...v3.7.5) (2018-10-31) ### Bug Fixes * Repair HasMany files relationships ([cba9552](https://github.com/cozy/cozy-client/commit/cba9552)) <a name="3.7.4"></a> ## [3.7.4](https://github.com/cozy/cozy-client/compare/v3.7.3...v3.7.4) (2018-10-31) ### Bug Fixes * Repair HasMany files relationships ([cba9552](https://github.com/cozy/cozy-client/commit/cba9552)) <a name="3.7.3"></a> ## [3.7.3](https://github.com/cozy/cozy-client/compare/v3.7.1...v3.7.3) (2018-10-31) ### Bug Fixes * Better handling for null values ([4941b3c](https://github.com/cozy/cozy-client/commit/4941b3c)) * Default uri ([f8839b8](https://github.com/cozy/cozy-client/commit/f8839b8)) <a name="3.7.2"></a> ## [3.7.2](https://github.com/cozy/cozy-client/compare/v3.7.1...v3.7.2) (2018-10-31) ### Bug Fixes * Better handling for null values ([4941b3c](https://github.com/cozy/cozy-client/commit/4941b3c)) * Default uri ([f8839b8](https://github.com/cozy/cozy-client/commit/f8839b8)) <a name="3.7.1"></a> ## [3.7.1](https://github.com/cozy/cozy-client/compare/v3.7.0...v3.7.1) (2018-10-30) **Note:** Version bump only for package undefined <a name="3.7.0"></a> # [3.7.0](https://github.com/cozy/cozy-client/compare/v3.6.4...v3.7.0) (2018-10-30) ### Features * **pouch:** Add dev logs ([b0ecff5](https://github.com/cozy/cozy-client/commit/b0ecff5)) <a name="3.6.4"></a> ## [3.6.4](https://github.com/cozy/cozy-client/compare/v3.6.3...v3.6.4) (2018-10-30) ### Bug Fixes * **deps:** pin dependency sift to 7.0.1 ([7de2c6a](https://github.com/cozy/cozy-client/commit/7de2c6a)) <a name="3.6.3"></a> ## [3.6.3](https://github.com/cozy/cozy-client/compare/v3.6.1...v3.6.3) (2018-10-29) ### Bug Fixes * **pouch:** Wait end of replication before triggering another one ([e5657b2](https://github.com/cozy/cozy-client/commit/e5657b2)) <a name="3.6.2"></a> ## [3.6.2](https://github.com/cozy/cozy-client/compare/v3.6.1...v3.6.2) (2018-10-29) ### Bug Fixes * **pouch:** Wait end of replication before triggering another one ([e5657b2](https://github.com/cozy/cozy-client/commit/e5657b2)) <a name="3.6.1"></a> ## [3.6.1](https://github.com/cozy/cozy-client/compare/v3.6.0...v3.6.1) (2018-10-29) ### Bug Fixes * Revert alloc ([e3b2832](https://github.com/cozy/cozy-client/commit/e3b2832)) <a name="3.6.0"></a> # [3.6.0](https://github.com/cozy/cozy-client/compare/v3.5.2...v3.6.0) (2018-10-29) ### Features * Add elapsed time ([0414cc5](https://github.com/cozy/cozy-client/commit/0414cc5)) <a name="3.5.2"></a> ## [3.5.2](https://github.com/cozy/cozy-client/compare/v3.5.1...v3.5.2) (2018-10-29) **Note:** Version bump only for package undefined <a name="3.5.1"></a> ## [3.5.1](https://github.com/cozy/cozy-client/compare/v3.5.0...v3.5.1) (2018-10-26) **Note:** Version bump only for package undefined <a name="3.5.0"></a> # [3.5.0](https://github.com/cozy/cozy-client/compare/v3.4.1...v3.5.0) (2018-10-26) ### Features * Add Sift for mango selectors ([7206bd5](https://github.com/cozy/cozy-client/commit/7206bd5)) <a name="3.4.1"></a> ## [3.4.1](https://github.com/cozy/cozy-client/compare/v3.4.0...v3.4.1) (2018-10-26) ### Bug Fixes * Documents can be arrays ([7f1d845](https://github.com/cozy/cozy-client/commit/7f1d845)) <a name="3.4.0"></a> # [3.4.0](https://github.com/cozy/cozy-client/compare/v3.3.2...v3.4.0) (2018-10-26) ### Bug Fixes * Do not throw if the document is not available ([6f5e692](https://github.com/cozy/cozy-client/commit/6f5e692)) ### Features * Filter early ([6b7b713](https://github.com/cozy/cozy-client/commit/6b7b713)) * Reduce the number of allocation ([366ccbb](https://github.com/cozy/cozy-client/commit/366ccbb)) * Side effects free in package.json ([d558c69](https://github.com/cozy/cozy-client/commit/d558c69)) <a name="3.3.2"></a> ## [3.3.2](https://github.com/cozy/cozy-client/compare/v3.3.1...v3.3.2) (2018-10-26) ### Bug Fixes * Hydrating relation when querying even if empty ([7a92103](https://github.com/cozy/cozy-client/commit/7a92103)) <a name="3.3.1"></a> ## [3.3.1](https://github.com/cozy/cozy-client/compare/v3.3.0...v3.3.1) (2018-10-25) **Note:** Version bump only for package undefined <a name="3.3.0"></a> # [3.3.0](https://github.com/cozy/cozy-client/compare/v3.2.0...v3.3.0) (2018-10-24) ### Bug Fixes * Example used old relationship schema ([246849b](https://github.com/cozy/cozy-client/commit/246849b)) ### Features * Deduplicate documents ([84e7cf0](https://github.com/cozy/cozy-client/commit/84e7cf0)) * Do not show warnings in production ([b144534](https://github.com/cozy/cozy-client/commit/b144534)) * Optimize id queries ([a9fa010](https://github.com/cozy/cozy-client/commit/a9fa010)) <a name="3.2.0"></a> # [3.2.0](https://github.com/cozy/cozy-client/compare/v3.1.1...v3.2.0) (2018-10-24) ### Features * Export getQueryFromState ([ffc75ef](https://github.com/cozy/cozy-client/commit/ffc75ef)) <a name="3.1.1"></a> ## [3.1.1](https://github.com/cozy/cozy-client/compare/v3.1.0...v3.1.1) (2018-10-23) ### Bug Fixes * **ReferencedFiles:** Properly detect next pages ([c3a27bc](https://github.com/cozy/cozy-client/commit/c3a27bc)) <a name="3.1.0"></a> # [3.1.0](https://github.com/cozy/cozy-client/compare/v3.0.6...v3.1.0) (2018-10-23) ### Features * Add addById / removeById to HasMany ([1e107ef](https://github.com/cozy/cozy-client/commit/1e107ef)) <a name="3.0.6"></a> ## [3.0.6](https://github.com/cozy/cozy-client/compare/v3.0.5...v3.0.6) (2018-10-16) ### Bug Fixes * Link was broken ([7c673d0](https://github.com/cozy/cozy-client/commit/7c673d0)) <a name="3.0.5"></a> ## [3.0.5](https://github.com/cozy/cozy-client/compare/v3.0.3...v3.0.5) (2018-10-12) ### Bug Fixes * **deps:** update dependency lodash to v4.17.11 ([54e3880](https://github.com/cozy/cozy-client/commit/54e3880)) <a name="3.0.4"></a> ## [3.0.4](https://github.com/cozy/cozy-client/compare/v3.0.3...v3.0.4) (2018-10-12) ### Bug Fixes * **deps:** update dependency lodash to v4.17.11 ([54e3880](https://github.com/cozy/cozy-client/commit/54e3880)) <a name="3.0.3"></a> ## [3.0.3](https://github.com/cozy/cozy-client/compare/v3.0.2...v3.0.3) (2018-10-12) ### Bug Fixes * **deps:** update dependency mime-types to v2.1.20 ([5755856](https://github.com/cozy/cozy-client/commit/5755856)) <a name="3.0.2"></a> ## [3.0.2](https://github.com/cozy/cozy-client/compare/v3.0.1...v3.0.2) (2018-10-12) ### Bug Fixes * Deep compare documents updates ([7ae21c5](https://github.com/cozy/cozy-client/commit/7ae21c5)) <a name="3.0.1"></a> ## [3.0.1](https://github.com/cozy/cozy-client/compare/v3.0.0...v3.0.1) (2018-10-11) **Note:** Version bump only for package undefined <a name="3.0.0"></a> # [3.0.0](https://github.com/cozy/cozy-client/compare/v2.24.2...v3.0.0) (2018-10-11) ### Bug Fixes * Selector fields are not sorted first ([63e5163](https://github.com/cozy/cozy-client/commit/63e5163)) ### Features * Respect sort order ([a2ca980](https://github.com/cozy/cozy-client/commit/a2ca980)) ### BREAKING CHANGES * Sorting order of previous queries might change <a name="2.24.2"></a> ## [2.24.2](https://github.com/cozy/cozy-client/compare/v2.24.1...v2.24.2) (2018-10-11) ### Bug Fixes * Avoid rerenders when no doc changed ([290770b](https://github.com/cozy/cozy-client/commit/290770b)) * Pass next documents to query reducer ([6af8518](https://github.com/cozy/cozy-client/commit/6af8518)) * Prevent state updates with identical doc ([8828f70](https://github.com/cozy/cozy-client/commit/8828f70)) <a name="2.24.1"></a> ## [2.24.1](https://github.com/cozy/cozy-client/compare/v2.24.0...v2.24.1) (2018-10-09) ### Bug Fixes * **deps:** pin dependencies to 4.17.10 ([3c3a83a](https://github.com/cozy/cozy-client/commit/3c3a83a)) <a name="2.24.0"></a> # [2.24.0](https://github.com/cozy/cozy-client/compare/v2.23.1...v2.24.0) (2018-10-09) ### Features * $ne operator support ([7389dac](https://github.com/cozy/cozy-client/commit/7389dac)) <a name="2.23.1"></a> ## [2.23.1](https://github.com/cozy/cozy-client/compare/v2.23.0...v2.23.1) (2018-10-05) ### Bug Fixes * tests all green ([980b625](https://github.com/cozy/cozy-client/commit/980b625)) * Update queries when references are mutated ([4272cbc](https://github.com/cozy/cozy-client/commit/4272cbc)) <a name="2.23.0"></a> # [2.23.0](https://github.com/cozy/cozy-client/compare/v2.22.4...v2.23.0) (2018-10-03) ### Features * Update file metadata ([d3ac41f](https://github.com/cozy/cozy-client/commit/d3ac41f)) <a name="2.22.4"></a> ## [2.22.4](https://github.com/cozy/cozy-client/compare/v2.22.3...v2.22.4) (2018-10-02) ### Bug Fixes * :bug: Fix state update issue on destroy ([e842349](https://github.com/cozy/cozy-client/commit/e842349)) * Unregistering client ([e5901b9](https://github.com/cozy/cozy-client/commit/e5901b9)) <a name="2.22.3"></a> ## [2.22.3](https://github.com/cozy/cozy-client/compare/v2.22.2...v2.22.3) (2018-10-02) ### Bug Fixes * Have a client instance in Schema class ([76f6253](https://github.com/cozy/cozy-client/commit/76f6253)) * Transmit call to Schema.validate ([95c88c1](https://github.com/cozy/cozy-client/commit/95c88c1)) <a name="2.22.2"></a> ## [2.22.2](https://github.com/cozy/cozy-client/compare/v2.22.1...v2.22.2) (2018-10-01) ### Bug Fixes * :art: client error handling in withMutations ([8d05662](https://github.com/cozy/cozy-client/commit/8d05662)) * :bug: Fix withMutations context issue ([08be90d](https://github.com/cozy/cozy-client/commit/08be90d)) <a name="2.22.1"></a> ## [2.22.1](https://github.com/cozy/cozy-client/compare/v2.22.0...v2.22.1) (2018-09-25) ### Bug Fixes * Really force file download ([82ab0a5](https://github.com/cozy/cozy-client/commit/82ab0a5)) <a name="2.22.0"></a> # [2.22.0](https://github.com/cozy/cozy-client/compare/v2.21.3...v2.22.0) (2018-09-25) ### Bug Fixes * Launch replication when device are online 📞 ([ce3be03](https://github.com/cozy/cozy-client/commit/ce3be03)) ### Features * Add information on console 🗣 ([2df2bac](https://github.com/cozy/cozy-client/commit/2df2bac)) * Save synced flag on localStorage 🧠 ([80e38ce](https://github.com/cozy/cozy-client/commit/80e38ce)) <a name="2.21.3"></a> ## [2.21.3](https://github.com/cozy/cozy-client/compare/v2.21.2...v2.21.3) (2018-09-25) **Note:** Version bump only for package undefined <a name="2.21.2"></a> ## [2.21.2](https://github.com/cozy/cozy-client/compare/v2.21.1...v2.21.2) (2018-09-24) **Note:** Version bump only for package undefined <a name="2.21.1"></a> ## [2.21.1](https://github.com/cozy/cozy-client/compare/v2.21.0...v2.21.1) (2018-09-21) **Note:** Version bump only for package undefined <a name="2.21.0"></a> # [2.21.0](https://github.com/cozy/cozy-client/compare/v2.20.2...v2.21.0) (2018-09-21) ### Features * Stop replication when app lost focus ([149f5a3](https://github.com/cozy/cozy-client/commit/149f5a3)) <a name="2.20.2"></a> ## [2.20.2](https://github.com/cozy/cozy-client/compare/v2.20.1...v2.20.2) (2018-09-20) ### Bug Fixes * Use refresh token ([352bb93](https://github.com/cozy/cozy-client/commit/352bb93)) <a name="2.20.1"></a> ## [2.20.1](https://github.com/cozy/cozy-client/compare/v2.20.0...v2.20.1) (2018-09-18) **Note:** Version bump only for package undefined <a name="2.20.0"></a> # [2.20.0](https://github.com/cozy/cozy-client/compare/v2.19.2...v2.20.0) (2018-09-18) ### Bug Fixes * Make new documents ([694c850](https://github.com/cozy/cozy-client/commit/694c850)) * Unused variable ([ffea569](https://github.com/cozy/cozy-client/commit/ffea569)) * Validate on client proxies to schema ([9c9d061](https://github.com/cozy/cozy-client/commit/9c9d061)) ### Features * Ability for a Query to return docs ([cee8694](https://github.com/cozy/cozy-client/commit/cee8694)) * Add addById/removeById/existsById ([52b169d](https://github.com/cozy/cozy-client/commit/52b169d)) * add HasManyInPlace ([274c6fa](https://github.com/cozy/cozy-client/commit/274c6fa)) * Association is in charge of defining query ([e5ff308](https://github.com/cozy/cozy-client/commit/e5ff308)) * Client exports dehydrate ([6ad4ab5](https://github.com/cozy/cozy-client/commit/6ad4ab5)) * Custom relationship in schema ([61d28f2](https://github.com/cozy/cozy-client/commit/61d28f2)) * Defining a schema is required ([d600671](https://github.com/cozy/cozy-client/commit/d600671)) * HasOneInPlace ([d81964d](https://github.com/cozy/cozy-client/commit/d81964d)) * Relationships are resolved in schema ([45d2dc9](https://github.com/cozy/cozy-client/commit/45d2dc9)) * Remove HasManyUNSAFE ([a6b904b](https://github.com/cozy/cozy-client/commit/a6b904b)) * Remove useless warnings ([0f35115](https://github.com/cozy/cozy-client/commit/0f35115)) * Warning before error to help dev ([40c2ade](https://github.com/cozy/cozy-client/commit/40c2ade)) <a name="2.19.2"></a> ## [2.19.2](https://github.com/cozy/cozy-client/compare/v2.19.1...v2.19.2) (2018-09-14) ### Bug Fixes * Changed revokeRecipient() signature ([0a8e935](https://github.com/cozy/cozy-client/commit/0a8e935)) <a name="2.19.1"></a> ## [2.19.1](https://github.com/cozy/cozy-client/compare/v2.19.0...v2.19.1) (2018-09-13) ### Bug Fixes * Return sensible data when database not found ([7141deb](https://github.com/cozy/cozy-client/commit/7141deb)) <a name="2.19.0"></a> # [2.19.0](https://github.com/cozy/cozy-client/compare/v2.18.1...v2.19.0) (2018-09-13) ### Bug Fixes * **stack-client:** Map redirect_uris to camelcase ([286a0ee](https://github.com/cozy/cozy-client/commit/286a0ee)) ### Features * **stack:** Check mandatory fields in register ([db6afe1](https://github.com/cozy/cozy-client/commit/db6afe1)) <a name="2.18.1"></a> ## [2.18.1](https://github.com/cozy/cozy-client/compare/v2.18.0...v2.18.1) (2018-09-12) **Note:** Version bump only for package undefined <a name="2.18.0"></a> # [2.18.0](https://github.com/cozy/cozy-client/compare/v2.17.0...v2.18.0) (2018-09-12) ### Features * Add ability to fetch only one document ([ea28fdd](https://github.com/cozy/cozy-client/commit/ea28fdd)) <a name="2.17.0"></a> # [2.17.0](https://github.com/cozy/cozy-client/compare/v2.16.0...v2.17.0) (2018-09-12) ### Features * Add route to get own permissions ([0255600](https://github.com/cozy/cozy-client/commit/0255600)) * Preview path for sharings ([dfd14e7](https://github.com/cozy/cozy-client/commit/dfd14e7)) <a name="2.16.0"></a> # [2.16.0](https://github.com/cozy/cozy-client/compare/v2.15.3...v2.16.0) (2018-09-12) ### Features * Export Association ([7347883](https://github.com/cozy/cozy-client/commit/7347883)) <a name="2.15.3"></a> ## [2.15.3](https://github.com/cozy/cozy-client/compare/v2.15.2...v2.15.3) (2018-09-11) ### Bug Fixes * **pouch:** Avoid to destroy dbs already destroyed ([0f64a98](https://github.com/cozy/cozy-client/commit/0f64a98)) <a name="2.15.2"></a> ## [2.15.2](https://github.com/cozy/cozy-client/compare/v2.15.1...v2.15.2) (2018-09-10) ### Bug Fixes * Filter design and deleted docs in replication ([47c3107](https://github.com/cozy/cozy-client/commit/47c3107)) <a name="2.15.1"></a> ## [2.15.1](https://github.com/cozy/cozy-client/compare/v2.15.0...v2.15.1) (2018-09-10) ### Bug Fixes * **pouch:** Updated docs were not retrieved well ([8001ad2](https://github.com/cozy/cozy-client/commit/8001ad2)) <a name="2.15.0"></a> # [2.15.0](https://github.com/cozy/cozy-client/compare/v2.14.0...v2.15.0) (2018-09-10) ### Features * add hooks ([6c38acc](https://github.com/cozy/cozy-client/commit/6c38acc)) * add public methods to start/stop replication ([760ee44](https://github.com/cozy/cozy-client/commit/760ee44)) <a name="2.14.0"></a> # [2.14.0](https://github.com/cozy/cozy-client/compare/v2.13.1...v2.14.0) (2018-09-10) ### Features * Use two way replication ([170a00f](https://github.com/cozy/cozy-client/commit/170a00f)) <a name="2.13.1"></a> ## [2.13.1](https://github.com/cozy/cozy-client/compare/v2.13.0...v2.13.1) (2018-09-07) ### Bug Fixes * Raw() is a getter ([1314a31](https://github.com/cozy/cozy-client/commit/1314a31)) <a name="2.13.0"></a> # [2.13.0](https://github.com/cozy/cozy-client/compare/v2.12.0...v2.13.0) (2018-09-07) ### Features * Add _type/id to documents in onSync ([cf97ad6](https://github.com/cozy/cozy-client/commit/cf97ad6)) * Pouch onSync called with updated documents ([c67261b](https://github.com/cozy/cozy-client/commit/c67261b)) <a name="2.12.0"></a> # [2.12.0](https://github.com/cozy/cozy-client/compare/v2.11.0...v2.12.0) (2018-09-07) ### Features * **client:** Add setData method ([24d52c6](https://github.com/cozy/cozy-client/commit/24d52c6)) <a name="2.11.0"></a> # [2.11.0](https://github.com/cozy/cozy-client/compare/v2.10.5...v2.11.0) (2018-09-06) ### Bug Fixes * No warning if no relationship attribute ([36958e4](https://github.com/cozy/cozy-client/commit/36958e4)) ### Features * Dehydrate document before saving ([dedf8ed](https://github.com/cozy/cozy-client/commit/dedf8ed)) <a name="2.10.5"></a> ## [2.10.5](https://github.com/cozy/cozy-client/compare/v2.10.4...v2.10.5) (2018-09-06) ### Bug Fixes * **pouch:** Set sync to false on reset ([19a36d4](https://github.com/cozy/cozy-client/commit/19a36d4)) <a name="2.10.4"></a> ## [2.10.4](https://github.com/cozy/cozy-client/compare/v2.10.3...v2.10.4) (2018-09-05) ### Bug Fixes * Restored keys option for DC.all() ([c69ecb1](https://github.com/cozy/cozy-client/commit/c69ecb1)) <a name="2.10.3"></a> ## [2.10.3](https://github.com/cozy/cozy-client/compare/v2.10.2...v2.10.3) (2018-09-05) ### Bug Fixes * Extract doc from pouch result + spec ([3d51fac](https://github.com/cozy/cozy-client/commit/3d51fac)) <a name="2.10.2"></a> ## [2.10.2](https://github.com/cozy/cozy-client/compare/v2.10.1...v2.10.2) (2018-09-05) **Note:** Version bump only for package undefined <a name="2.10.1"></a> ## [2.10.1](https://github.com/cozy/cozy-client/compare/v2.10.0...v2.10.1) (2018-09-05) ### Bug Fixes * **pouch:** Call onSync when sync is done ([256e264](https://github.com/cozy/cozy-client/commit/256e264)) <a name="2.10.0"></a> # [2.10.0](https://github.com/cozy/cozy-client/compare/v2.9.1...v2.10.0) (2018-09-04) ### Features * Examples ([8406f0c](https://github.com/cozy/cozy-client/commit/8406f0c)) <a name="2.9.1"></a> ## [2.9.1](https://github.com/cozy/cozy-client/compare/v2.9.0...v2.9.1) (2018-09-04) ### Bug Fixes * **oauth:** Don't forget data in updateInformation ([3f8620a](https://github.com/cozy/cozy-client/commit/3f8620a)) <a name="2.9.0"></a> # [2.9.0](https://github.com/cozy/cozy-client/compare/v2.8.0...v2.9.0) (2018-09-04) ### Features * **client:** Call onLogin on links ([cef01aa](https://github.com/cozy/cozy-client/commit/cef01aa)) * **pouch:** Implement onLogin lifecycle method ([ab56f40](https://github.com/cozy/cozy-client/commit/ab56f40)) <a name="2.8.0"></a> # [2.8.0](https://github.com/cozy/cozy-client/compare/v2.7.3...v2.8.0) (2018-09-04) ### Features * **pouch:** Handle errors for pouches destroy ([825b794](https://github.com/cozy/cozy-client/commit/825b794)) <a name="2.7.3"></a> ## [2.7.3](https://github.com/cozy/cozy-client/compare/v2.7.2...v2.7.3) (2018-09-04) ### Bug Fixes * Default sort by datetime instead of date ([bcc17f3](https://github.com/cozy/cozy-client/commit/bcc17f3)) <a name="2.7.2"></a> ## [2.7.2](https://github.com/cozy/cozy-client/compare/v2.7.1...v2.7.2) (2018-09-03) ### Bug Fixes * **pouch:** Replace not existing method ([3802403](https://github.com/cozy/cozy-client/commit/3802403)) <a name="2.7.1"></a> ## [2.7.1](https://github.com/cozy/cozy-client/compare/v2.7.0...v2.7.1) (2018-09-03) **Note:** Version bump only for package undefined <a name="2.7.0"></a> # [2.7.0](https://github.com/cozy/cozy-client/compare/v2.6.1...v2.7.0) (2018-09-03) ### Features * **client:** Add deprecation warning for link ([895d697](https://github.com/cozy/cozy-client/commit/895d697)) * **client:** Add login method ([9758f45](https://github.com/cozy/cozy-client/commit/9758f45)) * **client:** Always chain links ([856e559](https://github.com/cozy/cozy-client/commit/856e559)) * **client:** Save links in array in constructor ([c600986](https://github.com/cozy/cozy-client/commit/c600986)) <a name="2.6.1"></a> ## [2.6.1](https://github.com/cozy/cozy-client/compare/v2.6.0...v2.6.1) (2018-09-03) ### Bug Fixes * Creating a doc with empty relationships ([ebf0d86](https://github.com/cozy/cozy-client/commit/ebf0d86)) <a name="2.6.0"></a> # [2.6.0](https://github.com/cozy/cozy-client/compare/v2.5.2...v2.6.0) (2018-08-31) ### Bug Fixes * Not able to start several time ([56a7995](https://github.com/cozy/cozy-client/commit/56a7995)) * Pouchdb is written in lowercase ([e009dbe](https://github.com/cozy/cozy-client/commit/e009dbe)) * Remove console.log ([a3d81ab](https://github.com/cozy/cozy-client/commit/a3d81ab)) ### Features * Ability to serialize/deserialize the token ([05f6d9e](https://github.com/cozy/cozy-client/commit/05f6d9e)) * add replication manager ([20511c7](https://github.com/cozy/cozy-client/commit/20511c7)) * Polish the example ([17f85b3](https://github.com/cozy/cozy-client/commit/17f85b3)) <a name="2.5.2"></a> ## [2.5.2](https://github.com/cozy/cozy-client/compare/v2.5.1...v2.5.2) (2018-08-31) **Note:** Version bump only for package undefined <a name="2.5.1"></a> ## [2.5.1](https://github.com/cozy/cozy-client/compare/v2.5.0...v2.5.1) (2018-08-29) ### Bug Fixes * Use the right param for code in OAuth flow ([5d5ab56](https://github.com/cozy/cozy-client/commit/5d5ab56)) <a name="2.5.0"></a> # [2.5.0](https://github.com/cozy/cozy-client/compare/v2.4.1...v2.5.0) (2018-08-29) ### Features * Remove default limit ([7202208](https://github.com/cozy/cozy-client/commit/7202208)) <a name="2.4.1"></a> ## [2.4.1](https://github.com/cozy/cozy-client/compare/v2.4.0...v2.4.1) (2018-08-29) ### Bug Fixes * **pouch:** Resolve with result after replication ([7c6b365](https://github.com/cozy/cozy-client/commit/7c6b365)) <a name="2.4.0"></a> # [2.4.0](https://github.com/cozy/cozy-client/compare/v2.3.0...v2.4.0) (2018-08-28) ### Features * Remove design document on response 🤪 ([202ed16](https://github.com/cozy/cozy-client/commit/202ed16)) <a name="2.3.0"></a> # [2.3.0](https://github.com/cozy/cozy-client/compare/v2.2.3...v2.3.0) (2018-08-27) ### Bug Fixes * Unregister on stack unregister on lib ([b5edcac](https://github.com/cozy/cozy-client/commit/b5edcac)) ### Features * Add logout function 👋 ([b2764ad](https://github.com/cozy/cozy-client/commit/b2764ad)) <a name="2.2.3"></a> ## [2.2.3](https://github.com/cozy/cozy-client/compare/v2.2.2...v2.2.3) (2018-08-27) **Note:** Version bump only for package undefined <a name="2.2.2"></a> ## [2.2.2](https://github.com/cozy/cozy-client/compare/v2.2.1...v2.2.2) (2018-08-24) ### Bug Fixes * Mv ensureStore instead of getOrCreateStore ([217ad21](https://github.com/cozy/cozy-client/commit/217ad21)) <a name="2.2.1"></a> ## [2.2.1](https://github.com/cozy/cozy-client/compare/v2.2.0...v2.2.1) (2018-08-24) **Note:** Version bump only for package undefined <a name="2.2.0"></a> # [2.2.0](https://github.com/cozy/cozy-client/compare/v2.1.9...v2.2.0) (2018-08-24) ### Features * **assoc:** Throw if already initialized ([3ab5369](https://github.com/cozy/cozy-client/commit/3ab5369)) * Get or create store in watchQuery ([f9d5f15](https://github.com/cozy/cozy-client/commit/f9d5f15)) * **hydrate:** Log error if any ([9be0fa4](https://github.com/cozy/cozy-client/commit/9be0fa4)) * Throw if setStore undefined ([2e51b5f](https://github.com/cozy/cozy-client/commit/2e51b5f)) <a name="2.1.9"></a> ## [2.1.9](https://github.com/cozy/cozy-client/compare/v2.1.8...v2.1.9) (2018-08-23) ### Bug Fixes * watchQuery calls getOrCreate store to ensure it has a store ([a4c4bbc](https://github.com/cozy/cozy-client/commit/a4c4bbc)) <a name="2.1.8"></a> ## [2.1.8](https://github.com/cozy/cozy-client/compare/v2.1.7...v2.1.8) (2018-08-23) **Note:** Version bump only for package undefined <a name="2.1.7"></a> ## [2.1.7](https://github.com/cozy/cozy-client/compare/v2.1.6...v2.1.7) (2018-08-23) ### Bug Fixes * Prevent double query init ([e5b0498](https://github.com/cozy/cozy-client/commit/e5b0498)) * Use only one sorting order ([d81a159](https://github.com/cozy/cozy-client/commit/d81a159)) <a name="2.1.6"></a> ## [2.1.6](https://github.com/cozy/cozy-client/compare/v2.1.5...v2.1.6) (2018-08-22) ### Bug Fixes * Downgrade lerna package ⬇️ ([76c5a09](https://github.com/cozy/cozy-client/commit/76c5a09)) <a name="2.1.5"></a> ## [2.1.5](https://github.com/cozy/cozy-client/compare/v2.1.4...v2.1.5) (2018-08-22) ### Bug Fixes * Test deploy with travis 🍄 ([3ba53c4](https://github.com/cozy/cozy-client/commit/3ba53c4)) <a name="2.1.4"></a> ## [2.1.4](https://github.com/cozy/cozy-client/compare/v2.1.3...v2.1.4) (2018-08-22) ### Bug Fixes * Lerna publish 🚀 ([7aa474c](https://github.com/cozy/cozy-client/commit/7aa474c)) <a name="2.1.3"></a> ## [2.1.3](https://github.com/cozy/cozy-client/compare/v2.1.2...v2.1.3) (2018-08-22) ### Bug Fixes * Test lerna publish 🔭 ([a95703e](https://github.com/cozy/cozy-client/commit/a95703e)) <a name="2.1.2"></a> ## [2.1.2](https://github.com/cozy/cozy-client/compare/v2.1.1...v2.1.2) (2018-08-22) ### Bug Fixes * Add new line at end of README.md file ([af62dea](https://github.com/cozy/cozy-client/commit/af62dea)) * Test auto release ([ec00760](https://github.com/cozy/cozy-client/commit/ec00760)) <a name="2.1.1"></a> ## [2.1.1](https://github.com/cozy/cozy-client/compare/v2.1.0...v2.1.1) (2018-08-22) ### Bug Fixes * Sleep function was not imported ([4e18fbf](https://github.com/cozy/cozy-client/commit/4e18fbf)) <a name="2.1.0"></a> # [2.1.0](https://github.com/cozy/cozy-client/compare/v2.0.0...v2.1.0) (2018-08-22) ### Bug Fixes * **autoquery:** do not try to update query if response has no data ([96a4721](https://github.com/cozy/cozy-client/commit/96a4721)) * **Query:** dont call unsubscribe if it has not been set ([88772b3](https://github.com/cozy/cozy-client/commit/88772b3)) * typo in travis broke autopublish ([be8adea](https://github.com/cozy/cozy-client/commit/be8adea)) * when watching a query, ensure it exists in store ([03657ec](https://github.com/cozy/cozy-client/commit/03657ec)) ### Features * **associations:** ability to define assoc fetching inside relationship ([e50b16e](https://github.com/cozy/cozy-client/commit/e50b16e)) * **dsl:** include() throws helpful error if called with wrong args ([435c268](https://github.com/cozy/cozy-client/commit/435c268)) * **stackLink:** ability to fetch several documents in one go ([45307de](https://github.com/cozy/cozy-client/commit/45307de)) * Add deprecated message on old function ([71cc8b3](https://github.com/cozy/cozy-client/commit/71cc8b3)) * add doc for Query props ([e4c7f98](https://github.com/cozy/cozy-client/commit/e4c7f98)) * add fetchPolicy prop for Query ([ea4714e](https://github.com/cozy/cozy-client/commit/ea4714e)) * export QueryDefinition ([331eb9a](https://github.com/cozy/cozy-client/commit/331eb9a)) * Remove client on Link initialisation 🔥 ([afa6ba7](https://github.com/cozy/cozy-client/commit/afa6ba7)) <a name="2.0.0"></a> # [2.0.0](https://github.com/cozy/cozy-client/compare/v1.0.0-beta.30...v2.0.0) (2018-08-17) ### Bug Fixes * :chore: disable regenerator transform in babel preset ([4993b55](https://github.com/cozy/cozy-client/commit/4993b55)) * 📝 Fix AppCollection ([3b58131](https://github.com/cozy/cozy-client/commit/3b58131)) * 📝 Fix lerna watch command ([6b29587](https://github.com/cozy/cozy-client/commit/6b29587)) * add babel-preset-cozy-app at root ([2c4681f](https://github.com/cozy/cozy-client/commit/2c4681f)) * add redux dependency used in tests ([386b864](https://github.com/cozy/cozy-client/commit/386b864)) * checkout on master since travis operates in detached head mode ([df26ee6](https://github.com/cozy/cozy-client/commit/df26ee6)) * client.get query will return only 1 result ([2d496e0](https://github.com/cozy/cozy-client/commit/2d496e0)) * localStorage cannot be used with opaque origins ([f76953e](https://github.com/cozy/cozy-client/commit/f76953e)) * quote "$@" ([45ac76b](https://github.com/cozy/cozy-client/commit/45ac76b)) * typo in travis.yml ([888b3a4](https://github.com/cozy/cozy-client/commit/888b3a4)) * Watch command 🐛 ([b484d5d](https://github.com/cozy/cozy-client/commit/b484d5d)) ### Features * ⚠️ Throw error for not available appcollection methods ([44edd17](https://github.com/cozy/cozy-client/commit/44edd17)) * add helpful error handling ([bb68d1b](https://github.com/cozy/cozy-client/commit/bb68d1b)) * add hoc queryConnect and withClient ([c241f82](https://github.com/cozy/cozy-client/commit/c241f82)) * auto update queries when receiving results ([1370773](https://github.com/cozy/cozy-client/commit/1370773)) * default options for Query ([da295c1](https://github.com/cozy/cozy-client/commit/da295c1)) * extract function to give better errors ([f7a97ca](https://github.com/cozy/cozy-client/commit/f7a97ca)) * query update removes documents that no longer pertain to the query ([0a7dac5](https://github.com/cozy/cozy-client/commit/0a7dac5)) * remove context query ids ([f428d81](https://github.com/cozy/cozy-client/commit/f428d81)) * throw when ObservableQuery does not have the right params ([25b56a5](https://github.com/cozy/cozy-client/commit/25b56a5)) ### Performance Improvements * bind fetch more ([dc82671](https://github.com/cozy/cozy-client/commit/dc82671)) * do not bind functions inside render ([0227634](https://github.com/cozy/cozy-client/commit/0227634)) ### BREAKING CHANGES * before applications had to select the first item of the results themselves, now it is done in the library ```diff <Query query={client.get('doctype', 'id')}> - { ({ data: documents }) => { - const myDoc = documents[0] + { ({ data: myDoc }) => { ... }} /> ``` <a name="1.0.0"></a> # [1.0.0](https://github.com/cozy/cozy-client/compare/v1.0.0-beta.30...v1.0.0) (2018-08-17) ### Bug Fixes * :chore: disable regenerator transform in babel preset ([4993b55](https://github.com/cozy/cozy-client/commit/4993b55)) * 📝 Fix AppCollection ([3b58131](https://github.com/cozy/cozy-client/commit/3b58131)) * 📝 Fix lerna watch command ([6b29587](https://github.com/cozy/cozy-client/commit/6b29587)) * add babel-preset-cozy-app at root ([2c4681f](https://github.com/cozy/cozy-client/commit/2c4681f)) * add redux dependency used in tests ([386b864](https://github.com/cozy/cozy-client/commit/386b864)) * checkout on master since travis operates in detached head mode ([df26ee6](https://github.com/cozy/cozy-client/commit/df26ee6)) * client.get query will return only 1 result ([2d496e0](https://github.com/cozy/cozy-client/commit/2d496e0)) * localStorage cannot be used with opaque origins ([f76953e](https://github.com/cozy/cozy-client/commit/f76953e)) * quote "$@" ([45ac76b](https://github.com/cozy/cozy-client/commit/45ac76b)) * typo in travis.yml ([888b3a4](https://github.com/cozy/cozy-client/commit/888b3a4)) * Watch command 🐛 ([b484d5d](https://github.com/cozy/cozy-client/commit/b484d5d)) ### Features * ⚠️ Throw error for not available appcollection methods ([44edd17](https://github.com/cozy/cozy-client/commit/44edd17)) * add helpful error handling ([bb68d1b](https://github.com/cozy/cozy-client/commit/bb68d1b)) * add hoc queryConnect and withClient ([c241f82](https://github.com/cozy/cozy-client/commit/c241f82)) * auto update queries when receiving results ([1370773](https://github.com/cozy/cozy-client/commit/1370773)) * default options for Query ([da295c1](https://github.com/cozy/cozy-client/commit/da295c1)) * extract function to give better errors ([f7a97ca](https://github.com/cozy/cozy-client/commit/f7a97ca)) * query update removes documents that no longer pertain to the query ([0a7dac5](https://github.com/cozy/cozy-client/commit/0a7dac5)) * remove context query ids ([f428d81](https://github.com/cozy/cozy-client/commit/f428d81)) * throw when ObservableQuery does not have the right params ([25b56a5](https://github.com/cozy/cozy-client/commit/25b56a5)) ### Performance Improvements * bind fetch more ([dc82671](https://github.com/cozy/cozy-client/commit/dc82671)) * do not bind functions inside render ([0227634](https://github.com/cozy/cozy-client/commit/0227634)) ### BREAKING CHANGES * before applications had to select the first item of the results themselves, now it is done in the library ```diff <Query query={client.get('doctype', 'id')}> - { ({ data: documents }) => { - const myDoc = documents[0] + { ({ data: myDoc }) => { ... }} /> ```
2024-11-18T18:56:48.351329+00:00
2013-05-02T16:13:28
d1a47261e8fa41270443974e4d22d26052e8073e
2
{ "blob_id": "d1a47261e8fa41270443974e4d22d26052e8073e", "branch_name": "refs/heads/master", "committer_date": "2013-05-02T16:13:28", "content_id": "a8fad174dbaebf117514482a695634cc72c482ca", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "1b2903ae1b4cfd5d5a85f176d8a8c1341b7e8a15", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 3391378, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 2802, "license": "BSD-2-Clause", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:188", "repo_name": "sirnicolaz/Flying-Circus-iOS", "revision_date": "2013-05-02T16:13:28", "revision_id": "001bdbff1ac6fd0688e63995b54914a233ab5c10", "snapshot_id": "164e51f9705320e4fbf04c8e0f8d77111ab22344", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/sirnicolaz/Flying-Circus-iOS/001bdbff1ac6fd0688e63995b54914a233ab5c10/README.md", "visit_date": "2021-01-01T18:48:33.539203" }
2.5
stackv2
Monty Python's Flying Circus TV for iOS ======================================= Introduction ------------- This application offers a fancy interface to watch Monty Python's Flying Circus episodes in srtreaming from YouTube. The idea arised from a need of tributing my favourite TV series. In the App Store http://itunes.apple.com/us/app/monty-pythons-flying-circus/id502889243?mt=8 The Website http://www.flyingcircusplayer.com UPDATE: The app has been removed from the store. After a long discussion with the Python (Monty) Pictures Limited producer, John Goldstone, I had to give app. Apparently, the problem is that this app "create confusion, thanks to the nature of search engines", as soon as the official Flying Circus app will be released. Even proposing a new version working with original episodes (purchasable from iTunes), the agreement has not been reached. You can get the app by compiling the code, if you like it. Twitter sharing is still an experimental feature. So long, and thanks for the fish. Credits ------- Many thanks to Patrik Larsson (www.larssonpatrik.com) for his freebies, that really helped me in the "woody" part of the graphics. Licence ------- This code is licensed under the 2-clause BSD license ("Simplified BSD License" or "FreeBSD License") license. The license is reproduced below: Copyright 2012 Nicola Miotto. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 2. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 3. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Nicola Miotto.
2024-11-18T18:56:48.382181+00:00
2019-08-22T01:59:07
161a452f963ffa60e12859144567013a42567a76
3
{ "blob_id": "161a452f963ffa60e12859144567013a42567a76", "branch_name": "refs/heads/master", "committer_date": "2019-08-22T01:59:07", "content_id": "0b210da7269656dd5b7b19702f18ff83ce848293", "detected_licenses": [ "MIT" ], "directory_id": "ec0021be3c42a9458c0e722314e6821f827fae2e", "extension": "md", "filename": "demo2.md", "fork_events_count": 0, "gha_created_at": "2019-07-17T18:12:30", "gha_event_created_at": "2022-10-06T06:05:46", "gha_language": "JavaScript", "gha_license_id": "MIT", "github_id": 197440071, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 4385, "license": "MIT", "license_type": "permissive", "path": "/pages/demo2.md", "provenance": "stack-edu-markdown-0000.json.gz:189", "repo_name": "yogi-john/yogic-startpage-jekyllized", "revision_date": "2019-08-22T01:59:07", "revision_id": "45642c287affd6e272a5a53a37861e86a9c53d63", "snapshot_id": "6b2c2211708970595c07f60a9e281adb06f3e0e7", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/yogi-john/yogic-startpage-jekyllized/45642c287affd6e272a5a53a37861e86a9c53d63/pages/demo2.md", "visit_date": "2022-10-22T08:15:41.126529" }
2.796875
stackv2
--- layout: default title: Demo 2 description: I Love Links background: https://source.unsplash.com/collection/3491181 # Other Cool unsplash collections: # 2411320/trend-extreme-neon # 1127828/amoled-wallpapers # 1538150/milkyway # 827743/landscape # 573009/micro-worlds # 552980/orange-red categories: - name: Reference links: - name: MIT Deep Learning Book url: http://www.deeplearningbook.org/ - name: Git Magic url: http://www-cs-students.stanford.edu/~blynn/gitmagic/ - name: Python for Data Analysis - Wes McKinney url: http://bedford-computing.co.uk/learning/wp-content/uploads/2015/10/Python-for-Data-Analysis.pdf - name: A Comprehensive ML Workflow url: https://www.kaggle.com/mjbahmani/a-comprehensive-ml-workflow-with-python# - name: Python Data Science Handbook url: https://jakevdp.github.io/PythonDataScienceHandbook/ - name: Python for Data analysis url: https://github.com/wesm/pydata-book - name: Data Science from Scratch url: https://github.com/joelgrus/data-science-from-scratch - name: Machine Learning links: - name: SK Learn Algo Cheat-sheet url: https://scikit-learn.org/stable/tutorial/machine_learning_map/index.html - name: Keras Doc url: https://keras.io/ - name: TensorFlow-Examples url: https://github.com/aymericdamien/TensorFlow-Examples - name: Deep Learning with Keras & Tensorflow tutorials url: https://github.com/leriomaggio/deep-learning-keras-tensorflow - name: Tensorflow Cookbook url: https://github.com/nfmcclure/tensorflow_cookbook - name: Deep Learning for NLP Crash Course url: https://machinelearningmastery.com/crash-course-deep-learning-natural-language-processing/ - name: Jupyter Notebook links: - name: "Datacamp's Tutorial" url: https://www.datacamp.com/community/tutorials/tutorial-jupyter-notebook - name: "DataQuest's Tips and Tricks" url: https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/ - name: "Plot.ly's Tutorial" url: https://plot.ly/python/ipython-notebook-tutorial/ - name: Notebook Gallery url: https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks - name: Jupyter-themes url: https://github.com/dunovank/jupyter-themes - name: Data Visualization links: - name: Plot.ly url: https://dash.plot.ly/gallery - name: 'r/dataisbeautiful' url: https://www.reddit.com/r/dataisbeautiful/ - name: Python Graph Gallery url: https://python-graph-gallery.com/ - name: Data Source links: - name: Social Science Data Resources url: https://www.sociosite.net/databases.php#hong_kong - name: CIA World Factbook API url: https://iancoleman.io/exploring-the-cia-world-factbook/ - name: HK residential property data url: https://centadata.publicdata.hk/ - name: DataHub url: https://datahub.io/ - name: UNICEF data url: https://data.unicef.org/ - name: Data Science Tool Kit url: http://www.datasciencetoolkit.org/ - name: Group Lens Datasets url: https://grouplens.org/ - name: Deploy Methods links: - name: Flask API for SK Learn url: https://github.com/amirziai/sklearnflask - name: Build a SaaS app with Flask url: https://github.com/nickjj/build-a-saas-app-with-flask - name: ML model as Flask RESTful API url: https://github.com/a-djebali/flask-machine-learning-resful - name: Tools links: - name: Azure ML Studio url: https://studio.azureml.net/ - name: Azure Data Lake url: https://portal.azure.com/ - name: Git Pitch url: https://gitpitch.com/ - name: mLab url: https://mlab.com/ - name: Google BigQuery url: https://console.cloud.google.com/bigquery - name: DataBricks url: https://databricks.com - name: Git links: - name: ChooseLicense.com url: https://choosealicense.com/ - name: Github MD emojis url: https://gist.github.com/rxaviers/7360908 - name: Badges url: https://github.com/Naereen/badges - name: TOC generator url: https://ecotrust-canada.github.io/markdown-toc/ - name: Shields.io url: https://shields.io/ ---
2024-11-18T18:56:48.630299+00:00
2023-07-28T14:08:05
be9653535accab7c1a569303f18d2e13c9378864
4
{ "blob_id": "be9653535accab7c1a569303f18d2e13c9378864", "branch_name": "refs/heads/main", "committer_date": "2023-07-28T14:08:05", "content_id": "e19e92b1c9d6dcb3208e80e876335269221d2886", "detected_licenses": [ "MIT" ], "directory_id": "b45e6855fefe0301a24953c10c59a64d7edf90b1", "extension": "md", "filename": "item-11.md", "fork_events_count": 1, "gha_created_at": "2017-08-23T14:28:17", "gha_event_created_at": "2023-08-22T13:27:35", "gha_language": null, "gha_license_id": "MIT", "github_id": 101189642, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1201, "license": "MIT", "license_type": "permissive", "path": "/Software Engineering/Languages/ruby/effective-ruby/item-11.md", "provenance": "stack-edu-markdown-0000.json.gz:190", "repo_name": "jaebradley/notes", "revision_date": "2023-07-28T14:08:05", "revision_id": "b9cb0fac012e61205d12ed8d139bbc494319e392", "snapshot_id": "0de9229b84e0e51583f74bf58d0d5f31d9cac48b", "src_encoding": "UTF-8", "star_events_count": 16, "url": "https://raw.githubusercontent.com/jaebradley/notes/b9cb0fac012e61205d12ed8d139bbc494319e392/Software Engineering/Languages/ruby/effective-ruby/item-11.md", "visit_date": "2023-07-29T02:03:41.488470" }
3.796875
stackv2
# Item 11: Create Namespaces By Nesting Code In Modules * Ruby uses two techniques for finding constants * First, it inspects the current lexical scope and all of the enclosing lexical scope * Then, it will search the inheritance hierarchy (can use constant defined in superclass from subclass) * Module definitions create a lexical scope - which is why if a variable is defined within a module, and then a class is defined inside a module, the class can use the constant * Lexical scope is different form the namespace created by the module - lexical scope has to do with the physical space where the constants are defined and used ```ruby module Example SOME_CONSTANT = 'SOME CONSTANT' class AnotherExample def example SOME_CONSTANT end end end module Example SOME_CONSTANT = 'SOME CONSTANT' end class Example::AnotherExample def example # raises NameError SOME_CONSTANT end end ``` * Namespace and lexical scope are created with module definition in second example, but both are closed * Class is defined in correct namespace but doesn't share same lexical scope as `SOME_CONSTANT` and cannot access it unqualified * Need to do `Example::SOME_CONSTANT`
2024-11-18T18:56:48.679814+00:00
2023-06-26T16:57:29
c372fadb967253f4d120c63b6286bbae24b55b37
3
{ "blob_id": "c372fadb967253f4d120c63b6286bbae24b55b37", "branch_name": "refs/heads/master", "committer_date": "2023-06-26T16:57:29", "content_id": "6d43449cc17faee498bb2f77a5c4ae26046e15c5", "detected_licenses": [ "MIT" ], "directory_id": "2400df04be49a2e07fdc6ce576974f4b2837dadd", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": "2017-02-15T18:12:50", "gha_event_created_at": "2023-06-26T16:57:30", "gha_language": "Java", "gha_license_id": "MIT", "github_id": 82091028, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 898, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:191", "repo_name": "nmuzychuk/sample-apps", "revision_date": "2023-06-26T16:57:29", "revision_id": "8c6983d5fb5fedd2527571561857e8f255885eec", "snapshot_id": "82d79c085f6d2d9a7f36c8585c0da12436841b89", "src_encoding": "UTF-8", "star_events_count": 2, "url": "https://raw.githubusercontent.com/nmuzychuk/sample-apps/8c6983d5fb5fedd2527571561857e8f255885eec/README.md", "visit_date": "2023-07-08T05:29:59.443199" }
2.78125
stackv2
# Sample Apps [![Java CI with Maven](https://github.com/nmuzychuk/sample-apps/actions/workflows/maven.yml/badge.svg)](https://github.com/nmuzychuk/sample-apps/actions/workflows/maven.yml) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/86d3034c250d434d9db7b427e2bd9667)](https://www.codacy.com/app/nmuzychuk/sample-apps) ## Overview Implementation of various applications - Run-length encoding - Infix / Postfix converter - Check for balanced parentheses - Triangular number - Factorial - Anagram - Tower of Hanoi - Letter frequency - Base64 encode - Word count - Random name generator - Palindrome checker - Leap year - Pig Latin - Temperature converter - Times table - Prime number - Catalan number - Reverse integer - Roman to decimal converter - Soundex - ROT13 ## Test Run JUnit tests ``` ./mvnw test ``` ## License This project is released under the [MIT License](LICENSE.txt)
2024-11-18T18:57:11.001295+00:00
2021-08-12T05:30:03
4b05c626a46d592af98bf101d05ebb4f7e367b05
3
{ "blob_id": "4b05c626a46d592af98bf101d05ebb4f7e367b05", "branch_name": "refs/heads/master", "committer_date": "2021-08-12T05:30:03", "content_id": "c7199edd1d612a2b9095cfe8791d9baf4df6f7ee", "detected_licenses": [ "MIT" ], "directory_id": "371c99c579ae9c63b59afd386a54f34f05a66b14", "extension": "markdown", "filename": "2021-05-15-May3weeks.markdown", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": null, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 14742, "license": "MIT", "license_type": "permissive", "path": "/_posts/2021-05-15-May3weeks.markdown", "provenance": "stack-edu-markdown-0000.json.gz:192", "repo_name": "fuboyan/jinhong-park.github.io", "revision_date": "2021-08-12T05:30:03", "revision_id": "447c8f15eda4bd89dcffc30cf3bb42bf7685c60f", "snapshot_id": "9a4ebea7c76e1505aff390143541175e690b824c", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/fuboyan/jinhong-park.github.io/447c8f15eda4bd89dcffc30cf3bb42bf7685c60f/_posts/2021-05-15-May3weeks.markdown", "visit_date": "2023-07-13T08:25:49.987024" }
2.609375
stackv2
--- layout: post title: "weekly picks (May 3 week 2021)" date: 2021-05-15 00:16:27 categories: 2021may --- {% include image.html url="/images/2021may3weeks.png" caption="A WordCloud of 2021 May 3rd week collection" width=300 align="center" %} <--! 1. **[]()** : --> 1. **[PhysRevB.103.L201402](https://link.aps.org/doi/10.1103/PhysRevB.103.L201402)** : Overscreened Kondo problem with large spin and large number of orbital channels: Two distinct semiclassical limits in quantum transport observables (Kondo, PRB) 1. **[PhysRevB.103.L201110](https://link.aps.org/doi/10.1103/PhysRevB.103.L201110)** : Induced anomalous Hall effect of massive Dirac fermions in $\mathrm{Zr}{\mathrm{Te}}_{5}$ and $\mathrm{Hf}{\mathrm{Te}}_{5}$ thin flakes (Binghai, PRB) 1. **[PhysRevB.103.205124](https://link.aps.org/doi/10.1103/PhysRevB.103.205124)** : Fabry-P\'erot resonant vortices and magnetoconductance i n topological insulator constrictions with magnetic barriers (TI, PRB) 1. **[PhysRevB.103.205125](https://link.aps.org/doi/10.1103/PhysRevB.103.205125)** : Direct observation of the quantum fluctuation driven amplitude mode in a microcavity polariton condensate (amplitude mode, PRB) 1. **[PhysRevB.103.195131](https://link.aps.org/doi/10.1103/PhysRevB.103.195131)** : **SO(5) critical point in a spin-flavor Kondo device: Bosonization and refermionization solution (Kondo, PRB)** 1. **[PhysRevLett.126.196407](https://link.aps.org/doi/10.1103/PhysRevLett.126.196407)** : Experimental Observation and Spin Texture of Dirac Node Arcs in Tetradymite Topological Metals (Santander-Syro, PRL) 1. **[2105.06402](http://arxiv.org/abs/2105.06402)** : The essential role of magnetic frustration in the phase diagrams of doped cobaltites (cobalate, arXiv) 1. **[2105.06154](http://arxiv.org/abs/2105.06154)** : Unraveling exotic 5$f$ states and paramagnetic phase of PuSn$_3$ (5f, arXiv) 1. **[2105.06034](http://arxiv.org/abs/2105.06034)** : Interlayer coupling and ultrafast hot electron transfer dynamics in metallic VSe2/graphene van der Waals heterostructures (VSe2, arXiv) 1. **[2105.05869](http://arxiv.org/abs/2105.05869)** : Thermal anyon interferometry in phonon-coupled Kitaev spin liquids (JEMoore, arXiv) 1. **[2105.05857](http://arxiv.org/abs/2105.05857)** : Kekul\'e spiral order at all nonzero integer fillings in twisted bilayer graphene (kekule, arXiv) 1. **[2105.06133](http://arxiv.org/abs/2105.06133)** : Size dependent nature of the magnetic-field driven superconductor-to-insulator quantum-phase transitions (SIT, arXiv) 1. **[2105.05925](http://arxiv.org/abs/2105.05925)** : Accessing the degree of Majorana nonlocality with photons (majorana, arXiv) 1. **[2105.05861](http://arxiv.org/abs/2105.05861)** : Magnon spin current induced by triplet Cooper pair supercurrents (magnon, arXiv) 1. **[v14/s58](https://physics.aps.org/articles/v14/s58)** : A Mott Meter (Physics) 1. **[PhysRevB.103.205119](https://link.aps.org/doi/10.1103/PhysRevB.103.205119)** : Methods for constructing parameter-dependent flat-band lattices (flat band, PRB) 1. **[PhysRevB.103.195310](https://link.aps.org/doi/10.1103/PhysRevB.103.195310)** : Bulk-edge correspondence in two-dimensional topological semimetals: A transfer matrix study of antichiral edge modes (transfer matrix, PRB) 1. **[PhysRevB.103.184506](https://link.aps.org/doi/10.1103/PhysRevB.103.184506)** : Type-I superconductivity in single-crystal ${\mathrm{Pb}}_{2}\mathrm{Pd}$ (Pb2Pd, PRB) 1. **[PhysRevB.103.174416](https://link.aps.org/doi/10.1103/PhysRevB.103.174416)** : **Magnetic skyrmions and bimerons in films with anisotropic interfacial Dzyaloshinskii-Moriya interaction (skyrmion, PRB)** 1. **[PhysRevB.103.L180504](https://link.aps.org/doi/10.1103/PhysRevB.103.L180504)** : Chiral Majorana hinge modes in superconducting Dirac materials (majorana hinge mode, PRB) 1. **[PhysRevB.103.205121](https://link.aps.org/doi/10.1103/PhysRevB.103.205121)** : Stability against contact interactions of a topological superconductor in two-dimensional space protected by time-reversal and reflection symmetries (tSC, PRB) 1. **[PhysRevB.103.205123](https://link.aps.org/doi/10.1103/PhysRevB.103.205123)** : **General corner charge formula in two-dimensional ${C}_{n}$-symmetric higher-order topological insulators (SMurakami, PRB)** 1. **[PhysRevB.103.L201109](https://link.aps.org/doi/10.1103/PhysRevB.103.L201109)** : Evidence of a topological edge state in a superconducting nonsymmorphic nodal-line semimetal (nonsymmorphic, PRB) 1. **[PhysRevB.103.205122](https://link.aps.org/doi/10.1103/PhysRevB.103.205122)** : Exact diagonalization study of the anisotropic Heisenberg model related to ${\mathrm{YbMgGaO}}_{4}$ (ED, PRB) 1. **[PhysRevB.103.195416](https://link.aps.org/doi/10.1103/PhysRevB.103.195416)** : Theoretical study of structural and electronic properties of $2H$-phase transition metal dichalcogenides (TMDC, PRB) 1. **[PhysRevLett.126.197203](https://link.aps.org/doi/10.1103/PhysRevLett.126.197203)** : Field-Induced Modulated State in the Ferromagnet PrPtAl (PrPtAl, PRL) 1. **[PhysRevLett.126.196406](https://link.aps.org/doi/10.1103/PhysRevLett.126.196406)** : Identification of the Mott Insulating Charge Density Wave State in $1\mathrm{T}\text{\ensuremath{-}}\mathrm{Ta}{\mathrm{S}}_{2}$ (TaS2, PRL) 1. **[PhysRevLett.126.196405](https://link.aps.org/doi/10.1103/PhysRevLett.126.196405)** : Distinguishing a Mott Insulator from a Trivial Insulator with Atomic Adsorbates (HWYeom, PRL) 1. **[372/6543/729](https://science.sciencemag.org/content/372/6543/729)** : The chain of chirality transfer in tellurium nanocrystals (Tellurium, Science) 1. **[372/6543/721](https://science.sciencemag.org/content/372/6543/721)** : Electric field control of superconductivity at the LaAlO3/KTaO3(111) interface (LAO/KTO, Science) 1. **[s41567-021-01208-0](https://www.nature.com/articles/s41567-021-01208-0)** : **Duality and domain wall dynamics in a twisted Kitaev chain (kitaev chain, nphys)** 1. **[2105.05816](http://arxiv.org/abs/2105.05816)** : Enhancing thermopower and Nernst signal of high-mobility Dirac carriers by Fermi level tuning in the layered magnet EuMnBi$_2$ (EuMnBi2, arXiv) 1. **[2105.05357](http://arxiv.org/abs/2105.05357)** : Single particle properties of the 2D Hubbard model for real frequencies at weak coupling: Breakdown of the Dyson equation (2D Hubbard, arXiv) 1. **[2105.05293](http://arxiv.org/abs/2105.05293)** : Strength of effective Coulomb interaction in two-dimensional transition-metal Halides MX$_2$ and MX$_3$ (M=Ti, V, Cr, Mn, Fe, Co, Ni; X=Cl, Br, I) (SBlugel, PRM) 1. **[2105.05572](http://arxiv.org/abs/2105.05572)** : Spontaneous egde and corner currents in $s+is$ superconductors (s + is, arXiv) 1. **[2105.05411](http://arxiv.org/abs/2105.05411)** : Emergent fractional vortices and inter-layer Ising order in a bilayer of XY models (XY model, arXiv) 1. **[2105.05261](http://arxiv.org/abs/2105.05261)** : Berezinskii-Kosterlitz-Thouless transition transport in spin-triplet superconductor (SBChung, arXiv) 1. **[PhysRevB.103.195309](https://link.aps.org/doi/10.1103/PhysRevB.103.195309)** : Orbital Hall effect as an alternative to valley Hall effect in gapped graphene (orbital Hall effect, PRB) 1. **[PhysRevB.103.174414](https://link.aps.org/doi/10.1103/PhysRevB.103.174414)** : Tuning Dzyaloshinskii-Moriya interaction in ferrimagnetic GdCo: A first-principles approach (DMI, PRB) 1. **[PhysRevB.103.195413](https://link.aps.org/doi/10.1103/PhysRevB.103.195413)** : SU(4) spin waves in the $\ensuremath{\nu}=\ifmmode\pm\else\textpm\fi{}1$ quantum Hall ferromagnet in graphene (graphene spin wave, PRB) 1. **[PhysRevB.103.195123](https://link.aps.org/doi/10.1103/PhysRevB.103.195123)** : Importance of electronic correlations for the magnetic properties of the two-dimensional ferromagnet ${\mathrm{CoBr}}_{2}$ (CoRr2, PRB) 1. **[PhysRevLett.126.197201](https://link.aps.org/doi/10.1103/PhysRevLett.126.197201)** : Spin-to-Charge Conversion in $\mathrm{Ag}/\mathrm{Bi}$ Bilayer Revisited (Rashba, PRL) 1. **[PhysRevLett.126.196404](https://link.aps.org/doi/10.1103/PhysRevLett.126.196404)** : Mechanisms for Pressure-Induced Isostructural Phase Transitions in EuO (EuO, PRL) 1. **[PhysRevLett.126.196403](https://link.aps.org/doi/10.1103/PhysRevLett.126.196403)** : Flat-Band-Enabled Triplet Excitonic Insulator in a Diatomic Kagome Lattice (EI, PRL) 1. **[PhysRevX.11.021033](https://link.aps.org/doi/10.1103/PhysRevX.11.021033)** : Site Mixing for Engineering Magnetic Topological Insulators (magnetic TI, PRX) 1. **[2105.05149](http://arxiv.org/abs/2105.05149)** : Unified description of resistivity and thermopower of Pr$_2$Ir$_2$O$_7$: possible influence of crystal field excitation in a Kondo lattice (crystal field excitation, PRB) 1. **[2105.05117](http://arxiv.org/abs/2105.05117)** : **Emergence of new van Hove singularities in the charge density wave state of a topological kagome metal RbV3Sb5 (kagome, arXiv)** 1. **[2105.05032](http://arxiv.org/abs/2105.05032)** : Observation of nearly identical superconducting transition temperatures in pressurized Weyl semimetal MIrTe4 (M=Nb and Ta) (Weyl, arXiv) 1. **[2105.04576](http://arxiv.org/abs/2105.04576)** : RKKY interaction in a spin-split superconductor (RKKY SC, arXiv) 1. **[PhysRevB.103.195119](https://link.aps.org/doi/10.1103/PhysRevB.103.195119)** : Quantitative analysis of interaction effects in generalized Aubry-Andr\'e-Harper models (AAH, PRB) 1. **[PhysRevB.103.205416](https://link.aps.org/doi/10.1103/PhysRevB.103.205416)** : Twisted bilayer graphene. VI. An exact diagonalization study at nonzero integer filling (Bernevig, PRB) 1. **[PhysRevB.103.205415](https://link.aps.org/doi/10.1103/PhysRevB.103.205415)** : Twisted bilayer graphene. V. Exact analytic many-body excitations in Coulomb Hamiltonians: Charge gap, Goldstone modes, and absence of Cooper pairing (Bernevig, PRB) 1. **[PhysRevB.103.205414](https://link.aps.org/doi/10.1103/PhysRevB.103.205414)** : Twisted bilayer graphene. IV. Exact insulator ground states and phase diagram (Bernevig, PRB) 1. **[PhysRevB.103.205413](https://link.aps.org/doi/10.1103/PhysRevB.103.205413)** : Twisted bilayer graphene. III. Interacting Hamiltonian and exact symmetries (Bernevig, PRB) 1. **[PhysRevB.103.205412](https://link.aps.org/doi/10.1103/PhysRevB.103.205412)** : Twisted bilayer graphene. II. Stable symmetry anomaly (Bernevig, PRB) 1. **[PhysRevB.103.205411](https://link.aps.org/doi/10.1103/PhysRevB.103.205411)** : Twisted bilayer graphene. I. Matrix elements, approximations, perturbation theory, and a $k\ifmmode\cdot\else\textperiodcentered\fi{}p$ two-band model (Bernevig, PRB) 1. **[2105.04542](http://arxiv.org/abs/2105.04542)** : Anomalous transport and chiral order in kagome superconductor CsV3Sb5 (kagome, arXiv) 1. **[2105.04502](http://arxiv.org/abs/2105.04502)** : **Spin-orbit correlations and exchange-bias control in twisted Janus dichalcogenide multilayers (Lado, arXiv)** 1. **[2105.04391](http://arxiv.org/abs/2105.04391)** : Quantum magnetism of iron-based ladders: blocks, spirals, and spin flux (Dagotto, arXiv) 1. **[2105.04094](http://arxiv.org/abs/2105.04094)** : Role of Majorana fermions in spin transport of anisotropic Kitaev model (Kitaev, arXiv) 1. **[2105.03779](http://arxiv.org/abs/2105.03779)** : **Inhomogeneous magnetic multiband superconductors (SC, arXiv)** 1. **[2105.03740](http://arxiv.org/abs/2105.03740)** : Quantum oscillations in monoclinic SrIrO$_3$: non-trivial topology and strong electron correlations in a three-dimensional Dirac semimetal (iridates, arXiv) 1. **[2105.03574](http://arxiv.org/abs/2105.03574)** : Observation of Nonlinear Spin-Charge Conversion in the Thin Film of Nominally Centrosymmetric Dirac Semimetal SrIrO3 at Room Temperature (Dirac, arXiv) 1. **[2105.04546](http://arxiv.org/abs/2105.04546)** : High-order Van Hove singularities in cuprates and related high-Tc superconductors (Van Hove singularity, arXiv) 1. **[2105.03769](http://arxiv.org/abs/2105.03769)** : From Majorana fermions to topological quantum computation in semiconductor/superconductor heterostructures (JDSau, arXiv) 1. **[2105.03639](http://arxiv.org/abs/2105.03639)** : Pseudogap and superconductivity emerging from quantum magnetic fluctuations: a Monte Carlo study (ZYMeng, arXiv) 1. **[2105.03487](http://arxiv.org/abs/2105.03487)** : Integrating superconducting van der Waals materials on paper substrates (van der Waals, arXiv) 1. **[PhysRevB.103.205410](https://link.aps.org/doi/10.1103/PhysRevB.103.205410)** : Topological charge, spin, and heat transistor (transistor, PRB) 1. **[PhysRevB.103.195410](https://link.aps.org/doi/10.1103/PhysRevB.103.195410)** : van der Waals corrected density functionals for cylindrical surfaces: Ammonia and nitrogen dioxide adsorbed on a single-walled carbon nanotube (CNT, PRB) 1. **[PhysRevB.103.195306](https://link.aps.org/doi/10.1103/PhysRevB.103.195306)** : Electron density effect on spin-orbit interaction in [001] GaAs quantum wells (GaAs, PRB) 1. **[PhysRevB.103.174411](https://link.aps.org/doi/10.1103/PhysRevB.103.174411)** : Melting of N\'eel skyrmion lattice (skyrmion, PRB) 1. **[PhysRevB.103.174410](https://link.aps.org/doi/10.1103/PhysRevB.103.174410)** : **Theory of magnetism in the van der Waals magnet ${\mathrm{CrI}}_{3}$ (CrI3, PRB)** 1. **[PhysRevB.103.195411](https://link.aps.org/doi/10.1103/PhysRevB.103.195411)** : Twisted symmetric trilayer graphene: Single-particle and many-body Hamiltonians and hidden nonlocal symmetries of trilayer moir\'e systems with and without displacement field (Bernevig, PRB) 1. **[2105.03208](http://arxiv.org/abs/2105.03208)** : An SYK-inspired model with density-density interactions: spectral & wave function statistics, Green's function and phase diagram (SYK, arXiv) 1. **[2105.03134](http://arxiv.org/abs/2105.03134)** : Fractional quantum Hall effect in the Hofstadter model of interacting fermions (FQHE, arXiv) 1. **[2105.03129](http://arxiv.org/abs/2105.03129)** : Neural network enhanced hybrid quantum many-body dynamical distributions (Lado, arXiv) 1. **[2105.03113](http://arxiv.org/abs/2105.03113)** : Field-angle dependence of thermal Hall conductivity in magnetically ordered Kitaev-Heisenberg system (thermal Hall conductivity, arXiv) 1. **[2105.02891](http://arxiv.org/abs/2105.02891)** : Gate-defined wires in twisted bilayer graphene: from electrical detection of inter-valley coherence to internally engineered Majorana modes (twisted bilayer graphene, arXiv) 1. **[2105.02888](http://arxiv.org/abs/2105.02888)** : Kramers' degeneracy for open systems in thermal equilibrium (Kramers degeneracy, arXiv)
2024-11-18T18:57:11.102886+00:00
2019-06-01T08:27:13
d7a118dc42503c7ec209ab300c7e2ad4e97426b7
4
{ "blob_id": "d7a118dc42503c7ec209ab300c7e2ad4e97426b7", "branch_name": "refs/heads/master", "committer_date": "2019-06-01T08:27:13", "content_id": "ad7e5ed62985044a84fd13f2cc42027fb6ddb92a", "detected_licenses": [ "MIT" ], "directory_id": "22adf66fe90348453160025c08b34760fc435cd1", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 189704222, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1413, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:193", "repo_name": "mecharan14/strprs", "revision_date": "2019-06-01T08:27:13", "revision_id": "593a5b77465feda9cfd4b1802fc61681f4c36af0", "snapshot_id": "2185e40f20983ae5748ddf686b1e7b65670b1b80", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/mecharan14/strprs/593a5b77465feda9cfd4b1802fc61681f4c36af0/README.md", "visit_date": "2020-05-30T11:30:47.486782" }
3.6875
stackv2
# String Parser (strprs) --- A string parser for extracting data from a string by template paramaters. This is currently availble in Javascript. --- ### Download Download this library by clicking clone or download on top. ### Usage For Normal version > <script src='strprs.js'></script> For Minified version > <script src='strprs.min.js'></script> ### What is it? if you want to parse some data from a string which you cannot do normally like, > Hi, my name is ___Charan___ , and I am ___18___ Imagine it is a dynamic string from an api Now you want to extract 'Charan' and '18' without knowing the value lets use strprs for this. You need to write a template which is identical to the target string and enclose paramaters with % as shown below ```javascript let person = strprs('Hi, my name is %name% , and I am %age%', 'Hi, my name is Charan , and I am 18'); console.log(persion) /* Output : { name: 'Charan', age: '18' } */ ``` ***Data is returned as object*** You can then use the data however you like ```javascript let target = "I'm feeling %express% and I am in %type% place. I hope it will be %caption%."; let dest = "I'm feeling lucky and I am in cool place. I hope it will be memorable."; let string = strprs(target,dest); console.log(string.express); // lucky console.log(string.type); // cool console.log(string.caption); // memorable ``` Thats it. Thank you for visting.
2024-11-18T18:59:52.618317+00:00
2021-05-31T06:21:43
50deb7e53ea36eb0efa0b7e59e3528f6a85a12be
3
{ "blob_id": "50deb7e53ea36eb0efa0b7e59e3528f6a85a12be", "branch_name": "refs/heads/main", "committer_date": "2021-05-31T06:21:43", "content_id": "9e0b70f1c8d100e7d7bd6a0c40167af795a39a66", "detected_licenses": [ "MIT" ], "directory_id": "cdc34418a4f970a45336cc1e09ac14fa00366413", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 357433776, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 887, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:194", "repo_name": "alexmdac/xoogle3", "revision_date": "2021-05-31T06:21:43", "revision_id": "2d15b1e9e3b2a8b4b81a04deaf23e51ad619351c", "snapshot_id": "66ce15a6bd539dc9085c46920c6bccc9f10a4d45", "src_encoding": "UTF-8", "star_events_count": 5, "url": "https://raw.githubusercontent.com/alexmdac/xoogle3/2d15b1e9e3b2a8b4b81a04deaf23e51ad619351c/README.md", "visit_date": "2023-05-08T05:10:36.658386" }
3.390625
stackv2
# xoogle3 [Bazel](https://bazel.build/) workspace for C++ with some batteries included, intended to help folks who would like to use C++ for programming assignments (e.g. coursework, interviews). ## Libraries * [absl](https://abseil.io/) * [gflags](https://github.com/gflags/gflags/tree/v2.2.2) * [googletest](https://github.com/google/googletest) * [nlohmann/json](https://github.com/nlohmann/json/tree/v3.9.1) * [yhirose/cpp-httplib](https://github.com/yhirose/cpp-httplib/tree/v0.8.6) ## Get started ``` $ bazel run //examples/hello -- --logtostderr ``` ## Dazel You can also use [dazel](https://github.com/nadirizr/dazel) to run the examples in a container. The repo contains a `.dazelrc` file that maps port `8080` for testing network servers. ``` (shell a)$ pip install dazel (shell a)$ dazel run //examples/http -- --logtostderr ``` ``` (shell b)$ curl localhost:8080 ```
2024-11-18T18:59:52.679602+00:00
2023-08-22T10:57:28
d9accddb9c945d66de8d2862387ea5170655c8ff
3
{ "blob_id": "d9accddb9c945d66de8d2862387ea5170655c8ff", "branch_name": "refs/heads/main", "committer_date": "2023-08-22T10:57:28", "content_id": "891a1ea7099cb8ecc04a5efdb1fbff29011af730", "detected_licenses": [ "MIT" ], "directory_id": "9b96a77fdd7eeba74a3d66d09eb8ebbf28b7b8b9", "extension": "md", "filename": "CVE-2005-3427.md", "fork_events_count": 647, "gha_created_at": "2022-01-31T13:23:51", "gha_event_created_at": "2023-05-24T04:54:19", "gha_language": "HTML", "gha_license_id": "MIT", "github_id": 454015416, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 708, "license": "MIT", "license_type": "permissive", "path": "/2005/CVE-2005-3427.md", "provenance": "stack-edu-markdown-0000.json.gz:195", "repo_name": "trickest/cve", "revision_date": "2023-08-22T10:57:28", "revision_id": "193d43877d4d88120833461ebab51acc2e5e37f0", "snapshot_id": "2d5fdbb47e0baf6ce74e016190dec666cdfd9bfe", "src_encoding": "UTF-8", "star_events_count": 5091, "url": "https://raw.githubusercontent.com/trickest/cve/193d43877d4d88120833461ebab51acc2e5e37f0/2005/CVE-2005-3427.md", "visit_date": "2023-08-22T19:53:39.850122" }
3.015625
stackv2
### [CVE-2005-3427](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3427) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The Cisco Management Center (MC) for IPS Sensors (IPS MC) 2.1 can omit port field values while generating the Cisco IOS IPS configuration file, wich can cause some signatures to be disabled and makes it easier for attackers to escape detection. ### POC #### Reference - http://securityreason.com/securityalert/137 #### Github No PoCs found on GitHub currently.
2024-11-18T18:59:52.933239+00:00
2023-01-13T19:11:08
4e115ee3eb5e6a4f5e2badbe2b18228f0ca4e26d
2
{ "blob_id": "4e115ee3eb5e6a4f5e2badbe2b18228f0ca4e26d", "branch_name": "refs/heads/master", "committer_date": "2023-01-13T19:11:08", "content_id": "d80d662027b7f684cfd9d2778b49d9d9dff6da94", "detected_licenses": [ "Apache-2.0", "MIT" ], "directory_id": "911daeb15b6239595837d439994b4b937cfcc8af", "extension": "mdx", "filename": "matrix-webhook.mdx", "fork_events_count": 0, "gha_created_at": "2017-12-08T20:13:33", "gha_event_created_at": "2023-08-18T17:48:32", "gha_language": "HTML", "gha_license_id": "Apache-2.0", "github_id": 113613385, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 652, "license": "Apache-2.0,MIT", "license_type": "permissive", "path": "/gatsby/content/projects/bots/matrix-webhook.mdx", "provenance": "stack-edu-markdown-0000.json.gz:196", "repo_name": "MTRNord/matrix.org", "revision_date": "2023-01-13T19:11:08", "revision_id": "03dff89c4593ea5c2c49b7b93b7b6b4075688971", "snapshot_id": "88ea3066e025c0ba21912adb2a0525a141dcdb34", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/MTRNord/matrix.org/03dff89c4593ea5c2c49b7b93b7b6b4075688971/gatsby/content/projects/bots/matrix-webhook.mdx", "visit_date": "2023-08-31T03:48:07.474376" }
2.375
stackv2
--- home: https://github.com/nim65s/matrix-webhook language: Python layout: projectimage license: BSD-2-Clause title: Matrix Webhook categories: - bot repo: https://github.com/nim65s/matrix-webhook room: "#matrix-webhook:tetaneutral.net" description: Post a message to a matrix room with a simple HTTP POST author: Nim65s maturity: Released --- # Matrix-Webhook This project allows a bot to post messages in matrix rooms with simple HTTP POST requests. It has been designed to be easy to set up as a standalone notification system. Formatters for Github, Gitlab (either through Google Chat or Microsoft Teams integrations) and Grafana are provided.
2024-11-18T18:59:52.973819+00:00
2021-12-18T01:14:27
40dc73c01751d52652dfb518e51e52d5ba5e7a46
3
{ "blob_id": "40dc73c01751d52652dfb518e51e52d5ba5e7a46", "branch_name": "refs/heads/master", "committer_date": "2021-12-18T01:14:27", "content_id": "b89542816d30ab78782ab8464a7b166da8b9a4a7", "detected_licenses": [ "MIT" ], "directory_id": "642ebc718a8632e09e7e4b2a817561a27714dcd3", "extension": "md", "filename": "2020-10-02-hacknews.md", "fork_events_count": 24, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 195164690, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 17243, "license": "MIT", "license_type": "permissive", "path": "/_posts/hacknews/2020-10-02-hacknews.md", "provenance": "stack-edu-markdown-0000.json.gz:197", "repo_name": "mojocn/libragen.cn", "revision_date": "2021-12-18T01:14:27", "revision_id": "9cb47c82e626d13d68e559cd5c27adfd6a5ba552", "snapshot_id": "00ef5147e34416811cafadeab8f3cdd3eb0de9c4", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/mojocn/libragen.cn/9cb47c82e626d13d68e559cd5c27adfd6a5ba552/_posts/hacknews/2020-10-02-hacknews.md", "visit_date": "2021-12-26T05:43:30.347817" }
3.0625
stackv2
--- layout: post title: Hacknews2020-10-02新闻 category: Hacknews tags: hacknews keywords: hacknews coverage: hacknews-banner.jpg --- Hacker News 是一家关于计算机黑客和创业公司的社会化新闻网站,由保罗·格雷厄姆的创业孵化器 Y Combinator 创建。 与其它社会化新闻网站不同的是 Hacker News 没有踩或反对一条提交新闻的选项(不过评论还是可以被有足够 Karma 的用户投反对票);只可以赞或是完全不投票。简而言之,Hacker News 允许提交任何可以被理解为“任何满足人们求知欲”的新闻。 ## HackNews Hack新闻 - [BuildZoom (better way to build custom homes) Is hiring a Growth Associate](https://jobs.lever.co/buildzoom) - `BuildZoom招聘使建筑行业在线` - [Stellar Explosion in Earth's Proximity](https://phys.org/news/2020-09-stellar-explosion-earth-proximity.html) - `地球附近的恒星爆炸` - [Actionsflow – IFTTT/Zapier free alternative based on GitHub Actions](https://github.com/actionsflow/actionsflow) - `Actionsflow –基于GitHub Actions的IFTTT / Zapier免费替代方案` - [My wife recently passed away. ` - [YouTubers are upscaling the past to 4K, but historians want them to stop](https://www.wired.co.uk/article/history-colourisation-controversy) - `YouTubers正在将过去的视频升级到4K。` - [USB-C was supposed to simplify our lives, but instead it’s a total mess](https://debugger.medium.com/usb-c-was-supposed-to-simplify-our-lives-instead-its-a-total-mess-626bb2ea3688#Echobox=1601499898) - `USB-C旨在简化我们的生活。` - [We learn faster when we aren’t told what choices to make](https://www.scientificamerican.com/article/we-learn-faster-when-we-arent-told-what-choices-to-make/) - `当我们不告诉我们做出什么选择时,我们会更快地学习` - [Commodore 64 Program Discovered on 35-Year Old Vinyl Album (2019)](https://popcultureretrorama.com/2019/11/25/35-years-later-a-commodore-64-program-was-found-on-this-1984-album/) - `在35岁的乙烯基专辑中发现Commodore 64程序` - [My friend starts her job today, after learning to program in prison](https://twitter.com/jessicamckellar/status/1311349439479463937) - `我的朋友在学习了监狱编程之后,今天开始工作` - [Ask HN: Who is hiring? (October 2020)](item?id=24651639) - `问HN:谁在招聘? ` - [Ask HN: Who wants to be hired? (October 2020)](item?id=24651637) - `问HN:谁想被录用? ` - [Compiling a Lisp to x86-64: Let expressions](https://bernsteinbear.com/blog/compiling-a-lisp-7/) - `将Lisp编译为x86-64:让表达式` - [A Brief Guide to OTP in Elixir](https://serokell.io/blog/elixir-otp-guide) - `Elixir OTP简要指南` - [Suicide Linux (2009)](https://qntm.org/suicide) - `自杀Linux` - [Programming language notation is a barrier to entry](https://blog.sigplan.org/2020/09/29/pl-notation-is-a-barrier-to-entry/) - `编程语言符号是入门的障碍` - [Founders and Executives of Cryptocurrency Derivatives Exchange BitMEX Charged](https://www.justice.gov/usao-sdny/pr/founders-and-executives-shore-cryptocurrency-derivatives-exchange-charged-violation) - `加密货币衍生品交易所Exchange BitMEX的创始人和高管` - [Purism's AweSIM – monthly plan for Librem5 including unlimited data](https://puri.sm/products/librem-awesim/) - `Purism的AweSIM – Librem5的月度计划,包括无限数据` - [Bare Metal Programming on Raspberry Pi 3](https://github.com/bztsrc/raspi3-tutorial) - `Raspberry Pi 3上的裸机编程` - [I Had My First Kiss in GemStone III](https://gizmodo.com/i-had-my-first-kiss-in-gemstone-iii-1845229020) - `我在GemStone III中初恋` - [AWS IAM having issues yet again](https://status.aws.amazon.com/) - `AWS IAM再次遇到问题` - [Memristor Breakthrough: First Single Device to Act Like a Neuron](https://spectrum.ieee.org/nanoclast/semiconductors/devices/memristor-first-single-device-to-act-like-a-neuron) - `忆阻器突破:第一个像神经元一样起作用的单个设备` - [Asteroids: By the Numbers](http://www.retrogamedeconstructionzone.com/2019/10/asteroids-by-numbers.html?m=1) - `小行星:按数字` - [United States Obtains Final Judgement and Permanent Injunction Against Snowden](https://www.justice.gov/opa/pr/united-states-obtains-final-judgement-and-permanent-injunction-against-edward-snowden) - `美国对斯诺登获得最终判决和永久禁令` - [A Computer Dungeon Slash Postmortem](https://museumofzzt.com/article/496/a-computer-dungeon-slash-postmortem) - `计算机地牢斩击后验尸` - [Bringing the browser developer tools to Visual Studio Code](https://blogs.windows.com/msedgedev/2020/10/01/microsoft-edge-tools-vscode/) - `将浏览器开发人员工具引入Visual Studio Code` - [Stripe Will Pay Workers $20k to Leave New York and San Francisco](https://www.forbes.com/sites/jackkelly/2020/09/17/stripe-will-pay-workers-20000-to-leave-new-york-and-san-francisco-but-heres-the-catch/#412c4f3f562f) - `条纹将支付工人2万美元离开纽约和旧金山` - [Typography in 8 bits: System fonts](https://damieng.com/blog/2011/02/20/typography-in-8-bits-system-fonts) - `8位版式:系统字体` - [MobX 6](https://michel.codes/blogs/mobx6) - `手机6` - [What does I/O bound mean? (2008)](http://erikengbrecht.blogspot.com/2008/06/what-does-io-bound-really-mean.html?m=1) - `I / O绑定是什么意思?` - [ExamSoft's remote bar exam sparks privacy and facial recognition concerns](https://venturebeat.com/2020/09/29/examsofts-remote-bar-exam-sparks-privacy-and-facial-recognition-concerns/) - `ExamSoft的远程酒吧考试引发了隐私和面部识别问题` - [US Senate Subpoenas Heads of Google, Facebook and Twitter](https://www.bbc.com/news/technology-54376327) - `美国参议院传票Google,Facebook和Twitter负责人` - [How To Be An Anti-Casteist](https://www.npr.org/transcripts/915299467) - `美国种姓对话` - [Swift Atomics](https://swift.org/blog/swift-atomics/) - `斯威夫特原子` - [Covid-19 can damage hearts of some college athletes](https://directorsblog.nih.gov/2020/10/01/covid-19-can-damage-hearts-of-some-college-athletes/) - `Covid-19可能会伤害某些大学运动员的心脏` - [Software Freedom Conservancy: New Strategy for GPL Enforcement](https://sfconservancy.org/news/2020/oct/01/new-copyleft-strategy-launched-with-ARDC-grant/) - `软件自由保护:执行GPL的新策略` - [Facebook Prediction Market Launches in US and Canada](https://npe.fb.com/2020/10/01/forecast-update-making-forecast-available-to-everyone/) - `Facebook预测市场在美国和加拿大启动` - [Did Early Humans Invent Hot Pot in Geothermal Pools?](https://www.atlasobscura.com/articles/mystery-microbe-hominin-cooking-tanzania) - `早期人类是否发明了地热池中的火锅?` - [Researchers are now developing new forms of real sugar](https://www.newyorker.com/magazine/2020/09/28/the-race-to-redesign-sugar) - `研究人员现在正在开发新形式的真糖` - [One Guy Ruined Hacktoberfest 2020](https://joel.net/how-one-guy-ruined-hacktoberfest2020-drama) - `一个家伙毁了Hacktoberfest 2020` - [Google pub/sub released an ordering feature](https://cloud.google.com/pubsub/docs/ordering) - `Google发布/订阅发布了订购功能` - [New Mojave Supplemental Update released that fixes issues caused by older update](https://mrmacintosh.com/10-14-6-supplemental-update-safari-14-released-to-fix-previous-issues/) - `发布了新的Mojave补充更新,该更新修复了由较旧的更新引起的问题` - [For reliable excess returns, VC funds need 500 investments](https://www.institutionalinvestor.com/article/b1nlj1gb3g3bbd/The-Pervasive-Head-Scratching-Risk-Exploding-Problem-With-Venture-Capital) - `为了获得可靠的超额回报,风险投资基金需要500笔投资` - [Ask HN: How to get into the chip industry?](item?id=24649959) - `向HN提问:如何进入芯片行业` - [Escaping strings in Bash using !:q](https://til.simonwillison.net/til/til/bash_escaping-a-string.md) - `使用!:q在Bash中转义字符串` - [Declarative Shadow DOM](https://web.dev/declarative-shadow-dom/) - `声明式影子DOM` - [Build Your Own Artificial Neural Network](http://nautil.us/blog/build-your-own-artificial-neural-network-its-easy) - `建立自己的人工神经网络` - [Ask HN: What RSS Reader do you use?](item?id=24658424) - `问HN:您使用什么RSS阅读器?` - [Reasons Revealed for the Brain’s Elastic Sense of Time](https://www.quantamagazine.org/reasons-revealed-for-the-brains-elastic-sense-of-time-20200924/) - `揭示大脑弹性时间感的原因` - [Web Neural Network API](https://webmachinelearning.github.io/webnn/) - `Web神经网络API` - [QuestDB (YC S20) Is Hiring a Technical Writer](https://questdb.io/careers/) - `QuestDB(YC S20)正在招聘技术作家` - [Interview with Transport Tycoon creator Chris Sawyer](https://lifeandtimes.games/episodes/files/28) - `运输业大亨(又称最佳优化师Chris Sawyer)` - [Stealing Valuable Art](https://www.delanceyplace.com/view-archives.php?p=4220) - `窃取有价值的艺术` - [E-6B Mercury airborne command just went active on east/west coasts](https://twitter.com/TimInHonolulu/status/1311883569086623744) - `E-6B水星空降司令部仅在东西海岸活跃` - [Please Stop Imposing American Views about Race on Us](https://www.persuasion.community/p/please-stop-imposing-american-views) - `请停止施加美国关于种族歧视的观点` - [Google is giving $1B to publishers to help convince governments not to take more](https://www.niemanlab.org/2020/10/google-is-giving-1-billion-to-news-publishers-to-help-convince-governments-not-to-take-a-whole-lot-more-than-that/) - `Google为新闻发布者提供了10亿美元的资金-公关,而非产品` - [A trip through the Graphics Pipeline (2011)](https://fgiesen.wordpress.com/2011/07/09/a-trip-through-the-graphics-pipeline-2011-index/) - `图形管道之旅(2011)` - [Big O, Little N](https://adamzerner.bearblog.dev/big-o-little-n/) - `大O小N` - [RTX3090 TensorFlow, NAMD and HPCG Performance on Linux](https://www.pugetsystems.com/labs/hpc/RTX3090-TensorFlow-NAMD-and-HPCG-Performance-on-Linux-Preliminary-1902) - `Linux上的RTX3090 TensorFlow,NAMD和HPCG性能(初步)` - [C Programming on System 6](https://jcs.org/2020/10/01/system_6_c) - `在系统6上进行C编程` - [Flatpak: A security nightmare – two years later](https://www.flatkill.org/2020/) - `Flatpak:一场安全噩梦–两年后` - [Privacy Is the Most Important Concept of Our Time](https://inre.me/why-privacy-is-the-most-important-concept-of-our-time/) - `隐私是我们时代最重要的概念` - [A Fistful of States: More State Machine Patterns in Rust](https://deislabs.io/posts/a-fistful-of-states/) - `少数状态:Rust中的更多状态机模式` - [Lumi (YC W15) is hiring Product Designers to design tools for sustainable packaging](https://www.lumi.com/jobs/lead-product-designer) - `Lumi(YC W15)正在招聘产品设计师来设计可持续包装的工具` - [Bash code generator for command-line arguments](https://github.com/matejak/argbash) - `Bash代码生成器,用于命令行参数` - [Pelican static site generator 4.5](https://blog.getpelican.com/category/news.html) - `鹈鹕静态网站生成器4.5发布` - [Warren Buffett says the most successful people say no to almost everything](https://www.inc.com/marcel-schwantes/warren-buffett-says-this-is-1-simple-habit-that-separates-successful-people-from-everyone-else.html) - `沃伦·巴菲特(Warren Buffett)说,最成功的人几乎拒绝一切` - [Where our economy is, for the young](https://siderea.dreamwidth.org/1662085.html) - `我们的经济在哪里,对于年轻人` - [Ask HN: What is an acceptable latency for a web load balancer?](item?id=24661903) - `问HN:Web负载平衡器可接受的延迟是多少?` - [Facebook sues two Chrome extension makers for scraping user data](https://www.zdnet.com/article/facebook-sues-two-chrome-extension-makers-for-scraping-user-data/) - `Facebook起诉两家Chrome扩展程序制造商抓取用户数据` - [MS Excels celebrates 35 years](https://twitter.com/msexcel/status/1311433151235883011) - `MS Excels庆祝成立35周年` - [Memgraph DB 1.1](https://memgraph.com/blog/memgraph-1-1-benchmarks) - `内存图DB 1.1` ## HackShows Hacks展示 - [ Get things done in public with awesome community of makers](https://taskord.com) - `Taskord Alpha现已上市` - [ Trasa – zero trust service access platform](https://www.trasa.io/) - `Trasa –零信任服务访问平台` - [ Hammer – Golang's Fluent Rest API Client](https://github.com/ShaileshSurya/hammer) - `Hammer – Golang的Fluent Rest API客户端` - [ I made a site that lets people subscribe to get stock music via email](https://soundstash.io/) - `我创建了一个网站,使人们可以通过电子邮件订阅以获取股票音乐` - [ Supertribe – Meaningful professional connections over online games](https://supertribe.gg) - `Supertribe –通过在线游戏建立有意义的专业联系` - [ Live dashboard of every email Trump and Biden are sending](https://sendview.io/trump-v-biden) - `特朗普和拜登发送的每封电子邮件的实时仪表板` - [ Ruby One-Liners Cookbook](https://learnbyexample.github.io/learn_ruby_oneliners/one-liner-introduction.html) - `Ruby一线食谱` - [ Buku – browser-independent private portable bookmark manager](https://github.com/jarun/buku) - `Buku –独立于浏览器的私人便携式书签管理器` - [ Git based Machine Learning Operations platform (MLOps)](https://mlreef.com) - `基于Git的机器学习操作平台(MLOps)` - [ A simple SSH CA service with only 150 lines of Python code](https://github.com/lgxz/sshca) - `只需150行Python代码的简单SSH CA服务` - [ A simple log-based, transactional, embedded relational database in Java](https://github.com/codr7/jappkit/tree/master/src/codr7/jappkit/db) - `Java中基于日志的简单事务型嵌入式关系数据库` - [ Parenthing – a parenting companion for parents with children aged 3 – 9](https://apps.apple.com/us/app/id1527726584) - `育儿–育有3 – 9岁孩子的父母的育儿伴侣` - [ Optimizing where to live (with kids) around the Bay Area](https://smcllns.com/bay-area-home-research) - `优化海湾地区(与孩子一起)的住处` - [Launch HN: Narrator (YC S19) – a data modeling platform built on a single table](item?id=24640540) - `启动HN:讲述人(YC S19)–建立在单个表上的数据建模平台` - [ Telegram bot to get new HN stories by keywords](https://solus.life/hnbuzz/) - `电报机器人通过关键字获取新的HN故事` - [ Okdb – OT Simplified](https://okdb.io/) - `Okdb –简化了OT` - [ A wiki style education platform licenced under CC0](https://ambitionsapp.com/) - `在CC0下获得许可的Wiki风格的教育平台` - [ Growing Wine Grapes in My Parents' Basement](https://www.hefvin.com/) - `在父母的地下室种葡萄` - [ Useful scripts and environment setup for coding in VPS](https://github.com/cris691/environments.git.git) - `显示HN:在VPS中进行编码的有用脚本和环境设置` - [ Remote scrum poker voting website (free and no login)](https://poker-planning.com/) - `远程Scrum扑克投票网站(免费且无登录)` - [ Automatic Tagging for Terraform](https://github.com/env0/terratag) - `自动标记地形` - [ A simple, beautiful, and powerful Jekyll theme for blogs](https://github.com/vszhub/not-pure-poole) - `一个简单,美观且功能强大的Jekyll博客主题` - [ I made a screen recorder for developers](https://vasai.app) - `我为开发人员制作了屏幕录像机` - [ Topic Play – a platform to discover educational videos and channels](https://topicplay.com) - `主题播放–探索教育视频和频道的平台` - [ Pixie, Instant Kubernetes-Native Application Observability Using EBPF](https://pixielabs.ai) - `Show HN:使用EBPF的Pixie,即时Kubernetes原生应用程序可观察性` - [ Cargenta – We Make Cars Connected](item?id=24656165) - `Cargenta –我们使汽车联网` - [ Derek 0.10.3 – block out Hacktoberfest spam](https://github.com/alexellis/derek/releases/tag/0.10.3) - `Derek 0.10.3 –阻止Hacktoberfest垃圾邮件` - [ Hacktoberfix, Fix your October already](https://github.com/SanketDG/hacktoberfix) - `Hacktoberfix,已经修复了您的十月` - [ Generating synthetic datasets for computer vision applications](https://github.com/Cartucho/vision_blender) - `生成用于计算机视觉应用的合成数据集` - [ The Gray Area](https://tristanpollock.substack.com/p/the-gray-area) - `灰色地带` - [ How to compute a factorial with λ calculus in a post card](http://lambdaway.free.fr/lambdawalks/?view=lambdafact) - `如何在明信片中使用λ微积分计算阶乘` - [ StackSort – a Python package inspired by XKCD Ineffective Sorts](https://github.com/buckley-w-david/stacksort) - `StackSort –受XKCD无效排序启发的Python软件包`
2024-11-18T18:59:53.090881+00:00
2022-10-05T03:20:10
fcc43ac92f09c69c354e476e318521cb7c2b21ac
3
{ "blob_id": "fcc43ac92f09c69c354e476e318521cb7c2b21ac", "branch_name": "refs/heads/master", "committer_date": "2022-10-05T03:20:10", "content_id": "ace32a1e526e05bed903aba498107471315d5653", "detected_licenses": [ "MIT" ], "directory_id": "348796cf7239a690bf9941dd0f4291da5d640a78", "extension": "md", "filename": "README.md", "fork_events_count": 1, "gha_created_at": "2018-07-04T23:58:53", "gha_event_created_at": "2022-10-05T03:20:11", "gha_language": "Python", "gha_license_id": "MIT", "github_id": 139774969, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 845, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:198", "repo_name": "evanmoran/python3-bazel", "revision_date": "2022-10-05T03:20:10", "revision_id": "ef3a4164d425e50daafe48ce36eb3acd83c5a70c", "snapshot_id": "ba92e8220e19a965a4ca81c1368afc26957340e3", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/evanmoran/python3-bazel/ef3a4164d425e50daafe48ce36eb3acd83c5a70c/README.md", "visit_date": "2022-10-19T19:27:48.256818" }
3.328125
stackv2
# python3-bazel Bazel support for building Python 3 with prebuilt libs for mac, windows and linux. ## How To Use Add this to your `WORKSPACE` file: ```py http_archive( name = "python3", url = "https://github.com/evanmoran/python3-bazel/archive/v3.6.4.tar.gz", strip_prefix = "python3-bazel-3.6.4", ) ``` Then add `@python3//:<platform>-python-library` to the `deps` to rules, like: ```py cc_binary( name = "myapp", srcs = ["myapp.cpp"], deps = ["@python3//:<platform>-python-library"], ) ``` ## Info Supported platforms: macos, windows, linux Supported languages: Python3 ## Qt In addition, this adds an include file called `QtPython3.h`, that wraps the normal `Python.h` include so it can be included alongside qt. This is needed because qt and python both define a type called `slots` and it conflicts.
2024-11-18T18:59:53.127307+00:00
2020-03-04T02:07:17
6768ea5e43921641a468ed3cce2257600bcdaad2
2
{ "blob_id": "6768ea5e43921641a468ed3cce2257600bcdaad2", "branch_name": "refs/heads/master", "committer_date": "2020-03-04T02:07:17", "content_id": "f5f109791f0974316242f19486574bfa8f4ff427", "detected_licenses": [ "MIT" ], "directory_id": "45f59d0408a2033608cf9395026610eed150793e", "extension": "md", "filename": "README.md", "fork_events_count": 0, "gha_created_at": "2020-02-26T00:44:47", "gha_event_created_at": "2020-03-04T01:40:55", "gha_language": "Java", "gha_license_id": null, "github_id": 243134507, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 684, "license": "MIT", "license_type": "permissive", "path": "/README.md", "provenance": "stack-edu-markdown-0000.json.gz:199", "repo_name": "graciousdaze/LinkedAdventurerParty", "revision_date": "2020-03-04T02:07:17", "revision_id": "b66e39ad1943fd80eddfc141dc2341bbbc5cbb0e", "snapshot_id": "c6cc7566d4f0b9b62a6b76164742da8bd2ca0634", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/graciousdaze/LinkedAdventurerParty/b66e39ad1943fd80eddfc141dc2341bbbc5cbb0e/README.md", "visit_date": "2021-01-16T13:12:06.135906" }
2.4375
stackv2
# LinkedAdventurerParty This project was created for introductory data structures class to demonstrate the usuage of linked lists. There are 3 classes in this project. * Adventurer: Used to create Adventurer objects that will be stored in the list * AdventurerNode: The nodes used by the list to store the Adventurer object data and track the links for the list * LinkedAdventurerParty: The collection class that uses the linked list data structure to store Adventurer items in a list and perform operations on the list ## Built With * Java SE-12 (jdk-12.0.1) ## Authors Grace O'Brien ## License This project is licensed under the MIT License - see the LICENSE.md file for details
2024-11-18T18:59:53.305106+00:00
2016-09-07T21:59:04
ef6fae5448445debb38b65993d78baea3bd5325b
3
{ "blob_id": "ef6fae5448445debb38b65993d78baea3bd5325b", "branch_name": "refs/heads/master", "committer_date": "2016-09-07T21:59:04", "content_id": "bb997fa0dc36f781eb5372bbff3f50475fe23f67", "detected_licenses": [ "BSD-2-Clause" ], "directory_id": "b70e5613d3712ea87562f4295ce05c744b887578", "extension": "md", "filename": "2016-08-11-red-hat-storage.md", "fork_events_count": 0, "gha_created_at": null, "gha_event_created_at": null, "gha_language": null, "gha_license_id": null, "github_id": 58107930, "is_generated": false, "is_vendor": false, "language": "Markdown", "length_bytes": 1300, "license": "BSD-2-Clause", "license_type": "permissive", "path": "/_posts/2016-08-11-red-hat-storage.md", "provenance": "stack-edu-markdown-0000.json.gz:200", "repo_name": "sboss/sboss.github.io", "revision_date": "2016-09-07T21:59:04", "revision_id": "de33c0575b62d8453b48ea15bee80d48482ad41d", "snapshot_id": "dbd5812976da23300815796418eba34924cd3e34", "src_encoding": "UTF-8", "star_events_count": 0, "url": "https://raw.githubusercontent.com/sboss/sboss.github.io/de33c0575b62d8453b48ea15bee80d48482ad41d/_posts/2016-08-11-red-hat-storage.md", "visit_date": "2021-01-15T15:37:58.067253" }
2.6875
stackv2
--- author: sboss comments: false date: 2016-08-11 layout: post title: Red Hat storage categories: review tags: - Red Hat - Gluster - Ceph - SDS --- ## Red Hat storage is all SDS. Recently I have been looking at [Red Hat]( http://redhat.com ) storage. It comes down to all of their offerings are Software Defined Storage (SDS). Is that good or bad? neither. Some people like hardware and software that is specific to a "storage platform". Think the storage arrays that we all know and love. Some have embraced the new model of SDS. In SDS who care about the hardware, we will write code to get around any hardware issues or concerns. Thus we can run on any hardware that meets certain specs. [Gluster]( http://redhat.com/en/technologies/storage/gluster ) is the file based storage software that Red Hat bought a few years back. [Ceph]( http://redhat.com/en/technologies/storage/ceph ) is the object store & block storage software that is designed and written by the community. The community's [site]( http://ceph.com/ ) has a lot of good documentation especially related to the core technology. Ceph is an object store that is optimized for things like [OpenStack]( http://www.openstack.org/ ). Only time will tell if SDS on commodity hardware will take over the storage market or not.