Skip to content

Instantly share code, notes, and snippets.

@Spheerys
Spheerys / CustomButtonsWidget
Last active December 7, 2023 09:11
Quick and dirty "Quickstart Buttons" remplacement for MODX3, by using a widget with html code.
<!--
Quick and dirty "Quickstart Buttons" remplacement for MODX3, by using a widget with html code.
For the available icons, look here : https://fontawesome.com/v5/search?o=r&m=free
Add stylisation with a plugin (see Zim Doc)
-->
<div class="CustomButtonsWidget">
<a href="./?a=resource/update&id=1">
<article>
<i class="fas fa-spa"></i>
@Spheerys
Spheerys / xsend
Created January 25, 2016 09:22 — forked from tskrynnyk/xsend
Command-line utility for sending jabber messages.
#!/usr/bin/python
# xsend: command-line utility for sending jabber messages
# http://xmpppy.sourceforge.net/
#
import sys,os,xmpp,time
if len(sys.argv) < 2:
print "Syntax: xsend JID msg"
sys.exit(0)