Skip to content

Instantly share code, notes, and snippets.

View phts's full-sized avatar
:octocat:
👾⛱🥁🏡🎧👓🌤🚼🛸🚗🕹🚂🌇🇵🇱🚭🇳🇱🇧🇾🔭🛠🖥🎹♠🥌

Phil Tsaryk phts

:octocat:
👾⛱🥁🏡🎧👓🌤🚼🛸🚗🕹🚂🌇🇵🇱🚭🇳🇱🇧🇾🔭🛠🖥🎹♠🥌
View GitHub Profile
@phts
phts / jira-add-comment-form-fix.user.js
Last active September 25, 2023 16:37
[Userscript] Jira: "Add comment" form above Activity panel
// ==UserScript==
// @name Jira: "Add comment" form above Activity panel
// @namespace https://github.com/phts/
// @version 0.0.2
// @description "Add comment" form above Activity panel on Jira issue page - convinient when sorting is set to "Newest first"
// @author Phil Tsaryk
// @match https://jira.willhillatlas.com/browse/*
// @grant none
// ==/UserScript==
@phts
phts / jira-add-comment-form.user.js
Created September 25, 2023 16:19
[Userscript] Jira: Fix Agile Wallboard Gadget content scroll
// ==UserScript==
// @name Jira: Fix Agile Wallboard Gadget content scroll
// @namespace https://github.com/phts/
// @version 0.0.0
// @description Fix Agile Wallboard Gadget content scroll
// @author Phil Tsaryk
// @match https://jira.willhillatlas.com/secure/Dashboard.jspa
// @match https://jira.willhillatlas.com/secure/MyJiraHome.jspa
// @grant none
// ==/UserScript==
path/to/gource.exe -1280x720 --seconds-per-day 0.2 --date-format "%d %B %Y" -o gource.ppm path/to/repo
# avi
path/to/ffmpeg.exe -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -preset medium -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.x264.mp4
# webm
path/to/ffmpeg.exe -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libvpx -b:v 10000K gource.x264.webm
@phts
phts / eslint-rules.json
Last active June 30, 2019 21:08
All eslint@5 rules with recommended values
{
"accessor-pairs": "off",
"array-bracket-newline": "off",
"array-bracket-spacing": "off",
"array-callback-return": "off",
"array-element-newline": "off",
"arrow-body-style": "off",
"arrow-parens": "off",
"arrow-spacing": "off",
"block-scoped-var": "off",
// ==UserScript==
// @name OLX up!
// @namespace https://github.com/phts/
// @version 1.0.2
// @author Phil Tsaryk
// @match https://www.olx.pl/mojolx/
// @grant none
// ==/UserScript==
(function() {
@phts
phts / luxmed-live.user.js
Last active September 8, 2018 18:31
Automatically check available visits in Luxmed
// ==UserScript==
// @author Phil Tsaryk
// @description Automatically check available visits in Luxmed
// @grant none
// @match https://portalpacjenta.luxmed.pl/PatientPortal/Reservations/Reservation/*
// @name Luxmed live
// @namespace https://github.com/phts/
// @version 1.1.1
// ==/UserScript==
@phts
phts / onliner-up.user.js
Last active January 26, 2020 07:14
Onliner up!
// ==UserScript==
// @grant none
// @match https://baraholka.onliner.by/search.php?type=ufleamarket&id=*
// @name Onliner up!
// @namespace https://github.com/phts/
// @version 1.0.1
// ==/UserScript==
const $upBtn = $('.mass-up .btn-up-2-orange')
if ($upBtn.length) {
@phts
phts / onliner-usd-price.user.js
Last active August 15, 2022 15:38
USD prices on Onliner catalog
// ==UserScript==
// @grant none
// @match https://catalog.onliner.by/*
// @name USD prices on Onliner catalog
// @namespace https://github.com/phts/
// @version 1.0.2
// ==/UserScript==
setTimeout(() => {
const rateText = $('.helpers_hide_desktop .js-currency-widget').text().replace(/[^0-9,]/g, '').replace(/,/g, '.')
javascript:(function() {
let bodycontent = document.querySelectorAll('.bodycontainer')[0];
bodycontent.childNodes[1].remove(); /* <hr> */
bodycontent.childNodes[0].remove(); /* <table> with logo */
let maincontent = document.querySelectorAll('.maincontent')[0];
let table = maincontent.childNodes[2];
maincontent.childNodes[1].remove(); /* <hr> */
maincontent.childNodes[0].remove(); /* <table> with email title */
@phts
phts / epam-quiz-solver.bookmarklet.js
Last active February 13, 2018 17:14
Quiz solver at Epam's Adaptation Portal
javascript:(function() {
var interval,
permutations = {
check: {
'3': [[false, false, true],
[false, true, false],
[true, false, false],
[false, true, true],
[true, true, false],
[true, true, true]],