b0nfire.xyz is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
It's lit
Admin email
ww@mailfire.xyz
Admin account
@firekeeper@b0nfire.xyz

Search results for tag #python

[?]Jesus Michał von Gentoo 🏔 (he) » 🌐
@mgorny@social.treehouse.systems

In case you're wondering, the zeroconf project is now busy asking people to agree to let them relicense the project from the chosen by the original author to make corporations happy, and happily the code written by people who don't agree. Of course they also happily ignore what "derived works" are, and only care about lines of code.

github.com/python-zeroconf/pyt

    [?]Thayer » 🌐
    @Thayer@mastodon.social

    UK based only - Senior Developer for The Electoral Commission // £70,000 // fully remote possible, hybrid at UK hubs also fine if your preference.

    Fancy working with interesting data problems, and services that need to scale to millions of voters? You'll help bring a major voter-information service in-house and shape what comes next.

    YOUR COUNTRY NEEDS YOU! We all need you. Plz.

    Interested? I'm sole recruiter for this > thayer@team-prime.com CVs pls!

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      The Open Geospatial Python Series by Qiusheng Wu 📚 on Leanpub!

      Apprenez Python pour le géospatial, des bases jusqu’à la GeoAI avancée. Développez des workflows concrets pour les SIG, la gestion des données spatiales et l’analyse basée sur l’IA.

      Link: leanpub.com/b/geopython-fr

        [?]Digital Mark λ ☕️ 8647 » 🌐
        @mdhughes@appdot.net

        While hacking today, I needed to center some text, normally I do that in BBEdit but this was in shell.

        Am I just missing an obvious shell command? for 40 years? Quick apropos or searching didn't turn one up..

        Anyway, here's align.py.
        no args or -c: Center, -l: Left, -r: Right
        -w N: set width if not shell columns.

        (WHICH, Python can't get w from os.environ["COLUMNS"] or stty size, had to use shutil. WEIRD.)

        #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created 2026-06-28 19:19:52
# Copyright © 2026 by Mark Damon Hughes. All Rights Reserved. See BSDLicense.txt.

import os, sys, shutil

def realign(line, align, width):
  line=line.strip()
  if align=="L":
    return line
  elif align=="C":
    return " "*( int((width-len(line))/2) )+line
  elif align=="R":
    return " "*( width-len(line) )+line
  else:
    raise "Invalid alignment %s" % (align,)

def main(argv):
  width=0
  align="C"
  i=0
  while i<len(argv):
    a=argv[i]
    if a=="-w":
      width=int(argv[i+1])
      i+=1
    elif a=="-l":
      align="L"
    elif a=="-c":
      align="C"
    elif a=="-r":
      align="R"
    else:
      raise "Unknown argument %s" % (a,)
    i+=1

  if not width:
    width=shutil.get_terminal_size()[0]

  for line in sys.stdin:
    print(realign(line, align, width))
  return 0

if __name__ == '__main__':
  rc = main(sys.argv[1:])
  if rc: sys.exit(rc)

        Alt...#!/usr/bin/env python # -*- coding: utf-8 -*- # Created 2026-06-28 19:19:52 # Copyright © 2026 by Mark Damon Hughes. All Rights Reserved. See BSDLicense.txt. import os, sys, shutil def realign(line, align, width): line=line.strip() if align=="L": return line elif align=="C": return " "*( int((width-len(line))/2) )+line elif align=="R": return " "*( width-len(line) )+line else: raise "Invalid alignment %s" % (align,) def main(argv): width=0 align="C" i=0 while i<len(argv): a=argv[i] if a=="-w": width=int(argv[i+1]) i+=1 elif a=="-l": align="L" elif a=="-c": align="C" elif a=="-r": align="R" else: raise "Unknown argument %s" % (a,) i+=1 if not width: width=shutil.get_terminal_size()[0] for line in sys.stdin: print(realign(line, align, width)) return 0 if __name__ == '__main__': rc = main(sys.argv[1:]) if rc: sys.exit(rc)

          [?]Bryan L. Fordham » 🌐
          @Bfordham@infosec.exchange

          As part of trying to get my on a better track, I've begun checking my blood every few days. I'm technically pre-diabetic, and have an insanely strong family history of Type 2 Diabetes.

          Naturally I spotted the USB port on the extra glucometer my mom gave me, and then found github.com/glucometers-tech/gl

          Anyone us this? I'm interested in adding some features. More than that I'd love to make something that's easier for non-techie folks to use.

          Plug in your monitor, have it identify what driver you need, and install it for you. Maybe a nice interface to view things.

          Anyone messed with something like that?

            Viss boosted

            [?]AA » 🌐
            @AAKL@infosec.exchange

            New.

            Ontinue: Living Off the Cloud: A Python Implant Hiding Its Entire C2 Inside Microsoft 365 & Azure ontinue.com/resource/python-im

              [?]N-gated Hacker News » 🤖 🌐
              @ngate@mastodon.social

              Ah, the classic "let's cram a book into a 'cheatsheet' and hope you don't notice" trick. 🙄 Just what we all need, another resource promising to be 'definitive' while really just trying to sell you an O'Reilly book and a plane ticket to Houston. ✈️📖
              opensource.posit.co/resources/

                [?]Leanpub » 🌐
                @leanpub@mastodon.social

                The Open Geospatial Python Series by Qiusheng Wu 📚 on Leanpub!

                Aprende Python geoespacial desde cero hasta la GeoAI avanzada. Construye flujos de trabajo reales para SIG, gestión de datos espaciales y análisis impulsado por inteligencia artificial.

                Link: leanpub.com/b/geopython-es

                  Back to top - More...