Goal: make computers talk like human.
My notes from audio (voice + speech) AI research started in 2023.
#!/usr/bin/env bash | |
# | |
# Helper for adding annotations to TaskWarrior tasks. | |
# Features: | |
# - Add multi-line annotations to your tasks using your preferred editor. | |
# - Add single-line annotations as always (via cli arguments) or using the editor. | |
# | |
# Copyright (C) 2021 Rafael Cavalcanti <https://rafaelc.org/dev> | |
# Copyright (C) 2016 djp <djp@cutter> | |
# |
This is just a dump of some interesting undocumented features of webOS (3.8 specifically, on early 2018 4k LG TV) and other development-related tips.
// ==UserScript== | |
// @name Resolve t.co links on twitter | |
// @namespace Violentmonkey Scripts | |
// @match *://twitter.com/* | |
// @grant GM_xmlhttpRequest | |
// @version 1.1 | |
// @author @jix_ | |
// @homepage https://gist.github.com/jix/e67c127820954e1d1571c1f6f800ac2c | |
// @description Tries to resolve all annoying t.co links on twitter and replaces them with the | |
// target URL. |
// Work for RedMi 2100 firmware 2.0.23 | |
// http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rm2100/miwifi_rm2100_all_fb720_2.0.23.bin | |
function getSTOK() { | |
let match = location.href.match(/;stok=(.*?)\//); | |
if (!match) { | |
return null; | |
} | |
return match[1]; | |
} |
Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.
Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27
If you have any linux machine, use that or install a vm if you don't have one.
Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx
With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.
const router = require('./router'); | |
router.setRoutes([ | |
{ | |
path: '/ping', | |
method: 'GET', | |
handler: ping | |
}, | |
{ | |
path: '/hello/:name', |
Replacing Netflix and Amazon keys of the webOS LG TV LG Magic Remote with other apps
This procedure allows substituting one or both Netflix and Amazon keys of the Magic Remote Control Unit with other apps or TV control menus of the webOS LG TV.
Netflix and Amazon keys can be found just over the Red-Green-Yellow-Blue color buttons of such remote.
Assumption for this procedure is that you accept to uninstall the apps related to the keys to be substituted. Example: if you want to replace the Netflix key, you need to uninstall Netflix (possibly, you are not using Netflix if you do not need such key).
To uninstall Netflix or Amazon Prime, press the Home key of the Magic Remote, select the "LG Content Store" app, press "APP" at the top of the screen, press "My Apps", press the "Rem
#!/bin/bash | |
CONFIG_PATH=~/.config/Code | |
for i in $CONFIG_PATH/User/workspaceStorage/*; do | |
if [ -f $i/workspace.json ]; then | |
folder="$(python3 -c "import sys, json; print(json.load(open(sys.argv[1], 'r'))['folder'])" $i/workspace.json 2>/dev/null | sed 's#^file://##;s/+/ /g;s/%\(..\)/\\x\1/g;')" | |
if [ -n "$folder" ] && [ ! -d "$folder" ]; then | |
echo "Removing workspace $(basename $i) for deleted folder $folder of size $(du -sh $i|cut -f1)" |