This file contains 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
// ==UserScript== | |
// @name GitHub Repository Size | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-06-11 | |
// @description View the size of public GitHub repositories. | |
// @author Fizzyhex | |
// @match https://github.com/*/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @version 1.0.0 | |
// @downloadURL https://gist.githubusercontent.com/Fizzyhex/64c0714cd7b60a18d01b2c275bbcda44/raw/85f5a4b5b9d9118c4b3464b85758d9b4de5c4af6/.js |
This file contains 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
--!strict | |
-- src: https://gist.github.com/Uradamus/10323382 | |
local function shuffle<T>(tbl: { T }): { T } | |
tbl = table.clone(tbl) | |
for i = #tbl, 2, -1 do | |
local j = math.random(i) | |
tbl[i], tbl[j] = tbl[j], tbl[i] | |
end |
This file contains 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
-- Note that the components in this script should ideally be split up into different scripts; which I didn't do here. | |
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Fusion = require(ReplicatedStorage.Packages.Fusion) | |
local Computed = Fusion.Computed | |
local New = Fusion.New | |
local Children = Fusion.Children | |
local ForValues = Fusion.ForValues |
This file contains 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
--[[ | |
@Fizzyhex, 2023 | |
Select the part you want to use as a ball and paste this into your command bar! | |
This script will then clone it and turn it into a ball. | |
For others to kick the ball around they'll need to run this script too. Have fun :> | |
---- | |
Extra: |
This file contains 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 wrapDestructorMethod(object, destructor) | |
return function() | |
destructor(object) | |
end | |
end | |
--- Creates a new bin object for cleanup. | |
local function Bin() | |
local contents: { [any]: boolean } = {} |
This file contains 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
--!strict | |
local function wrapDestructor(object, method: (...any) -> ...any) | |
return function() | |
method(object) | |
end | |
end | |
--- Creates a new bin object for cleanup. | |
local function Bin() |
This file contains 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 ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Fusion = require(ReplicatedStorage.Fusion) | |
local Observer = Fusion.Observer | |
local Computed = Fusion.Computed | |
local Value = Fusion.Value | |
local New = Fusion.New | |
local Children = Fusion.Children | |
local function ProgressSquare(props) |
This file contains 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 ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Fusion = require(ReplicatedStorage.Fusion) | |
local New = Fusion.New | |
local ForPairs = Fusion.ForPairs | |
local Children = Fusion.Children | |
local Computed = Fusion.Computed | |
local Value = Fusion.Value | |
local function ImageText(props) |
This file contains 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 Model = Instance.new("Model",workspace) | |
O = Instance.new('Part',Model) | |
O.Name = 'Part' | |
O.Shape = Enum.PartType.Block | |
O.Anchored = true | |
O.BackParamA = -0.5 | |
O.BackParamB = 0.5 | |
O.BackSurface = Enum.SurfaceType.Smooth |
This file has been truncated, but you can view the full file.
This file contains 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 Model = Instance.new("Model",workspace) | |
O = Instance.new('Model',Model)O.Name = 'House' | |
P={} | |
for i,v in pairs (P) do O[i] = v end | |
O = Instance.new('WedgePart',Model.House)O.Name = 'Wedge' | |
P={['Anchored']=true; | |
['BackParamA']=-0.5; | |
['BackParamB']=0.5; | |
['BackSurface']=Enum.SurfaceType.Smooth; |
NewerOlder