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 init(){if("linkedin.com"!==location.hostname.replace(/^www\./,""))return void alert("This script only works on LinkedIn");if(location.pathname.startsWith("/notifications/"))loadAll("section button:last-of-type","section:nth-of-type(2)>div>div>div>div","a[href*=\"/update/");else if(location.pathname.startsWith("/jobs/view/")||location.search.startsWith("?currentJobId="))initLinkedInJobStats();else return void alert("Unsupported page")}async function loadAll(a,b,c){document.documentElement.scrollHeight;let d;const e=Date.now();do{if(Date.now()-e>1e3*2){alert("Timeout reached, proceeding with available content");break}if(d=document.documentElement.scrollHeight,window.scrollTo(0,d),await new Promise(a=>setTimeout(a,1e3*2)),d===document.documentElement.scrollHeight)break}while(!0);window.scrollTo(0,0),await new Promise(a=>setTimeout(a,1)),grabText(a,b,c)}function grabText(a,b,c){let d=document.getElementById("highlighterParent");if(!d){d=document.createElement("span"),d.id="highlighterParent";c |
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 allowMultipleURLs(){const a="#externalMultiple";if(document.querySelector("#datatab").click(),document.querySelector(a))return;document.querySelector("#tab1-url-tab").click();const b=document.querySelector("#tab1-url-content"),c=b.parentNode,d=b.cloneNode(!0);for(d.id=a.substring(1);3<d.children.length;)d.removeChild(d.lastChild);const e=d.lastElementChild,f=d.querySelectorAll("*");f.forEach(a=>{const b=a.classList,c=a.attributes;for(let b=c.length-1;0<=b;b--)"class"!==c[b].name&&a.removeAttribute(c[b].name);if("INPUT"===a.tagName&&"text"===a.type){const b=document.createElement("textarea");b.id="externalURLs",b.className=a.className,a.parentNode.replaceChild(b,a)}"LABEL"===a.tagName&&(a.textContent="Enter multiple URLs")}),e&&(e.id="external-error");const g=document.createElement("sub");g.id="externalProgress",d.insertBefore(g,d.firstChild),c.insertBefore(d,b);const h=d.querySelector("button");h&&h.setAttribute("onclick","ExternalBTNs(); return false;")}async function ExternalBTNs(){const |
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:(async function(){function p(t){t=t.replace(/,/g,"").trim();const a=t.split(/[\s\n]/)[0],m=a.match(/([\d.]+)([KkMm]?)/);if(!m)return 0;let n=parseFloat(m[1]),s=m[2].toLowerCase();return s==="k"?n*=1e3:s==="m"&&(n*=1e6),n}let c,cs,f,its,isC1=false;const c1=document.querySelector('[role="list"]>li');if(c1){c=c1.parentElement;its=Array.from(c.querySelectorAll(":scope > li"));cs="div:nth-of-type(2) > div > div:nth-of-type(2)";f=li=>!li.querySelector("button");isC1=true}else{const c2=document.querySelector(".active li.pvs-list__paged-list-item");if(!c2){alert("No groups found");return;}c=c2.parentElement;its=Array.from(c.querySelectorAll("li.pvs-list__paged-list-item"));cs=".pvs-entity__caption-wrapper";f=li=>{const b=li.querySelector("button");if(!b)return!1;const fl=b.textContent.trim().split("\n")[0].trim();return fl==="Joined"}}function hasPaging(){return!!document.querySelector(".artdeco-pagination__pages--number")}async function sD(){return new Promise(r=>{let l=document.documentElement.scrollHeig |
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 settheme(){document.cookie="li_theme=system; path=/; domain=."+location.hostname+"; secure; SameSite=None",dynamic&&document.documentElement.classList.toggle("theme--dark")}function minimizemsg(){var e,t="voyager-web:msg-overlay-state",i="_listBubble",o=localStorage.getItem(t);!o||(o=(e=JSON.parse(o))[0])&&o[i]&&(o[i].isMinimized=!0,localStorage.setItem(t,JSON.stringify(e))),dynamic&&(e="#msg-overlay>div",0<(e=document.querySelectorAll(e)).length&&((e=e[0]).classList.contains("msg-overlay-list-bubble--is-minimized")||e.querySelector("header>div:last-of-type>button:last-of-type").click()))}function%20limitdomain(){"linkedin.com"==location.hostname.replace("www.","")&&(settheme(),minimizemsg(),dynamic||location.reload())}var%20dynamic=!1;limitdomain(); |
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
| import os | |
| import json | |
| import html | |
| import signal | |
| from datetime import datetime | |
| from flask import Flask, render_template, request, jsonify | |
| # Check if `signal.alarm` is supported | |
| signal_supported = hasattr(signal, 'SIGALRM') | |
| if signal_supported: |
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:adder();function adder(){var a="[slot=\"tab\"]:nth-of-type(2)";a=document.querySelectorAll(a),0<a.length&&(a=a[0],"false"==a.getAttribute("aria-selected")&&a.click(),addDownloadButton())}function addDownloadButton(){var a;if(a=document.querySelectorAll("#download"),0==a.length){let a=document.createElement("button");a.id="#download".replace(/[#\.]/,""),a.textContent="Download",a.href="#",a.onclick=function(){return downloader(),!1};let b=document.querySelector("#hosts-classification-button");b.parentNode.insertBefore(a,b.nextSibling)}}function downloader(){let a="#hosts-classification-result-table",b="td";if(b=a+" "+b,a=document.querySelectorAll(a),0<a.length&&0<document.querySelectorAll(b).length){let b=formatTableToCSV(a[0]),c=new Blob([b],{type:"text/csv;charset=utf-8;"}),d=document.createElement("a");d.href=URL.createObjectURL(c),d.setAttribute("download","classification_results.csv"),document.body.appendChild(d),d.click(),document.body.removeChild(d)}}function formatTableToCSV(a){let b=[],c=a. |
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
| #!/bin/bash | |
| # For example a Python command | |
| user=type your user | |
| folder=type your folder | |
| command="source $HOME/.bashrc && source /home/$user/myenv/bin/activate && cd /home/$user/public_html/$folder && python index.py -run" | |
| if [ "$1" = "-dummy" ]; then | |
| command="$command $1" | |
| elif [ "$2" = "-dummy" ]; then |
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
| #!/bin/bash | |
| background=true | |
| MAIN_PATH=/home/youruser/public_html/yourfolder | |
| MAIN_FILE=your Go script WITHOUT extension | |
| export TMPDIR=$MAIN_PATH/tmp/ | |
| cd $MAIN_PATH | |
| if ! $background; then | |
| go run $MAIN_FILE.go "$@" |
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:(d=>{var css=`:root{background-color:#fefefe;filter:invert(100%)}*{background-color:inherit}iframe,[style*="background-image:"]:not([style$=".svg)"]),img:not([src*=".svg"]),video{filter:%20invert(100%)}`,style,id="dark-theme-snippet",ee=d.getElementById(id);if(null!=ee)ee.parentNode.removeChild(ee);else%20{style%20=%20d.createElement('style');style.type="text/css";style.id=id;if(style.styleSheet)style.styleSheet.cssText=css;else%20style.appendChild(d.createTextNode(css));(d.head||d.querySelector('head')).appendChild(style)}})(document) |
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 add_heb_support_prepare(a){var b,c,d,e,f=document.querySelectorAll("input[type=\"submit\"]");for(e=0;e<f.length;e++)f[e].setAttribute("onclick","add_heb_support()");b=` | |
| function add_heb_support() { | |
| var prefix='<html lang="he" />', source_value = CKEDITOR.instances.body.getData(), source = '#cke_contents_body>textarea', source_btn = '#cke_34'; | |
| if (document.querySelectorAll(source).length==0) | |
| document.querySelector(source_btn).click(); | |
| if(source_value.indexOf(prefix) == -1 && contains_heb(source_value)) | |
| CKEDITOR.instances.body.setData(prefix + source_value); | |
| } | |
| function contains_heb(str) { | |
| return (/[\u0590-\u05FF]/).test(str); |