Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
ActiveShipping

Marc Anguera Insa markets

🚀
ActiveShipping
View GitHub Profile
@ProGM
ProGM / arel_cheatsheet_on_steroids.md
Last active Oct 20, 2020
Arel cheatsheet on Steroids
View arel_cheatsheet_on_steroids.md

Arel Cheatsheet on Steroids

A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.

Tables

posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecord

Table alias

@maguri
maguri / hacktorial.js
Last active Jun 29, 2020
Script to Post your Factorial shifts automatically
View hacktorial.js
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(window,(function(){return function(e){var o={};function t(n){if(o[n])return o[n].exports;var c=o[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var c in e)t.d(n,c,function(o){return e[o]}.bind(null,c));return n},t.n=function(e){var o=e&&e.__esModule?function(){retur
@andremedeiros
andremedeiros / talks.md
Last active Aug 29, 2015
Baruco 2014 talks
View talks.md

Baruco 2014 talks

Please see the Hackpad where we can all contribute!

You can’t perform that action at this time.