Handouts
Practice material: workbook
%%{
init: {
javascript: (function() { | |
const version = '1.2'; | |
if (document.URL.startsWith("https://www.scribd.com/doc")) { | |
let btn = document.createElement("BUTTON"), nv = ""; | |
btn.className = "wrapper__filled-button download_btn"; | |
btn.innerHTML = "Reveal"; | |
btn.style.cssText = 'position:fixed;width:117px;z-index:59;bottom:14vh;right:10vw'; | |
btn.onclick = () => { | |
window.scrollTo(0, 0); | |
let o = document.createElement("DIV"); |
javascript: (function() { | |
var m = document.querySelector('.qu-zIndex--alert'); | |
if (m) { | |
m.style.display = 'none'; | |
m.nextElementSibling.style.overflow = 'auto'; | |
m.nextElementSibling.style.filter = 'none'; | |
} else { | |
var e = document.querySelector('#root .q-box.qu-overflow--hidden'); | |
document.querySelector('.qu-zIndex--blocking_wall').style.display = e.style.filter = 'none'; | |
e.style.overflow = 'auto'; |
def decToRoman(n): | |
dec = { | |
"1": "I", | |
"5": "V", | |
"10": "X", | |
"50": "L", | |
"100": "C", | |
"500": "D", | |
"1000": "M" | |
} |
javascript: (function() { | |
if (/https:\/\/(www\.)?glassdoor\.co(\.in|m)/g.test(document.URL)) { | |
document.querySelector('#HardsellOverlay').remove(); | |
document.body.style.overflow = 'auto'; | |
document.body.onscroll = null; | |
[...document.querySelectorAll('.css-lyyc14')].forEach(e => e.style.maxHeight = 'unset'); | |
} else alert("This Feature only works Glassdoor websites"); | |
})(); |
/* This script was auto generated on previewing the "Pretty Print"-ed response body of `json_formatter.min.js` file using the Chrome DevTools's Network tab whereas `json_formatter.min.js` file itself was created manually */ | |
window['pre']; | |
const version = "4.2.3"; | |
const isExpanded = true; | |
window['recurse'] = (obj,keyname='',isLast=false)=>{ | |
const expanded = isExpanded ? 'expanded' : '' | |
, c = isLast ? '' : ','; | |
let type = typeof obj | |
, dom = document.createDocumentFragment() | |
, inner = document.createDocumentFragment() |
javascript: (function() { | |
let cvs = document.querySelectorAll('.konvajs-content > canvas'); | |
let backup = cvs[0].toDataURL("image/png"); | |
let img = document.createElement("IMG"); | |
img.onload = () => { | |
cvs[0].getContext("2d").drawImage(img, 0, 0); | |
cvs[0].toBlob(blob => { | |
navigator.clipboard.write([new ClipboardItem({ | |
"image/png": blob | |
})]); |
javascript: (function() { | |
if (/^https?:\/\/(www\.)?geeksforgeeks\./g.test(document.URL)) { | |
document.querySelector(".login-modal-div").style.display = "none"; | |
window.onscroll = null; | |
document.body.style.position = "initial"; | |
} else alert("This feature only works in GeeksForGeeks site"); | |
})(); |
javascript:(function(){ | |
document.querySelector('meta[name="viewport"]').content = 'width=device-width, initial-scale=1.0'; | |
const st = document.body.lastChild.tagName === 'STYLE' ? document.body.lastChild : document.createElement('style'); | |
document.body.append(st); | |
document.body.style.zoom = window.devicePixelRatio; | |
const frame = document.getElementsByClassName('_1XkO3')[0]; | |
window.onpopstate = e => { | |
let btn = document.querySelector('button.bmJTq'); | |
if(btn){ | |
btn.click(); |
FROM node:latest | |
ARG UID | |
ARG GID | |
RUN apt update -y \ | |
&& apt upgrade -y | |
USER $UID:$GID |
Handouts
Practice material: workbook
%%{
init: {