Skip to content

Instantly share code, notes, and snippets.

View Helias's full-sized avatar
🏠
Working from home

Stefano Borzì Helias

🏠
Working from home
View GitHub Profile
@Helias
Helias / acore-cms_docker-compose.yml
Created August 26, 2024 23:33
acore-docker and acore-cms docker-compose.yml files
# acore-cms docker-compose.yml
version: '3.7'
services:
wp-db:
restart: unless-stopped
image: mysql:8
command: 'mysqld --mysql-native-password=ON'
volumes:
- mysql-data:/var/lib/mysql
@Helias
Helias / extract.sh
Last active November 23, 2022 20:35
MPQExtractor script bash
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/common.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/common-2.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/expansion.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/lichking.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/patch.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/patch-2.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/patch-3.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/enUS/backup-enUS.MPQ" -e "*"
MPQExtractor -f -c -o /path/aowow/setup/mpqdata "/path/World of Warcraft/Data/enUS/base-enUS.MPQ" -e "*"
@Helias
Helias / ply2obj.py
Last active February 11, 2024 06:19 — forked from assafrabin/ply2obj.py
Python script to convert *.ply to *.obj (3D formats)
import os
from os import listdir
from os.path import isfile, join
from argparse import ArgumentParser
from plyfile import PlyData
def parse_args():
parser = ArgumentParser()
@Helias
Helias / file.c
Created April 14, 2018 21:17
tmp gist
/*Homework 5*/
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//-----------------------------------------
typedef struct s {
char nome[20];
char numero[12];
<script>
/* structure sql
CREATE TABLE extracted (
profile VARCHAR(255) NOT NULL,
done BIT(1) NOT NULL DEFAULT b'0',
PRIMARY KEY (profile)
)
ENGINE=InnoDB;
*/