- new branch be created from master, named "frozen"
- frozen branch is primarily for bug fixes
- cast votes to decide whether to make a given commit hash the latest release
- use common sense when pushing to aurora-sim master branch
// http://mrl.nyu.edu/~perlin/noise/ | |
(function(){ | |
window.perlin = function(x, y, z){ | |
var floorX = Math.floor(x), floorY = Math.floor(y), floorZ = Math.floor(z); | |
var X = floorX & 255, Y = floorY & 255, Z = floorZ & 255; | |
x -= floorX; | |
y -= floorY; |
// ==UserScript== | |
// @name github.com raw diff link | |
// @namespace github.com | |
// @description Appends raw diff link | |
// @include https://github.com/*/*/commit/* | |
// ==/UserScript== | |
var | |
file = document.getElementsByClassName('file')[0], | |
code = file.getElementsByTagName('code')[0], |
<!DOCTYPE llsd [ | |
<!ELEMENT llsd (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)> | |
<!ELEMENT DATA (undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)> | |
<!ELEMENT ATOMIC (undef|boolean|integer|real|uuid|string|date|uri|binary)> | |
<!ELEMENT KEYDATA (key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))> | |
<!ELEMENT key (#PCDATA)> | |
<!ELEMENT map ((key,(undef|boolean|integer|real|uuid|string|date|uri|binary|map|array))*)> | |
<!ELEMENT array ((undef|boolean|integer|real|uuid|string|date|uri|binary|map|array)*)> | |
<!ELEMENT undef (EMPTY)> | |
<!ELEMENT boolean (#PCDATA)> |
<llsd> | |
<map> | |
<key>data</key> | |
<array> | |
<map> | |
<key>group_body</key> | |
<map> | |
<key>2459065186</key> | |
<map> | |
<key>phantom</key> |
<? | |
////////////////////////////////// ADMIN /////////////////////////////////////// | |
if ($_SESSION[ADMINID]) { | |
$DbLink = new DB; | |
if ($_GET[delete] == 1) { | |
$DbLink->query("DELETE from " . C_NEWS_TBL . " WHERE (id = '" . cleanQuery($_GET[id]) . "')"); | |
} |
object(Aurora\Addon\WebUI\GridInfo)#5 (1) { | |
["data":protected]=> | |
array(4) { | |
["GridInfoInHandlerPort"]=> | |
string(1) "0" | |
["login"]=> | |
string(22) "http://127.0.0.1:9000/" | |
["gridname"]=> | |
string(19) "My Aurora Simulator" | |
["gridnick"]=> |
By removing the original PHP from the master branch whilst retaining it in the frozen branch, less burden is placed on developers to maintain the PHP when modifying the c# module, freeing up time to develop independent website implementations such as [https://github.com/skidzTweak/Aurora-Sim-Joomla](skidz' Joomla implementation) and [https://github.com/SignpostMarv/Aurora-We
private void HandleClearAllRegions(string[] cmd) | |
{ | |
//Delete everything... give no criteria to just do 'delete from gridregions' | |
m_Database.DeleteAll(new string[1]{ "1" }, new object[1]{ 1 }); | |
MainConsole.Instance.Warn("Cleared all regions"); | |
} |
GITNAME="$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')" | |
DIRNAME="${1-../..}/${GITNAME}" | |
TIMESTAMP="$(date +%Y-%m-%d_%H-%M-%S)" | |
FILENAME="opensim (${GITNAME}) ${TIMESTAMP}" | |
if [ -f ../../7za.exe ]; | |
then | |
echo "Using 7-zip" | |
../../7za.exe a "../../${FILENAME}.tar" ./* | |
../../7za.exe a -tgzip "../../${FILENAME}.tgz" "../../${FILENAME}.tar" -mx=9 -mfb=258 -mpass=15 | |
rm "../../${FILENAME}.tar" |