Skip to content

Instantly share code, notes, and snippets.

View xrogaan's full-sized avatar

Ludovic Bellière xrogaan

View GitHub Profile
[tool.poetry]
name = "test_pyqt6"
version = "0.1.0"
description = ""
authors = ["test author <>"]
[tool.poetry.dependencies]
python = ">=3.8,<3.10"
pyqt6 = "^6.0.0"
-----------------------------------------
03:31:19.496 : Starting log.
03:31:19.496 INFO : Cataclysm DDA version 0.E
03:31:19.496 INFO : SDL version used during compile is 2.0.4
03:31:19.496 INFO : SDL version used during linking and in runtime is 2.0.9
03:31:19.678 INFO : Number of render drivers on your system: 3
03:31:19.678 INFO : Render driver: 0/opengl
03:31:19.678 INFO : Render driver: 1/opengles2
03:31:19.678 INFO : Render driver: 2/software
03:31:19.759 INFO : Active renderer: 1/opengles2
WGET := $(shell command -v wget 2>/dev/null)
ATOOL := $(shell command -v atool 2>/dev/null)
FROM_SRC ?= 0
RELEASE ?= 0
FILENAME = cataclysmdda-0.D-Linux_x64-Tiles-${RELEASE}.tar.gz
FETCH_URL = https://github.com/CleverRaven/Cataclysm-DDA/releases/download/cdda-jenkins-b${RELEASE}/cataclysmdda-0.D-Linux_x64-Tiles-${RELEASE}.tar.gz
GFX = gfx/MSX++UnDeadPeopleEdition
@xrogaan
xrogaan / cdda_update.sh
Last active January 23, 2020 08:59
Update cdda's experimental by copying over data from previous version.
#!/usr/bin/env bash
#
# Copyright 2020 Ludovic Bellière <xrogaan@gmail.com>
#
# 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:
#!/usr/bin/env python
import os
import codecs
import csv
import re
from collections import namedtuple
from bs4 import BeautifulSoup
# Will walk that directory and grab all .html file
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# vim:set sw=4 ts=4 expandtab tw=80:
import hashlib
import base64
import pprint
def get_mutators(myHash):
<?php
error_reporting(E_ALL);
define('VERSION','1.0.2');
/* Copyright
** +------------------------------------------------------------
** | Copyright (C) 2005 by Belliere Ludovic
** | xrogaan@intuxication.org
** |
** | This program is free software; you can redistribute it and/or modify
** | it under the terms of the GNU General Public License as published by
@xrogaan
xrogaan / .gitignore
Created December 24, 2010 14:37
This will import the lua array into a php array
*~
@xrogaan
xrogaan / toolz.php
Created November 19, 2010 19:52
powa toolz
<?php
/* Construit une URL en reprenant l'URL actuelle et certains de ses paramètres GET
si $keep est un array, seuls les éléments de $keep sont conservés
si $remove est un array, les éléments de $remove sont enlevés
si $add est un array( clé => valeur ), ces paramètres sont ajoutés à l'URL
exemple :
url actuelle : truc.php?a=1&b=2
url_from_get_vars( array( 'a' ), false, array( 'c' => 3 ) )
=> truc.php?a=1&c=3
@xrogaan
xrogaan / buildmessagefromarray.php
Created July 11, 2010 01:52
try to print a pretty array
<?php
error_reporting(E_ALL);
define('OBIWANKENOBI', true);
function debug($message) {
if (OBIWANKENOBI) {
if (!is_array($message)) {
printf("DEBUG : %s\n", $message);