The packages.vectorlinux.com API.
This file contains 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
module irc | |
go 1.18 | |
require ( | |
github.com/charmbracelet/bubbletea v0.20.0 | |
github.com/jiyeyuran/go-eventemitter v1.4.0 | |
) | |
require ( |
This file contains 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
# coding: utf-8 | |
"""Instance and class methods that can share a name""" | |
class DualMethod(object): | |
"""A method that can be called as instance method and as class method | |
>>> class Test(object): |
This file contains 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
# coding: utf-8 | |
"Non blocking subprocess wrapper" | |
from Queue import Queue, Empty | |
from subprocess import Popen, PIPE | |
from threading import Thread | |
import shlex |
This file contains 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
-- example.lua | |
-- example of VASM framework | |
-- rbistolfi | |
vasm = require("vasm") | |
model = vasm.model | |
-- Create controller object |
This file contains 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
# -*- coding: utf8 -*- | |
# Copyright 2009 laliputienses | |
# License: GPL v3 | |
# For further info, see LICENSE file | |
import json | |
import urllib | |
from twisted.web import client |
This file contains 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
#!/bin/env python | |
"""Media handling. Implements objects providing methods | |
for mounting, umounting, formating and querying media. | |
""" | |
__author__ = "rbistolfi" | |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charser="UTF-8"> | |
<style> | |
html { | |
font-family: sans-serif; | |
margin: auto; | |
padding: 0; | |
} |
This file contains 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
# Copyright (c) 2012 Roberto Alsina y otros. | |
# Permission is hereby granted, free of charge, to any | |
# person obtaining a copy of this software and associated | |
# documentation files (the "Software"), to deal in the | |
# Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, | |
# distribute, sublicense, and/or sell copies of the | |
# Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains 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
# coding: utf8 | |
""" | |
Proof of concept of a Seaside like HTMLCanvas object | |
>>> html = HTMLCanvas() | |
>>> with html.div(id="content"): | |
>>> with html.ul(): | |
>>> html.li("Foo") |
NewerOlder