Home:
/:discord://-/- friends:
discord://-/channels/@me/ - nitro:
discord://-/store - message requests:
discord://-/message-requests
General:
| const authToken = ''; // Replace with your actual authorization token prefixed by 'Bearer ' | |
| function delay(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } | |
| async function fetchAndProcessItems(offset) { | |
| const apiUrl = `https://chat.openai.com/backend-api/conversations?offset=${offset}&limit=28&order=updated`; | |
| try { |
Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
| {const dups = document.querySelectorAll('.row'); | |
| dups.forEach((dup) => { | |
| const count = dup.querySelectorAll('input').length; | |
| for(let i = 0; i < count; i++) { | |
| dup.querySelectorAll('input')[i].click(); | |
| } | |
| })} |
| { | |
| let output = ""; | |
| const seperator = ","; | |
| let nn = 0; | |
| document | |
| .querySelectorAll(".outer-cell > .mdl-grid > div:nth-child(2)") | |
| .forEach((transaction) => { | |
| const lll = transaction.parentElement | |
| .querySelector(".mdl-typography--caption") | |
| .innerHTML.search(/(Cancelled|Failed|Pending)/); |
| { | |
| /** | |
| * Paste the script in console to find the average of first 20 Amazon search results | |
| */ | |
| const adProductPrices = []; | |
| const organicProductPrices = []; | |
| // Median from: https://www.w3resource.com/javascript-exercises/fundamental/javascript-fundamental-exercise-88.php | |
| const median = (arr) => { | |
| const mid = Math.floor(arr.length / 2), |
| /* | |
| * Open MMT website datepicker UI | |
| * https://makemytrip.com | |
| * The script below will output the avergae of the date picker month on the left side | |
| */ | |
| { | |
| const all = document.querySelectorAll( | |
| "div.DayPicker-Month:nth-child(1) > div:nth-child(3) div.dateInnerCell p.todayPrice" | |
| ); |
| -- ZOOM | |
| function zoom_in() | |
| zoom = mp.get_property("video-zoom") | |
| zoom_to = zoom + 0.1 | |
| mp.set_property("video-zoom", zoom_to) | |
| end | |
| function zoom_out() | |
| zoom = mp.get_property("video-zoom") | |
| zoom_to = zoom - 0.1 | |
| mp.set_property("video-zoom", zoom_to) |
An opinionated configuration by @niftylettuce for Apple's M1 computer line-up.
I launched Forward Email in November and needed a faster machine to work with.