Skip to content

Instantly share code, notes, and snippets.

View DDuarte's full-sized avatar
😴
Dormant

Duarte Duarte DDuarte

😴
Dormant
View GitHub Profile
@DDuarte
DDuarte / spellwork_appveyor.yml
Created January 21, 2017 21:23
AppVeyor YML configs 21 Jan 2017
version: 1.0.{build}
configuration:
- Debug
- Release
platform: Any CPU
before_build:
- cmd: nuget restore
build:
verbosity: minimal
artifacts:
This file has been truncated, but you can view the full file.
/*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* 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 the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
TrinityCore rev. 7834d339ad83 2016-04-06 00:14:01 +0200 (3.3.5 branch) (Unix, Release) (worldserver-daemon)
<Ctrl-C> to stop.
______ __
/\__ _\ __ __/\ \__
\/_/\ \/ _ __ /\_\ ___ /\_\ \, _\ __ __
\ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \
\ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \
\ \_\ \_\ \ \_\ \_\ \_\ \_\ \__\\/`____ \
\/_/\/_/ \/_/\/_/\/_/\/_/\/__/ `/___/> \
From 9ba0ef7a15ed4ea53910180fba08869348a58634 Mon Sep 17 00:00:00 2001
From: DDuarte <[email protected]>
Date: Mon, 28 Mar 2016 22:34:46 +0100
Subject: [PATCH] Core/PacketIO: Properly send normalized realm names
Ref #14949
---
src/server/game/Globals/ObjectMgr.cpp | 10 ++++++++++
src/server/game/Globals/ObjectMgr.h | 1 +
src/server/game/Handlers/AuthHandler.cpp | 5 ++---
@DDuarte
DDuarte / .editorconfig
Created July 12, 2015 11:40
TC EditorConfig
# http://EditorConfig.org
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{cpp,h,c,cmake,txt,sql,md}]
charset = utf-8
class AccountObjectSetCheats
{
bool AutoBattle = false;
AccountobjectSetCheats Type;
int8 SlotLockCheat = 0;
};
class AccountObjectGetProfile
{
std::string Filename;
From a2565665806bf901d0047755adbf561834ddb129 Mon Sep 17 00:00:00 2001
From: DDuarte <[email protected]>
Date: Mon, 1 Jun 2015 03:52:14 +0100
Subject: [PATCH] Tools/Extractors: Fix multiple resource leaks when opening
Casc files
CID 1254588, 1254548, 1254555, 1254545
---
src/tools/map_extractor/System.cpp | 6 ++++--
src/tools/map_extractor/loadlib.cpp | 1 +
@DDuarte
DDuarte / echoHttpRequest.js
Last active August 29, 2015 14:21 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
@DDuarte
DDuarte / 0_reuse_code.js
Last active August 29, 2015 14:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console