Skip to content

Instantly share code, notes, and snippets.

@p4ul
p4ul / jiracount.user.js
Last active August 29, 2015 13:55
Adds "Stories finished this week" to top right of jira rapidboards
// ==UserScript==
// @name Jira Points
// @version 0.1.5
// @description adds issues done this week
// @match https://*.atlassian.net/secure/RapidBoard.jspa*
// ==/UserScript==
// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {
var script = document.createElement("script");
@p4ul
p4ul / test
Created August 15, 2014 03:07 — forked from anonymous/test
lkjlkjlkjlkj
@p4ul
p4ul / bookmarklet.js
Last active December 7, 2017 22:16
Identify jobs in returned data
/** copy and paste this in console (f12) after you have clicked log button on a device, tested on Calamp units **/
function checkLogs() {
var flag_type = {
"E":"Job on Working off",
"F":"Job on Working on",
"C":"Both off"
};
var data = $('#headunit_positions').text()
@p4ul
p4ul / scrape.js
Created March 29, 2020 22:30
country/region bounding box scraper
// go to https://nominatim.openstreetmap.org/search?q=waikato&format=json
// in chrome console paste this
const list = []
const countryRegion = [
'waikato, new zealand',
'perth, australia'
]
for(let i = 0; i < countryRegion.length; i++) {
const searchTerm = countryRegion[i]
@p4ul
p4ul / CHANGELOG.md
Created May 5, 2020 02:16
standard commits test

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.0 (2020-05-05)

Bug Fixes

  • works 6 7bbab1a