Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
| Action | Windows/Linux | macOS |
|---|---|---|
| New window | Ctrl+Shift+N | Cmd+N |
| Close window | Alt+F4 | Cmd+Shift+W |
| javascript:/* Adblock Simple */ | |
| (function(){ | |
| const exceptOrigins = [ | |
| 'https://disqus.com', | |
| document.origin | |
| ]; | |
| function remIF(e){ | |
| try{ | |
| var orgn = new URL(e.src || 'http://unknown-src').origin; |
| (function() { | |
| var CLASS = 'hide-images'; | |
| var STYLE = 'html body,html body *,html body *::before,html body *::after { background-image: none !important; } html body img, html body svg, html body video, html body iframe { opacity: 0.02 !important; }'; | |
| var block = document.querySelector('.' + CLASS); | |
| // add/remove style block to override images | |
| if (block) block.remove(); | |
| else { | |
| block = document.createElement('style'); | |
| block.className = CLASS; |
| javascript:void(function(){setInterval(function(){document.querySelectorAll('iframe').forEach(function(element){console.log('Iframe Killa - Removing Element:', element);element.parentNode.removeChild(element)})},100)}()); |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.net.URL; | |
| import org.apache.commons.io.FileUtils; | |
| import org.junit.Assert; | |
| import org.junit.Test; | |
| import org.openqa.selenium.OutputType; | |
| import org.openqa.selenium.Platform; |
| #!/usr/bin/env bash | |
| # Formatting constants | |
| export BOLD=`tput bold` | |
| export UNDERLINE_ON=`tput smul` | |
| export UNDERLINE_OFF=`tput rmul` | |
| export TEXT_BLACK=`tput setaf 0` | |
| export TEXT_RED=`tput setaf 1` | |
| export TEXT_GREEN=`tput setaf 2` | |
| export TEXT_YELLOW=`tput setaf 3` |