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 ITEM = Clockwork.item:New("accessory_base"); | |
| ITEM.name = "Test attachment"; | |
| ITEM.cost = 0; | |
| ITEM.model = "models/bandmodelm.mdl"; | |
| ITEM.weight = 0; | |
| ITEM.category = "Bands"; | |
| ITEM.uniqueID = "bandm"; | |
| ITEM.business = false; | |
| ITEM.examineOveride = true; | |
| ITEM.description = "A band description."; |
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 base = _G | |
| require("string") | |
| require("table") | |
| module("config") | |
| settings = {} | |
| function loadFunction(fct) | |
| local old_mt = base.getmetatable(settings) |
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 sublime | |
| import sublime_plugin | |
| import urllib | |
| endpoint = "https://www.securegmod.com/api/minify" | |
| class sgminifyCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| for region in self.view.sel(): | |
| if not region.empty(): |