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 | |
| header('Content-Type: application/json; charset=utf-8'); | |
| // === Configuration (exact match to Ruby) === | |
| $time_offset = -8 * 3600; // -8 hours → midnight PST | |
| $debug_time_offset = 0; // in seconds (DEBUG_DAYS * 24 * 3600 to debug offset days) | |
| $day_of_week_offset = -3; | |
| $month_offset = 10; | |
| $year_offset = 2019; |
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
| $debug_time_offset = (0).weeks + (0).days + (0).seconds | |
| $time_offset = (-8).hours # Midnight PST (-8:00 UTC) | |
| def time() | |
| return Time.now.utc + $time_offset + $debug_time_offset | |
| end | |
| def get_day_id | |
| return ((time().beginning_of_day - ("2017-6-23".to_time(:utc) + $time_offset)) / 86400).to_i | |
| end |
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
| local sky = game.Selection:Get()[1] | |
| assert(sky.ClassName == "Sky") | |
| local msg = string.format([[ | |
| sky.SkyboxBk = "%s" | |
| sky.SkyboxDn = "%s" | |
| sky.SkyboxFt = "%s" | |
| sky.SkyboxLf = "%s" | |
| sky.SkyboxRt = "%s" | |
| sky.SkyboxUp = "%s" |
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
| local accessory = game.Selection:Get()[1] | |
| while accessory.ClassName ~= "Accessory" do | |
| accessory = accessory.Parent | |
| end | |
| local function fill_list_of_direct_children_of_classname(obj,type,list) | |
| for _,child in pairs(obj:GetChildren()) do | |
| if child.ClassName == type then | |
| list[#list+1] = child | |
| end |
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
| import sys | |
| import os | |
| import re | |
| #OLD: | |
| #/storage/3161-6236/ | |
| #NEW: | |
| #/storage/3935-3838/ |
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
| local function r_itr(cur) | |
| for _,child in pairs(cur:GetChildren()) do | |
| r_itr(child) | |
| end | |
| if cur:IsA("BasePart") then | |
| if cur.Transparency >= 0.95 or cur.CanCollide == false then | |
| cur.CollisionGroupId = 1 | |
| end | |
| end | |
| end |
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
| local SPUtil = require(game.ReplicatedStorage.Shared.SPUtil) | |
| local SPDict = require(game.ReplicatedStorage.Shared.SPDict) | |
| local SPList = require(game.ReplicatedStorage.Shared.SPList) | |
| local SPVector = require(game.ReplicatedStorage.Shared.SPVector) | |
| local InputUtil = {} | |
| InputUtil.KEY_TRACK1 = 0 | |
| InputUtil.KEY_TRACK2 = 1 | |
| InputUtil.KEY_TRACK3 = 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
| import os | |
| import io | |
| import subprocess | |
| from os import path | |
| list = io.open("betty.m3u8", mode="r", encoding="utf-8").read().split("\n") | |
| for itr in list: | |
| if len(itr) == 0: | |
| continue | |
| source_path = itr.replace("/storage/3734-3234/","/Volumes/NO NAME/") |
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
| //forever start redirect.js | |
| var http = require('http'); | |
| http.createServer(function (req, res) { | |
| res.writeHead(301, { "Location": "https://www.roblox.com/games/698448212/UPDATE-Club-RoBeats-MMO-Rhythm-Game" }); | |
| res.end(); | |
| }).listen(80); |
NewerOlder