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
function getAllMuxes() { | |
return fetch('/api/mpegts/mux/grid', | |
{ | |
body: 'start=0&limit=999999999&sort=name&dir=ASC', method: 'POST', | |
credentials: 'include', | |
headers: { | |
'Accept': 'application/json, application/xml, text/plain, text/html, *.*', | |
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8' | |
} | |
} |
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
import { useEffect } from 'react'; | |
/** | |
* Hook that handles clicks outside of the passed refs or its children | |
*/ | |
export default function useClickOutside(refs: Array<any>, callback: any) { | |
/** | |
* Handle click on outside of element | |
*/ |
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
import { useEffect } from 'react'; | |
/** | |
* Hook that handles clicks outside of the passed refs or its children | |
*/ | |
export default function useClickOutside(refs: Array<any>, callback: any) { | |
/** | |
* Handle click on outside of element | |
*/ |
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
.monaco-shell { | |
font-family: "Operator Mono", "Inconsolata", monospace; | |
} | |
/* This makes the dirty tab circle yellow */ | |
.vs-dark | |
.monaco-workbench | |
> .part.editor | |
> .content | |
> .one-editor-silo |