content
stringlengths
5
1.05M
object_tangible_loot_creature_loot_collections_publish_gift_datapad_component_02 = object_tangible_loot_creature_loot_collections_shared_publish_gift_datapad_component_02:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_publish_gift_datapad_component_02, "object/tangible/loot/creatur...
local v2 = require 'dokidoki.v2' local blueprints = require 'blueprints' local speed = 3.5 function shoot(approach_sign) local facing = approach_sign * v2.rotate90(self.transform.facing) local start_vel = speed * facing -- + self.ship.velocity game.actors.new(blueprints.bomb, {'transform', pos=self.transfor...
local Mob = require('mob') local Maph = require('maph') local pi = math.pi --- Represents a projectile that hits mobs. local Arrow = {} Arrow.__index = Arrow setmetatable(Arrow, {__index = Mob}) function Arrow.new(sprite) local self = setmetatable(Mob.new(), Arrow) self.sprite = sprite --- The number of s...
local _M = {} function _M.handler(event) return { status = 200, body = 'Hello DuEdge!' } end return _M
--! file: Class for the controllable character in a game. Player = Character:extend() function Player:new(x, y, speed, imageDir) Player.super.new(self, x, y, speed, imageDir) end function Player:update(dt) if love.keyboard.isDown("left") then self.x = self.x - (self.speed * dt) elseif love.keyboa...
-- target("RocketPlatformCommon") -- set_kind("static") -- add_files( -- "Window/*.cpp" -- ) -- add_packages( -- "glfw", -- {public = true} -- ) -- target_end()
local FiniteStateMachine = {} function FiniteStateMachine.newMachine(states, initialState) local machine = {state = initialState} for _, state in pairs(states) do machine[state] = {} end return machine end function FiniteStateMachine.addTransition(machine, initialState, nextState, transition...
local SP = SmoothyPlates local Utils = SP.Utils SP.db = nil SP.hookOnInit( function() local db = LibStub('AceDB-3.0'):New('SPDB') if not db.char.options then SP.db = SP.getDefaultConfig() db.char.options = SP.db local frameP = SP.Ace.GUI:Create('Frame') frameP:EnableResize(false) frameP:SetTitle...
--[[ Parses a payload containing the contents of a `cat /proc/net/dev | tail -n +3` call into a Heka message. Config: - payload_keep (bool, optional, default false) Always preserve the original log line in the message payload. *Example Heka Configuration* .. code-block:: ini [net_stats_input] type = "...
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, ...
fx_version 'cerulean' game {'gta5'} description 'FiveM Weather System' version '1.0.0' client_script "@npc-scripts/client/errorlog.lua" export "SetEnableSync" server_scripts { "server/server.lua" } client_scripts { "client/client.lua" }
local metadata = { plugin = { format = 'staticLibrary', staticLibs = {"bz2","iconv","c++","z","sqlite3","xml2","c++abi","resolv.9","plugin_hyperbid"}, frameworks = { --Core 'HyperBidBanner', 'HyperBidInterstitial', 'HyperBidNative', 'HyperBidRewardedVideo', 'HyperBidSDK', 'HyperBidSplash',...
local LoreWear = LorePlay local isMounted local isFastTraveling local isInCombat local currentCostumeID local currentHatID local currentHairID local currentSkinID local lastUsedCostume local lastUsedHat local lastUsedHair local lastUsedSkin local lastUsedCollectible local costumeBeforeCity local hatBeforeCity local...
#!/usr/bin/env tarantool test_run = require('test_run').new() test_run:cmd("setopt delimiter ';'") stat = { run_step_count = 0, run_lookup_count = 0, mem_step_count = 0, mem_lookup_count = 0, } function stat_changed() local old_stat = stat local new_stat = box.info.vinyl().performance["iterato...
--[[ api for app set ap_mode /t/get_aplist /t/get_apinfo /t/set_bridge param:ssid key encryption bssid channel /t/set_ap param: ssid=hekr_xxxx&key=12345678&encryption=psk2&channel=11 /t/set_ak param: ak=xxxxx ]]-- require ("luci") require ("luci.sys") module("luci.hekr.mode", package.seeall) local ltn12 = re...
JoyStickCmd = { } JoyStickCmd.On_Begin_Drag = "JoyStickCmd.On_Begin_Drag" JoyStickCmd.On_Drag = "JoyStickCmd.On_Drag" JoyStickCmd.On_End_Drag = "JoyStickCmd.On_End_Drag" JoyStickCmd.On_Open_UI = "JoyStickCmd.On_Open_UI" JoyStickCmd.On_Close_UI = "JoyStickCmd.On_Close_UI"
#!/usr/bin/env tarantool local tap = require('tap') local fiber = require('fiber') local test = tap.test("gh-5013-fiber-cancel") test:plan(2) local result = {} local function test_f() local cond = fiber.cond() local res, err = pcall(cond.wait, cond) result.res = res result.err = err end local f = f...
-------------------------------- -- @module SamplerFilter -- @parent_module ccb --- Enum ccb.SamplerFilter ---@class ccb.SamplerFilter local SamplerFilter = {} ccb.SamplerFilter = SamplerFilter ---@type number SamplerFilter.NEAREST = 0 ---@type number SamplerFilter.NEAREST_MIPMAP_NEAREST = 1 ---@type number SamplerF...
-- -- wetjson -- version 2011-02-04 -- use encode to encode a table and decode to decode a json string -- -- find the latest version online here -- http://code.google.com/p/aelua/source/browse/trunk/aelua/lua/wetjson.lua -- -- -- Copyright (C) 2011 by http://about.wetgenes.com/ -- -- Permission is hereb...
include( "spawnmenu/spawnmenu.lua" ) --[[--------------------------------------------------------- If false is returned then the spawn menu is never created. This saves load times if your mod doesn't actually use the spawn menu for any reason. -----------------------------------------------------------]] function ...
local ffi = require "ffi" --[[ /** OMX_Types.h - OpenMax IL version 1.1.2 * The OMX_Types header file contains the primitive type definitions used by * the core, the application and the component. This file may need to be * modified to be used on systems that do not have "char" set to 8 bits, * "short" set...
local Station = require('motras_station') local Slot = require('motras_slot') local t = require('motras_types') local PlatformSurface = require('motras_platform_surface') describe('PlatformSurface', function () local transformation = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, ...
LinkLuaModifier("modifier_item_creed_of_omniscience_passive", "items/neutral/creed_of_omniscience.lua", LUA_MODIFIER_MOTION_NONE) item_creed_of_omniscience = class(ItemBaseClass) function item_creed_of_omniscience:GetIntrinsicModifierName() return "modifier_item_creed_of_omniscience_passive" end ------------------...
local fs = require("filesystem") local shell = require("shell") local sh = require("sh") local args, options = shell.parse(...) if #args < 2 then io.write("Usage: mv [-f] <from> <to>\n") io.write(" -f: overwrite file if it already exists.\n") return 1 end local function is_mount(path) end local from = args[1] ...
local MaterialMap = {} function MaterialMap:included(klass) klass.materials = {} end function MaterialMap:addMaterial(key, itemName) if self.materials[key] then return false, "A material has already been added with the specified key" end self.materials[key] = itemName return true end function Material...
------------------------------------------------------------------------------- --various helper functions --convert an image to a canvas so we can render to it function image_to_canvas(i, format) local c = lg.newCanvas(i:getWidth(), i:getHeight(), {format = format or i:getFormat()}) lg.setCanvas(c) lg.draw(i) lg....
--[[ Pixel Vision 8 - New Template Script Copyright (C) 2017, Pixel Vision 8 (http://pixelvision8.com) Created by Jesse Freeman (@jessefreeman) This project was designed to display some basic instructions when you create a new tool. Simply delete the following code and implement your own Init(), Update() and Dra...
print("test_time begin") let a1 = 1234567890 let a2 = time.add(a1, 'second', 3600*24) let a3 = time.difftime(a1, a2) let a4 = time.tostr(a1) let a5 = time.tostr(a2) print("a1=", a1) print("a2=", a2) print("a3=", a3) print("a4=", a4) print("a5=", a5) print("test_time end")
local class = require("pl.class") local SkillFlag = require("core.SkillFlag") local SkillType = require("core.SkillType") local SkillErrors = require("core.SkillErrors") local Damage = require("core.Damage") local Broadcast = require("core.Broadcast") local tablex = require("pl.tablex") local wrap...
local Class = require "lib.hump.Class" local RenderComponent = require "component.render.RenderComponent" local Signals = require "constants.Signals" local Constants = require "constants.Constants" local ShieldRenderComponent = Class{} ShieldRenderComponent:include(RenderComponent) function ShieldRenderCompon...
local Objects = { createObject ( 3114, 2629.1001, 1242.6, 14.9, 90, 0, 0 ), createObject ( 3114, 2649.1001, 1242.6, 14.9, 90, 0, 0 ), createObject ( 3114, 2665.8, 1242.6, 14.9, 90, 0, 0 ), createObject ( 3114, 2618.1001, 1231.7, 14.9, 90, 90, 0 ), createObject ( 3114, 2618.1001, 1210.6, 14.9, 90, 90, 0 ), createObject ...
--[[ BEGIN CONFIGURATION ]]-- local FRAMES_TO_PLAY_MIN = 60 local FRAMES_TO_PLAY_MAX = 120 local FRAMES_TO_SEARCH = 30 * 4 local TRAIN_PERIOD = 2 --[[ END CONFIGURATION ]]-- local util = require("util") local course, mode = util.readCourse(), util.readMode() print("Mode:", util.readMode(), "Course:", util.readCourse(...
-- asteroids\utils.lua -- Copyright (c) 2017-2018 Jon Thysell local utils = {} function utils.vectorAdd(v1, v2) return { dx = v1.dx + v2.dx, dy = v1.dy + v2.dy, } end function utils.bound(value, min, max) if value < min then return min end if value > max then return max end return...
--[[ If you want to commit a new module to the root, create a mdoule and initaite a pull request. The module script will then be reviewed for any harmfull and unharmfull aspects. ]] local resource = { -- Startup and info are mandatory in order for a module to connect. startup = function() print("Example loaded!"...
local t = Def.Model { Meshes=NOTESKIN:GetPath('','model/note.txt'); Materials=NOTESKIN:GetPath('','model/grey.txt'); Bones=NOTESKIN:GetPath('','model/note.txt'); }; return t;
--also dk hammer and wing smbsitem = class:new() function smbsitem:init(x, y, t, r) --PHYSICS STUFF self.starty = y self.x = x-6/16 self.y = y-12/16 self.speedy = 0 self.speedx = 0 self.width = 12/16 self.height = 12/16 self.static = true self.active = true self.category = 6 self.mask = {true} self.destr...
include "map_builder.lua" include "trajectory_builder.lua" options = { map_builder = MAP_BUILDER, trajectory_builder = TRAJECTORY_BUILDER, } MAP_BUILDER.num_background_threads = 10 MAP_BUILDER.use_trajectory_builder_2d = true MAP_BUILDER.use_trajectory_builder_3d = false -- TRAJECTORY_BUILDER_2D.ceres_scan_matc...
function test1() local t = {} function t:add(a) self.field = self.field + a end t.field = 3 t:add(10) return t.field == 13 end function test2() local function local_scope() t = {} function t:method(a) return a end end local_scope() ...
---------------------------------------------------------------------------------- -- -- scene_template.lua -- ---------------------------------------------------------------------------------- local director = require( "director" ) local scene = director.newScene() local system = require("system") local ice = require...
local metadata = { plugin = { format = "staticLibrary", -- This is the name without the "lib" prefix -- In this case, the static library is called "libplugin_openudid.a" staticLibs = { "plugin_brightness", }, frameworks = {}, frameworksOptional = {}, }, ...
SERVER_ID = 1 if string.find(getServerName(), "#2", 1, true) then SERVER_ID = 2 elseif string.find(getServerName(), "Default") or string.find(getServerName(), "Test") then SERVER_ID = 3 end addEventHandler("onResourceStart", resourceRoot, function () if not Database.connect() then outputDebugString("ERROR: Databa...
--------------------------------------------------------------------------- -- @author Emmanuel Lepage Vallee &lt;elv1313@gmail.com&gt; -- @copyright 2017 Emmanuel Lepage Vallee -- @module naughty.widget --------------------------------------------------------------------------- return { title = require( "naught...
local skynet = require "skynet" local service = require "skynet.service" local core = require "skynet.sharetable.core" local is_sharedtable = core.is_sharedtable local stackvalues = core.stackvalues local function sharetable_service() local skynet = require "skynet" local core = require "skynet.sharetable.co...
local output=io.open('moaiEnum.yu', 'w') local format=string.format local function genEnum(clas, enumName, items) output:write(format('enum %s {\n', enumName)) for i, item in ipairs(items) do output:write(format('\t %s = %d,\n', item, clas[item])) end output:write('}\n') end genEnum(MOAIEaseType, 'MOAIEaseTyp...
local osx = {} local alert = require 'alert' local function sleep() os.execute("sleep 0.5") end function osx.screensaver() alert.show("Starting screensaver...") sleep() os.execute("open /System/Library/CoreServices/ScreenSaverEngine.app") end function osx.lock() alert.show("Locking...") sleep() os.exe...
ENT.Base = "base_ai" ENT.Type = "ai" ENT.AutomaticFrameAdvance = true ENT.Spawnable = true ENT.AdminSpawnable = false ENT.PrintName = "Ucus Tozu Market" ENT.Purpose = "Gitmek istediฤŸin yerlere gรถtรผrรผr" ENT.Category = "[BT] Ucus Tozu" ENT.RenderGroup = 9 function ENT:Se...
function widget:GetInfo() return { name = 'Highlight Geos', desc = 'Highlights geothermal spots when in metal map view', author = 'Niobium', version = '1.0', date = 'Mar, 2011', license = 'GNU GPL, v2 or later', layer = 0, enabled = true, -- loaded by default? ...
if RoundController == nil then RoundController = class({}) end function RoundController:Init() self.roundIndex = INITIAL_ROUND self.roundData = require("rounds") self.roundLastIndex = #self.roundData self.spawnerVector = Entities:FindByName(nil, "spawner_center"):GetCenter() self.event = ListenToGameEvent( "enti...
local require = require require("Game.UIView.Login.LoginController") require("Game.UIView.MainUI.MainUIController") require("Game.Gameplay.TerrainManager") RequireGame = RequireGame or {} function RequireGame.Init() LoginController.New() MainUIController.New() end
-- lua socket test package.path = package.path .. ";/usr/share/lua/5.1/?.lua" package.cpath = package.cpath .. ";/usr/lib/x86_64-linux-gnu/lua/5.1/?.so" -- load namespace local socket = require("socket") function main() -- create a TCP socket and bind it to the local host, at any port local server = assert(socket...
local formatters = require "lvim.lsp.null-ls.formatters" formatters.setup { { exe = "prettierd", filetypes = { "typescript" }, args = { "--no-semi", "--single-quote", "--jsx-single-quote" }, }, }
require "scripts.core.item" require "gamemode.Spark.modifiers.modifier_hp_regen"; RedPearl = class(Item) function RedPearl:OnCreated () self:SetCastingBehavior(CastingBehavior(CastingBehavior.PASSIVE)); end function RedPearl:GetModifiers () return { "modifier_hp_regen" } end return RedPearl
-- Make sure Carbon is in our path -- Only these examples need to do this if (not __CARBON_IN_PATH) then __CARBON_IN_PATH = true package.path = package.path .. ";../?/init.lua" end --[[ Carbon: Simple Utilities This file demonstrates how to use the included utilities. They're split up into two modules: Dictionar...
require("common/commonSocketWriter"); require("hall/invitational/socket/invitationalSocketCmd") InvitationalSocketWriter = class(CommonSocketWriter) InvitationalSocketWriter.ctor = function(self) self.m_logFileName = "InvitationalSocketWriter" end InvitationalSocketWriter.dtor = function(self) end ...
local mod = DBM:NewMod("Cannon", "DBM-DMF") local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 17586 $"):sub(12, -3)) mod:SetZone() mod:RegisterEvents( "SPELL_CAST_SUCCESS 102120", "UNIT_AURA player" ) mod.noStatistics = true local timerMagicWings = mod:NewBuffFadesTimer(8, 102116, nil, nil, nil,...
local ffi = require "ffi" --[[ /* * TV service command enumeration and parameter types. */ --]] require "common" require "message" require "vc_hdmi" TVSERVICE_MSGFIFO_SIZE = 1024 TVSERVICE_CLIENT_NAME = MAKE_FOURCC("TVSV") TVSERVICE_NOTIFY_NAME = MAKE_FOURCC("TVNT") TVSERVICE_MAX_CALLBACKS = 2 ffi.cdef[[ //TV s...
local normalizeTreeCollision = settings.startup["sapling-capsule-normalize-collision-box"].value if normalizeTreeCollision then for i, v in pairs( data.raw.tree ) do if v.collision_box[2][1] < 0.4 then v.collision_box = {{-0.4, -0.4}, {0.4, 0.4}} end end end require("prototypes.capsule")
-- config local size = 40 local myname, _ = UnitName("player") local _, myclass = UnitClass("player") local myfont = "FONTS\\FRIZQT__.ttf" local myflat = "Interface\\AddOns\\oUF_Simple\\flat" local mytexture = "Interface\\AddOns\\oUF_Simple\\statusbar" local myborder = "Interface\\A...
-- -- tests/test_project.lua -- Automated test suite for the project support functions. -- Copyright (c) 2008-2010 Jason Perkins and the Premake project -- local _project = premake.project T.project = { } local cfg, result function T.project.setup() _ACTION = "gmake" cfg = {} cfg.project = {} cfg.langua...
-- How to use: -- If a player uses /afk, they go into AFK mode, they will not be autodemoted and their salary is set to $0 (you can still be killed/vote demoted though!). -- If a player does not use /afk, and they don't do anything for the demote time specified, they will be automatically demoted to hobo. local functi...
-- Affiche simplement un Hello Wolrd sur le mini display OLED -- Source: https://wiki.wemos.cc/products:d1_mini_shields:oled_shield -- font_10x20,font_6x10,font_7x13,font_8x13,font_9x15,font_chikita print("\noled_demo_minid1.lua zf20180722.1422 \n") -- setup I2c and connect display function init_i2c_display() ...
-- Get the reader local Chat_reader = CONTAINER.READER['_sub::Chat_reader'] Chat_reader:take() for i, sample in ipairs(Chat_reader.samples) do if (Chat_reader.infos[i].valid_data) then print(sample['id'], sample['content']) end end
if CLIENT then local AngleA = 0 local AngleB = 0 local AngleC = 0 local AngleD = 0 local AngleY = 0 local AngleZ = 0 local camangle_table = {} hook.Add( "CalcView", "SCP.CB.ViewBob", function( player, pos, ang, fov ) if player:GetMoveType() ~= MOVETYPE_NOCLIP then local v = {} v.pos = pos v.ang = ...
return { "windwp/nvim-autopairs", config = function() require('nvim-autopairs').setup { check_ts = true, } end }
-- =========================================================================== -- Base File -- =========================================================================== include("TechTree_Expansion1"); include("techtree_CQUI.lua");
return {--[[ #PVF_File ]] ["[player number]"]={2,8}, ["[pvp start area]"]={0,0,0,0,0,0,0,0,0,0,0,0}, ["[dungeon]"]={3,}, ["[type]"]="[normal]", ["[greed]"]="KK KK", ["[tile]"]={"Tile/ForestOver.til","Tile/ForestOver.til","Tile/ForestOverUnder.til","Tile/ForestUnder.til","Tile/ForestUnder.til","Tile/ForestUn...
Menu = {} Menu.filesystem = {} Menu.graphics = {} Menu.audio = {} Menu.newfilesystem = {} Menu.newgraphics = {} Menu.newaudio = {} Menu.selected = 1 Menu.entries = 0 function Menu.newfilesystem.newFile(filename, mode) return Menu.filesystem.newFile(Menu.name .. filename, mode) end function Menu.newfile...
print(math.maxinteger * 2) print(math.mininteger * 2)
--- Define objects with attributes. -- @module kv.object -- @usage -- local Animal = object() local M = {} local function lookup (T, name) while T do if rawget(T, name) then return rawget(T, name), T end T = getmetatable(T).__base end return false, false end local function lookupmeta (T, n...
-- FIR filter module local _r = {} function _r:new(response) local o = {} setmetatable(o, self) self.__index = self assert(#response > 1) local coefs = {} for i = 1, #response do table.insert(coefs, response[i]) end -- mirrored second half for i = #response - 1, 1, -...
---@class GuildRoleData GuildRoleData = { id = "", name = "", color = 0, hoist = false, position = 0, permissions = "", managed = false, mentionable = true, tags = {} } ---@class GuildRole ---@field Client RestClient ---@field ID string ---@field Name string ---@field Color number -...
local K, C = unpack(select(2, ...)) local Module = K:GetModule("Skins") if C["Skins"].WeakAuras ~= true then return end local _G = _G local pairs = _G.pairs local unpack = _G.unpack local CreateFrame = _G.CreateFrame local IsAddOnLoaded = _G.IsAddOnLoaded local WeakAuras = _G.WeakAuras -- WeakAuras skin local Resk...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
local awful = require("awful") local beautiful = require("beautiful") local gears = require("gears") local naughty = require("naughty") --local wibox = require("wibox") local clip = {} clip.enable_debug = false clip.combine = true clip.store = {} clip.max = 5 clip.menu_items = awful.menu({ items = { {"status", func...
๏ปฟ local CenterpieceTex; local ParticlesTex = { }; local ParticleSpawners = { }; local Particles = { }; local function ShallowCopy(value) if (type(value) == "table") then local result = { }; for k, v in next, value do result[k] = v; end return result; end return value; end local function DeepCopy(valu...
local T = {} local SHOW_ERRORS = false local SLOW = false local function pass(t, v, msg) msg = msg or "expected pass" if type(v) == "function" then local ok, err = pcall(v) if not ok then t:Errorf("%s: %s", msg, err) return end if not err then t:Error(msg) end elseif not v then t:Errorf(msg) ...
function make_overlay(title, text, bc, tc) bc = bc or kGREEN tc = tc or kSLATE return { scroll = 0, update = function(self) if (btnp(3)) self.scroll = clamp(self.scroll + 1, 0, #text - 6) if (btnp(2)) self.scroll = clamp(self.scroll - 1, 0, #text - 6) end, draw = function(self) ...
local exports = {} local GLOBAL_RNG = nil exports.rngs = { DefaultGenerator = native.random.DefaultGenerator, -- TODO -- VanillaGenerator = native.random.VanillaGenerator, } -- TODO -- exports.Dice = native.random.Dice function exports.global_rng() return GLOBAL_RNG end function exports.set_global_rng(...
-- Autogenerated with DRAKON Editor 1.33 require('strict').on() local table = table local string = string local pairs = pairs local ipairs = ipairs local io = io local pcall = pcall local xpcall = xpcall local debug = debug local math = math local tostring = tostring local clock = require("clock") local log = requir...
local module = {} local TeleportService = game:GetService("TeleportService") local teleportData = TeleportService:GetLocalPlayerTeleportData() or {} local arrivingFrom = teleportData.arrivingFrom local providedTimeStamp = teleportData.dataTimestamp local accessoriesData = teleportData.playerAccessories function mod...
ENT.Base = "dronesrewrite_base" ENT.Type = "anim" ENT.PrintName = "JIE Drone" ENT.Spawnable = true ENT.AdminSpawnable = true ENT.Category = "Drones Rewrite" ENT.UNIT = "JIE" ENT.HUD_hudName = "Drones 1" ENT.Model = "models/dronesrewrite/jiedr/jiedr.mdl" ENT.Weight = 700 ENT.SpawnHeight = 64 ENT.Speed = 4500 ENT.Up...
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous ------------------------------------------------------------------------------- local ToggleAbility = {} ToggleAbility.Name = "Toggle Ability" ToggleAbility.NumArgs = 2 -------------------------------------------...
-- huangxin <3203317@qq.com>
--------------------------------------------------------------------------- -- Copyright (c) 2006-2015 Fabien Fleutot and others. -- -- All rights reserved. -- -- This program and the accompanying materials are made available -- under the terms of the Eclipse Public License v1.0 which -- accompanies this distribution, ...
๏ปฟ--[[ -- Copyright(c) 2018-2025, All Rights Reserved -- Created: 2018/12/21 -- -- @file l_wireless.lua -- @brief ๆ‰ฉๅฑ•ๅ†…็ฝฎๅบ“"l_wireless", ๅ‡ฝๆ•ฐ่ฏดๆ˜Ž -- @version 0.1 -- @history ไฟฎๆ”นๅކๅฒ -- \n 2018/12/21 0.1 ๅˆ›ๅปบๆ–‡ไปถ -- @warning ๆฒกๆœ‰่ญฆๅ‘Š --]] local l_wireless = {} -- @brief ่Žทๅ–wifi่ฟ่กŒๆจกๅผ -- @return [string] "ap", "sta", "other" l_wireles...
--MCmobs v0.4 --maikerumine --made for MC like Survival game --License for code WTFPL and otherwise stated in readmes --dofile(minetest.get_modpath("mobs").."/api.lua") --################### --################### PIG --################### --[[ mobs:register_mob("mobs_mc:21apig", { type = "animal", passive = true,...
local Rest = require("rest") function handleResponse(response) print(response.code) end Rest:get("http://jsonplaceholder.typicode.com/posts"):asJson(handleResponse)
-- โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” -- -- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ -- -- Plugin: vim-maximizer -- Github: github.com/szw/vim-maximizer -- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ -- -- โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” -- -- โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”...
----------------------------------- -- Area: Abyssea - Vunkerl -- NPC: Cavernous Maw -- !pos -360.000 -46.750 700.000 217 -- Notes: Teleports Players to Jugner Forest ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:startEvent(200) end function onE...
print("Sampling average/min/max: Read AIN1 at set rate for certain number of samples. Outputs average, minimum, and maximum") --Example program that samples an analog input at a set frequency for a certain number of samples. --Takes the average, minimum, and maximum of sampled data and prints it to the console as well ...
-- Global bootstrapping local beautiful = require('beautiful') local home = os.getenv('HOME') beautiful.init(home..'/.config/awesome/sanity/theme.lua') colors = beautiful.colors -- The Rest local awful = require('awful') local gears = require('gears') local naughty = require('naughty') local wibox = require...
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
local Mecab = require "mecab" local split = require("pl.utils").split local argparse = require "argparse" local waga = "ใฉใ“ใง็”Ÿใ‚ŒใŸใ‹ใจใ‚“ใจ่ฆ‹ๅฝ“ใŒใคใ‹ใฌใ€‚ไฝ•ใงใ‚‚่–„ๆš—ใ„ใ˜ใ‚ใ˜ใ‚ใ—ใŸๆ‰€ใงใƒ‹ใƒฃใƒผใƒ‹ใƒฃใƒผๆณฃใ„ใฆใ„ใŸไบ‹ใ ใ‘ใฏ่จ˜ๆ†ถใ—ใฆใ„ใ‚‹ใ€‚ๅพ่ผฉใฏใ“ใ“ใงๅง‹ใ‚ใฆไบบ้–“ใจใ„ใ†ใ‚‚ใฎใ‚’่ฆ‹ใŸใ€‚ใ—ใ‹ใ‚‚ใ‚ใจใง่žใใจใใ‚Œใฏๆ›ธ็”Ÿใจใ„ใ†ไบบ้–“ไธญใงไธ€็•ช็ฐๆ‚ชใช็จฎๆ—ใงใ‚ใฃใŸใใ†ใ ใ€‚ใ“ใฎๆ›ธ็”Ÿใจใ„ใ†ใฎใฏๆ™‚ใ€…ๆˆ‘ใ€…ใ‚’ๆ•ใˆใฆ็…ฎใฆ้ฃŸใ†ใจใ„ใ†่ฉฑใงใ‚ใ‚‹ใ€‚ใ—ใ‹ใ—ใใฎๅฝ“ๆ™‚ใฏไฝ•ใจใ„ใ†่€ƒใ‚‚ใชใ‹ใฃใŸใ‹ใ‚‰ๅˆฅๆฎตๆใ—ใ„ใจใ‚‚ๆ€ใ‚ใชใ‹ใฃใŸใ€‚ใŸใ ๅฝผใฎๆŽŒใซ่ผ‰ใ›ใ‚‰ใ‚Œใฆใ‚นใƒผใจๆŒใกไธŠใ’ใ‚‰ใ‚ŒใŸๆ™‚ไฝ•ใ ใ‹ใƒ•...
Config = {} --Config.Locale = 'es' Config.OnlyFirstname = false Config.EnableFXIdentity = true Config.Colors = { ['0'] = '<span style="background-color: black;">Negro metรกlico</span></span>', ['1'] = '<span style="background-color: black;">Negro grafito metรกlico</span></span>', ['2'] = '<span style="backg...
return { ink=[[ * "Monsieur, let us savour this moment!"[] I declared. My master clouted me firmly around the head and dragged me out of the door. <> -> dragged_outside * [We hurried home] -> hurry_outside === as_fast_as_we_could === <> as fast as we could. ]], expected={ {"option", 1, '"Monsieur, let us...
local color = require "richtext.color" local utf8 = require("richtext.utf8") local M = {} local function parse_tag(tag, params) local settings = { tags = { [tag] = params }, tag = tag } if tag == "color" then settings.color = color.parse(params) elseif tag == "shadow" then settings.shadow = color.parse(params)...
----------------------------------- -- Area: Windurst Woods -- NPC: Auction Counter -- Working 100% ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:sendMenu(3) end function onEventUpdate(player,csid,option) end function onEventFinish(player,csid,...
local A = FonzAppraiser A.module 'fa.value.vendor' local L = AceLibrary("AceLocale-2.2"):new("FonzAppraiser") local vendorValue = AceLibrary("LibVendorValue-1.0") local util = A.require 'util.item' local pricing = A.require 'fa.value.pricing' do local parseItemCode = util.parseItemCode functio...
local function commander(argToExcute) local result = io.popen(argToExcute) local strInfo = result:read("*all") return strInfo end function tryTillSucceed(arg, tryTimes) tryTimes = tryTimes or 1000 for i = 1, tryTimes, 1 do print("argument is: ", arg) local res = commander(arg) ...
-- MIT license, see LICENSE for more details. -- Extension for nvim-dap-ui local M = {} M.sections = { lualine_a = { { 'filename', file_status = false } }, } M.filetypes = { 'dap-repl', 'dapui_console', 'dapui_watches', 'dapui_stacks', 'dapui_breakpoints', 'dapui_scopes', } return M