#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
[account] | |
first_login_game = 0 | |
[settings] | |
open_music = 1 | |
voice_language = english | |
graphic_lvl_reported = 1 | |
match_type = 100004 | |
[basic_setting] |
// https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Statements/funcoes_assincronas | |
function recuperarDadosdeSessao(){ | |
return new Promisse( resolve => { | |
$.ajax({ | |
url:'../resource/Sessoes/Sessoes.php', | |
type:'GET', | |
dataType:'json', | |
success: function(retorno){ | |
resolve(retorno) | |
}, |
#!/bin/bash | |
# allow settings to be updated via environment | |
: "${xvfb_lockdir:=$HOME/.xvfb-locks}" | |
: "${xvfb_display_min:=99}" | |
: "${xvfb_display_max:=599}" | |
mkdir -p -- "$xvfb_lockdir" || exit |
{ | |
"A": 34, | |
"B": 29, | |
"C": 26, | |
"D": 30, | |
"E": 46, | |
"F": 49, | |
"G": 47, | |
"H": 74, | |
"K": 311, |
#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");.ui-item{--g:true;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-radius:10px;border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);font-family:Montserrat!important;overflow:hidden}.ui-item:before{--tw-backdrop-blur:blur(2px)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(- |