Skip to content

Instantly share code, notes, and snippets.

@luismanson
luismanson / fontforge-limit-glyphs.py
Created October 24, 2019 00:20 — forked from jdbdnz/fontforge-limit-glyphs.py
Limit FontAwesome to just those Glyphs I want to use
# Open font in [fontforge](https://fontforge.github.io/en-US/) (FontAwesome's [fa-solid-900.woff](https://github.com/FortAwesome/Font-Awesome/blob/master/webfonts/fa-solid-900.woff) in my case)
# So you can see what you're doing: Menu > Encoding > Compact
# ctrl+a to select all glyphs
# ctrl+. should open Execute Script
# Ensure desiredGlyphNames includes all glyphs used in app
desiredGlyphNames = ["caret-down", "caret-up", "chart-bar", "check", "chevron-down", "clipboard-list", "comments", "expand", "filter", "flask", "images", "info-circle", "layer-group", "redo", "ruler", "ruler-horizontal", "ruler-vertical", "sort-amount-down", "star", "table", "tag", "users", "video"]
font = fontforge.activeFont()
@luismanson
luismanson / vlmcsd.service
Created November 6, 2019 15:42 — forked from FalconIA/vlmcsd.service
vlmcsd boot script for systemd
[Unit]
Description=vlmcsd
Wants=network.target
After=syslog.target
[Service]
Type=forking
PIDFile=/var/run/vlmcsd.pid
ExecStart=/usr/local/vlmcsd/vlmcsd -l /var/log/vlmcsd.log -p /var/run/vlmcsd.pid
@luismanson
luismanson / OutlookMail2Task
Created June 2, 2020 18:19
This VBA Macro create Kaboard Tasks over JSON http requests
Attribute VB_Name = "Modulo1"
' usar SelfCert.exe y tools - digital signatur
' loop mails
' https://www.slipstick.com/developer/outlook-vba-work-with-open-item-or-select-item/
Sub loopMails()
Dim Sarasa As Object
Dim x, mailItem As Outlook.mailItem
For Each x In Application.ActiveExplorer.Selection
@luismanson
luismanson / debian-install-megacli.md
Created October 20, 2021 17:26 — forked from fxkraus/debian-install-megacli.md
Install LSI MegaCli .deb package on Debian/Ubuntu

download

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

unzip

unzip 8-07-14_MegaCLI.zip
@luismanson
luismanson / NetworkManager.conf
Created September 27, 2022 22:48 — forked from lanrat/NetworkManager.conf
NetworkManager ignore docker, virtualbox, and vmware adapters
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[keyfile]
unmanaged-devices=interface-name:docker0;interface-name:vmnet1;interface-name:vmnet8;interface-name:vboxnet0