Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Entrar


Todos Novo Entrar

Todos os gists

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
celediel's Avatar

celediel / simple xbps wrapper

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1701126077
a tiny wrapper for xbps utils
1 #!/bin/sh
2 # very simple xbps wrapper
3
4 # don't doas or sudo unless it exists
5 if [ ! -z "$(type doas)" ]; then
6 ROOT_DOER="$(command -v doas)"
7 elif [ ! -z "$(type sudo)" ]; then
8 ROOT_DOER="$(command -v sudo)"
9 fi
celediel's Avatar

celediel / xbps-check-updates

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1704241163
xbps update checker for waybar
1 #!/bin/env python
2
3 ### Add to ~/.config/waybar/config like so
4 # "custom/xbps-updates": {
5 # "format": "{}  ",
6 # "interval": 3600,
7 # "return-type": "json",
8 # "exec": "xbps-checkup-updates | jq --unbuffered --compact-output",
9 # "tooltip": true,
10 # }
celediel's Avatar

celediel / hello_world

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1695765657
1 # hello world from OpenGist on burning.moe
2 # https://github.com/thomiceli/opengist
3
4
5 def unmain(I):
6 print("".join(chr(int(I[i * 8 : i * 8 + 8], 2)) for i in range(len(I) // 8)))
7
8
9 def main(Is):
10 unmain("".join(str(I) for I in Is))
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 37ms⋅

Português
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文