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
private _pos = getMarkerPos "killhouse"; | |
private _hangarLeft = "Land_Airport_02_hangar_left_F"; | |
private _hangarRight = "Land_Airport_02_hangar_right_F"; | |
private _left0 = createVehicle [_hangarLeft, _pos, [], 0, "CAN_COLLIDE"]; | |
private _right0 = createVehicle [_hangarRight, (_pos vectorAdd [31, 0, 0]), [], 0, "CAN_COLLIDE"]; | |
private _left1 = createVehicle [_hangarRight, (_pos vectorAdd [-4, -50, 0]), [], 0, "CAN_COLLIDE"]; | |
private _right1 = createVehicle [_hangarLeft, (_pos vectorAdd [35, -50, 0]), [], 0, "CAN_COLLIDE"]; |
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
private _colorMatrix = { | |
params [ | |
["_rgba", [], [[]]], | |
["_matrix", [], [[]]] | |
]; | |
if (_rgba isEqualTo [] || _matrix isEqualTo []) exitWith {}; | |
_rgba params ["_r", "_g", "_b", "_a"]; | |
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
function colorMatrix(rgba, matrix) { | |
function fu(n) {return (n < 0 ? 0 : (n < 255 ? n : 255));} | |
var r = ((o.R * m[0]) + (o.G * m[1]) + (o.B * m[2]) + (o.A * m[3]) + m[4]); | |
var g = ((o.R * m[5]) + (o.G * m[6]) + (o.B * m[7]) + (o.A * m[8]) + m[9]); | |
var b = ((o.R * m[10]) + (o.G * m[11]) + (o.B * m[12]) + (o.A * m[13]) + m[14]); | |
var a = ((o.R * m[15]) + (o.G * m[16]) + (o.B * m[17]) + (o.A * m[18]) + m[19]); | |
return({ | |
'R': fu(r), |
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
version=52; | |
class EditorData | |
{ | |
moveGridStep=1; | |
angleGridStep=0.2617994; | |
scaleGridStep=1; | |
autoGroupingDist=10; | |
toggles=513; | |
class ItemIDProvider | |
{ |
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
[year, month, day, hour, minute] | |
[0, 1, 2, 3, 4] |
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
[{(date select 3) >= 5}, { | |
[diary record args] remoteExecCall ["createDiaryRecord", 0]; | |
}, []] call CBA_fnc_waitUntilAndExecute; |
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
[{ | |
{ | |
// _x is a variable that contains a merlin from the list after "forEach" | |
// The code in this loop will run 6 time, each time _x will change to the next one, starting with merlin1 and ending with merlin6 | |
// _forEachIndex is the current index in the loop, it's just a number basically | |
// First iteration on merlin1 would make it 0, when it gets to merlin6 it will be 5 (notice that it doesn't start at 1) | |
// The command "private" makes the given variable only available to the current scope | |
// Doing this means _marker and _randPos aren't available to be used outside of the loop |
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
[] spawn { | |
while {true} do { | |
if (!isNull merlin1) then {"Marker1" setmarkerpos getpos merlin1}; | |
if (!isNull merlin2) then {"Marker2" setmarkerpos getpos merlin2}; | |
if (!isNull merlin3) then {"Marker3" setmarkerpos getpos merlin3}; | |
if (!isNull merlin4) then {"Marker4" setmarkerpos getpos merlin4}; | |
if (!isNull merlin5) then {"Marker5" setmarkerpos getpos merlin5}; | |
if (!isNull merlin6) then {"Marker6" setmarkerpos getpos merlin6}; | |
sleep 60; | |
}; |
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
<cfcomponent displayname="core"> | |
<cffunction name="BlackListApp" access="public" returntype="void"> | |
<cfargument name="appID" type="numeric" required="yes"> | |
<cfset var loc = {}> | |
<cfquery name="loc.getAppIP" datasource="#GetDatasource()#"> | |
SELECT appIP | |
FROM apps | |
WHERE appID = #val(appID)# | |
LIMIT 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
<?php | |
namespace App\Http\Controllers; | |
use Validator; | |
use App\JoinRequest; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
class JoinController extends Controller { |