import websocket
import ssl
def on_message(ws, message):
print(f"Mensagem recebida: {message}")
def on_error(ws, error):
print(f"Erro: {error}")
def on_close(ws):
print("Conexão WebSocket fechada")
def on_open(ws):
print("Conexão WebSocket aberta")
if __name__ == "__main__":
websocket.enableTrace(True)
ws = websocket.WebSocketApp("wss://chat.modd.io/socket.io/?EIO=4&transport=websocket",
on_message=on_message,
on_error=on_error,
on_close=on_close)
ws.on_open = on_open
ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})
encode_s16
then decode_s16
on the other side (edited)# on main server
git commit -m "Added map $mapname"
# on locale in a systemd timer
git pull
(edited)# on main server
git commit -m "Added map $mapname"
# on locale in a systemd timer
git pull
(edited)git reset --hard
there. We still get a couple pull issues on ddnet because of thatbans-global.cfg
, it should never be manually edited --depth=1
option. Ironically, this practice can be much more expensive than full fetches/clones, especially over the long term. It is usually preferable to pay the price of a full clone once, then incrementally fetch into the repository, because then Git is better able to negotiate the minimum set of changes that have to be transferred to bring the clone up to date.git pull
s at the same timegit pull
s at the same time --depth=1
too it behaves as I expected. I didn't know pull wasn't smart like that.env
file but i named it .env
.env
files?.env
file but i was looking at it from neovim and i didn't the the space xdA lot of code constructs can be written in multiple ways. For example:
x + 4
4 + x
(x + 2) + 2
Canonicalization means picking one of these forms to be the canonical form, and then going through the program and rewriting all constructs which are equivalent to the canonical form into the canonical form.
In the case of add, it’s common to pick the form that has a constant on the right side, so we’d rewrite all these constructs to x + 4.
having a canonicalization pass is a way of factoring out the parts in a compiler that know all the different forms x + 4 could take, so that most optimization passes don’t have to worry about this. They don’t have to look for 4 + x, because they can assume that looking for x + 4 covers that. Handy!
c865663
Show help text when chaining multiple commands - ChillerDragon
89437b7
Fix console search with multiple commands - ChillerDragon
54977d5
Auto complete when chaining multiple commands - ChillerDragon
6b0b49e
Look at command under cursor not at the end of the line - ChillerDragon
5d43d34
Also split commands on double quotes - ChillerDragon
43a4934
Also split commands on spaces - ChillerDragon
7b540dd
Remove support for space separation - ChillerDragon
8e83049
Merge pull request #8352 from ChillerDragon/pr_multi_cmd_helptext - Robyt3cWOiCHDL}?sx&v6!w4%(
one of the characters is wrong cl_spec_clan_color
and cl_show_spec_clans
config variables
Appearance
->HUD
and Appearance
->Name plates
)
546a8a7
Reinstate Zeral and zhn aka gerdeo aka barsik, Iza stepped down - murpiihttps://info.ddnet.org/icons/ddnet.png
the correct comm icon URL? I see it in info (https://info.ddnet.org/info
) but since yesterday I'm getting ERROR 404
for all comm icons (so the client does not look as expected).
Is it a known issue? I tried different proxies and VPNs with the same result, yet I can't believe that such an issue can stay for that long.