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
function getData() { | |
var recordType = "customrecord_sc_request"; | |
var searchId = "customsearch_rcm_dealtracker_timeline"; | |
var results = nlapiSearchRecord(recordType, searchId); | |
var _data = null; | |
var categories = []; | |
if (!results || results.length === 0) { return 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 DEMO: Hide OpenAir schedule exception icons (bug workaround; 17 Jul 2020) | |
// @namespace http://rymo.io/ | |
// @version 0.1 | |
// @description DEMO: Hides all schedule exception icons on the timesheet. | |
// @author @rymoio | |
// @match https://demo.openair.com/timesheet.pl?* | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
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
slice("●●●●●●●●●●", 0, floor(prop("Progress") * 10)) + slice("◌◌◌◌◌◌◌◌◌◌", 0, ceil((1 - prop("Progress")) * 10)) + " " + format(prop("Progress") * 100) + "%" |
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
(formatDate(prop("Due Date"), "YW") == formatDate(now(), "YW")) ? true : false |
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
if(empty(prop("Due Date")), "N/A", if(dateBetween(prop("Due Date"), now(), "days") + 1 < 0, "Past Due", if(dateBetween(prop("Due Date"), now(), "days") + 1 == 0, "Today", if(dateBetween(prop("Due Date"), now(), "days") + 1 == 1, "Tomorrow", format(dateBetween(prop("Due Date"), now(), "days") + 1) + " days")))) |
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
# https://stackoverflow.com/questions/34146236/restart-heroku-local-on-file-change | |
nodemon --exec "heroku local" --signal SIGTERM |
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
#1d1d1d,#000000,#0ba8ca,#FFFFFF,#075566,#FFFFFF,#0ba8ca,#EB4D5C |
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
#!/usr/bin/env python | |
import string | |
import random | |
def password_generator(size=8, chars=string.ascii_letters + string.digits): | |
""" | |
Returns a string of random characters, useful in generating temporary | |
passwords for automated password resets. | |
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
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700); | |
/* written by riliwan balogun http://www.facebook.com/riliwan.rabo*/ | |
.board{ | |
width: 75%; | |
margin: 60px auto; | |
height: 500px; | |
background: #fff; | |
/*box-shadow: 10px 10px #ccc,-10px 20px #ddd;*/ | |
} | |
.board .nav-tabs { |