A humble_rpi plugin which handles a button press from an LIRC remote contol.
This gem doesn't really implement a state machine. All it really does is provide an easy way to transition a model from one status to another using standard form submit buttons, while also saving other changes made to that model.
This gem replaces standard checkboxes and radio buttons with Font Awesome characters making them look the same across all browsers.
Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in dialogues be on the left or the right?
capybara-restore_state offers the ability to execute a block where the initial capybara state on entering the block is returned after the block is executed. This makes it possible to test things like clicking on the same button twice.
Helper for add social share feature in your Rails app. Twitter, Facebook, Vkontakte, Odnoklassniki, WhatsApp, Viber
Provides a Cell to render a 'Pay with Stripe' button and handle the response from Stripe.
Easily create beautiful CSS3 buttons with Compass.
Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban, QQ, Tumblr ...
Remember the route prior to the current controller and redirect/use later In rails project, one common case is one form used to create or update an object can be routed from more than one page, when the object is created or updated, it should be redirected back to wherever it came from. Rails redirect_back doesn't work in this case because: 1. redirect_back in create/update action will go back to new/edit form. 2. usually the form is re-rendered if any error exists, which basically breaks the redirect_back. rails-source-path can hanlde this by explicily specifying the entry actions and remember the previous route in session store, hence can be used in the whole controller. Also a helper method is providered so it can be used in view like 'back' or 'cancel' button.
"Load more" button for apps in the Volt framework.
Merb_helpers_monkey is a Merb plug-in to extend the followng helper methods defined in merb-helpers: * radio_button() - to take boolean value as :checked option. * field_for(), form_for(), fieldset_for() - to take new :index_by option.
A nice way to scaffold that includes autocomplete search field with categories and a Load More button that simulates endless page. Requires: jQuery, jQueryUI
Rails plugin to use Intuit's Official QuickBooks Online Buttons in SVG format.
Rails engine that checks for pending migrations and presents an error screen that allows you to manage your migrations.
icic is a command line interface to automate creation of image asset for ios and android from single image file. This tool depend on ImageMagick / GraphicsMagic, please read on github (by clicking github star button) for more info.
...he sat at his desk in room 427 and he pushed buttons on a keyboard.
LINE Send button helper
Select tag using radio buttons, with provision for typing in custom "Other" value. Requires jQuery and Bootstrap 3.x
Prevent users sending duplicate requests by rapidly clicking links and buttons.
Implementation of view helper methods that utilize robust options and traits to generate semantic Bootstrap4 HTML for Ruby on Rails. Supply themes, rails helper options (such as :method and :confirm for a `link_to`). Example usage: `<%= ui.bootstrap :button, :primary, :block, href: user_path(@user), method: :delete, confirm: 'Are you sure?', tooltip: 'Adds a new user' %>` Which outputs a primary button with `btn-block` that uses rails method & confirm, and automatically supplies a tooltip (and there's much more!)
SASS Mixins for generate beautiful buttons
Adds social sharing buttons to video.js for Facebook and Twitter.
a sassified and gem packaged version if css3 github buttons
Designed for using morsecode on the Raspberry Pi with a keypad which has 4 buttons (dash, dot, separator, and send).
ActionView helpers for creating NAVER LINE share buttons.
Kanso - Semantic Flat Buttons integration with Rails and Asset Pipeline
angular-clipboard.js Copy text to clipboard by clicking a button, without using Flash
Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban, QQ ...
The material design effect ripple in angular way, can be used on any button.
This gem provides an interface to access Novation's LaunchPad programmatically. LEDs can be lighted and button presses can be evaluated using launchpad's MIDI input/output.
This gem provides programmatic access to the Novation Launchpad MK2. LEDs can be lighted and button presses can be evaluated using launchpad's MIDI input/output.
Zocial Buttons support a lot of social icons. This gem is used for seamless integration of those icons.
Some common functions for Bootstrap tables and buttons.
CARIN IG for Blue Button® Test Kit
Add social payments to your business by adding a ‘Pay with Pygg’ button to your site!
This gem was created for a presentation around Sass
Render Kakao, NAVER, Apple and Google buttons with HTML identical to the companion npm package.
Render one button per event the current user may perform on a record, each POSTing to a member transition route that re-authorizes server-side. Pluggable state machine and authorization backends; ships with state_machines and ActionPolicy.
Reads a text file (if supplied as the first argument) and creates a pdf file with the same name but with .pdf as extension in the current directory via the program pdflatex (the only requirement besides ruby itself). If '-h' is the first argument, then the program displays the helptext and exits. The program can also read the input text from STDIN (STanDard IN) and create the pdf file in the user's home directory. When this method is used, no argument is given to the program and the text is simply piped directly into the program like this: $ echo 'Hello' | txt2pdf This would create a pdf file with only 'Hello' and the page number at the bottom of the resulting pdf page. With this, you could map a key binding in your window manager to create a pdf file from the text you selected in any program, be it the terminal, your browser or your text editor. In my wm of choice, i3, I have added the following to my i3 config: bindsym $mod+p exec xclip -o | txt2pdf This would create a pdf file from the text I have selected as I hit the 'Window Button' and 'p'.
This gem provides helper methods to create social share buttons in a Sinatra application.
A simple helper for creating Turbo-enabled buttons in Rails applications.
# Wuffl <strong> 1. Introduction </strong> Wuffl is a simple image viewer which can move pictures either to a „Selected“ folder or to a „Deleted“ folder. "Selected" and "Deleted" folders are located in the same folder as the chosen picture. Wuffl is available for Linux Ubuntu >=14.04, Mac >= OS Ventura and Windows >=10. Imagine you review you vacation photographs and you need to select which pictures to show to your friends at the next party, or you work your way through a bunch of old pictures and you need to select a view of them for a anniversary celebration. Wuffl allows you to move the picture to an extra folder ("Selected") or to a "Deleted" folder while viewing it. <strong> 2. Installation </strong> To use the Wuffl image viewer you require: <ul> <li> <a href="https://www.ruby-lang.org/en/downloads/"><code>ruby</code></a> (v2.4) </ul> as well as the following Ruby gems: <ul> <li><code>fastimage</code> <li><code>fileutils</code> <li><code>gtk3</code> <li><code>stringio</code></li> </ul> Get the Wullf image viewer by typing ```gem install wuffl``` in your command line. This will install the wuffl gem as well as the gems mentined above. <strong>3. Usage</strong> Using your terminal or cmd start Wuffl by typing <code> wuffl</code> After starting Wuffl you'll see a start screen with a line of buttons at the bottom. To select an image go to the top left corner, klick on <code>File</code> → <code>Open file</code> and browse to the location of you images. Then select an image and click <code>open</code> or just doubleclick on the selected image. <strong>4. Remarks</strong> If you have any remarks, bugs, questions etc. please tell me, I'd be happy to help.
The PayPal Button Manager SDK provides Ruby APIs to create, and manage PayPal Payments Standard buttons programmatically.
RubyEverywhere gives a Rails (or Sinatra, or Hanami) app a native life on desktop, iOS, and Android. Desktop is a Tauri shell — in local mode the whole app is pressed into a single-file binary with Tebako and runs on-device with no Ruby install; in remote mode the shell wraps your deployed app. iOS and Android are Hotwire Native shells with a real tab bar, nav-bar buttons, menus, notifications, haptics, biometrics, and deep links. One config file, one CLI, one JavaScript bridge, with the web app staying the source of truth.
OzdenUI for Ruby opens a window of its own whose objects are the objects of basic.js and the 80+ components of the OzdenUI kit (buttons, fields, lists, tables, charts, dialogs, editors), written in Ruby with blocks. On macOS the window is the web view of the system, made with the fiddle library of Ruby; on Windows and Linux it is an app window of Edge or Chrome. No other gem and no compiler are needed; it also works with the Ruby that comes with macOS.
Text fields, text areas, a rich text area (Tiptap), check boxes, radio buttons, selects, a combobox, ratings, scales, color and file fields, a submit button and nested forms as view components, with their Stimulus controllers and styles, in a Rails engine.
runsheets turns a directory of markdown files into an executable runbook served from a local web page. Fenced code blocks the author marks as runnable get a Run button; every execution, its output, exit status and timing, and every operator acknowledgement is captured in order into a run record (the runsheet). The tool binds to loopback only, executes only blocks that opt in, and modifies nothing in the runbook directory.
A view helper for a button that opens a lazily loaded Turbo Frame in a native popover, anchored to the button with CSS. No JavaScript of its own.
Control a Raspberry Pi's hardware from Ruby. GPIO goes through libgpiod v2 — the Linux GPIO character device (uAPI v2) — rather than the deprecated sysfs interface. PWM is either the hardware peripheral through sysfs or timed in Ruby on any line; I2C and SPI are ioctl calls on /dev/i2c-N and /dev/spidev, needing no libgpiod at all. On top sits a gpiozero-style device layer: LED, Button, Motor, PWMLED, RGBLED, Servo, RotaryEncoder, and drivers for the ADT7410 temperature sensor, ST7032 character LCD, MCP3208 ADC, ILI9341 colour TFT and XPT2046 touch panel. Bound through the stdlib `fiddle`, which is built with the interpreter and so matches any Pi's architecture, unlike the precompiled `ffi` gem.