repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
bmscoordinators/FFXI-Server | scripts/zones/Mhaura/npcs/Orlando.lua | 14 | 3537 | -----------------------------------
-- Area: Mhaura
-- NPC: Orlando
-- Type: Standard NPC
-- @pos -37.268 -9 58.047 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/keyit... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Western_Adoulin/npcs/Hujette.lua | 14 | 2151 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Hujette
-- Type: Quest NPC and Shop NPC
-- Involved with Quest: 'All the Way to the Bank'
-- @zone 256
-- @pos 35 0 -56 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
----------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua | 14 | 1058 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mhoti Pyiahrs
-- Type: Allegiance
-- @zone 94
-- @pos 6.356 -2 26.677
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
cypherkey/AvorionMission | player/story/exodus.lua | 1 | 5745 | package.path = package.path .. ";data/scripts/lib/?.lua"
local OperationExodus = require("story/operationexodus")
local SectorGenerator = require("SectorGenerator")
local SectorSpecifics = require("sectorspecifics")
local PlanGenerator = require("plangenerator")
local Placer = require("placer")
require("utility")
requ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Cape_Teriggan/npcs/relic.lua | 14 | 1864 | -----------------------------------
-- Area: Cape Terrigan
-- NPC: <this space intentionally left blank>
-- @pos 73 4 -174 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
---------... | gpl-3.0 |
funpam/esp | software/LUA/init_and_setup/init.lua | 1 | 1439 | -- Initialise ESP2866 module
-- This program has two modes based on state JP8 jumper.
-- When pins on JP8 are connected the program will run setup.lua program (configuration mode)
-- When pins on JP8 are unconnected the program will run blinkLEd.lua program (or any other program)
-- Copyright [2015] [werar@go2.pl https... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/ability.lua | 19 | 19308 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
require("scripts/globals/status");
ABILITY_MIGHTY_STRIKES = 0;
ABILITY_HUNDRED_FISTS = 1;
ABILITY_BENEDICTION = 2;
ABILITY_MANAFONT = 3;
ABILITY_CHAINSPELL = 4;
ABILITY_... | gpl-3.0 |
wingo/snabb | lib/luajit/dynasm/dasm_arm64.lua | 15 | 34807 | ------------------------------------------------------------------------------
-- DynASM ARM64 module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Mhaura/npcs/Nomad_Moogle.lua | 17 | 1103 | -----------------------------------
-- Area: Mhaura
-- NPC: Nomad Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
-----------------------------------
-- o... | gpl-3.0 |
cypherkey/AvorionMission | sectors/miningfield.lua | 1 | 3718 | package.path = package.path .. ";data/scripts/lib/?.lua"
package.path = package.path .. ";data/scripts/?.lua"
SectorGenerator = require ("SectorGenerator")
require ("productions")
Placer = require("placer")
local SectorTemplate = {}
probability = 400
minNumFactories = 4
maxNumFactories = 6
-- must be defined, will ... | gpl-3.0 |
lynix/opentx-telemetry | telemetry.lua | 1 | 8277 | --[[
OpenTX Telemetry Script for Taranis X9D Plus / X8R
--------------------------------------------------
Alexander Koch <lynix47@gmail.com>
Based on 'olimetry.lua' by Ollicious <bowdown@gmx.net>
--]]
-- settings -------------------------... | mit |
deepak78/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua | 78 | 2796 | --[[
Luci configuration model for statistics - collectd exec plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License ... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Bastok_Mines/npcs/Pavvke.lua | 17 | 2231 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Pavvke
-- Starts Quests: Fallen Comrades (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
re... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Qufim_Island/npcs/Swirling_Vortex.lua | 14 | 1345 | -----------------------------------
-- Area: Qufim Island
-- NPC: Swirling Vortex
-- Entrance to Qufim Island
-- @pos -436.000 -13.499 340.117 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports")... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20m.lua | 9 | 8247 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Runic Seal
-- @pos 125 -2 20 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/mis... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/RuLude_Gardens/npcs/Maat.lua | 14 | 10026 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Maat
-- Starts and Finishes Quest: Limit Break Quest 1-5
-- Involved in Quests: Beat Around the Bushin
-- @zone 243
-- @pos 8 3 118
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua | 14 | 1123 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Lutete
-- Type: Standard NPC
-- @zone 94
-- @pos 169.205 -0.879 -9.107
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Yhoator_Jungle/npcs/Mintoo_IM.lua | 14 | 3325 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Mintoo, I.M.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require(... | gpl-3.0 |
deepak78/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua | 80 | 1684 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Norg/npcs/Louartain.lua | 15 | 1383 | -----------------------------------
-- Area: Norg
-- NPC: Louartain
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
41.878349, -6.282223, 10.820915,
42.088036, -6.282223, 11.867051,
42.096603, -6.282223, 12.939011,
42.104187, -6.282223, 17.270992,
42.126625... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 17 | 1364 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Gadalar.lua | 14 | 1041 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gadalar
-- Type: Fireserpent General
-- @zone 48
-- @pos -105.979 -7 39.692
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Caedarva_Mire/npcs/Seaprince_s_Tombstone.lua | 14 | 1026 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Seaprince's Tombstone
-- Involved in quest: Forging a New Myth
-- @pos -433 7 -586 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/zones/Caedarva_Mire/TextIDs");
------------------... | gpl-3.0 |
erf4n/SELF_Bot | plugins/help.lua | 3 | 2640 | do
function run(msg, matches)
local help = [[🤖دستورات فارسی ربات
☑️ربات روشن
✔️فعال کردن بوت در يک گروه خواص
🔋ربات خاموش
✔️غير فعال کردن بوت در يک گروه خواض
❌پلاگین ها
✔️مشاهده ليست پلاگين ها
🚀پلاگین بشه (نام پلاگین به انگلیسی)
✔️فعال کردن پلاگيني با نام (plugin name)
❤️پلاگین پاک شه (نام پلاگین به انگلی... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua | 17 | 3061 | -----------------------------------
-- Area: Port Windurst
-- NPC: Papo-Hopo
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/... | gpl-3.0 |
jsenellart/OpenNMT | tools/utils/unidata.lua | 8 | 50934 | --[[ Class containing unicode data table summarized information]]
local unidata = {}
unidata.maplower = {}
-- the following sections have been generated from UnicodeData.txt and should not be modified manually
unidata.Number = {}
unidata.Number[0x0030] = {
0xFFC0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0... | mit |
trigrass2/gopher-lua | _lua5.1-tests/code.lua | 21 | 3240 |
if T==nil then
(Message or print)('\a\n >>> testC not active: skipping opcode tests <<<\n\a')
return
end
print "testing code generation and optimizations"
-- this code gave an error for the code checker
do
local function f (a)
for k,v,w in a do end
end
end
function check (f, ...)
local c = T.listcode(f... | mit |
wingo/snabb | src/apps/lwaftr/loadgen.lua | 2 | 2020 | module(...,package.seeall)
local app = require("core.app")
local packet = require("core.packet")
local link = require("core.link")
local transmit, receive = link.transmit, link.receive
local clone = packet.clone
--- ### `RateLimitedRepeater` app: A repeater that can limit flow rate
RateLimitedRepeater = {
config... | apache-2.0 |
tuxology/bcc | src/lua/bcc/vendor/helpers.lua | 9 | 4518 | do
local ffi = require("ffi")
local ptrtype = ffi.typeof("uint64_t")
local strformat = string.format
function string.format(format, ...)
local args = {...}
local match_no = 1
local newfmt, count = string.gsub(format, "()%%(.-)(%a)",
function(_, mods, t)
local n = match_no
match... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20t.lua | 26 | 3180 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- Door: Gilded Gateway (Arrapago)
-- @pos -580 0 -159 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Dynamis-Valkurm/mobs/Avatar_Idol.lua | 30 | 1157 | -----------------------------------
-- Area: Dynamis Valkurm
-- MOB: Manifest_Idol
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis... | gpl-3.0 |
pakozm/april-ann | packages/ann/optimizer/lua_src/optimizer_rmsprop.lua | 3 | 4916 | local assert = assert
local ipairs = ipairs
local math = math
local pairs = pairs
local string = string
local table = table
local type = type
--
local april_assert = april_assert
local get_table_fields = get_table_fields
local iterator = iterator
local mop = matrix.op
local md = matrix.dict
local MAX_UPDATES_WITHOUT_P... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/bluemagic/feather_storm.lua | 32 | 2005 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Recast Time: 1... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kazham/npcs/Bhukka_Sahbeo.lua | 17 | 1071 | -----------------------------------
-- Area: Kazham
-- NPC: Bhukka Sahbeo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_aern.lua | 10 | 3710 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw_aern PH (Ix'Aern DRK and DRG)
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scri... | gpl-3.0 |
googlecartographer/cartographer | configuration_files/trajectory_builder_3d.lua | 1 | 3207 | -- Copyright 2016 The Cartographer Authors
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/binary_tap.lua | 32 | 1703 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
wingo/snabb | lib/ljsyscall/syscall/netbsd/errors.lua | 24 | 3649 | -- NetBSD error messages
return {
PERM = "Operation not permitted",
NOENT = "No such file or directory",
SRCH = "No such process",
INTR = "Interrupted system call",
IO = "Input/output error",
NXIO = "Device not configured",
["2BIG"] = "Argument list too long",
NOEXEC = "Exec format error",
BADF = "Ba... | apache-2.0 |
pakozm/april-ann | tools/HMM_ANN/training/train.lua | 3 | 24112 | -- This script is for HMM-ANN training using EM algorithm
--
-- Following algorithm is a general description of how it works:
--
-- Viterbi initial segmentation or use a given one
-- For each em iteration or until stop criterion
-- Train MLP until stop criterion
-- Viterbi segmentation using previous MLP
-- End
--
... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Western_Adoulin/npcs/Terwok.lua | 14 | 1294 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Terwok
-- Type: Standard NPC and Quest NPC
-- Involved With Quest: 'Order Up'
-- @zone 256
-- @pos 127 4 -81
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------... | gpl-3.0 |
cypherkey/AvorionMission | systems/basesystem.lua | 1 | 5542 | package.path = package.path .. ";data/scripts/lib/?.lua"
require ("stringutility")
local seed = nil
local rarity = nil
function initialize(seed32_in, rarity_in)
if seed32_in and rarity_in then
seed = Seed(seed32_in)
rarity = rarity_in
if seed and rarity then
onInstalled(seed, r... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/West_Ronfaure/npcs/Tottoto_WW.lua | 14 | 3332 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Tottoto, W.W.
-- Type: Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
mehrpouya81/masterbot | plugins/invite.lua | 24 | 2328 | --[[
Invite other user to the chat group.
Use !invite ********* (where ********* is id_number) to invite a user by id_number.
This is the most reliable method.
Use !invite @username to invite a user by @username.
Less reliable. Some users don't have @username.
Use !invite Type print_name Here to invite a user by pri... | gpl-2.0 |
cypherkey/AvorionMission | entity/merchants/equipmentdock.lua | 1 | 1652 | package.path = package.path .. ";data/scripts/lib/?.lua"
require ("utility")
require ("randomext")
require ("faction")
UpgradeGenerator = require("upgradegenerator")
Shop = require ("shop")
-- if this function returns false, the script will not be listed in the interaction window,
-- even though its UI may be register... | gpl-3.0 |
aaronbolyard/capn | premake4.lua | 1 | 1209 | solution "Capn"
configurations { "Debug", "Release" }
configuration "Debug"
targetdir "build/bin/debug"
configuration "Release"
targetdir "build/bin/release"
project "Hook"
kind "StaticLib"
language "C++"
files { "code/hook/**.cpp", "code/hook/**.hpp" }
targetname "hook"
configuration "Debug"
flag... | mit |
Samanj5/creed-SPAM | plugins/inrealm.lua | 34 | 22928 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_grou... | gpl-2.0 |
foozhu/env_conf | .hammerspoon/winop.lua | 1 | 3049 | pos = {
{"Left", { x = 0.00, y = 0.00, w = 0.50, h = 1.00 }},
{"Right", { x = 0.50, y = 0.00, w = 0.50, h = 1.00 }},
{"Up", { x = 0.00, y = 0.00, w = 1.00, h = 0.50 }},
{"Down", { x = 0.00, y = 0.50, w = 1.00, h = 0.50 }},
{"1", { x = 0.00, y = 0.00, w = 0.333, h = 1.00 }},
{"2", { x = 0.333, y... | gpl-2.0 |
diamondo25/Vana | scripts/npcs/gachapon4.lua | 2 | 16079 | --[[
Copyright (C) 2008-2016 Vana Development Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
nsimplex/wicker | utils/table/core.lua | 6 | 2535 | --[[
Copyright (C) 2013 simplex
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that ... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/bastore_sardine.lua | 12 | 1342 | -----------------------------------------
-- ID: 5792
-- Item: Bastore Sardine
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Norg/npcs/Muzaffar.lua | 26 | 3289 | -----------------------------------
-- Area: Norg
-- NPC: Muzaffar
-- Standard Info NPC
-- Quests: Black Market
-- @pos 16.678, -2.044, -14.600 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Norg/TextIDs");
require(... | gpl-3.0 |
orocos/rFSM | time.lua | 2 | 2820 | --- Various sys/time.h like operations.
--
-- (C) 2010-2013 Markus Klotzbuecher <markus.klotzbuecher@mech.kuleuven.be>
-- (C) 2014-2020 Markus Klotzbuecher <mk@mkio.de>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
-- Take struct timespec tables with 'sec' and 'nsec' fields as input
-- and return two values sec, nsec
... | lgpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Narito-Pettito.lua | 14 | 1067 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Narito-Pettito
-- Type: Standard NPC
-- @zone 94
-- @pos -52.674 -5.999 90.403
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
jefferycn/wxq | iPhone-4S/blood_example_ui.lua | 1 | 1558 | package.path=package.path .. ";/var/touchelf/scripts/blood/?.lua"
require "core"
UI = {
{ 'TextView{-请输入血战各项参数-}'},
{ 'InputBox{}', 'BLOOD_ROUND', '血战关数' },
{ 'InputBox{}', 'BLOOD_SKIP_ROUND', '“血战避开”开始关数' },
{ 'InputBox{}', 'HARD_ROUND', '力... | mit |
midnightviking/simple-rotation | Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 31 | 2865 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 23
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/slow.lua | 6 | 1535 | -----------------------------------------
-- Spell: Slow
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- Slow's potency is calculated with the formula (187.5 + dMND*1.5)/1024, and caps at 300/1024 (~29.3%).
-- And MND of 75 is neccessary to reach the hardcap of Slow.
---... | gpl-3.0 |
wingo/snabb | lib/luajit/src/jit/dump.lua | 10 | 19964 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Gusgen_Mines/npcs/Grounds_Tome.lua | 30 | 1091 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Ponono.lua | 14 | 1060 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ponono
-- Type: Standard NPC
-- @zone 94
-- @pos 156.069 -0.001 -15.667
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/whale_staff.lua | 42 | 1075 | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Tosuka-Porika.lua | 14 | 6113 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Tosuka-Porika
-- Starts Quests: Early Bird Catches the Bookworm, Chasing Tales
-- Involved in Quests: Hat in Hand, Past Reflections, Blessed Radiance
-- Involved in Missions: Windurst 2-1, Windurst 7-1, Windurst 8-2, CoP 3-3
-- @pos -26 -6 103 238
... | gpl-3.0 |
alivilteram/mustafa1p | plugins/createsuper.lua | 1 | 2585 | local filename='data/creategroup.lua'
local cronned = load_from_file(filename)
local function save_cron(msg,text,date)
if msg.from.username then
username = msg.from.username
else
username = msg.from.print_name
end
local user_id = tostring(msg.from.id)
if not cronned[date] then
cronned[date] =... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_4.lua | 28 | 3531 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 4 (Elvaan)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missi... | gpl-3.0 |
victorholt/Urho3D | bin/Data/LuaScripts/30_LightAnimation.lua | 24 | 9498 | -- Light animation example.
-- This sample is base on StaticScene, and it demonstrates:
-- - Usage of attribute animation for light color & UI animation
require "LuaScripts/Utilities/Sample"
function Start()
-- Execute the common startup for samples
SampleStart()
-- Create the UI content
... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Apollyon/mobs/Kaiser_Behemoth.lua | 17 | 1532 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Quicksand_Caves/npcs/_5s0.lua | 14 | 1271 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -21 0 -60 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs"... | gpl-3.0 |
telegramxmanbot/aaa | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
dgengtek/dotfiles | awesome/.config/awesome/custom/global_keys.lua | 1 | 1041 | #!/bin/env lua
local values = require("custom/values")
local awful = require("awful")
modkey = values.modkey
keys = awful.util.table.join(
-- terminal
awful.key({ modkey, }, "Return", function () awful.util.spawn(values.terminal_tmux) end),
awful.key({ modkey, "Shift" }, "Return", function () awful.u... | mit |
Element-Research/rnn | SequencerCriterion.lua | 3 | 3622 | ------------------------------------------------------------------------
--[[ SequencerCriterion ]]--
-- Applies a criterion to each of the inputs and targets in the
-- corresponding input and target Tables.
-- Useful for nn.Repeater and nn.Sequencer.
-- WARNING : assumes that the decorated criterion is stateless, i.e... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 26 | 2190 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
deepak78/luci | libs/nixio/docsrc/nixio.fs.lua | 156 | 7907 | --- Low-level and high-level filesystem manipulation library.
module "nixio.fs"
--- Check user's permission on a file.
-- @class function
-- @name nixio.fs.access
-- @param path Path
-- @param mode1 First Mode to check ["f", "r", "w", "x"]
-- @param ... More Modes to check [-"-]
-- @return true
--- Strip the dire... | apache-2.0 |
deepak78/luci | applications/luci-radvd/luasrc/model/cbi/radvd.lua | 79 | 8177 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m ... | apache-2.0 |
bigyihsuan/complicated-recipes | prototypes/recipes/assemblers.lua | 1 | 1272 | data:extend({
{
type = 'recipe',
name = 'assembling-machine-1-frame',
ingredients = {
{'iron-plate', 5},
{'electronic-circuit', 3}
},
result = 'assembling-machine-1-frame',
enabled = false --automation
},
{
type = 'recipe',
name = 'assembling-machine-2-frame',
ingredients = {
{'iron-... | mit |
nsimplex/wicker | init/init_modules/package_management.lua | 1 | 6654 | --------------------------------------------------------------------------------
-- |
-- Module : wicker.init.init_modules.package.management
-- Note :
--
-- Parametric tools for environment based package loading and importing.
--
-------------------------------------------------------------------------... | gpl-2.0 |
nsimplex/wicker | daemons/shardgraph/portal.lua | 1 | 3937 | --[[
-- Abstraction over a shard migration portal.
--]]
local Lambda = wickerrequire "paradigms.functional"
local Debuggable = wickerrequire "adjectives.debuggable"
local Pred = wickerrequire "lib.predicates"
local getmetatable = getmetatable
local select = select
---
local Shard = wickerrequire "daemons.shardgraph... | gpl-2.0 |
accorp/lua-5.1-stuff | dump/init.lua | 1 | 7077 | --
-- Yellow Dump Truck
--
local dump
dump = setmetatable(
{
worker = {},
indent = " ",
is_ref_type =
{
["table"] = true,
["thread"] = true,
["userdata"] = true,
["function"] = true,
},
register = function (type, dump_class)
if dump_class == nil then
dump.worker[type] = dump.worker_default
... | unlicense |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/evisceration.lua | 26 | 1610 | -----------------------------------
-- Evisceration
-- Dagger weapon skill
-- Skill level: 230
-- In order to obtain Evisceration, the quest Cloak and Dagger must be completed.
-- Delivers a fivefold attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/pixie_mace.lua | 41 | 1075 | -----------------------------------------
-- ID: 17414
-- Item: Pixie Mace
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------------... | gpl-3.0 |
Dhahi374/likwid | src/applications/likwid-topology.lua | 10 | 11164 | #!<PREFIX>/bin/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-topology.lua
*
* Description: A application to determine the thread and cache topology
* on x86 processors.
*
* Version: <VERSION>
... | gpl-3.0 |
cloudflare/lua-capnproto | benchmark.lua | 4 | 1500 | jit.opt.start("loopunroll=1000", "maxrecord=5000", "maxmcode=1024")
package.path = "lua/?.lua;proto/?.lua;" .. package.path
local test_capnp = require "handwritten_capnp"
local ffi = require "ffi"
local test_capnp = require "handwritten_capnp"
local capnp = require "capnp"
local cjson ... | bsd-2-clause |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/sonic_thrust.lua | 25 | 1367 | -----------------------------------
-- Sonic Thrust
-- Polearm weapon skill
-- Skill Level: 300
-- Delivers an area attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: STR:40% ; DEX:40%
-- 100%TP 200%TP 300%TP
-- 3.00 3.7 4.50
--------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Caedarva_Mire/mobs/Aynu-Kaysey.lua | 17 | 1665 | -----------------------------------
-- Area: Caedarva Mire
-- MOB: Aynu Kasey
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight
----------------------------... | gpl-3.0 |
NoahNMorton/MinecraftLuaPrograms | OpenComputers/DEPRECATED/GangsirsBaseInfoGetterV1.lua | 2 | 8485 | --[[
THIS PROGRAM IS NOW DEPRECATED, AVOID USING AS MANY THINGS ARE PROBABLY BROKEN.
Gangsir's base info getter OpenComputers port
Not all must be connected, as the program will limit itself to only what is present.
Needs at least 1.5 tier RAM.
Uses port 21481 by default.
Writes file to /usr/misc/clientAddress.txt by d... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Falzuuk.lua | 27 | 3041 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Falzuuk
-- Type: Imperial Gate Guard
-- @pos -60.486 0.999 105.397 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
Wrongtown/EmptyEpsilon | scripts/scenario_00_basic.lua | 4 | 12931 | -- Name: Basic
-- Description: Basic scenario. A few random stations, with random stuff around them, are under attack by enemies. Kill all enemies to win.
-- Type: Basic
-- Variation[Empty]: Places no enemies. Recommended for GM-controlled scenarios and rookie crew orientation. The scenario continues until the GM decla... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/freezebite.lua | 23 | 1411 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30... | gpl-3.0 |
LinusU/nngraph | test/test_nngraph.lua | 4 | 12991 |
require 'totem'
require 'nngraph'
local test = {}
local tester = totem.Tester()
local function checkGradients(...)
totem.nn.checkGradients(tester, ...)
end
function test.test_oneOutput()
local in1 = nn.Identity()()
local out1 = nn.Identity()(in1)
local module = nn.gModule({in1}, {out1})
local input =... | bsd-3-clause |
Kasperki/LogisticsUtility | LogisticsSigns/control.lua | 1 | 5788 | require "util"
require "string"
require "config"
global.icons = nil
-- Init the sign table
function init()
--Tracks the entities assigned to signs. So we can destroy them on mined event.
global.signs = global.signs or {}
--Tracks last build sign. So we can add other entities to same position.
global.last_... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua | 13 | 4520 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Honoi-Gumoi
-- Involved In Quest: Crying Over Onions, Hat in Hand
-- @zone = 238
-- @pos = -195 -11 -120
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
albanD/adaptive-neural-compilation | adaptation/test.lua | 1 | 66023 | local torch = require 'torch'
local torchtest = torch.TestSuite()
local mytester
local seed = os.time()
local precision = 1e-6
local perturbation = 1e-6
local distUtils = require 'nc.distUtils'
local ops = require 'nc.ops'
local layers = require 'nc.layers'
local function testDistOp(f, op, name)
local M = 100
local... | gpl-3.0 |
albanD/adaptive-neural-compilation | adaptation/decompiler/decompiler.lua | 1 | 2746 | local distUtils = require 'nc.distUtils'
local decompiler = {}
decompiler.instrToName = {
"STOP",
"ZERO",
"INC ",
"ADD ",
"SUB ",
"DEC ",
"MIN ",
"MAX ",
"READ",
"WRIT",
"JEZ "
}
decompiler.dump_registers = function(registers, nb_registers, softmax)
local str = ""
... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/lungfish.lua | 12 | 1319 | -----------------------------------------
-- ID: 4315
-- Item: Lungfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/RuAun_Gardens/npcs/Field_Manual.lua | 29 | 1067 | -----------------------------------
-- Field Manual
-- Area: RuAun Gardens
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Hayah_Dahbalesahma.lua | 14 | 1062 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Hayah Dahbalesahma
-- Type: Standard NPC
-- @zone 241
-- @pos -50.363 -1.292 -147.883
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--... | gpl-3.0 |
aliwvw/Smart_guy | plugin/dev.lua | 1 | 1599 | --[[
_ _ _ _ ___ ___ _
__ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __
/ _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ /
| (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ... | gpl-2.0 |
fps-vogel/maccer | scripts/exmac.lua | 1 | 10482 | --[[
exmac.lua
by Felipe Vogel
fps.vogel@gmail.com
Exmacronize. Word key builder for Maccer. Extracts new word forms from texts and adds them to the key.
Copyright 2015 Felipe Vogel. Distributed under the terms of the GNU General Public License.
This file is part of Maccer.
Maccer is free software: you can re... | gpl-3.0 |
MRAHS/SBSS_Plus | plugins/kickall.lua | 125 | 1670 | local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, ok_cb, true)
end
local function returnids(cb_extra, success, result)
local receiver = cb_extra.receiver
local chat_id = result.id
local chatname = result.print_name
loc... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Qulun_Dome/Zone.lua | 30 | 1586 | -----------------------------------
--
-- Zone: Qulun_Dome (148)
--
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
--... | gpl-3.0 |
deepak78/luci | applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua | 7 | 1160 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Copyright 2010 Manuel Munz <freifunk@somakoma.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Beaucedine_Glacier/npcs/Ryunchi-Pauchi_WW.lua | 14 | 3357 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Ryunchi-Pauchi, W.W.
-- Type: Outpost Conquest Guards
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.