helping-js: zero-dependency JavaScript utilities — type guards, 50+ regex patterns, validate(), TypeScript .d.ts, v3 helpers (string, array, object, async, date, URL, tree, DOM). Official docs: https://helping-js.netlify.app
A Mock API for AWS Kinesis
Hud's Node SDK
A plugin of css-render that helping generate BEM standard CSS
Unit tests for Team Culture
Simple custom events
An NPM package used for installing and configuring NGINX virtual hosts.
Simple, fast, powerful parser toolkit for JavaScript.
Generic JSDoc-like comment parser
Grunt task to run a nodemon monitor of your node.js server
Storybook Onboarding: Help new users learn how to write stories
A React framework for building text editors.
Base64 encoding and decoding helping util. Created for React Native but can be used anywhere
Rails UJS for the react-rails gem
Detect if a string is a data URL
Tinode SDK
🤖 Display bytes in a human readable format: KB, MB, GB, TB, PB, EB, ZB, YB
SAML 2.0 node helpers
Chain functions, generators, Node streams, and Web streams into a pipeline with backpressure support.
Manage session history with JavaScript
Keystone airgaped wallet SDK
Sendmail without setting up SMTP server
TypeScript shorties for the web
React Native WebView component for iOS, Android, macOS, and Windows
Moonwalkair help you to start build your AIR app and make it walk in the right way. The gem let you start your development faster, creating the entire folder structure and many files that a AIR app depends
facebook_js helps to keep all the unnecessary editing from using Facebook JS SDK.
Amoeba.js is a lightweight JS framework designed to work with Rails (but potentially any MVC framework) and provide JS organization, routing, models, and views.
Organizes requirements of assets in JavaScript files, resolved dependencies of js files and helps include depending css files.
Helps build simple websites using haml and sass. Compresses your js. Deploys to AWS S3.
This is a Ruby port of mohan-cao's owoify-js, which will help you turn any string into nonsensical babyspeak similar to LeafySweet's infamous Chrome extension.
Compresses Javascript & CSS files on the terminal. Usage: wbdv_packer [options] [filename] -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8 -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337 -o, --optimize Sets code optimization on compress (JS Only). Default: true -p, --preserve Sets preserved semi-colons (JS Only). Default: true -s, --short Sets shortened local variables (JS Only). Default: true -v, --version Print version -h, --help Display this screen
Compresses Javascript & CSS files on the command line interface with yui-compressor. Run `cli-yui-compressor` or its shorthand `cyc`. Usage: cli-yui-compressor | cyc [options] [filename] -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8 -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337 -o, --optimize Sets code optimization on compress (JS Only). Default: true -p, --preserve Sets preserved semi-colons (JS Only). Default: true -s, --short Sets shortened local variables (JS Only). Default: true -v, --version Print version -h, --help Display this screen A
D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.
CssCleaner parses ERB, HAML, CoffeeScript, JS, CSS, and SCSS files to detect unused CSS classes, helping to optimize and clean your stylesheets.
# Payfast Payfast is a Ruby gem that simplifies the process of integrating the PayFast payment gateway into your Ruby on Rails application. It provides a generator that helps scaffold the necessary configuration, routes, models, and controllers required to integrate PayFast seamlessly. ## Demo  ## Installation Add this line to your application's Gemfile: ```bash bundle add payfast ``` ## Usage ```bash rails generate payfast:install ``` ## This generator will perform the following actions: insert config/routes.rb create app/controllers/carts_controller.rb create app/views/carts/index.html.erb create app/views/carts/make_payment.html.erb create app/helpers/carts_helper.rb create db/migrate/20230824105530_create_carts.rb create config/payfast.yml create app/models/cart.rb insert app/views/layouts/application.html.erb insert config/environments/development.rb ## Additional configuration Setup payfast credentials for your environment rails EDITOR="code --wait" bin/rails credentials:edit This will allow you to securely edit and store your credentials. once you save and exit the file, the credentials will be encrypted and can only be accessed withe rails master key. payfast: merchant_id: {your_merchant_id} merchant_key: {your_merchant_key} passphrase: {{your_passphrase}} ## Update your `payfast.yml` config file - setup the credentials to be use by the rails app - uncomment `Rails.application.credentials.payfast.merchant_id ` and wrap it in erb tags as instructed in the comments. ## Templates Update the `make_payment.html.erb` as instructed in the file. it should look like so: ```js <script> // set the uuid to uuid = @cart.payment_uid. surround @carts.payment_uid with erb tags const uuid = `<%= @cart.payment_uuid %>` window.payfast_do_onsite_payment({uuid}, function (result) { if (result === true) { // redirect success_path(@cart) window.location.href = `<%= success_cart_path(@cart) %>` } else { // Redirect to failure_path(@cart) window.location.href = `<%= failure_cart_path(@cart) %>` } }); </script> ``` ## Testing - payfast api allows only SSL communication from your server. inorder to test locally. you will have to use a tunneling service that allows you to expose your local development server to the internet. your rails development config has was modified by the generator to allow ngrok hosts to hit your rails server ```ruby config.hosts << /[a-z0-9-]+\.ngrok-free\.app/ ``` ## Contributing Thank you for considering contributing to our project! We welcome contributions from the community to help improve this project and make it better for everyone. ### Issues If you encounter any issues or bugs while using our project, please [open a new issue](https://github.com/mactunechy/payfast/issues) on GitHub. Please make sure to include detailed information about the problem, steps to reproduce it, and the environment in which you encountered it. ### Pull Requests We encourage pull requests from the community! If you have an improvement or new feature you'd like to contribute, please follow these steps: 1. Fork the repository and create a new branch for your feature or bug fix. 2. Make your changes and write tests to cover any new functionality. 3. Ensure that the existing tests pass and write additional tests for any bug fixes. 4. Commit your changes and push the new branch to your forked repository. 5. Submit a pull request to our main repository, including a detailed description of the changes you made and any relevant information. We will review your pull request as soon as possible and provide feedback if needed. We value your contributions and will work with you to ensure your changes are integrated smoothly. d Your contributions are essential to the success of this project, and we are grateful for your help in making it better for everyone. If you have any questions or need further assistance, feel free to reach out to us. Happy coding!
=== What is GptHelpr? It is sometime necessary to provide context and explanations for your code. Instead of manually copying and formatting code snippets, GPT-Helpr automates the process with an interactive cli, generating a well-structured Markdown output, which can be copied to your clipboard or printed to file. === Example Usage # note lmk is an alias for gpt_helpr -i -ln $ lmk == 🏴☠️ GptHelpr 0.2.3 == Helping to dig your codebase and cook GPT-XX instructions [current directory /Users/etozzato/WorkSpace/_AINZ/pizzatarians.com] File Path (optional :start:end): TAB -> favicon.ico hey.md js random-acts-of-pizza.md _config.yml _site draft fonts images kneading-baking-academy.md _exe academy favicon.gif hands-in-dough.md index.md parties-and-events.md File Path (optional :start:end): hey.md 1:22 Instructions: can you improve this text? Do you see any issues with the template? File Path (optional :start:end): # this is the generated output (also copied to the clipboard) ==== file source `hey.md 1:22` 1: --- 2: title: Hey, hello! 3: layout: default 4: --- 5: 6: # {{ page.title }} 7: ---- 8: 9: <div class="row"> 10: <div class="col-md-12"> 11: <p class='justin'> 12: Nice to meet you, I am *Mek*! 13: </p> 14: <p class='listo'> 15: I am a self-proclaimed pizza guru and I am here to teach & learn. Originally from Venice, Italy you can find me in San Diego, CA. 16: </p> 17: <p class='listo'> 18: In my spare time, I write code @ PlayStation! 19: </p> 20: </div> 21: </div> 22: can you improve this text? Do you see any issues with the template? ==== end of `hey.md`
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.