start new:
tmux
start new with session name:
tmux new -s myname
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| subscriptionType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { | |
| name |
| javascript:(function(){var scripts=document.getElementsByTagName("script"),regex=/(?<=(\"|\'|\`))\/[a-zA-Z0-9_?&=\/\-\#\.]*(?=(\"|\'|\`))/g;const results=new Set;for(var i=0;i<scripts.length;i++){var t=scripts[i].src;""!=t&&fetch(t).then(function(t){return t.text()}).then(function(t){var e=t.matchAll(regex);for(let r of e)results.add(r[0])}).catch(function(t){console.log("An error occurred: ",t)})}var pageContent=document.documentElement.outerHTML,matches=pageContent.matchAll(regex);for(const match of matches)results.add(match[0]);function writeResults(){results.forEach(function(t){document.write(t+"<br>")})}setTimeout(writeResults,3e3);})(); |
To integrate this progress bar feature directly into the system's core commands (cp, mv), you can create wrapper scripts around the existing commands and place them in a directory that is prioritized in the system's PATH. Here's how you can do it:
Create scripts that wrap around the existing cp, mv commands and add the progress bar functionality.
#!/bin/bash| { | |
| "variables": | |
| { | |
| }, | |
| "globals": | |
| { | |
| "foreground": "#ffffff", | |
| "background": "#010409", | |
| "caret": "#F8F8F0", | |
| "invisibles": "#31333D", |
| { | |
| "type": "dark", | |
| "colors": { | |
| "dropdown.background": "#161b22", | |
| "list.activeSelectionBackground": "#6e768166", | |
| "quickInputList.focusBackground": "#6e768166", | |
| "dropdown.listBackground": "#1e1f1c", | |
| "list.inactiveSelectionBackground": "#6e768166", | |
| "list.hoverBackground": "#3f415f", | |
| "list.dropBackground": "#7d889866", |
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#6272a4", | |
| "foreground": "#f8f8f2", | |
| "leading_diamond": "\ue0b6", |