- Adopted from: https://stubby4j.com/docs/admin_portal.html
- Inspired by Swagger API docs style & structure: https://petstore.swagger.io/#/pet
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import lxml.etree | |
import lxml.html | |
import requests | |
xml_sample = """<?xml version="1.0" encoding="UTF-8"?> | |
<foo:Results xmlns:foo="http://www.foo.com" xmlns="http://www.bah.com"> | |
<foo:Recordset setCount="2"> |
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
#!env ruby | |
# | |
# brew install sox | |
# | |
def play(note, octave=1) | |
"play -q -n synth sq #{note}#{octave} remix - fade 0 .6 .1 norm; " | |
end | |
song_notes = %w(B A G A B B B A A A G D D B A G A B B B B A A B A G) |
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
#!/usr/bin/env python | |
import logging | |
import socket | |
import sys | |
import threading | |
import paramiko | |
logging.basicConfig() | |
logger = logging.getLogger() |
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
# http://www.mutt.org/doc/manual/ | |
# decrypt passwords | |
source "gpg -d ~/.mutt/passwords.gpg |" | |
# Change the following six lines to match your Gmail account details | |
set imap_user = "[email protected]" | |
set smtp_url = "smtp://[email protected]@smtp.gmail.com:587/" | |
set smtp_authenticators = "gssapi:login" | |
set from = "[email protected]" |
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
# vim: filetype=neomuttrc | |
# Default index colors: | |
color index yellow default '.*' | |
color index_author red default '.*' | |
color index_number blue default | |
color index_subject cyan default '.*' | |
# For new mail: | |
color index brightyellow black "~N" | |
color index_author brightred black "~N" |
This is optional, in case you prefer your nick to be shown as something other than <matrix_nick>[m]
on IRC, e.g. just <matrix_nick>
(without the [m]
suffix) or <libera_nick>
.
Open a private chat with @appservice:libera.chat
:
!nick <new_libera_nick>
Note: This does not change your Matrix nick!
If you want to learn more about this image check out its GitHub repo
Download and setup gcloud SDK on your machine.
Create a new instance with the following settings:
OlderNewer