Get alacritty.
yay alacritty
Install colortty that knows of Gogh color scheme conversion.
cd /tmp
| { | |
| "JS Module": { | |
| "scope": "javascript", | |
| "prefix": "$mod", | |
| "body": [ | |
| "const $1 = (opts = {}) => {", | |
| " const $2 = async () => {", | |
| " $0", | |
| " }", | |
| "", |
Get alacritty.
yay alacritty
Install colortty that knows of Gogh color scheme conversion.
cd /tmp
| // usage: | |
| // { | |
| // xtype: 'ux_echart', | |
| // echartCfg: { | |
| // // ... | |
| // } | |
| // } | |
| Ext.define('Ext.ux.Echart', { | |
| extend: 'Ext.Container', |
| // usage: | |
| // { | |
| // xtype: 'ux_highchart', | |
| // highchartCfg: { | |
| // // ... | |
| // } | |
| // } | |
| Ext.define('Ext.ux.Highchart', { | |
| extend: 'Ext.Container', |
| # source https://superuser.com/a/997448/1027439 | |
| $hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"}; | |
| $kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout'; | |
| New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified); |
| # get image | |
| docker pull neo4j | |
| # list | |
| docker ps # show running containers | |
| docker ps -a # + show all | |
| # new | |
| docker run neo4j # create a new container | |
| docker run --name neo4j-local neo4j # + add a name |
bookmarklet:
javascript:(function(){const formatTrack=item=>{const cue=(item.querySelector('.cue')?.textContent||' ').padStart(8);const[artist='ID',title='ID']=item.querySelector('.trackValue')?.textContent?.split('-').map(s=>s.trim())||[];return`${cue} ${artist} - ${title}`};document.body.innerHTML=`<pre>${Array.from(document.querySelectorAll('.bItm')).map(formatTrack).join('\n')}</pre>`})();source:
const formatTrack = item => {| from __future__ import print_function | |
| import sys | |
| import os | |
| import os.path | |
| from os.path import basename | |
| import argparse | |
| import json | |
| import hashlib | |
| import librosa | |
| import librosa.display |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Collections; | |
| using System.Linq; | |
| namespace Sandbox | |
| { | |
| public class TreeExperiment : IExperiment | |
| { |