Blog

  • React-for-Designers

    Gatsby

    Gatsby’s default starter

    Kick off your project with this default boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.

    Have another more specific idea? You may want to check out our vibrant collection of official and community-created starters.

    ๐Ÿš€ Quick start

    1. Create a Gatsby site.

      Use the Gatsby CLI (install instructions) to create a new site, specifying the default starter.

      # create a new Gatsby site using the default starter
      gatsby new my-default-starter https://github.com/gatsbyjs/gatsby-starter-default
    2. Start developing.

      Navigate into your new siteโ€™s directory and start it up.

      cd my-default-starter/
      gatsby develop
    3. Open the source code and start editing!

      Your site is now running at http://localhost:8000!

      Note: You’ll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby Tutorial.

      Open the my-default-starter directory in your code editor of choice and edit src/pages/index.js. Save your changes and the browser will update in real time!

    ๐Ÿš€ Quick start (Gatsby Cloud)

    Deploy this starter with one click on Gatsby Cloud:

    Deploy to Gatsby Cloud

    ๐Ÿง What’s inside?

    A quick look at the top-level files and directories you’ll see in a Gatsby project.

    .
    โ”œโ”€โ”€ node_modules
    โ”œโ”€โ”€ src
    โ”œโ”€โ”€ .gitignore
    โ”œโ”€โ”€ .prettierrc
    โ”œโ”€โ”€ gatsby-browser.js
    โ”œโ”€โ”€ gatsby-config.js
    โ”œโ”€โ”€ gatsby-node.js
    โ”œโ”€โ”€ gatsby-ssr.js
    โ”œโ”€โ”€ LICENSE
    โ”œโ”€โ”€ package-lock.json
    โ”œโ”€โ”€ package.json
    โ””โ”€โ”€ README.md
    
    1. /node_modules: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.

    2. /src: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. src is a convention for โ€œsource codeโ€.

    3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

    4. .prettierrc: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.

    5. gatsby-browser.js: This file is where Gatsby expects to find any usage of the Gatsby browser APIs (if any). These allow customization/extension of default Gatsby settings affecting the browser.

    6. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins youโ€™d like to include, etc. (Check out the config docs for more detail).

    7. gatsby-node.js: This file is where Gatsby expects to find any usage of the Gatsby Node APIs (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.

    8. gatsby-ssr.js: This file is where Gatsby expects to find any usage of the Gatsby server-side rendering APIs (if any). These allow customization of default Gatsby settings affecting server-side rendering.

    9. LICENSE: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.

    10. package-lock.json (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You wonโ€™t change this file directly).

    11. package.json: A manifest file for Node.js projects, which includes things like metadata (the projectโ€™s name, author, etc). This manifest is how npm knows which packages to install for your project.

    12. README.md: A text file containing useful reference information about your project.

    ๐ŸŽ“ Learning Gatsby

    Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:

    • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

    • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

    ๐Ÿ’ซ Deploy

    Build, Deploy, and Host On The Only Cloud Built For Gatsby

    Gatsby Cloud is an end-to-end cloud platform specifically built for the Gatsby framework that combines a modern developer experience with an optimized, global edge network.

    Visit original content creator repository https://github.com/Imtiajul/React-for-Designers
  • stubby

    stubby

    Stubby is a project that aims to explore and experiment with UEFI firmware and its features. It is based on another one of my projects called newt_stub.

    Features

    • Stubby can boot from UEFI and print some basic information on the screen.
    • Stubby can interact with UEFI protocols and services, such as memory allocation, file system access, and graphics output.
    • Stubby can load and execute other EFI applications, such as the shell or the bootloader.

    Requirements

    • Linux, macOS or WSL
    • A Rust compiler and cargo toolchain.
    • A QEMU emulator and OVMF firmware.
    • A GNU Make1 utility.

    Usage

    To build and run stubby, use the following command:

    make run-debug

    This will compile the stubby binary, create a virtual disk image2 with the EFI application, and launch QEMU with OVMF.

    To clean up the generated files, use the following command:

    make clean

    License

    Stubby is licensed under the MIT license. See the LICENSE file for more details.

    Footnotes

    1. Please only use GNU Make, BSD Make (and by extention ‘Apple Make’) have issues with the Makefile โ†ฉ

    2. Currently binaries are dumped into a folder and QEMU ‘mounts’ that folder as a FAT filesystem โ†ฉ

    Visit original content creator repository
    https://github.com/Nivirx/stubby

  • phalcon-meta-tags

    About

    Phalcon meta tags plugin for PhalconPHP.

    This plugin allows you to easily and flexibly customize the meta tags of your view.

    If this plugin helped you, be glad to see your star, thank you.

    Check out new validation package for PhalconPHP
    https://github.com/izica/phalcon-validation

    Install

        composer require izica/phalcon-meta-tags

    Plugin functions

        setTitle($title)
        getTitle()
        setByProperty($property, $content)
        unsetByProperty($properties) //array or single property name
    
        setByName($name, $content)
        unsetByName($properties) //array or single name
    
        setCustom($key, $attributes) //unique key and attributes array
        unsetCustom($keys) //array or single value
        getMeta() // return metas string

    Usage:

    Register plugin as service:

        $di = new DI();
        $di->set('metatag', function() {
        	return new IzicaMetaTags();
        });

    Add data to your layout:

        <!DOCTYPE html>
        <html>
            <head>
                <?php echo $this->metatag->getTitle();?>
                <?php echo $this->metatag->getMeta();?>
            </head>
            <body>
                 <?php echo $this->getContent(); ?>
            </body>
        </html>

    Use service in controller, view or middleware(anywhere):

        use Phalcon\Mvc\Controller;
    
        class IndexController extends Controller
        {
            public function indexAction()
            {
                $this->metatag->setTitle("Phalcon MetaTags Service");
    
                $this->metatag->setCustom("charset", ['charset' => 'UTF-8']);
                $this->metatag->setCustom("http", ['http-equiv' => 'content-type', 'content' => 'text/html; charset=UTF-8']);
    
                $this->metatag->setByName("description", "phalcon php metatags");
    
                $this->metatag->setByProperty("og:description", "When Great Minds Donโ€™t Think Alike");
            }
        }

    Example of output:

        <title>Phalcon MetaTags Service</title>        
        <meta name="description" content="phalcon php metatags">
        <meta property="og:description" content="When Great Minds Donโ€™t Think Alike">
        <meta charset="UTF-8">
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">  

    Visit original content creator repository
    https://github.com/izica/phalcon-meta-tags

  • Winform-Progress-Trackers

    Winform-Progress-Trackers

    Winform Progress Trackers

    My main design paradigm for this project, is to try and minimize the re-drawing of the objects as much as possible. i.e. use existing windows objects to control placement, Font usage, spacing, and only recreate images if a control re-size happens.

    This project is going to take the useful indicators that are becoming common place on the web, and make them into dynamic controls for use in C# Winfom controls.

    It will (eventually) have demo projects showing usage; and a simple HowTo to extend projects like MBG.SimpleWizard to create easy to re-use controls for wizard steps, which will then auto populate (And hence progress) the Tracker as a single entity.

    So here is a picture of a test App:

    It is showing that progress has got to what is called โ€œPage2bโ€, and itโ€™s style has a border (The other pages did not) and it has a few Winform objects on it that are responding to mouse over.

    The node name is derived from the Pages name, and the initialisation (or override) is all done in the parent form that hosts the Wizard tracker.

    Visit original content creator repository
    https://github.com/Smurf-IV/Winform-Progress-Trackers

  • Matrix

    203 | Matrix

    This project has been archived. A complete rewrite and massive upgrade of this project is now available at Matrix OS.

    ๆœฌ้กน็›ฎๅทฒ้‡ๆž„๏ผŒๆ–ฐ้กน็›ฎๅœจMatrix OS.

    English

    What is the Matrix?

    Matrix is a grid controller that developed by 203 Electronics that specilized for lightshow.

    What set it appart from a Novation Launchpad?

    Target audience is complete difference. While Launchpad are more focused in professional live music preformence, Matrix is more focused for players without prefessional knowledge. (But also has the capabilty for used professionally)

    What features does it included over a Launchpad?

    1. Rotation can be modified natively
    2. Customizable Palette
    3. Wide brightness range
    4. Dynamic Brightness
    5. Customizable Device ID(0~255)
    6. 24bit RGB support (16.8 Million colors)
    7. Hidden touch bar
    8. 2D GFX engine
    9. Modular design
    10. Ultra portable design
    11. frequent OTA that brings more feature.
    12. Doesn’t require Ableton’s Control surface
    13. Support apps

    Plan for development

    • Basic Sysex Support
    • Customizable Palette
    • Read Customized Palette with Sysex 0.8.5
    • 2D GFX engine Sysex API 0.9.0
    • Sysex Write/Read Device Config

    How to change page in lightshow?

    There’s a 8 key touch bar on the bottom bezel / 16 buttons in FN menu / use One Chain Plugin

    What kind of project files are supported ?

    Matrix supports all Ableton Live/Unipad projects that designed for Launchpad MK2/MK1

    WHat’s the dimensions and weight?

    Dimension: 206mm * 206mm * 12mm / 8.11inch * 8.11inch * 0.47 inch
    Weight(estimate): 600 grams/ 1.32 lbs

    How to request an prototype?

    You can join our discord server and sent me a DM.
    https://discord.gg/fjvT5zZ

    Can it be easily costomizable?

    We provided design file for every single Matrix components and they will also available seperatlly as a replacement, so fell free to customize your Matrix.

    What will be the MSRP?

    Current planned MSRP is 99$/99โ‚ฌ

    When will it be commercially available?

    ETA 2021. Pre production will begin in Oct 2020.

    Open Source Hardware Design Files

    Matrix-Hardware

    Used Open Source Repositories

    STM32-Arduino (Modified)
    USBComposite_stm32f1(Modified)
    FastLED (Modified)
    STM32-Bootloader(Modified)

    How to setup enviroment and compile

    Tutorial will be given in a later date.

    ็ฎ€ไฝ“ไธญๆ–‡

    ไป€ไนˆๆ˜ฏMatrix?

    Matrixๆ˜ฏ็”ฑ203่‡ชไธปๅผ€ๅ‘็š„ไธ“ๆณจ็ฏๅ…‰ๅทฅ็จ‹็š„็Ÿฉ้˜ตๆŽงๅˆถๅ™จ

    ๅ’ŒLaunchpadๆœ‰ไป€ไนˆๅŒบๅˆซ๏ผŸ

    ็›ฎๆ ‡็พคไฝ“ไธไธ€ๆ ท Launchpadๆ›ด้’ˆๅฏน็š„ๆ˜ฏไธ“ไธšๅˆถไฝœไบบ ่€ŒMatrixๆ›ด้€‚ๅˆๆ™ฎ้€šไบบ็Žฉ๏ผˆไธ่ฟ‡ไนŸๅฏไปฅๆ‹ฟๆฅๅฝ“midiๆŽงๅˆถๅ™จ็”จ๏ผ‰
    ่ฎพ่ฎก็†ๅฟตไนŸๅพˆๆœ‰ๅพˆๅคงๅŒบๅˆซ
    Matrix็š„ไธ€ไธช็›ฎๆ ‡ๅฐฑๆ˜ฏๅŽป็นๅŒ–็ฎ€ ๅœจๆญคๅŸบ็ก€ไธŠๆไพ›ๆ›ดๅฅฝ็”จ ๆ›ดไธชๆ€ง ๆ›ดๅฅฝ็Žฉ็š„ๅŠŸ่ƒฝ

    ๆœ‰ๅ“ชไบ›Launchpadๆฒกๆœ‰็š„ๅŠŸ่ƒฝ๏ผŸ

    ๆœ‰ไฝ†ๆ˜ฏไธไป…้™ไบŽ

    1. ๅฏๆ—‹่ฝฌๆœๅ‘
    2. ๅฏ่‡ชๅฎšไน‰้ขœ่‰ฒ่‰ฒๆฟ
    3. ๅฏ่ฐƒไบฎๅบฆ
    4. ๅŠจๆ€ไบฎๅบฆ
    5. ๅฏ่ฐƒ่ฎพๅค‡ID(0~255)
    6. 1600ไธ‡้ขœ่‰ฒ็š„RGB่พ“ๅ…ฅ
    7. ่งฆๆ‘ธๆก
    8. 2DๆธฒๆŸ“ๅผ•ๆ“Ž
    9. ๆจก็ป„ๅŒ–
    10. ่ถ…ไพฟๆบ็š„่ฎพ่ฎก
    11. ๆ•ดๆœบOTAๆ›ดๆ–ฐ
    12. ไธ้œ€่ฆLive็š„Control Surface
    13. ๆ”ฏๆŒๆœบๅ†…App

    ๆ›ดๆ–ฐ่ฎกๅˆ’

    • ๅŸบ็ก€SysexๅŠŸ่ƒฝ
    • ่‡ชๅฎšไน‰่‰ฒๆฟ
    • ่ฏปๅ–่‡ชๅฎšไน‰่‰ฒๆฟ 0.8.5
    • ๅŸบไบŽSysex็š„2DๆธฒๆŸ“็ณป็ปŸAPI 0.9.0
    • Sysex้…็ฝฎ/่ฏปๅ–/ๅค‡ไปฝ่ฎพๅค‡้…็ฝฎ

    ๅฆ‚ไฝ•็ฟป้กต๏ผŸ

    ๅบ•้ƒจๆœ‰ไธ€ไธช่งฆๆ‘ธๆก/FN็•Œ้ขๆœ‰16ไธชๅฏ่‡ชๅฎšไน‰็š„ๆŒ‰้’ฎ/ไฝฟ็”จOne Chainๆ’ไปถ

    ๆ”ฏๆŒๅ“ชไบ›ๅทฅ็จ‹๏ผŸ

    ้€‚้…ๆ‰€ๆœ‰ๆ”ฏๆŒLaunchpad Mk2/Mk1็š„Ableton LiveไปฅๅŠunipad ็ฏๅ…‰ๅทฅ็จ‹

    ๅฐบๅฏธๅ’Œ้‡้‡ๆ˜ฏๅคšๅฐ‘๏ผŸ

    ้•ฟๅฎฝๅŽšไธบ206mm * 206mm * 12mm
    ้‡็บฆ600g

    ๅฆ‚ไฝ•็”ณ่ฏทๆ ทๆœบ?

    ่ฏทๅŠ ๅ…ฅๆˆ‘ไปฌ็š„QQ็พค 868894656 ๅ’จ่ฏขNull

    ๅฏไปฅ่‡ชๅฎšไน‰ๅ—๏ผŸ

    Matrix็š„ๆฏไธ€ไธช้›ถไปถ้ƒฝๅฏไปฅๅ•็‹ฌ่ดญไนฐ ๅฏไปฅๆ”พๅฟƒ็š„ๆŠ˜่…พ

    ๅ”ฎไปทๅคšๅฐ‘๏ผŸ

    ้ข„ๆœŸ580ๅทฆๅณ

    ไป€ไนˆๆ—ถๅ€™ๅผ€ๅ”ฎ๏ผŸ

    ้ข„่ฎก2021๏ผŒ2020ๅนด10ๆœˆๅฐ†่ฟ›่กŒไธ€ๆ‰น่ฏ•ไบง

    ๅผ€ๆบ็กฌไปถ่ฎพ่ฎกๆ–‡ไปถ

    Matrix-Hardware

    ๅ…ณไบŽไฝฟ็”จ็š„ๅผ€ๆบ้กน็›ฎ

    STM32-Arduino (ๆœ‰ๆ”นๅŠจ)
    USBComposite_stm32f1(ๆœ‰ๆ”นๅŠจ)
    FastLED (ๆœ‰ๆ”นๅŠจ)
    STM32-Bootloader(ๆœ‰ๆ”นๅŠจ)

    ็Žฏๅขƒๆญๅปบ/ไปฃ็ ็ผ–่ฏ‘

    ็ŽฏๅขƒๆญๅปบไปฅๅŠไปฃ็ ็ผ–่ฏ‘ๆ•™็จ‹ๅฐ†ๅœจไน‹ๅŽ็ป™ๅ‡บ

    Visit original content creator repository
    https://github.com/203-Systems/Matrix

  • spotted-kingfisher-with-iles-tailwindcss

    Spotted Kingfisher with Iles and Tailwind CSS!

    Jamstack (MPA-SSG) app for an wildlife welfare/charity organization that helps endangered species by educating the community, and running various volunteering programs. While layouts, pages & components are primarily Vue SFCs, the project also includes svelte and jsx/tsx components. Note: Iles supports component formats of multiple frameworks.

    This is a sample project created using the Vue Designer Iles Tailwind CSS – Quick start template.

    Demo – https://spotted-kingfisher-iles-tailwindcss.netlify.app/

    Vue Designer

    A desktop visual editor for Vue apps supporting Mac, Windows, and Linux by Pinegrow. Take it for a free trial at Vue Designer!

    It lets you visually design ๐ŸŽจ your Vue single file components and boosts your productivity and creativity while building your component-based Vue apps.

    It smartly integrates with your โšก๏ธ Vite based CLI and provides an amazing developer experience with its powerful visual controls and features.

    Clean code ๐Ÿ˜ƒ, No lock-in – You are in control of your projects and development workflow โค๏ธ

    Try it now!

    1. Clone to local

    Create a repo from this template on GitHub.

    (or)

    If you prefer to do it manually with the cleaner git history

    npx giget@latest gh:pinegrow/spotted-kingfisher-with-iles-tailwindcss my-spotted-kingfisher-with-iles-tailwindcss-app #project-name
    cd my-spotted-kingfisher-with-iles-tailwindcss-app
    npm install #or use pnpm

    2. Open in Vue Designer

    Open your project in Vue Designer and follow the instructions displayed in the Config Panel (that should pop out automatically). Config Panel โš™๏ธ displays the key packages and the various links to their individual ecosystems and communities.

    Usage

    Start your development server

    npm run dev # SPA during development

    Build

    npm run build # MPA SSG (islands architecture)

    Analyze

    Uncomment the rollup-plugin-visualizer usage in your config file and execute the build command. This command will generate stats.html. Open stats.html in your browser to analyze bundle sizes.

    npm run build # open stats.html to analyze bundle sizes

    Preview

    npm run now # build & preview

    Lighthouse

    npm run unlighthouse # Uses npx unlighthouse from https://unlighthouse.dev/ to run lighthouse on entire site (all pages)

    Deploy to Netlify

    You can deploy this repo as a site on your own to explore and experiment with, by clicking this button. Deploy to Netlify

    Check out the deployment documentation for more information.

    Pre-packed

    Meta Framework (Vue-based)

    • รฎles – A Joyful Site Generator.
      • ๐Ÿ [Partial Hydration] – zero JS by default, hydrates the interactive bits
      • ๐Ÿ”Œ [Batteries Included] – layouts, components, site-wide data
      • ๐Ÿงฑ [Multi-Framework] – vue, preact, svelte, solid
      • ๐Ÿ“– [Markdown] – use components in markdown and viceversa
      • ๐Ÿ›ฃ [Routing] – automatically configured from files
      • ๐Ÿ›  [Devtools][devtools] – debug panel and [hydration timeline]
      • โšก๏ธ [Fast][vite] – instant reloading powered by [Vite]

    UI Frameworks

    File-based CMS (markdown)

    • @islands/mdx – file-based CMS powered by Markdown & Vue components. This module is shipped inside รฎles. Note: This page is a markdown file ๐Ÿ—’.
    • @islands/prism – an รฎles module that injects a remark plugin to provide syntax highlighting for MDX documents.

    Icons

    • UnoCSS Preset Icons – use over 100,000 open-source Iconify icons. Uses the unocss format for icon names, for example, i-mdi-home.

    Modules/Plugins

    • Pinegrow รฎles Module – enables you to live-design your Vue single-file components visually in Vue Designer.
    • Pinegrow Tailwind CSS Plugin – via Design Panel, enables visual controls customization (automatic) and theme customization (optional).
    • @islands/pages – enables file-based routing, hooks to extend frontmatter and route data, supports a block in Vue single-file components for meta-data. This module is shipped inside รฎles.
    • ๐Ÿ“ฒ unplugin-vue-components – On-demand components auto importing for Vue.
    • ๐Ÿ“ฒ unplugin-auto-import – Auto import APIs on-demand for Vite, Webpack and Rollup.
    • VueUse – collection of essential Vue composition utilities.
    • ๐Ÿ Pinia stores for global state management. Its light-weight, type-safe, extensible, modular with vue-devtools support.
    • VeeValidate takes care of value tracking, validation, errors, submissions and more.

    Devtools

    • รฎles Devtools – Page information is available in the in-app debug panel (similar to Vitepress). Also access the “Islands” inspector in Vue devtools.
    • Vite Devtools – A Vite plugin for Vue that enhances your DX (developer experience) with an amazing set of in-app features. This is an in-app alternative to browser-based/standalone Vue Devtools.
    • Vue Devtools – Official devtools that can be used as a standalone app alongside Vue Designer. It’s conditionally configured in app.ts (only during development).
      • ACTION REQUIRED: Currently deactivated. In app.ts, uncomment the top devtools related snippet to activate.

    VS Code Extensions

    • [VS Code Extensions](./.vscode/extensions.json & ./.vscode/settings.json)

    Coding Style

    Typescript

    This project allows JS, and strict mode is turned off. Update tsconfig.ts as required.

    {
      "compilerOptions": {
        // ...
        "strict": false,
        "allowJs": true
      }
    }

    Community

    Visit original content creator repository https://github.com/Pinegrow/spotted-kingfisher-with-iles-tailwindcss
  • Retail_sales_analysis

    Retail Sales Analysis

    Introduction

    This project uses the Retail Sales dataset to analyze sales performance, identify trends, and understand product demand across different regions and time periods. The goal is to uncover key insights related to sales volume, revenue, and product performance.

    Dataset

    Setup and Installation

    1. Power BI: Install Power BI Desktop from Power BI Downloads.
    2. Dataset: Download the Retail Sales dataset from a reliable source (e.g., Kaggle).
    3. Import Dataset: Import the dataset into Power BI.
    4. Data Analysis: Use Power BI to create reports and dashboards, analyzing sales by product, region, and customer behavior.

    Screenshots

    Screenshot 2025-01-12 232916

    Insights

    • Cost Comparison Across Categories:
      The total cost for fruits is lower compared to categories like office supplies and household, which have significantly higher costs.

    • Profit Distribution Across Regions:
      Both Sub-Saharan Africa and Europe contribute to more than 50% of the total profit, while North America has the lowest profit contribution among all regions.

    • Total Profit and Total Revenue:
      In this case, Total Profit and Total Revenue are the same, indicating that there are no expenses or costs subtracted from the total revenue, which is uncommon in a typical business scenario.

    • Total Profit by Item Category:
      The highest total profit comes from Cosmetic and Household items, while Meat has the lowest total profit among all item categories.

    Recommendations

    • Cost Optimization:
      Focus on reducing costs in the office supplies and household categories to improve overall profit margins. Consider negotiating supplier prices or exploring cheaper alternatives without compromising quality.

    • Profit Maximization in Europe and Sub-Saharan Africa:
      Since Sub-Saharan Africa and Europe contribute heavily to the total profit, consider expanding efforts in these regions to further capitalize on their profitable performance. Increase marketing and sales campaigns to boost revenues.

    • Review and Adjust Expenses:
      Investigate why Total Profit and Total Revenue are the same, as it might indicate an error or an unusual business structure where no operating costs are considered. Ensure accurate tracking of expenses to maintain profitability.

    • Focus on High-Profit Items:
      Given that Cosmetic and Household items generate the highest profit, focus on expanding the product offerings in these categories. Consider bundling these items together or running promotions to increase their sales.

    Visit original content creator repository https://github.com/piyush-ghavari/Retail_sales_analysis
  • transform-vmware-product-builds-to-json

    Transform VMware product builds

    Current Status

    โš ๏ธ The VMware KB API changed which introduced a breaking change for this project. This is tracked in issue #9
    โš ๏ธ At the moment, release data is not updated

    Intro

    This Python code parses VMware product release data from the kb
    article Correlating build numbers and versions of VMware products (1014508)
    and transforms them into a machine-readable format.
    A combination of parsing with beautiful soup and data handling
    with Pandas is the used to achieve the goal. A process is scheduled with GitHub actions to
    run daily, the results will be pushed to the
    repo Machine-readable VMware release data
    .

    Data standardization

    Since v0.1.0 the raw data from the published KB is transformed to establish a standard in terms of column headers,
    formatting, etc. KB 2143832 (ESXi) is used as the model for providing a standardized information set.

    Uniform column names

    Columns describing the same data set have different labels, e.g. “Build number”, “Build Number”, “BuildNumber”.
    In case of the example, the columns will be renamed to “Build Number” per KB 2143832.

    Multi-value columns

    Columns may have more than one value, e.g. “Build Number – Version” in KB2143850 (vRealize Automation).
    In this case, two additional columns (Version, Build Number) will be added to the table each containing just a single
    Value.

    Merged tables

    Roadmap: There may be more than one table that hold the version information, e.g. in KB2143838 (vCenter Server). A merge
    operation will attempt to provide a unified table.

    Nested tables, merged columns/rows

    Since v0.2.0: For vCenter build information (KB2143838), this release based on PR #5 offers merged tables:
    The KB article contains three tables:

    • Release information for VCSA 7
    • Release information for VCSA/Windows VC 6.7
    • Release information for VCSA/Windows before that

    The merged output available is now:

    • one table for all VCSA releases
    • one table for all Windows releases
    • one table for all releases Unicode issues are addressed as well

    Non-standard tables

    Since v0.4.0 the script can handle KB52075 (vxrail). This table has none of the default column names and also multi-line
    column headers.

    Output format and folder structures

    The way the output is currently structured is:

    • Directory: based on Pandas options to
      handle json data orientation

      • Files: KB(a)_(b)_table(c)release_as(d)”
        • a: knowledge base article id – the unique ID for the KB article
        • b: product name – The first product from the meta data, all in lower case and spaces replaced by underscores
        • c: An id to identify multiple html tables on the section (starting at 0)
        • d: json data orientation – see above

    Disclaimer

    This is not an official VMware repository and in no way linked in official capacity to my employment at VMware.

    Visit original content creator repository
    https://github.com/dominikzorgnotti/transform-vmware-product-builds-to-json

  • Minting-API

    Cardano Token Minting-API

    An Innovative way of minting Cardano Native Assets

    Introduction

    This project introduces a new way of selling a CNFT.

    Currently, the most widely used model of minting NFTs is where the Buyer sends a payment to the Seller who then proceeds to mint the said NFT and then returns it.
    This means that there are at least two transactions that occur in such an exchange. This method is very inefficient.

    Cardano’s EUTXO model means that multple exchanges, mints and script executions can occur inside one transaction. This project just leverages those capabilities and proves a way of minting a token without revealing the script’s private keys to the end user. This means that the buyer makes the payment and the seller mints and returns the NFT in the same transaction.

    The benifits of this new model are:
    โœ” Maximum Efficiency
    โœ” Minimum Costs
    โœ” Less Congestion
    โœ” Absolute Transparency

    Installation

    git clone https://github.com/rumourscape/Minting-API
    cd Minting-API
    npm install

    Usage

    Create the env.json file according to the example-env.json template.

    npm run start

    Visit original content creator repository
    https://github.com/rumourscape/Minting-API

  • Newspeak

    Newspeak is a self-modifying substitution-based language for text editing (esolang). Newspeak is employed by the Ministry of Truth (MINITRUE) for live editing of news, truth, and true news. Never speak falsity with Newspeak!

    To run Newspeak, launch with python newspeak.py with argument –run program.txt. This will launch the file program.txt in interactive mode.

    python newspeak.py --run program.txt

    Newspeak was created with python 3.11.8, the further from this version the less likely it will run.


    Newspeak operates on lists of commands, with some commands accepting an argument. Here is an example of a command list:

    {FIND|deceased|REPLACE|born}

    Most programs in Newspeak consist of several lists of commands:

    {FIND|Jhonson|INSERT|comrade }
    {FIND|Stevenson|INSERT|traitor }
    

    Lists of commands can contain other lists:

    {FIND|@|REPLACE|{FIND|#|REPLACE|@}}

    On execution, the above command will replace the mark “@” with the following command:

    {FIND|#|REPLACE|@}

    When executing a file, Newspeak will search for the first valid command list it encounters. After finding one, it executes every command one after another. If any of them fail, the command list is deleted from the file. If every command in a list executes successfully, Newspeak resets itself to start executing from the beginning.

    This ensures that if a command is able to be executed, it is executed on every part of the file. However, it is a job of an editor at MINITRUE to keep programs from going into infinite loops.

    Because lists and text they edit coexist in the same space, Newspeak can be said to be self-modifying.


    Full list of commands for the interactive Newspeak interpreter:

    • simply pressing Enter without entering any command will advance 1 turn of processing the current program and output the report on processing. The vast majority of progams need several steps to complete!
    • help will output this message.
    • stop, exit, quit, e, q are all aliases of each other. They stop the current interpeter session.
    • snap will output the current state of the field being processed.
    • output [file name with extension] will output the current state of the board to a file at the passed argument.
    • process will enter the intepreter into a processing mode. In this mode, processing turns will advance without the input from the editor. To stop it, enter s (as in stop) and press Enter.

    Full list of Newspeak language keywords:

    • FIND|arg: finds the argument in text, starting from the end of current selection. If finds, sets selection cursors to the edges of the argument. If doesn’t find, fails the current command list.
    • REMOVE|arg: finds the argument between the current selection cursors. If finds, deletes this text from the field. If doesn’t find, fails the current command list.
    • DELETE: Has no argument. Simply deletes everything between current selection cursors. Always succeeds.
    • REPLACE|arg: replaces everything between current selection cursors with the argument. Always succeeds. Can accept SELF.
    • INSERT|arg: inserts the argument at the start of current selection. Always succeeds. Can accept SELF.
    • APPEND|arg: inserts the argument at the end of current selection. Always succeeds. Can accept SELF.
    • ONCE: does nothing. Accepts no arguments. Always fails. Useful for making commands one-time-use-only.
    • SEEK|arg: moves the starting and ending cursors to coincide according to arg. Arg can take one of the following forms:
      • SOL: start of line, relative to the start of current selection.
      • EOL: end of line, relative to the end of current selection.
      • SOF: start of file.
      • EOF: end of file.
      • n: can be any integer.
        • If positive, moves the end of selection by n characters right and the start of selection to coincide with it.
        • If negative, moves the start of selection by n characters left and the end of selection to coincide with it.
        • If 0, does nothing.
    • Finally, arguments to REPLACE, INSERT and APPEND can be SELF. In this case, the text that is inserted with these commands is the current command’s very text.

    Additional features of the language include:

    • Comments can be included in the program with <angle brackets>. They need to be paired and can’t be nested for now. Comments are removed from the file before running it.
    • Commands can include newlines and tabs for better readability. These characters are removed from commands before running the file. Pro tip: switch your code editor to use tabs for indentation. Turn on line wrap, while you’re at it.
    • Command arguments can contain escaped characters \{, \}, and \|.
      • When FIND, REMOVE, INSERT, APPEND, and REPLACE have an escaped special character, they turn it into the unescaped version for searching in text or inserting into text. If you want to find an escaped character or to insert an escaped character, escape it in the argument twice: \\|.

    Visit original content creator repository
    https://github.com/Derkune/Newspeak