Blog

  • vim-hanami

    vim-hanami

    Hanami support plugin for vim that gives you faster navigation between semantically associated files, like Action <-> View, Entity -> Repository or Spec -> Entity.

    Spec <-> Entity association works if code lives in lib and specs in ‘spec’ directoties.

    Installation

    Add this to your .vimrc or nvim/init.vim:

    Plug 'sovetnik/vim-hanami'
    

    Usage

    The plugin registers <Leader>s(SpecToggle) and <Leader>x(RepoToggle) in normal mode for toggle files.

    Some public commands: :HanamiAlterToggle toggles between entity and repo. :HanamiSpecToggle toggles between lib and spec. :HanamiProject returnes project name from .hanamirc :HanamiTemplate returnes template engine from .hanamirc

    Toggles

    Assume we have generated a hanami entity or action.

    Suppose you run hanami g model fnord and get files:

    • lib/bookshelf/entities/fnord.rb
    • lib/bookshelf/repositories/fnord_repository.rb
    • spec/bookshelf/entities/fnord_spec.rb
    • spec/bookshelf/repositories/fnord_repository_spec.rb

    Or we run hanami generate action web foobar#show and get:

    • spec/web/controllers/foobar/show_spec.rb
    • apps/web/controllers/foobar/show.rb
    • apps/web/views/foobar/show.rb
    • apps/web/templates/foobar/show.html.erb
    • spec/web/views/foobar/show_spec.rb

    Toggle command simply splits window with alter or spec file.

    AlterToggle

    This command mapped to <Leader>x From buffer with Action, View or its specs toggles between them, Action <-> View.

    From buffer with Entity, Repository or its specs toggles between them, Entity <-> Repo.

    SpecToggle

    This command mapped to <Leader>s From Action, Entity, Repository and View toggles between them and their specs.

    Settings

    In your ~/.vimrc or ~/.config/nvim/init.vim add this statement to change open strategy:

    let g:hanami_open_strategy = 'vsplit'

    Default strategy is split.

    You can disable included mappings:

    let g:hanami_map_keys = 0

    By default mappings enabled.

    Next features(planned)

    • navigation in app folder
    • something else

    License

    The Vim Hanami plugin is open-sourced software licensed under the MIT license.

    Visit original content creator repository https://github.com/sovetnik/vim-hanami
  • viewer

    Material-UI logo

    Archival IIIF viewer

    This software is an open-source and web-based viewer for IIIF. It is focused on tree views but also works with single manifests.

    The viewer was developed for the Archival IIIF Server, but also works with any other IIIF server.

    Demo

    https://iiif.sozialarchiv.ch

    Features

    Download

    https://github.com/archival-IIIF/viewer/releases

    The viewer is also available as an npm package:

    // with npm
    npm -i @archival-iiif/viewer
    
    // with yarn
    yarn add @archival-iiif/viewer

    Usage

    <!DOCTYPE html>
    <html>
        <body class="aiiif-body">
            <div id="root"></div>
        
            <script type="text/javascript" src="path-to-viewer/archival-IIIF-viewer.min.js?v=x.y.z"></script>
            <script type="text/javascript">
                new ArchivalIIIFViewer({id: 'root'});
            </script>
        </body>
    </html>

    Options

    key Description Example Mandatory Default
    id Id of the element to append the viewer’s container element to. 'root' Yes
    language Default interface language 'en' No
    manifest Initial manifest url 'https://iiif.sozialarchiv.ch/iiif/collection/demo' No
    disableSharing Disable share tab true No false
    disableDownload Disable download tab true No false
    lazyTree Make tree view lazy true No false
    allowedOrigins Indicates whether a manifest can be shown from the given origin. 'https://iiif.sozialarchiv.ch/' or ['https://iiif.sozialarchiv.ch', 'https://example.com'] No *
    externalSearchUrl External search URL https://iiif-search.sozialarchiv.ch No
    hideUnbranchedTrees Hide tree view if tree is unbranched true No false
    htmlViewer Activate inline viewer for html documents true No false

    Development

    Installation

    1. Install Node.js
    2. Install yarn or npm
    3. yarn install or npm install
    4. yarn run start or npm run start

    Building

    1. yarn run build or npm run build

    See also

    Visit original content creator repository https://github.com/archival-IIIF/viewer
  • Learn-OpenPolicyAgent


    {Project icon} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.

    By:

    Seanpm2001, Et; Al.

    Top

    README.md


    Read this article in a different language

    Sorted by: A-Z

    Sorting options unavailable

    ( af Afrikaans Afrikaans | sq Shqiptare Albanian | am አማርኛ Amharic | ar عربى Arabic | hy հայերեն Armenian | az Azərbaycan dili Azerbaijani | eu Euskara Basque | be Беларуская Belarusian | bn বাংলা Bengali | bs Bosanski Bosnian | bg български Bulgarian | ca Català Catalan | ceb Sugbuanon Cebuano | ny Chichewa Chichewa | zh-CN 简体中文 Chinese (Simplified) | zh-t 中國傳統的) Chinese (Traditional) | co Corsu Corsican | hr Hrvatski Croatian | cs čeština Czech | da dansk Danish | nl Nederlands Dutch | en-us English English | EO Esperanto Esperanto | et Eestlane Estonian | tl Pilipino Filipino | fi Suomalainen Finnish | fr français French | fy Frysk Frisian | gl Galego Galician | ka ქართველი Georgian | de Deutsch German | el Ελληνικά Greek | gu ગુજરાતી Gujarati | ht Kreyòl ayisyen Haitian Creole | ha Hausa Hausa | haw Ōlelo Hawaiʻi Hawaiian | he עִברִית Hebrew | hi हिन्दी Hindi | hmn Hmong Hmong | hu Magyar Hungarian | is Íslenska Icelandic | ig Igbo Igbo | id bahasa Indonesia Icelandic | ga Gaeilge Irish | it Italiana/Italiano | ja 日本語 Japanese | jw Wong jawa Javanese | kn ಕನ್ನಡ Kannada | kk Қазақ Kazakh | km ខ្មែរ Khmer | rw Kinyarwanda Kinyarwanda | ko-south 韓國語 Korean (South) | ko-north 문화어 Korean (North) (NOT YET TRANSLATED) | ku Kurdî Kurdish (Kurmanji) | ky Кыргызча Kyrgyz | lo ລາວ Lao | la Latine Latin | lt Lietuvis Lithuanian | lb Lëtzebuergesch Luxembourgish | mk Македонски Macedonian | mg Malagasy Malagasy | ms Bahasa Melayu Malay | ml മലയാളം Malayalam | mt Malti Maltese | mi Maori Maori | mr मराठी Marathi | mn Монгол Mongolian | my မြန်မာ Myanmar (Burmese) | ne नेपाली Nepali | no norsk Norwegian | or ଓଡିଆ (ଓଡିଆ) Odia (Oriya) | ps پښتو Pashto | fa فارسی |Persian pl polski Polish | pt português Portuguese | pa ਪੰਜਾਬੀ Punjabi | No languages available that start with the letter Q | ro Română Romanian | ru русский Russian | sm Faasamoa Samoan | gd Gàidhlig na h-Alba Scots Gaelic | sr Српски Serbian | st Sesotho Sesotho | sn Shona Shona | sd سنڌي Sindhi | si සිංහල Sinhala | sk Slovák Slovak | sl Slovenščina Slovenian | so Soomaali Somali | [es en español Spanish | su Sundanis Sundanese | sw Kiswahili Swahili | sv Svenska Swedish | tg Тоҷикӣ Tajik | ta தமிழ் Tamil | tt Татар Tatar | te తెలుగు Telugu | th ไทย Thai | tr Türk Turkish | tk Türkmenler Turkmen | uk Український Ukrainian | ur اردو Urdu | ug ئۇيغۇر Uyghur | uz O’zbek Uzbek | vi Tiếng Việt Vietnamese | cy Cymraeg Welsh | xh isiXhosa Xhosa | yi יידיש Yiddish | yo Yoruba Yoruba | zu Zulu Zulu ) Available in 110 languages (108 when not counting English and North Korean, as North Korean has not been translated yet Read about it here)

    Translations in languages other than English are machine translated and are not yet accurate. No errors have been fixed yet as of March 21st 2021. Please report translation errors here. Make sure to backup your correction with sources and guide me, as I don’t know languages other than English well (I plan on getting a translator eventually) please cite wiktionary and other sources in your report. Failing to do so will result in a rejection of the correction being published.

    Note: due to limitations with GitHub’s interpretation of markdown (and pretty much every other web-based interpretation of markdown) clicking these links will redirect you to a separate file on a separate page that isn’t the intended page. You will be redirected to the .github folder of this project, where the README translations are hosted.

    Translations are currently done with Bing translate and DeepL. Support for Google Translate translations is coming to a close due to privacy concerns.


    Index

    00.0 – Top

    00.1 – Title

    00.2 – Read this article in a different language

    00.3 – Index

    01.0 – Description

    02.0 – About

    03.0 – Wiki

    04.0 – History

    04.1 – Pre-history

    04.2 – Alpha History

    04.3 – Beta History

    04.4 – Modern History

    05.0 – Copying

    06.0 – Credits

    07.0 – Installation

    08.0 – Version history

    09.0 – Version history

    10.0 – Software status

    11.0 – Sponsor info

    12.0 – Contributers

    13.0 – Issues

    13.1 – Current issues

    13.2 – Past issues

    13.3 – Past pull requests

    13.4 – Active pull requests

    14.0 – Resources

    15.0 – Contributing

    16.0 – About README

    17.0 – README Version history

    18.0 – Footer

    18.9 – End of file


    <repo_description>


    About

    See above.


    Wiki

    Click/tap here to view this projects Wiki

    If the project has been forked, the Wiki was likely removed. Luckily, I include an embedded version. You can view it here.


    History

    Write about this projects history here.

    Pre-history

    No pre-history to show for this project.

    Alpha history

    No Alpha history to show for this project.

    Beta history

    No Beta history to show for this project.

    Modern history

    No Modern history to show for this project.


    Copying

    View the copying license for this project here (if you haven’t built the project yet with the makefile, here is the original link: COPYINGL

    Please note that you also have to follow the rules of the GNU General Public License v3 (GPL3) which you can view here


    Credits

    View the credits file for this project and see the people who got together to make this project by clicking/tapping here


    Installation

    View the installation instructions file for this project here

    Requirements: Read the instructions for more info, and get the latest up-to-date instructions here


    Sponsor info

    SponsorButton.png

    You can sponsor this project if you like, but please specify what you want to donate to. See the funds you can donate to here

    You can view other sponsor info here

    Try it out! The sponsor button is right up next to the watch/unwatch button.


    Version history

    Version history currently unavailable

    No other versions listed


    Software status

    All of my works are free some restrictions. DRM (Digital Restrictions Management) is not present in any of my works.

    DRM-free_label.en.svg

    This sticker is supported by the Free Software Foundation. I never intend to include DRM in my works.

    I am using the abbreviation “Digital Restrictions Management” instead of the more known “Digital Rights Management” as the common way of addressing it is false, there are no rights with DRM. The spelling “Digital Restrictions Management” is more accurate, and is supported by Richard M. Stallman (RMS) and the Free Software Foundation (FSF)

    This section is used to raise awareness for the problems with DRM, and also to protest it. DRM is defective by design and is a major threat to all computer users and software freedom.

    Image credit: defectivebydesign.org/drm-free/…


    Contributers

    Currently, I am the only contributer. Contributing is allowed, as long as you follow the rules of the CONTRIBUTING.md file.

      1. seanpm2001 – x commits (As of Yr, DoW, Month, DoM, at ##:## a/pm)
      1. No other contributers.

    Issues

    Current issues

    • None at the moment

    • No other current issues

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Past issues

    • None at the moment

    • No other past issues

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Past pull requests

    • None at the moment

    • No other past pull requests

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Active pull requests

    • None at the moment

    • No other active pull requests

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.


    Resources

    Here are some other resources for this project:

    Project language file A

    Join the discussion on GitHub

    No other resources at the moment.


    Contributing

    Contributing is allowed for this project, as long as you follow the rules of the CONTRIBUTING.md file.

    Click/tap here to view the contributing rules for this project


    About README

    File type: Markdown Document (*.md *.mkd *.markdown)

    File version: 0.1.6 (Monday, August 23rd 2021 at 6:37 pm)

    Line count (including blank lines and compiler line): 0,407


    README version history

    Version 0.1 (Sunday, March 21st 2021 at 7:50 pm)

    Changes:

    • Started the file
    • Added the title section
    • Added the index
    • Added the about section
    • Added the Wiki section
    • Added the version history section
    • Added the issues section.
    • Added the past issues section
    • Added the past pull requests section
    • Added the active pull requests section
    • Added the contributors section
    • Added the contributing section
    • Added the about README section
    • Added the README version history section
    • Added the resources section
    • Added a software status section, with a DRM free sticker and message
    • Added the sponsor info section

    ITERATION 5

    • Updated the title section
    • Updated the index
    • Added the history section
    • Updated the file info section
    • Updated the file history section

    ITERATION 6

    • Updated the title section
    • Fixed and update template links
    • Updated the index
    • Added the copying section
    • Added the credits section
    • Added the installation section
    • Updated the resources section
    • Updated the contributors section
    • Added the technical notes section
    • Updated the footer
    • Updated the file info section
    • Updated the file history section
    • No other changes in version 0.1

    Version 1 (Coming soon)

    Changes:

    • Coming soon
    • No other changes in version 1

    Version 2 (Coming soon)

    Changes:

    • Coming soon
    • No other changes in version 2

    You have reached the end of the README file

    ( Back to top | Exit to GitHub | Exit to Bing | Exit to DuckDuckGo | Exit to Ecosia )

    EOF


    Visit original content creator repository https://github.com/seanpm2001/Learn-OpenPolicyAgent
  • Learn-OpenPolicyAgent


    {Project icon} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.

    By:

    Seanpm2001, Et; Al.

    Top

    README.md


    Read this article in a different language

    Sorted by: A-Z

    Sorting options unavailable

    ( af Afrikaans Afrikaans | sq Shqiptare Albanian | am አማርኛ Amharic | ar عربى Arabic | hy հայերեն Armenian | az Azərbaycan dili Azerbaijani | eu Euskara Basque | be Беларуская Belarusian | bn বাংলা Bengali | bs Bosanski Bosnian | bg български Bulgarian | ca Català Catalan | ceb Sugbuanon Cebuano | ny Chichewa Chichewa | zh-CN 简体中文 Chinese (Simplified) | zh-t 中國傳統的) Chinese (Traditional) | co Corsu Corsican | hr Hrvatski Croatian | cs čeština Czech | da dansk Danish | nl Nederlands Dutch | en-us English English | EO Esperanto Esperanto | et Eestlane Estonian | tl Pilipino Filipino | fi Suomalainen Finnish | fr français French | fy Frysk Frisian | gl Galego Galician | ka ქართველი Georgian | de Deutsch German | el Ελληνικά Greek | gu ગુજરાતી Gujarati | ht Kreyòl ayisyen Haitian Creole | ha Hausa Hausa | haw Ōlelo Hawaiʻi Hawaiian | he עִברִית Hebrew | hi हिन्दी Hindi | hmn Hmong Hmong | hu Magyar Hungarian | is Íslenska Icelandic | ig Igbo Igbo | id bahasa Indonesia Icelandic | ga Gaeilge Irish | it Italiana/Italiano | ja 日本語 Japanese | jw Wong jawa Javanese | kn ಕನ್ನಡ Kannada | kk Қазақ Kazakh | km ខ្មែរ Khmer | rw Kinyarwanda Kinyarwanda | ko-south 韓國語 Korean (South) | ko-north 문화어 Korean (North) (NOT YET TRANSLATED) | ku Kurdî Kurdish (Kurmanji) | ky Кыргызча Kyrgyz | lo ລາວ Lao | la Latine Latin | lt Lietuvis Lithuanian | lb Lëtzebuergesch Luxembourgish | mk Македонски Macedonian | mg Malagasy Malagasy | ms Bahasa Melayu Malay | ml മലയാളം Malayalam | mt Malti Maltese | mi Maori Maori | mr मराठी Marathi | mn Монгол Mongolian | my မြန်မာ Myanmar (Burmese) | ne नेपाली Nepali | no norsk Norwegian | or ଓଡିଆ (ଓଡିଆ) Odia (Oriya) | ps پښتو Pashto | fa فارسی |Persian pl polski Polish | pt português Portuguese | pa ਪੰਜਾਬੀ Punjabi | No languages available that start with the letter Q | ro Română Romanian | ru русский Russian | sm Faasamoa Samoan | gd Gàidhlig na h-Alba Scots Gaelic | sr Српски Serbian | st Sesotho Sesotho | sn Shona Shona | sd سنڌي Sindhi | si සිංහල Sinhala | sk Slovák Slovak | sl Slovenščina Slovenian | so Soomaali Somali | [es en español Spanish | su Sundanis Sundanese | sw Kiswahili Swahili | sv Svenska Swedish | tg Тоҷикӣ Tajik | ta தமிழ் Tamil | tt Татар Tatar | te తెలుగు Telugu | th ไทย Thai | tr Türk Turkish | tk Türkmenler Turkmen | uk Український Ukrainian | ur اردو Urdu | ug ئۇيغۇر Uyghur | uz O’zbek Uzbek | vi Tiếng Việt Vietnamese | cy Cymraeg Welsh | xh isiXhosa Xhosa | yi יידיש Yiddish | yo Yoruba Yoruba | zu Zulu Zulu ) Available in 110 languages (108 when not counting English and North Korean, as North Korean has not been translated yet Read about it here)

    Translations in languages other than English are machine translated and are not yet accurate. No errors have been fixed yet as of March 21st 2021. Please report translation errors here. Make sure to backup your correction with sources and guide me, as I don’t know languages other than English well (I plan on getting a translator eventually) please cite wiktionary and other sources in your report. Failing to do so will result in a rejection of the correction being published.

    Note: due to limitations with GitHub’s interpretation of markdown (and pretty much every other web-based interpretation of markdown) clicking these links will redirect you to a separate file on a separate page that isn’t the intended page. You will be redirected to the .github folder of this project, where the README translations are hosted.

    Translations are currently done with Bing translate and DeepL. Support for Google Translate translations is coming to a close due to privacy concerns.


    Index

    00.0 – Top

    00.1 – Title

    00.2 – Read this article in a different language

    00.3 – Index

    01.0 – Description

    02.0 – About

    03.0 – Wiki

    04.0 – History

    04.1 – Pre-history

    04.2 – Alpha History

    04.3 – Beta History

    04.4 – Modern History

    05.0 – Copying

    06.0 – Credits

    07.0 – Installation

    08.0 – Version history

    09.0 – Version history

    10.0 – Software status

    11.0 – Sponsor info

    12.0 – Contributers

    13.0 – Issues

    13.1 – Current issues

    13.2 – Past issues

    13.3 – Past pull requests

    13.4 – Active pull requests

    14.0 – Resources

    15.0 – Contributing

    16.0 – About README

    17.0 – README Version history

    18.0 – Footer

    18.9 – End of file


    <repo_description>


    About

    See above.


    Wiki

    Click/tap here to view this projects Wiki

    If the project has been forked, the Wiki was likely removed. Luckily, I include an embedded version. You can view it here.


    History

    Write about this projects history here.

    Pre-history

    No pre-history to show for this project.

    Alpha history

    No Alpha history to show for this project.

    Beta history

    No Beta history to show for this project.

    Modern history

    No Modern history to show for this project.


    Copying

    View the copying license for this project here (if you haven’t built the project yet with the makefile, here is the original link: COPYINGL

    Please note that you also have to follow the rules of the GNU General Public License v3 (GPL3) which you can view here


    Credits

    View the credits file for this project and see the people who got together to make this project by clicking/tapping here


    Installation

    View the installation instructions file for this project here

    Requirements: Read the instructions for more info, and get the latest up-to-date instructions here


    Sponsor info

    SponsorButton.png

    You can sponsor this project if you like, but please specify what you want to donate to. See the funds you can donate to here

    You can view other sponsor info here

    Try it out! The sponsor button is right up next to the watch/unwatch button.


    Version history

    Version history currently unavailable

    No other versions listed


    Software status

    All of my works are free some restrictions. DRM (Digital Restrictions Management) is not present in any of my works.

    DRM-free_label.en.svg

    This sticker is supported by the Free Software Foundation. I never intend to include DRM in my works.

    I am using the abbreviation “Digital Restrictions Management” instead of the more known “Digital Rights Management” as the common way of addressing it is false, there are no rights with DRM. The spelling “Digital Restrictions Management” is more accurate, and is supported by Richard M. Stallman (RMS) and the Free Software Foundation (FSF)

    This section is used to raise awareness for the problems with DRM, and also to protest it. DRM is defective by design and is a major threat to all computer users and software freedom.

    Image credit: defectivebydesign.org/drm-free/…


    Contributers

    Currently, I am the only contributer. Contributing is allowed, as long as you follow the rules of the CONTRIBUTING.md file.

      1. seanpm2001 – x commits (As of Yr, DoW, Month, DoM, at ##:## a/pm)
      1. No other contributers.

    Issues

    Current issues

    • None at the moment

    • No other current issues

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Past issues

    • None at the moment

    • No other past issues

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Past pull requests

    • None at the moment

    • No other past pull requests

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.

    Active pull requests

    • None at the moment

    • No other active pull requests

    If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images here

    Read the privacy policy on issue archival here

    TL;DR

    I archive my own issues. Your issue won’t be archived unless you request it to be archived.


    Resources

    Here are some other resources for this project:

    Project language file A

    Join the discussion on GitHub

    No other resources at the moment.


    Contributing

    Contributing is allowed for this project, as long as you follow the rules of the CONTRIBUTING.md file.

    Click/tap here to view the contributing rules for this project


    About README

    File type: Markdown Document (*.md *.mkd *.markdown)

    File version: 0.1.6 (Monday, August 23rd 2021 at 6:37 pm)

    Line count (including blank lines and compiler line): 0,407


    README version history

    Version 0.1 (Sunday, March 21st 2021 at 7:50 pm)

    Changes:

    • Started the file
    • Added the title section
    • Added the index
    • Added the about section
    • Added the Wiki section
    • Added the version history section
    • Added the issues section.
    • Added the past issues section
    • Added the past pull requests section
    • Added the active pull requests section
    • Added the contributors section
    • Added the contributing section
    • Added the about README section
    • Added the README version history section
    • Added the resources section
    • Added a software status section, with a DRM free sticker and message
    • Added the sponsor info section

    ITERATION 5

    • Updated the title section
    • Updated the index
    • Added the history section
    • Updated the file info section
    • Updated the file history section

    ITERATION 6

    • Updated the title section
    • Fixed and update template links
    • Updated the index
    • Added the copying section
    • Added the credits section
    • Added the installation section
    • Updated the resources section
    • Updated the contributors section
    • Added the technical notes section
    • Updated the footer
    • Updated the file info section
    • Updated the file history section
    • No other changes in version 0.1

    Version 1 (Coming soon)

    Changes:

    • Coming soon
    • No other changes in version 1

    Version 2 (Coming soon)

    Changes:

    • Coming soon
    • No other changes in version 2

    You have reached the end of the README file

    ( Back to top | Exit to GitHub | Exit to Bing | Exit to DuckDuckGo | Exit to Ecosia )

    EOF


    Visit original content creator repository https://github.com/seanpm2001/Learn-OpenPolicyAgent
  • arxiv-ai

    arXiv Makale Gösterim Uygulaması

    Bu Streamlit uygulaması, arXiv’deki güncel makine öğrenmesi makalelerini çeker ve kullanıcıya gösterir. Kullanıcılar, makalelerin başlıklarını ve özetlerini Türkçeye çevirebilir, makaleleri beğenebilir ve GitHub bağlantılarını görüntüleyebilir.

    Bu linkten siteye erişebilirsin : https://arxiv-ai.streamlit.app/

    Özellikler

    • Güncel Makaleler: arXiv’den “Computer Science > Machine Learning” kategorisindeki güncel makaleleri çeker.
    • Türkçe Çeviri: Makale başlıklarını ve özetlerini Türkçeye çevirme imkanı.
    • Beğenme Sistemi: Kullanıcılar makaleleri beğenebilir ve beğenilerini kaydedebilir.
    • GitHub Bağlantıları: Makalelerde GitHub bağlantıları varsa, bu bağlantıları gösterir.
    • Menü Sistemi: Ana Sayfa, Makine Öğrenmesi ve Transformers gibi farklı sayfalar arasında geçiş yapma imkanı.

    Kurulum

    1. Python Kurulumu:

      • Projeyi çalıştırmak için Python 3.8 veya üzeri bir sürüm gereklidir.
      • Python’u resmi sitesinden indirip kurabilirsiniz.
    2. Proje Dosyalarını İndirme:

      • Projeyi bilgisayarınıza indirin veya klonlayın:

        git clone https://github.com/kullanici_adi/proje_repo.git
        cd proje_repo
    3. Bağımlılıkları Yükleme:

      • Proje dizininde requirements.txt dosyası bulunmaktadır. Bu dosyadaki bağımlılıkları yüklemek için aşağıdaki komutu çalıştırın:
        pip install -r requirements.txt

    Çalıştırma

    1. Streamlit Uygulamasını Başlatma:

      • Proje dizininde aşağıdaki komutu çalıştırarak uygulamayı başlatın:
        streamlit run app.py
    2. Tarayıcıda Görüntüleme:

      • Uygulama başlatıldıktan sonra, tarayıcınızda otomatik olarak açılacaktır. Eğer açılmazsa, terminalde gösterilen URL’yi tarayıcınıza yapıştırın (örneğin: http://localhost:8501).

    Katkıda Bulunma

    Eğer bu projeye katkıda bulunmak isterseniz, lütfen aşağıdaki adımları takip edin:

    1. Projeyi fork edin.
    2. Yeni bir branch oluşturun (git checkout -b yeni-ozellik).
    3. Değişikliklerinizi yapın ve commit edin (git commit -am 'Yeni özellik eklendi').
    4. Branch’inizi push edin (git push origin yeni-ozellik).
    5. GitHub üzerinden bir Pull Request oluşturun.

    Visit original content creator repository
    https://github.com/emredeveloper/arxiv-ai

  • SMS-Spam-Classification

    SMS-Spam-Classification using Logistic Regression

    predicted the spams with close to 98 % precision

    This dataset was taken from the StatLib library which is maintained at Carnegie Mellon University. The dataset was used in the 1983 American Statistical Association Exposition.

    link – SPAM data (UCI machine learning repository)

    Alt Text

    Data Set Information:

    This corpus has been collected from free or free for research sources at the Internet:

    A collection of 425 SMS spam messages was manually extracted from the Grumbletext Web site. This is a UK forum in which cell phone users make public claims about SMS spam messages, most of them without reporting the very spam message received. The identification of the text of spam messages in the claims is a very hard and time-consuming task, and it involved carefully scanning hundreds of web pages.
    A subset of 3,375 SMS randomly chosen ham messages of the NUS SMS Corpus (NSC), which is a dataset of about 10,000 legitimate messages collected for research at the Department of Computer Science at the National University of Singapore. The messages largely originate from Singaporeans and mostly from students attending the University. These messages were collected from volunteers who were made aware that their contributions were going to be made publicly available.
    A list of 450 SMS ham messages collected from Caroline Tag’s PhD Thesis
    Finally, incorporation of the SMS Spam Corpus. It has 1,002 SMS ham messages and 322 spam messages and it is public available at. This corpus has been used in the academic researches:

    Class count percentage
    Spam 747 13.41 %
    Ham 4825 86.59 %

    Objective:

    1. Prediction of a SMS into SPAM or NOT A SPAM so that developers come up with the application that can filter messages them based on the prediction

    Hurdles –

    1. Looking for external spam_words, to get the spam-word-count to avoid Out of the vocabulary words and biasing towards category ‘SPAM’
    2. Reducing the False positive at the minimum cost of False negative (Better Tradeoff between Precision & Recall)
    3. Imbalanced Dataset

    Skills Aquired-

    • Text processing / cleaning
    • Vectorization (Bag of words/TFIDF)
    • Classification (Logistic regression)
    • Synthetic minority oversampling technique (SMOTE)

    Limitations of project

    1. The semantics(exact meanings/context) of words are not taken into account
    2. Sometimes/Rarely Model may end up predicting an important message as spam (False positives)
      when out of the vocabulary word will be encountered.
    3. Model needs to be continuously updated to escape out of the vocabulary words,
    4. Model should incorporate the new slangs, spamwords in the emerging social media.

    Visit original content creator repository
    https://github.com/Arvindhh931/SMS-Spam-Classification

  • SMS-Spam-Classification

    SMS-Spam-Classification using Logistic Regression

    predicted the spams with close to 98 % precision

    This dataset was taken from the StatLib library which is maintained at Carnegie Mellon University. The dataset was used in the 1983 American Statistical Association Exposition.

    link – SPAM data (UCI machine learning repository)

    Alt Text

    Data Set Information:

    This corpus has been collected from free or free for research sources at the Internet:

    A collection of 425 SMS spam messages was manually extracted from the Grumbletext Web site. This is a UK forum in which cell phone users make public claims about SMS spam messages, most of them without reporting the very spam message received. The identification of the text of spam messages in the claims is a very hard and time-consuming task, and it involved carefully scanning hundreds of web pages.
    A subset of 3,375 SMS randomly chosen ham messages of the NUS SMS Corpus (NSC), which is a dataset of about 10,000 legitimate messages collected for research at the Department of Computer Science at the National University of Singapore. The messages largely originate from Singaporeans and mostly from students attending the University. These messages were collected from volunteers who were made aware that their contributions were going to be made publicly available.
    A list of 450 SMS ham messages collected from Caroline Tag’s PhD Thesis
    Finally, incorporation of the SMS Spam Corpus. It has 1,002 SMS ham messages and 322 spam messages and it is public available at. This corpus has been used in the academic researches:

    Class count percentage
    Spam 747 13.41 %
    Ham 4825 86.59 %

    Objective:

    1. Prediction of a SMS into SPAM or NOT A SPAM so that developers come up with the application that can filter messages them based on the prediction

    Hurdles –

    1. Looking for external spam_words, to get the spam-word-count to avoid Out of the vocabulary words and biasing towards category ‘SPAM’
    2. Reducing the False positive at the minimum cost of False negative (Better Tradeoff between Precision & Recall)
    3. Imbalanced Dataset

    Skills Aquired-

    • Text processing / cleaning
    • Vectorization (Bag of words/TFIDF)
    • Classification (Logistic regression)
    • Synthetic minority oversampling technique (SMOTE)

    Limitations of project

    1. The semantics(exact meanings/context) of words are not taken into account
    2. Sometimes/Rarely Model may end up predicting an important message as spam (False positives)
      when out of the vocabulary word will be encountered.
    3. Model needs to be continuously updated to escape out of the vocabulary words,
    4. Model should incorporate the new slangs, spamwords in the emerging social media.

    Visit original content creator repository
    https://github.com/Arvindhh931/SMS-Spam-Classification

  • startrade

    Startrade

    Startrade is an advanced roleplay community with a a discord server and a custom bot built from the ground up. Endless player opportunities and an emergent economy, as well as effective server moderation and general task automation are just a few of the goals of Startrade.
    You can join the community here:
    https://discord.gg/vcCyNFt

    #Features:

    • Automated economy with multiple ways of earning income
    • Buy and sell dozens of commodities across dozens of locations
    • Monitor and reward user activity, ignoring spam with smart techniques
    • Detailed and customizable permissioning
    • Moderation assistance
    • Rule enforcement

    #Detailed Features:

    • Monitor activity and provide ‘activity points’ based on message complexity, pace and word variety instead of simply number of messages sent
    • Assign members a ‘Verified’ role upon acceptance of the rules in order to gain access to the server
    • Add each member to a database upon registration to keep track of personal money, investments and inventory
    • Create new items and register new locations with a command, saving them to the database
    • Edit and remove items and locations with commands
    • Shop browse command:
      • Browse by category
      • Browse all items
      • Show details and image of a specific item
      • Fuzzy matching
    • Buy and sell commodities at different prices depending on location
      • Allow players to transfer to a new channel after reaching sufficient chat activity in the previous one to prevent spam, command to travel to a new channel
      • Different locations have fully configurable buy and sell prices, and may not buy or sell everything
      • Prices vary even at the same location slightly from moment to moment
      • Commands to view all possible buys and sells that you can afford, or below a given price
      • Pull list of locations and buy and sell prices from a google sheet using the google api, to allow comfortable editing of these values
    • Invest money in a non-withdrawable account for small % returns over time, automatic configurable payouts on the hour
    • Top command to list users by money, invested money, or activity
    • Nuanced dice rolling command
      • Roll one die or a hundred thousand; specifiy number of dice or not, specify number of sides or not
      • Configurable defaults
      • Change display results depending on number of dice rolled
      • Display automatically tallied total when rolling more than one die
      • In the command specify meaning for die rolls, that is then mapped onto the results
    • Commands to check your balance, send others money, buy and sell items, view your items
    • Remind users arbitrary messages on request, and remind other users
    • Emoji polls
    • Custom permissions system with Authorization levels 1-10 for management commands
      • Commands to check and update member authorization, list all authorized members, etc.
    • Ignore Channels
    • Log all server messages and embeds to organized log files
    • Log message edits and deletions, including bulk deletions, to a logging channel
    • Time, echo and ping commands, commands to message a user, change playing status
    • Configurable server prefix that can vary from server to server
    • A ‘viral’ Certified Literate role: May be assigned by anyone with the role and indicates a high quality of roleplay. There is an automatically assigned currency reward for achieving this, and appropriate logging.
    • Bot management commands: List users, direct database query, evaluate code snippet, delete single message by id, add an item to a user, add money to a user, distribute investment payouts on demand in addition to automatically, edit a bot message, delete multiple messages, kick ban or unban a member, or remove all the pins in a channel.
    • Load, unload and reload modules to change functionality without going offline

    #Deployment:
    Please note, this bot was created for Startrade specific use without broader deployment in mind. You are welcome to use or adapt the code for your own purposes (As long as you follow the license, which includes making freely available a copy of your complete associated source code) but its offered as is and I may introduce breaking changes without notice; this is an in-dev project.

    • Create a bot in the discord dev portal
    • Install postgresql. Create a db user with read/write access for the bot to use
    • Clone repo, obviously
    • install requirements.txt
    • Authorize google sheets api on your account and create a token.json file in your repo
    • Create a file called ‘privatevars.py’ in the base directory and populate it with:
      TOKEN = ‘your token from dev portal’
      DBUSER =
      DBPASS = ‘your username and password from postgre
    • Create a database named ‘startrade’ in postgresql. Its hardcoded to use this name but you can change it in database.py or refactor the name out if you like

    Visit original content creator repository
    https://github.com/Vyryn/startrade

  • php_cas_server

    PHP CAS Server

    PHP CAS Server is a PHP implementation of CAS Server Protocol based on Laravel.

    中文文档

    Features

    • CAS protocol v1/v2/v3 (proxy is supported now!).
    • User management, including adding/editing/searching users, enable/disable users, set/unset as administrator.
    • Service management, including adding/editing/searching services, enable/disable services.
    • I18n, support English and Chinese out of box, you can add language as your need.
    • Customize login methods, support email + password by default, you can add custom login methods by plugins. You can also disable email login by settings.

    Requirements

    • PHP >= 5.5.9

    Installation

    By composer (Recommend)

    1. composer create-project leo108/php_cas_server php_cas_server dev-master
    2. npm install or yarn
    3. gulp

    By release tarballs

    Download Link

    Configuration

    If you install by tarball, you have to copy .env.example to .env, and then run php artisan key:generate

    All settings are in .env file.

    Basic

    Field Default Value Description
    APP_ENV local running environment,use local if in development, use production in production
    APP_KEY random value left as is
    APP_DEBUG true enable debug mode, set to false to disable
    APP_LOG_LEVEL debug log level, debug/info/notice/warning/error/critical/alert/emergency
    APP_URL http://localhost your app’s url, needs http(s):// at the beginning
    APP_LOCALE en language, support en and cn out of box

    Database

    You have to set all fields that begin with DB_, then run php artisan migrate to initial database schema.

    CAS Server

    Field Default Value Description
    CAS_LOCK_TIMEOUT 5000 CAS ticket locking time, in milliseconds
    CAS_TICKET_EXPIRE 300 CAS ticket expire time, in seconds
    CAS_TICKET_LEN 32 CAS ticket length, it’s recommend at least 32
    CAS_PROXY_GRANTING_TICKET_EXPIRE 7200 CAS proxy-granting ticket expire time, in seconds
    CAS_PROXY_GRANTING_TICKET_LEN 64 CAS proxy-granting ticket length, it’s recommend at least 64
    CAS_PROXY_GRANTING_TICKET_IOU_LEN 64 CAS proxy-granting ticket IOU length, it’s recommend at least 64
    CAS_VERIFY_SSL true Whether to check ssl when calling pgt url
    CAS_SERVER_ALLOW_RESET_PWD true allow user reset password by email
    CAS_SERVER_ALLOW_REGISTER true allow user register
    CAS_SERVER_DISABLE_PASSWORD_LOGIN false disable password login
    CAS_SERVER_NAME Central Authentication Service The site name of your CAS Server

    Setup behind reverse proxy

    Field Default Value Description
    TRUSTED_PROXIES 127.0.0.1 The IP of reserve proxy servers, separated by comma(,), you can specific IP or use s subnet such as 127.0.0.1 and 127.0.0.1/24, configurations below take effect only when visiting IP in this list
    TRUSTED_HEADER_CLIENT_IP X_FORWARDED_FOR User’s real IP is stored in this request header
    TRUSTED_HEADER_CLIENT_HOST X_FORWARDED_HOST The host user visited is stored in this request header
    TRUSTED_HEADER_CLIENT_PROTO X_FORWARDED_PROTO The http protocol user used is stored in this request header
    TRUSTED_HEADER_CLIENT_PORT X_FORWARDED_PORT The port user visited is stored in this request header

    Initial database and create administrator

    Execute php artisan migrate at the root directory of this project to initial database.

    Execute php artisan make:admin --password=yourpassword to create an administrator account.

    License

    MIT.

    Visit original content creator repository
    https://github.com/leo108/php_cas_server

  • ansible-tensorflow

    Tensorflow Cloud Installer

    Introduction

    English | 简体中文

    Tensorflow Cloud Installer, developed by Websoft9, is an automatic installation program of Tensorflow based on Ansible and shell. It helps user install Tensorflow and pre-configure required items automatically and users only need to run a command on Linux. It simplifies the complicated installation and initialization process.

    System Requirement

    System Requirement to install this repository are as following:

    Conditions Details Notes
    Operating System CentOS7.x, Ubuntu20.04, Amazon Linux2 Optional
    Public Cloud AWS, Azure, Alibaba Cloud, HUAWEI ClOUD, Tencent Cloud Optional
    Private Cloud KVM, VMware, VirtualBox, OpenStack Optional
    Server Configuration vCPU no less than 1 core, Memory no less than 1 GIB, Storage no less than 20 GB, Swap no less than 2GB Bandwidth no less than 100M

    To learn more information, please view Installation & Configuration.

    Ecosystem

    Core components of this repository: TensorFlow, Nginx

    Learn more about Parameters.

    Installation

    You can install it by thi Cloud Installer solution all in one. In addition, you can deploy image published on major Cloud Platform by Websoft9.

    All-in-one Installer

    Run the automatic installation script with root authority to start the installation. If necessary, users need to make interactive choices, and then wait patiently until the installation is successful.

    $ sudo su -
    $ wget -N https://raw.githubusercontent.com/Websoft9/ansible-linux/main/scripts/install.sh; bash install.sh -r tensorflow
    

    If the network is broken or blocked, SSH will be interrupted and the installation will fail. Please reinstall.

    Image on Cloud

    Follow our Tensorflow image for installation on major Cloud Platform.

    Documentation

    Administrator Guide

    License

    LGPL-3.0, Additional Terms: It is not allowed to publish free or paid image based on this repository in any Cloud platform’s Marketplace.

    Copyright (c) 2016-present, Websoft9

    This program provided by Websoft9 contains a series of software with separate copyright notices and license terms. Your use of the source code for the software included is subject to the terms and conditions of its own license.

    FAQ

    How to install and view the latest release?

    This repository install way is Package isntallation, you can view the version from Official URL.
    We will check Release version regularly. Update and test this project to ensure that users can successfully install the required version of Tensorflow.

    Can I run this repository on Ansible Tower?

    Yes.

    Although the results of the deploy by image are consistent with the results of deploy by script, what is the difference between the two deployment methods?

    Suggest you read the document Deploy by Image vs Deploy by Script.

    Visit original content creator repository https://github.com/Websoft9Archive/ansible-tensorflow