This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><title>BankDash Terms of Service</title></head><body> | |
| <h1>Terms of Service</h1> | |
| <p>BankDash is a personal finance dashboard for private use by the account owner only.</p> | |
| <p>The service accesses bank account data in read-only mode via open banking APIs. It is not intended for commercial use or use by third parties.</p> | |
| <p>Contact: mttmanzo@gmail.com</p> | |
| </body></html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><title>BankDash Privacy Policy</title></head><body> | |
| <h1>Privacy Policy</h1> | |
| <p>BankDash is a personal finance dashboard for private use. It accesses read-only bank account data via open banking APIs solely to display balances and transactions to the account owner.</p> | |
| <p>No data is shared with third parties. Data is stored locally and used only to display it to the authenticated user.</p> | |
| <p>Contact: mttmanzo@gmail.com</p> | |
| </body></html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><title>BankDash Terms of Service</title></head><body> | |
| <h1>Terms of Service</h1> | |
| <p>BankDash is a personal finance dashboard for private use by the account owner only.</p> | |
| <p>The service accesses bank account data in read-only mode via open banking APIs. It is not intended for commercial use or use by third parties.</p> | |
| <p>Contact: mttmanzo@gmail.com</p> | |
| </body></html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html><head><title>BankDash Privacy Policy</title></head><body> | |
| <h1>Privacy Policy</h1> | |
| <p>BankDash is a personal finance dashboard for private use. It accesses read-only bank account data via open banking APIs solely to display balances and transactions to the account owner.</p> | |
| <p>No data is shared with third parties. Data is stored locally and used only to display it to the authenticated user.</p> | |
| <p>Contact: mttmanzo@gmail.com</p> | |
| </body></html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| publiccode-yaml-version: '0.1' | |
| name: bla | |
| releaseDate: '2018-09-05' | |
| url: www.example.com | |
| developmentStatus: development | |
| softwareType: configurationFiles | |
| tags: | |
| - accessibility | |
| maintenance: | |
| contacts: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| QUERY_FIELDS = { | |
| title: { types: [:fuzzy] }, | |
| formatted_text: { types: [:word] }, | |
| author: { boost: 3.0, types: [:word] }, # we define both the type and the boost, only for this word. | |
| abstract_text: { types: [:fuzzy] }, | |
| location: { types: [:infix] }, | |
| technique: { types: [:prefix] }, | |
| }.freeze | |
| def matching_text_scope(text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def word_weight(word) | |
| case word | |
| when "batter" | |
| 0.0 | |
| when /\Ab[ao]ttle\z/ | |
| 0.0 | |
| else | |
| 1.0 | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mastico::Query.new(fields: [:author], query: "Botticello").apply(chewy_query).load.to_a | |
| => [#<Artwork:0x007fa66e9a78f8 | |
| id: 30, | |
| museum_id: 6, | |
| title: "Adoration of the Magi" | |
| author: "Sandro Botticelli (Florence 1445-1510)", | |
| position: 2>, | |
| #<Artwork:0x007fa66e9a7678 | |
| id: 3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mastico::Query.new(fields: [:title, :author], query: "Venus Botticelli").apply(chewy_query).load.to_a | |
| => [#<Artwork:0x007fa66a4281b0 | |
| id: 3, | |
| museum_id: 15, | |
| title: "Birth of Venus", | |
| author: "Sandro Botticelli (Florence 1445-1510) ", | |
| position: 109>] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chewy_query = UffiziIndex::Artwork.all | |
| Mastico::Query.new(fields: [:title], query: "Venus").apply(chewy_query).load.to_a | |
| => [#<Artwork:0x007fa6668fc820 | |
| id: 3, | |
| museum_id: 15, | |
| title: "Birth of Venus", | |
| author: "Sandro Botticelli (Florence 1445-1510) ", | |
| position: 109>] |
NewerOlder