This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define ERROR_COUNT // NO VALUE, so it merely exists. | |
enum Error: // Generic function errors. | |
{ | |
OK = 0, | |
ERR_NONE = 0, | |
ERR_PARAM_0, | |
ERR_PARAM_1, | |
ERR_PARAM_2, | |
ERR_PARAM_3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Legal: | |
Version: MPL 1.1 | |
The contents of this file are subject to the Mozilla Public License Version | |
1.1 the "License"; you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.mozilla.org/MPL/ | |
Software distributed under the License is distributed on an "AS IS" basis, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined _INC_octal | |
#endinput | |
#define _INC_octal | |
#define o0 x000 | |
#define o1 x001 | |
#define o2 x002 | |
#define o3 x003 | |
#define o4 x004 | |
#define o5 x005 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#echo 'dir:' | |
#echo `pwd` | |
if [[ "YSI-$1" == "$3" ]]; | |
then | |
git ls-tree --name-only $GIT_COMMIT "YSI-$1/" | xargs -I files /d/work/rm.sh "$1" "$2" files | |
elif [[ "$2" == "$3.inc" ]]; | |
then | |
mv "$3" "YSI-$1/" | |
#ls "YSI-$1/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#echo 'rm:' | |
#echo `pwd` | |
IFS='.' read -ra p <<< "$3" | |
if [[ "${p[0]}" == "YSI-$1/$2" ]]; | |
then | |
# Skip files already in the target correctly. | |
: | |
elif [[ "${p[0]}" == "YSI_$1/$2" ]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare -a arr=( | |
"YSI-Coding/y_functional", | |
"YSI-Coding/y_hooks", | |
"YSI-Coding/y_inline", | |
"YSI-Coding/y_malloc", | |
"YSI-Coding/y_remote", | |
"YSI-Coding/y_stringhash", | |
"YSI-Coding/y_timers", | |
"YSI-Coding/y_unique", | |
"YSI-Coding/y_va", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare -a arr=( | |
"YSI-Coding/y_functional" | |
"YSI-Coding/y_hooks" | |
"YSI-Coding/y_inline" | |
"YSI-Coding/y_malloc" | |
"YSI-Coding/y_remote" | |
"YSI-Coding/y_stringhash" | |
"YSI-Coding/y_timers" | |
"YSI-Coding/y_unique" | |
"YSI-Coding/y_va" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare -a arr=( | |
"YSI-Coding/y_functional" | |
"YSI-Coding/y_hooks" | |
"YSI-Coding/y_inline" | |
"YSI-Coding/y_malloc" | |
"YSI-Coding/y_remote" | |
"YSI-Coding/y_stringhash" | |
"YSI-Coding/y_timers" | |
"YSI-Coding/y_unique" | |
"YSI-Coding/y_va" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (c) Y_Less 2018 | |
# MPL 1.1 | |
# Multi-selection rotation script for Notepad++ Python Script plugin. | |
count = editor.getSelections() | |
if count > 1: | |
editor.beginUndoAction() | |
total = editor.getLength() | |
cuts = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define INCLUDE_PROFILINGS | |
#include <a_samp> | |
#include <YSI_Core\y_profiling> | |
#include <gvar> | |
static | |
gPlayerid, | |
gVar, | |
gDest; |