configure
set firewall group address-group BLOCKED_DOMAINS address 142.11.206.73
set firewall name WAN_OUT rule 10 description "block sfrclak.com"
set firewall name WAN_OUT rule 10 action drop
set firewall name WAN_OUT rule 10 destination group address-group BLOCKED_DOMAINS
commit
save
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
Show hidden characters
| { | |
| "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
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
| // usage: | |
| // { | |
| // xtype: 'ux_echart', | |
| // echartCfg: { | |
| // // ... | |
| // } | |
| // } | |
| Ext.define('Ext.ux.Echart', { | |
| extend: 'Ext.Container', |
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
| // usage: | |
| // { | |
| // xtype: 'ux_highchart', | |
| // highchartCfg: { | |
| // // ... | |
| // } | |
| // } | |
| Ext.define('Ext.ux.Highchart', { | |
| extend: 'Ext.Container', |
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
| # 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); |
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
| # 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 => {
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
| 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 |
NewerOlder