Fish & Bun in Codespaces
sudo apt update
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt install fish| { | |
| "description": "Allows you to click by double tapping the • key to 'click', only pressing • key once will volume up after a short delay.", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "button1 pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } |
| fish_add_path ~/.fly/bin/ |
| const jiraDisciplines = () => { | |
| const jiraDetailsHs = document.querySelectorAll('h2[data-component-selector=jira-issue-field-heading-field-heading-title]'); | |
| jiraDetailsHs.forEach(h => { | |
| if (h.innerText === 'Components') { | |
| h.innerText = 'Disciplines' | |
| return true; | |
| } | |
| }); | |
| }; |
| const reduceDependabotNoise = () => { | |
| console.info('Custom Arc Boost ran'); | |
| if (window.location.pathname.endsWith('pulls')) { | |
| document.querySelectorAll('.js-issue-row').forEach((issue) => { | |
| const isDependabot = /dependabot/.test( | |
| issue.querySelector('.opened-by')?.innerText, | |
| ); | |
| if (isDependabot) { | |
| issue.style.opacity = 0.25; | |
| issue |
| // Use to serve static files | |
| // Run with `bun server.ts` | |
| const BASE_PATH = './'; | |
| Bun.serve({ | |
| port: 3000, | |
| async fetch(req) { | |
| const path = new URL(req.url).pathname; | |
| const filePath = `${BASE_PATH}${path === '/' ? '/index.html' : path}`; |
sudo apt update
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt update
sudo apt install fish