This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
gruntfile based on https://gist.github.com/billyvg/2a7321623b2d2a87381c | |
[grab the associated `package.json` from here](https://gist.github.com/robert-bosweb/6c0303c11839f063b854) | |
*/ | |
module.exports = function (grunt) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"//": [ | |
"Packages used for less & autoprefixer preprocessing on Business Catalyst sites", | |
"Replace SITE-NAME-HERE with your site name if you feel like it; it's not used anywhere (yet)" | |
], | |
"name": "SITE-NAME-HERE", | |
"version": "0.0.1", | |
"description": "", | |
"main": "gruntfile.js", | |
"dependencies": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
path = require('path'), | |
sftp = require('gulp-sftp'), | |
less = require('gulp-less'), | |
sourcemaps = require('gulp-sourcemaps'), | |
autoprefixer = require('gulp-autoprefixer'), | |
rename = require('gulp-rename'), | |
browserSync = require('browser-sync'); | |
var setup = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
import R from 'ramda'; | |
let userDays = [ | |
{ | |
days: { | |
day1: { | |
billable: { | |
1: 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Set Payment Method to 11 | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.1 | |
// @description DESCRIPTIONGOESHERE | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/673e9c53d0b0da4994b48d2d7423ff8d | |
// @downloadURL https://gist.github.com/robert-bosweb/673e9c53d0b0da4994b48d2d7423ff8d/raw/set-BC-paymentmethodtype-to-11.user.js | |
// @match * | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Find Over-Wide Elements | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.0 | |
// @description What is pushing the page wider than the viewport, allowing that janky side scrolling? | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/r-k-b/83a411a2cf4be4de7cd0bb60321f66a7 | |
// @downloadURL https://gist.github.com/r-k-b/83a411a2cf4be4de7cd0bb60321f66a7/raw/find-overwide-elements.user.js | |
// @include *://*/* | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Show List IDs in BC Admin | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.0 | |
// @description Show the ID of all visible list items. Works on most lists in BC. | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/r-k-b/1b89a057231055fb0f231b304df8a78e | |
// @downloadURL https://gist.github.com/r-k-b/1b89a057231055fb0f231b304df8a78e/raw/show-list-IDs-in-BC-admin.user.js | |
// @include *://*/* | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Expand all tree items | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.0 | |
// @description Clicks all the visible [+] buttons in a list view. Useful in BC's Category / Classification view. | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/r-k-b/2ae9376e03f26d7b6713c576a177f349 | |
// @downloadURL https://gist.github.com/r-k-b/2ae9376e03f26d7b6713c576a177f349/raw/expand-all-tree-items.user.js | |
// @include *://*/* | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Show CRM Custom Field Tag Values | |
// @namespace https://gist.github.com/r-k-b/ | |
// @version 1.0.0 | |
// @description Show CRM Custom Field Tag Values | |
// @author Robert K. Bell | |
// @homepage https://gist.github.com/r-k-b/1ce961bd9b0f1effd8a4bb173325390b | |
// @downloadURL https://gist.github.com/r-k-b/1ce961bd9b0f1effd8a4bb173325390b/raw/show-crm-custom-field-tag-values.js | |
// @include *://*/* | |
// @grant none |
OlderNewer