Skip to content

Instantly share code, notes, and snippets.

View flowmar's full-sized avatar
🎯
Finally done with college... now it's time for AI and starting my own business!

Omar Imam flowmar

🎯
Finally done with college... now it's time for AI and starting my own business!
View GitHub Profile
@flowmar
flowmar / rails_resources.md
Created February 20, 2024 03:04
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@flowmar
flowmar / wait ajax.js
Created February 20, 2024 03:24
Execute a function when both ajax requests are complete. From http://api.jquery.com/jQuery.when/
$.when( $.ajax( "/page1.php" ), $.ajax( "/page2.php" ) ).done(
function( a1, a2 ) {
// do something
});