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 Board Additional Info | |
// @description Adds additional data next to each issue in single line in Jira backlog. | |
// @namespace https://saldainius.lt/ | |
// @version 1.2 | |
// @author Dainius | |
// @downloadURL https://gist.githubusercontent.com/Dainius14/0de0e65b12e41c9936da8a586d0c2dd6/raw/jira-board-additional-info.user.js | |
// @updateURL https://gist.githubusercontent.com/Dainius14/0de0e65b12e41c9936da8a586d0c2dd6/raw/jira-board-additional-info.user.js | |
// @website https://gist.github.com/Dainius14/0de0e65b12e41c9936da8a586d0c2dd6/ | |
// @match https://jira.cid-dev.net/secure/RapidBoard.jspa* |
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 OG Developer Sound Pack | |
// @namespace https://saldainius.lt | |
// @downloadUrl https://gist.github.com/Dainius14/8a9d5bfa06458a93a00b8d34111e7e4f/raw/og-developer-sound-pack.user.js | |
// @updateUrl https://gist.github.com/Dainius14/8a9d5bfa06458a93a00b8d34111e7e4f/raw/og-developer-sound-pack.user.js | |
// @website https://gist.github.com/Dainius14/8a9d5bfa06458a93a00b8d34111e7e4f/ | |
// @version 1.5.2 | |
// @description Plays sound when interacting with Bitbucket and Jira | |
// @author Dainius | |
// @match https://bitbucket.cid-dev.net/projects/*/repos/*/pull-requests/* |
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
# Source: https://www.geeksforgeeks.org/find-paths-given-source-destination/ | |
# Modified by Dainius | |
from collections import defaultdict | |
class Graph: | |
""" | |
Represents undirected graph. | |
""" |
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
using SimpleBrowser; | |
using System.Threading; | |
static class FbHelper | |
{ | |
private static readonly string URL = @"https://www.facebook.com/v2.6/dialog/oauth?redirect_uri=fb464891386855067%3A%2F%2Fauthorize%2F&scope=user_birthday,user_photos,user_education_history,email,user_relationship_details,user_friends,user_work_history,user_likes&response_type=token%2Csigned_request&client_id=464891386855067"; | |
private static readonly string USER_AGENT = "Mozilla/5.0 (Linux; U; en-gb; KFTHWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.16 Safari/535.19"; | |
public static string GetFbToken(string email, string password) | |
{ |