Skip to content

Instantly share code, notes, and snippets.

@adocampo
adocampo / mycroft.conf
Created May 6, 2018 15:14
mycroft configuration to use spanish
{
"lang": "es-es",
"precise":
{
"dist_url": "http://bootstrap.mycroft.ai/artifacts/static/daily/"
},
"hotwords":
{
"hey mycroft":
{
{
"lang": "es-es",
"enclosure": {
"platform": "kde",
"update": true,
"test": false
},
"tts": {
"mimic": {
"path": "/usr/local/bin/mimic"
@adocampo
adocampo / fonts.conf
Created August 2, 2018 07:34
Resolve ugly fonts on Arch Linux KDE: .config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>

Keybase proof

I hereby claim:

  • I am adocampo on github.
  • I am adocampo (https://keybase.io/adocampo) on keybase.
  • I have a public key ASAxVnNjuoqDnpLWsps9S7I6wJlRI6dx9Xlaa6Xsp_NBHQo

To claim this, I am signing this object:

@adocampo
adocampo / del_cluster.sh
Created February 4, 2019 11:48 — forked from ianchen06/del_cluster.sh
delete proxmox cluster
# source: https://forum.proxmox.com/threads/removing-deleting-a-created-cluster.18887/
#/bin/sh
# stop service
systemctl stop pvestatd.service
systemctl stop pvedaemon.service
systemctl stop pve-cluster.service
systemctl stop corosync
systemctl stop pve-cluster
# edit through sqlite, check, delete, verify
@adocampo
adocampo / config.json
Last active February 8, 2019 08:49
PlexAmp GUI configuration file which doesn't conflicts with KDE Plasma 5 default's hotkeys
"_comment": "this is just a section inside ~/.config/Plexamp/config.json"
"ui": {
"size": 300,
"visualizerenabled": false,
"ontop": true,
"visualizermode": "viz3d",
"visualizerprogram": "Rothko",
"notifications": false,
"keys": {
"next": "Control+Shift+End",
@adocampo
adocampo / fix_espeak_mycroft.sh
Created April 12, 2019 20:07 — forked from zeehio/fix_espeak_mycroft.sh
How to make Spanish espeak say 'mycroft' properly
#!/bin/sh
# 1. Check that espeak fails to transcribe mycroft:
echo "How espeak transcribes 'hola mycroft':"
espeak -v spanish -x -q --pho "hola mycroft"
# 'ola mik**'Oft
echo "How espeak should transcribe 'hola mycroft':"
espeak -v spanish -x -q --pho "hola máicroft"
# 'ola m'aik**Oft
@adocampo
adocampo / .vimrc
Created July 10, 2019 09:29
custom vimrc with more additions
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic — @amix3k
"
" Awesome_version:
" Get this config, nice color schemes and lots of plugins!
"
" Install the awesome version from:
"
" https://github.com/amix/vimrc
@adocampo
adocampo / mycroft.service
Created August 21, 2019 07:57
systemd unit file for mycroft service
# The file must be placed on /usr/lib/systemd/user/mycroft.service
# and need to be run as the user who owns the file permissions
# with the command systemctl --user start|enable mycroft.service
[Unit]
Description=Mycroft main service
After=network.target local-fs.target remote-fs.target
[Service]
Type=forking
RemainAfterExit=no

Keybase proof

I hereby claim:

  • I am adocampo on github.
  • I am adocampo (https://keybase.io/adocampo) on keybase.
  • I have a public key ASArxrt8r2flYypPBvgovUPZGyRXqP9xhxWvPAxQQz_RKQo

To claim this, I am signing this object: