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
javascript: (function() { | |
var url = prompt('URL of CSS to inject:', ''); | |
if (url) { | |
console.log('CSS inject request URL:', url); | |
var link = document.createElement('link'); | |
link.href = url; |
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
javascript: (function() { | |
var url = prompt('URL of script to inject:', 'https://code.jquery.com/jquery-3.4.1.min.js'); | |
if (url) { | |
console.log('Script inject request URL:', url); | |
var script = document.createElement('script'); | |
script.src = url; |
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 - Original estimate sum (original) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description See Original and Remaning Sums | |
// @author You | |
// @match http://bit-develop-01.brisa.pt/jira/issues/* | |
// @grant none | |
// ==/UserScript== | |
// @require http://code.jquery.com/jquery-3.4.1.min.js |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"name": "HASH KEY", | |
"unified": "0023-FE0F-20E3", | |
"non_qualified": "0023-20E3", | |
"docomo": "E6E0", | |
"au": "EB84", | |
"softbank": "E210", | |
"google": "FE82C", |
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
extension UIColor { | |
convenience init(hex: String) { | |
var red: CGFloat = 0.0 | |
var green: CGFloat = 0.0 | |
var blue: CGFloat = 0.0 | |
var alpha: CGFloat = 1.0 | |
if hex.hasPrefix("#") { | |
let index = advance(hex.startIndex, 1) | |
let _hex = hex.substringFromIndex(index) |
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
func getCountryName () -> String { | |
let locale = NSLocale.currentLocale() | |
let countryCode = locale.objectForKey(NSLocaleCountryCode) as! String | |
let usLocale = NSLocale(localeIdentifier: "en_US") | |
let country = usLocale.displayNameForKey(NSLocaleCountryCode, value: countryCode) | |
return country! | |
} |