Skip to content

Instantly share code, notes, and snippets.

Reynaldo Scardinho rscardinho

Block or report user

Report or block rscardinho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View casting.yml
custom_title: Casting Catalog
position: 11
above_the_line: 0
line_items: ['talent1', 'talent2']
rscardinho / strucuture.yml
Created Apr 25, 2019
item catalog details
View strucuture.yml
catalog: Name of the item catalog
custom_title: Catalog name that will be displayed in the UI if present
position: position of the catalog in the list
category1: Name of the category
above_the_line: 1 for line items above the and 0 for below. this setting will be applyed to all line items inside the category
line_items: list of all line item names. they will be displayed in the UI in the same order as they are here
rscardinho / reference.js
Created Apr 16, 2019
View reference.js
function sort() {
var sortableList = $('.sortable-category');
var listitems = $('.draggable-category', sortableList);
listitems.sort(function (a, b) {
return ($(a).text().toUpperCase() > $(b).text().toUpperCase()) ? 1 : -1;

heroku pg:backups capture -a event-service-production

curl -o event_service_production.sqlc (heroku pg:backups public-url -a event-service-production)

rake db:drop db:create


pg_restore --verbose --clean --no-acl --no-owner -h -d event_service_development -U postgres event_service_production.sqlc

You can’t perform that action at this time.