This file contains hidden or 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 JIRA Meetinator | |
| // @namespace http://shmulikf.wix.com/ | |
| // @version 1.0.6 | |
| // @description Improve team meeting experience in Jira: Enable randomly selecting a team member, set time limit for each team member, celebrate completion, show time statistics. | |
| // @author Shmulik Flint | |
| // @match https://jira.wixpress.com/secure/RapidBoard.jspa* | |
| // @icon https://jira.wixpress.com/s/-8bjowq/813009/g345zt/_/images/fav-jsw.png | |
| // @downloadURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw | |
| // @updateURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw |
This file contains hidden or 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 firebase from 'firebase/app'; | |
| import { getFirebaseToken } from './getFirebaseToken'; | |
| describe('getFirebaseToken', () => { | |
| beforeAll(() => { | |
| jest.spyOn(firebase, 'initializeApp').mockImplementation(jest.fn()); | |
| jest.spyOn(firebase, 'messaging').mockReturnValue({ getToken: jest.fn() }); | |
| }) | |
| it('should call firebase.initializeAp and firebase.messaging.getToken', async () => { |
This file contains hidden or 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 firebase from 'firebase/app'; | |
| import 'firebase/messaging'; | |
| import { getConfig, getPublicKey, registerServiceWorker } from './firebase'; | |
| export async function getFirebaseToken() { | |
| firebase.initializeApp(getConfig()); | |
| return firebase.messaging().getToken({ | |
| vapidKey: getPublicKey(), | |
| serviceWorkerRegistration: await registerServiceWorker(), | |
| }); |
This file contains hidden or 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 JIRA Meetinator | |
| // @namespace http://shmulikf.wix.com/ | |
| // @version 0.15 | |
| // @description Improve team meeting experience in Jira: Enable randomly selecting a team member, set time limit for each team member, celebrate completion. | |
| // @author Shmulik Flint | |
| // @match https://jira.wixpress.com/secure/RapidBoard.jspa* | |
| // @icon https://jira.wixpress.com/s/-8bjowq/813009/g345zt/_/images/fav-jsw.png | |
| // @downloadURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw/JIRA-Meetinator.user.js | |
| // @updateURL https://gist.githubusercontent.com/splintor/f10c20926335324c6ff8e007439ed64c/raw/JIRA-Meetinator.user.js |
This file contains hidden or 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
| { | |
| "channelDefinitions":[ | |
| { | |
| "channel":"EMAIL", | |
| "shoutoutApi":{ | |
| }, | |
| "disabled":false | |
| }, | |
| { | |
| "channel":"MOBILE", |
This file contains hidden or 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
| [ | |
| '#desktop-app-toolbar .toolbar-dropdown.branch-button', | |
| '.branches-container', | |
| '.branches-container .branches-list', | |
| ].forEach(s => Array.from(document.styleSheets[0].cssRules) | |
| .find(r => r.selectorText === s) | |
| .style.width = '600px') |
This file contains hidden or 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 Planet of Apes - Add vertical name | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @author Shmulik Flint | |
| // @match https://manage.wix.com/dashboard/*/preinstall-automations | |
| // @icon https://www.google.com/s2/favicons?domain=wix.com | |
| // @downloadURL https://gist.github.com/splintor/1ba478e534060b77ca5b3c8c9acb7bec/raw | |
| // @updateURL https://gist.github.com/splintor/1ba478e534060b77ca5b3c8c9acb7bec/raw | |
| // ==/UserScript== |
This file contains hidden or 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 Zoom - auto-close browser window | |
| // @version 0.2 | |
| // @description Auto-close Zoom browser window after 15 seconds | |
| // @author Shmulik Flint | |
| // @match https://wix.zoom.us/* | |
| // @match https://zoom.us/postattendee* | |
| // @downloadURL https://gist.github.com/splintor/fc4e357f7c7b0dc2701dd12101fd1a42/raw | |
| // @updateURL https://gist.github.com/splintor/fc4e357f7c7b0dc2701dd12101fd1a42/raw | |
| // @icon https://wix.zoom.us/zoom.ico |
This file contains hidden or 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 TeamCity Auto-login | |
| // @version 0.1 | |
| // @description Click the "Login via oAuth" button when TeamCity is not connected | |
| // @author Shmulik Flint | |
| // @match http://*tc.dev.wixpress.com/login.html | |
| // @downloadURL https://gist.github.com/splintor/6a2b8b4bc81210fc33483a423fc90bbf/raw | |
| // @updateURL https://gist.github.com/splintor/6a2b8b4bc81210fc33483a423fc90bbf/raw | |
| // @icon http://tc.dev.wixpress.com/favicon.ico | |
| // ==/UserScript== |
This file contains hidden or 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 JIRA - Highlight tickets assigned to current user | |
| // @namespace https://github.com/splintor/ | |
| // @version 0.2 | |
| // @description Make tickets assigned to current user more prominent | |
| // @author You | |
| // @match https://jira.wixpress.com/* | |
| // @icon https://jira.wixpress.com/s/axu8xe/803004/0ce41cd00ea738d648224bf4342ed953/_/images/fav-jsw.png | |
| // @downloadURL https://gist.github.com/splintor/a8b875e3778744c6b679b2f7db289588/raw | |
| // @updateURL https://gist.github.com/splintor/a8b875e3778744c6b679b2f7db289588/raw |