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
| def ๐๐ฎ๐๐๐(): | |
| try: | |
| ๐ฅe๐ ๐๐๏ธด = "Hello" | |
| ๐จ๐ฌr๐ตแต๏น = "World" | |
| แต๐๐ข๐ฏ๐ฝ(f"{๐ต๏ฝ ๐ต๐ฉยบ_}, {๐โ๐lโ ๏ธด}!") | |
| except ๐ฃ๐ชแต๏ฝ ๐ค๐ฟแตฃ๐๐ as โ ๐c: | |
| ๐rโนโโ("failed: {}".๐๐ผสณแตยช๏ฝ(แต๐ฑ๐ฌ)) | |
| # snippet from unittest/util.py |
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 SE No Sticky Top Bar | |
| // @namespace https://github.com/vyznev/ | |
| // @description Disables the sticky top bar on Stack Exchange sites | |
| // @author Ilmari Karonen | |
| // @version 0.3.0 | |
| // @copyright 2021-2022, Ilmari Karonen | |
| // @downloadURL https://gist.github.com/vyznev/7c9a7ddc5c057d4c895864e460b4a88d/raw/se_no_sticky_topbar.user.js | |
| // @homepageURL https://meta.stackexchange.com/a/368984 | |
| // @match *://*.stackexchange.com/* |
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(){function urlsafe_encode(s){return btoa(s).replace(/\+/g, "-").replace(/\//g, "_")};function encode_utf8(s) {return unescape(encodeURIComponent(s));};function add_spoiler(){try{var input = document.getElementById("input");var left = input.value.slice(0, input.selectionStart);var middle = input.value.slice(input.selectionStart, input.selectionEnd);var right = input.value.slice(input.selectionEnd);if (middle.length == 0){var response = window.prompt("Enter spoiler text.", "");if (response == null || response.length == 0){return;}else{middle = response;};};middle = encode_utf8(middle);middle = encodeURIComponent(urlsafe_encode(middle));middle = "[view spoiler](http://sopython.com/spoiler/" + middle + ")";input.value = left + middle + right;input.setSelectionRange(left.length + middle.length, left.length + middle.length);input.focus();}catch(e){console.log(e);};};function create_button(name, id, func){var buttonArea = document.getElementById("chat-buttons");var button = document.createElemen |