Posts

  • gatsby-theme-code-notes

    • Notes can:
      • be written using Markdown (.md) or MDX (.mdx)
      • have zero, one or many tags. See an example here
      • have associated emojis 👏
      • be nested in subfolders so you can organise them how you like
      • sketchy annotations (highlights, strike-thoughs etc). Find out more here
    • Extra markdown features have also been added. Find out more here
    • Note search powered by the super-fast Flexsearch

    Tags: #typescript • gatsby • gatsby-theme

  • Selenium-Grid-Extras

    Simplify the management of the Selenium Grid Nodes and stabilize said nodes by cleaning up the test environment after the build has been completed

    1. In the terminal run following command:
      java -jar Selenium-Grid-Extras-Jar.jar
      
    2. You will be prompted with several questions, first one will ask you if you want to set this computer as a HUB, Node, or both. Answer 2 for HUB

    3. Leave the Host name for Grid Hub as default 127.0.0.1

    4. Set port to be used by Selenium Grid Hub, default is 4444

    5. You will be asked if you wish to auto update Selenium. If you answer yes, then every time Selenium Grid Extras is started it will check fo the latest version of Selenium Stand Alone Server, IEDriver, and ChromeDriver. If you choose to not auto update, you will be asked what versions of each driver to lock into.

    Tags: #ruby

  • scalelite

    Scalable load balancer for BigBlueButton.

    BigBlueButton is an open source web conferencing system for online learning.

    Scalelite is an open source load balancer that manages a pool of BigBlueButton servers. It makes the pool of servers appear as a single (very scalable) BigBlueButton server. A front-end, such as Moodle or Greenlight, sends standard BigBlueButton API requests to the Scalelite server which, in turn, distributes those request to the least loaded BigBlueButton server in the pool.

    A single BigBlueButton server that meets the minimum configuration supports around 200 concurrent users.

    For many schools and organizations, the ability to 4 simultaneous classes of 50 users, or 8 simultaneous meetings of 25 users, is enough capacity. However, what if a school wants to support 1,500 users across 50 simultaneous classes? A single BigBlueButton server cannot handle such a load.

    With Scalelite, a school can create a pool of 4 BigBlueButton servers and handle 16 simultaneous classes of 50 users. Want to scale higher, add more BigBlueButton servers to the pool.

    BigBlueButton has been in development for over 10 years now. The latest release is a pure HTML5 client, with extensive documentation. There is even a BigBlueButton install script called bbb-install.sh that lets you setup a BigBlueButton server (with a Let’s Encrypt certificate) in about 15 minutes. Using bbb-install.sh you can quickly setup a pool of servers for management by Scalelite.

    To load balance the pool, Scalelite periodically polls each BigBlueButton to check if it is reachable online, ready to receive API requests, and to determine its current load (number of currently running meetings). With this information, when Scalelite receives an incoming API call to create a new meeting, it places the new meeting on the least loaded server in the pool. In this way, Scalelite can balance the load of meeting requests evenly across the pool.

    Many BigBlueButton servers will create many recordings. Scalelite can serve a large set of recordings by consolidating them together, indexing them in a database, and, when receiving an incoming getRecordings, use the database index to return quickly the list of available recordings.

    Tags: #ruby

  • ripper-tags

    fast, accurate ctags generator for ruby source code using Ripper

    fast, accurate ctags generator for ruby source code using Ripper

    Tags: #ruby

  • react

    A wrapper component that allows you to utilise P5 sketches within React apps.

    A component to integrate P5.js sketches into React apps.

    Tags: #javascript • react • p5

  • PlanarAlly

    A companion tool for when you travel into the planes.

    This project is still in active development; multiple bugs or structure changes can and will happen

    A companion tool for when you travel into the planes.

    PlanarAlly is a web tool that adds virtual battlemaps with various extras to your D&D toolbox.

    Some key features are:

    Self hosting: You can run this software wherever you like without having to rely on an external service
    Offline support: This tool can be used in a completely offline set-up for when you play D&D in a dark dungeon.

    Simple layers: Organize your scenes in layers for easier management.
    Infinite canvas: When a limited workspace is still not enough!
    Dynamic lighting: Increase your immersion by working with light and shadows.
    Player vision: Limit vision to what your token(s) can see. Is your companion in a different room, no light for you!
    Initiative tracker: Simple initiative tracker

    This tool is provided free to use and is open source.

    Tags: #typescript • dnd • map

  • wind-layer

    :flags: :rocket: wind-layer | a openlayers && amap && bmap && leaflet && mapbox-gl extension to windjs

    a openlayers | bmap | amap | maptalks | mapbox-gl | leaflet extension to show wind field。

    Tags: #typescript • windy • openlayers

  • ProgressLayout

    An extension of RelativeLayout that helps show loading, empty and error layout.

    An extension of RelativeLayout that helps show loading, empty and error layout.

    Tags: #java

  • best-ruby

    Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices

    Do you know why experienced Ruby programmers tend to reach for basic collections and hashes while programmers from other languages go for more specialized classes? Do you know the difference between strip, chop, and chomp; and why there are three such similar methods when apparently one might suffice (Not to mention lstrip and rstrip!)? Do you know the downsides of dynamic typing? Do you know why the differences between strings and symbols get so blurry, even to experienced Ruby developers? How about metaprogramming? What the heck is an eigenclass? How about protected methods? Do you know what they’re really about? Really? Are you sure? Eloquent Ruby

    Absolutely the best way to learn to write idiomatic Ruby code is to read idiomatic Ruby code. Eloquent Ruby

    This repository aims to help everyone write more idiomatic, clean, and tricky ruby code and also document good refactoring techniques. You can add your own technique or paste it from some website. Do not forget the source, of course. All the tricks are in the /tricks folder.

    For the sake of clarity, you should paste in the markdown format. At the end, if the code is not your own, paste a reference to the author and source of the technique.

    Tags: #ruby

  • react-monaco-editor

    Monaco Editor for React.

    To build the examples locally, run:

    yarn
    cd example
    yarn
    yarn start
    

    Then open http://localhost:8886 in a browser.

    Tags: #typescript • react • monaco-editor

subscribe via RSS