in Chrome goto Link
Find the for for Profile Path
on OSX the parent folder is ~/Library/Application Support/Google/Chrome/
Find in other profile folders the Bookmarks
or Bookmarks.stored
copy of your stored bookmarks file
let urlParams = new URLSearchParams(location.search); | |
let fromUrl = /\/browse\/(.*)/.exec(location.pathname); | |
let jiraId; | |
if (urlParams.has('selectedIssue')) { | |
jiraId = urlParams.get('selectedIssue'); | |
} else if (fromUrl) { | |
jiraId = fromUrl[1]; | |
} |
Regex to filter out most meaningless requests in the Network tab: | |
/(?<!\.(css|js|gif|png|ico|ttf|woff2?))$/ |
function retry(isDone, next) { | |
var current_trial = 0, max_retry = 50, interval = 10, is_timeout = false; | |
var id = window.setInterval( | |
function() { | |
if (isDone()) { | |
window.clearInterval(id); | |
next(is_timeout); | |
} | |
if (current_trial++ > max_retry) { | |
window.clearInterval(id); |
function retry(isDone, next) { | |
var current_trial = 0, max_retry = 50, interval = 10, is_timeout = false; | |
var id = window.setInterval( | |
function() { | |
if (isDone()) { | |
window.clearInterval(id); | |
next(is_timeout); | |
} | |
if (current_trial++ > max_retry) { | |
window.clearInterval(id); |
async function async1() { | |
console.log('async 1') | |
await async2() | |
await async3() | |
console.log('async 1-1') | |
} | |
async function async2() { | |
console.log('async 2') | |
} |
// jQuery no-double-tap-zoom plugin | |
// Triple-licensed: Public Domain, MIT and WTFPL license - share and enjoy! | |
(function($) { | |
var IS_IOS = /iphone|ipad/i.test(navigator.userAgent); | |
$.fn.nodoubletapzoom = function() { | |
if (IS_IOS) | |
$(this).bind('touchstart', function preventZoom(e) { | |
var t2 = e.timeStamp |
content+='<a href= '#' class='pdf_viewer' data-url='+val2.displayUrl+ '>' + val2.displayUrl +'</a>' | |
Include this line in JS | |
$('a.pdf_viewer').live('click', function(e){ | |
e.preventDefault(); | |
url = $(e.target).data('url'); | |
window.location = url; | |
}); |
# Tested on Ubuntu 16.04 and X11, 2019 | |
# 1. Download NVIDIA driver as a .run file | |
# 2. Stop X-Server | |
sudo service lightdm stop | |
# 3. Blacklist Nouveau driver | |
sudo nano /etc/modprobe.d/blacklist-nouveau.conf |