GithubHelp home page GithubHelp logo

planetruby / gems Goto Github PK

View Code? Open in Web Editor NEW
75.0 11.0 26.0 3.37 MB

Ruby Digital Identity & Metaverse Week 2022, September 5th to September 11st - 7 Days of Ruby (Profile Picture & Avatar Character Generation) Gems ++ Best of Ruby Gems Series

Home Page: https://planetruby.github.io/gems

License: Creative Commons Zero v1.0 Universal

HTML 96.01% SCSS 3.99%
ruby gems opendata blockchain advent advent-2020 cryptos csv datapackage mining

gems's People

Contributors

abhaynikam avatar adrianthedev avatar amaleh avatar andyobtiva avatar atmosx avatar codenamev avatar davearonson avatar excid3 avatar geraldb avatar hlascelles avatar jankeesvw avatar ledestin avatar logicminds avatar marckohlbrugge avatar marcoroth avatar mcmire avatar mikerogers0 avatar mparramont avatar odlp avatar omegahm avatar pascalwengerter avatar picandocodigo avatar pienkowb avatar tkrajcar avatar tmr08c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gems's Issues

Day 6 - Pay gem

The Pay gem is one I started to help simplify integrations for payment providers. https://github.com/pay-rails/pay

We've implemented Stripe, Braintree, and just merged Paddle support. It's got a simple interface for adding subscribe charge and other functionality to your billable models in Rails (ie. User, Team, Account, etc).

Day 4 - Noticed gem

I built Noticed this year as a way to standardize delivery of notifications in Rails. https://github.com/excid3/noticed

It got 900 stars in just a couple months which is crazy. Definitely is something the community is looking for it seems. Thought it would be a good fit for this.

Day 17 - any_login

Hi,

Please check one of my gem https://github.com/igorkasyanchuk/any_login. Can't imagine any project development without it. This is also one of the favorite gems of our QA team. It can just let you log in as any user in your app in development mode and quickly switch users.

Thanks!

Day 8 - ActsAsTenant

I recently revived the ActsAsTenant Gem (https://github.com/ErwinM/acts_as_tenant) and would like to share it. There are a lot of fixes and improvements that I've added. Plus there are some interesting things to talk about like how to revive an old project and become the maintainer.

Day 24 - git_reflow

git-reflow is a Ruby-based git-server agnostic code workflow assistant. The latest release introduces an easy way to create git commands in Ruby with a number of great helpers to automate as you please.

Day 22 - active-record-events - Ruby Advent Calendar 2020

Hello! 👋

I'd be glad to participate in the Ruby Advent Calendar 2020 and write about a gem I've created called active-record-events.
By adding convenience methods on top of a datetime field, the gem allows you to manage custom timestamps in a similar way to how ActiveRecord handles the created_at and updated_at fields.

Would this be a good fit? 🙂 If so, I'd like to claim Day 22.

Day 11 - BoringGenerators gem

Hey 👋

I wrote a gem called boring generators which intents to generates the basic configurations and reduce the time taken in doing boring setup in a Rails application. The gem uses Rails generators.

Here is short blog I wrote behind my motivation and problem I wanted to solve using the gem: https://www.abhaynikam.me/posts/introducing_boring_generators/

Hope this fit the requirement here. Please feel free to close the PR if it doesn't 😊

GEM URL: https://github.com/abhaynikam/boring_generators

Ruby/Rails Push Notifications and SEO Friendly gems

Hi @geraldb I've developed a pair of gems (rails and standalone ruby) to make it easier to send push notifications to iOS, Android and Windows Phone devices, do you find them interesting to be added to your planetruby gems list? (https://github.com/calonso/ruby-push-notifications)

I also have another very interesting SEO one, which basically allows users to convert absolutely any url in their projects into a SEO Friendly one. (https://github.com/calonso/rails_friendly_urls)

Blockchain Day 1 - Crypto Mining gems

Summary

I built an entire CLI tool for managing crypto mining rigs. My love for the CLI, simplicity of ruby and mining crypto forced me into crafting a specialize tool/library for mining crypto. The main CLI tool is called Crossbelt (not opensource). This CLI tool packs a lot of features used for configuring the rig, status, metrics, profit/loss statements, coin/algorithm speculation for profitability analysis and much more. I decided to pluck out portions of the code to individual gems one of which I opened sourced called compute_unit. The examples you see below utilizes the compute unit library to seed the formulas used to output the tables.

profit

sudo crossbelt cu profit -p 0.1 --poff=30

INDEX | NAME                           | POWER | HASH_RATE | EARNINGS_COST_RATIO | HOURLY_COST | HOURLY_EARNINGS | KWH_COST
------|--------------------------------|-------|-----------|---------------------|-------------|-----------------|---------
0     | Radeon RX 5600 OEM/5600 XT ... | 128   | 54.5 Mh   | 8.468               | 0.5 µBTC    | 4.0 µBTC        | 3.7 µBTC
1     | Radeon RX 580                  | 91    | 30.26 Mh  | 6.5                 | 0.3 µBTC    | 2.2 µBTC        | 3.7 µBTC
2     | Nitro+ Radeon RX 570/580/590   | 113   | 30.58 Mh  | 5.31                | 0.4 µBTC    | 2.2 µBTC        | 3.7 µBTC
3     | Radeon RX 5600 OEM/5600 XT ... | 129   | 54.48 Mh  | 8.292               | 0.5 µBTC    | 4.0 µBTC        | 3.7 µBTC
4     | RX 5700 XT RAW II              | 146   | 54.51 Mh  | 7.37                | 0.5 µBTC    | 4.0 µBTC        | 3.7 µBTC
5     | Radeon RX 5600 OEM/5600 XT ... | 122   | 54.44 Mh  | 8.844               | 0.5 µBTC    | 4.0 µBTC        | 3.7 µBTC
6     | Radeon RX 5600 OEM/5600 XT ... | 124   | 54.39 Mh  | 8.63                | 0.5 µBTC    | 4.0 µBTC        | 3.7 µBTC
      | Total                          | 853   | 333.16 Mh | 7.63                | 3.2 µBTC    | 24.3 µBTC       | 3.7 µBTC

Status

sudo crossbelt cu status

INDEX | NAME                           | BIOS                           | CORE_CLOCK | MEMORY_CLOCK | POWER | FAN  | CORE_VOLT | TEMP | MEM_TEMP | STATUS
------|--------------------------------|--------------------------------|------------|--------------|-------|------|-----------|------|----------|-------
GPU0  | Radeon RX 5600 OEM/5600 XT ... | 113-1E4260U-O4E                | 1365       | 900          | 98    | 2401 | 731       | 49   | 82       | 0
GPU1  | Radeon RX 580                  | 113-58085SHC1-W90              | 1190       | 2000         | 61    | 1166 | 862       | 66   | 0        | 0
GPU2  | Nitro+ Radeon RX 570/580/590   | 113-BE366EU-Z48                | 1190       | 2100         | 83    | 1659 | 862       | 51   | 0        | 0
GPU3  | Radeon RX 5600 OEM/5600 XT ... | 113-1E4260U-O4E                | 1365       | 900          | 99    | 2713 | 737       | 51   | 84       | 0
GPU4  | RX 5700 XT RAW II              | 113-180W2NAVI10XT8GD6_MS_19... | 1365       | 900          | 116   | 1614 | 712       | 53   | 82       | 0
GPU5  | Radeon RX 5600 OEM/5600 XT ... | 113-MSITV381MH.1D1         ... | 1365       | 900          | 93    | 1326 | 737       | 56   | 84       | 0
GPU6  | Radeon RX 5600 OEM/5600 XT ... | 111                            | 1375       | 900          | 94    | 1587 | 712       | 56   | 82       | 0

Compute Unit Description

A ruby library that searches the linux sysfs file system for compute unit devices such as CPUS, GPUs and other ASIC compute devices. Allows programmatic access to collect real time metrics from the kernel or related driver toolchain. Is meant to be used as a toolchain for future tools. This library also makes use of opencl library and requires the opencl_ruby_ffi gem.

require 'compute_unit/gpu'
[25] pry(main)> puts ComputeUnit::Gpu.find_all.map {|cu| { cu.uuid.to_sym => cu.name , power: cu.power, model: cu.model, vendor: cu.vendor  } }.to_yaml
---
- :GPU0: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :power: 98
  :model: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :vendor: Sapphire
- :GPU1: Radeon RX 580
  :power: 61
  :model: Radeon RX 580
  :vendor: XFX
- :GPU2: Nitro+ Radeon RX 570/580/590
  :power: 83
  :model: Nitro+ Radeon RX 570/580/590
  :vendor: Sapphire
- :GPU3: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :power: 99
  :model: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :vendor: Sapphire
- :GPU4: RX 5700 XT RAW II
  :power: 116
  :model: RX 5700 XT RAW II
  :vendor: XFX
- :GPU5: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :power: 87
  :model: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :vendor: MSI
- :GPU6: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :power: 94
  :model: Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
  :vendor: PowerColor

Day 10 - 25 Days of Ruby Gems

Hello!

I'd love to participate in your Ruby Advent Calendar 2020 activity next month! I'd like to write an article about the gem Parslet, a gem that allows you to build a PEG parser and transformer. If possible, I'd like to submit my article for Day 10.

Would a Medium article be acceptable? I plan to write a small tutorial on how to use it.

Day 15 – Avo – The most beautiful, easy-to-use Ruby on Rails admin framework

Hi guys,

Today I'd like to show you Avo, a beautiful next-generation framework that empowers you, the developer, to create fantastic admin panels for your Ruby on Rails apps with the flexibility to fit your needs as you grow.

Out of the box, it has an excellent CRUD interface, ordering, filters, and actions. It knows how to handle your Active Record model relations and gives you powerful role-based authorization control options.

It's super easy to configure. Codewise, there's one configuration file per model and one configuration line per field.
You can add simple fields like text, textarea, dropdowns, and more complex ones like datetime, badges, loaders, currency, and others. There's even a cool one-liner single or multi-file Active Storage integration 🤯.

Avo's mission is to make developers' jobs more comfortable and help them and companies move faster by giving them a cool easy Rails admin package that they can be proud of.

Try it in your app today and let me know what you think about it.

Thank you!

AvoHQ.io · Twitter · GitHub · Discord

Assests should be loaded over HTTPS

I have a plugin installed, HTTPS Everywhere that ensures that every request to *.github.io is over HTTPS and not HTTP. Combined with Firefox's default of not loading unsafe assets over HTTP when browsing HTTPS, the gem of the week page looks a bit bland:

https_errors_planetruby_gems

Day 21 - SuperDiff

SuperDiff is a gem that plugs into RSpec (or can be used standalone) to highlight differences between complex data structures in a more helpful way. It knows how to diff primitives like arrays, hashes, etc. but also RSpec matcher-placeholder objects such as having_attributes, Rails model objects, and custom objects.

I'm working on a post for this right now!

Day 20 - Ruby Advent Calendar 2020 - LHS and LHC

Hey there 😊

I came across the two gems LHS and LHC at a local Ruby Meetup pre-covid. I used them in a handful of projects since and really think they deserve more attention - because they are awesome and not well-known! Let me know if you think they fit in the Ruby Advent Calendar theme.

Cheers, Marco

Day 9 - Ruby Advent Calendar 2020

Hi,

I don't know if this fits the content for the Advent Calendar since it's part of my job, but I'm the maintainer of the Ruby Elasticsearch libraries at Elastic and we recently published the Enterprise Search gem. Would it be ok to write about this? A brief intro about how it works and a short tutorial on how to interact with the services from Ruby.

I've also written gamesdb, a gem to interact with The GamesDB API. I'm currently working on version 2.0 with full API support and a few other changes, and hopefully I'll be able to release 2.0 this week.

Would any of these ideas work?
Cheers!

Fernando

pwned Gem - Ruby Advent Calendar 2020

Everyone, thanks for your eagerness to participate. We're almost out of slots!

But if you're keen to help, we could use a few backup options in the event that someone is not able to get their post finished in time (totally understandable with the holidays approaching).

If you're interested in writing a backup post, please post here and then submit a PR to the _drafts folder with your gem writeup. If we need to swap in your post, we'll have it all ready to go 👍

And if you don't make it into this year's calendar, there is a "Weekly Gem of the Week" series that is run periodically so we can still use your post later down the line.

Thanks! And happy holidays! 🎄 ⛄

Day 12 - Matestack Ui Core

Hey!

I've started building https://github.com/matestack/matestack-ui-core 2 years ago in order to escape the frontend hustle when creating reactive web apps based on Rails. My team and me built quite a few producion apps on top of it already and are super happy with the project, cause it enables us to create reactive web apps in pure Ruby! I would love to share it with more Ruby developers out there. :)

Would that be a good fit for the advent calendar?

Happy to hear your feedback!

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.