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 |
|---|---|---|---|---|---|
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 9 | 1960 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Goldsmithing Adv. Synthesis Image Support
-- @pos -193.849 -7.824 -56.372 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_stanza_counter/mod_stanza_counter_http.lua | 32 | 2033 | -- (C) 2011, Marco Cirillo (LW.Org)
-- Exposes stats on HTTP for the stanza counter module.
module:depends("http")
local base_path = module:get_option_string("stanza_counter_basepath", "/stanza-counter/")
-- http handlers
local r_200 = "\n<html>\n<head>\n<title>Prosody's Stanza Counter</title>\n<meta name=\"robots\... | mit |
cryptotoad/prosody-modules | mod_stanza_counter/mod_stanza_counter_http.lua | 32 | 2033 | -- (C) 2011, Marco Cirillo (LW.Org)
-- Exposes stats on HTTP for the stanza counter module.
module:depends("http")
local base_path = module:get_option_string("stanza_counter_basepath", "/stanza-counter/")
-- http handlers
local r_200 = "\n<html>\n<head>\n<title>Prosody's Stanza Counter</title>\n<meta name=\"robots\... | mit |
Xasin/FactorioPathfind | piecedraw.lua | 1 | 1168 | require "piece"
-- Return the character for a piece at the given position.
function pieces.char_at(piece, pX, pY)
local p = maps.get_block(piece[2], pX, pY);
if(p == nil) then return " "; end
if(p[1] == 1) then return "X"; end
if(p[1] == 2) then
if(p[2] == 0 or p[2] == 2) then return "-"; end
return... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua | 34 | 1034 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm4 (???)
-- Notes: Opens west door @ J-9
-- @pos 92.542 -25.907 26.548 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
osuka/js-multiplatform-game03 | frameworks/js-bindings/cocos2d-x/plugin/luabindings/auto/api/ProtocolUser.lua | 146 | 1133 |
--------------------------------
-- @module ProtocolUser
-- @extend PluginProtocol
-- @parent_module plugin
--------------------------------
-- brief config the application info<br>
-- param devInfo This parameter is the info of aplication,<br>
-- different plugin have different format<br>
-- warning Must invoke this... | mit |
Gwynthell/FFDB | scripts/globals/spells/mages_ballad_ii.lua | 2 | 1144 | -----------------------------------------
-- Spell: Mage's Ballad II
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,t... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/hard-boiled_egg.lua | 35 | 1195 | -----------------------------------------
-- ID: 4409
-- Item: hard-boiled_egg
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
eladhoffer/recurrent.torch | examples/language/charRNN_benchmark.lua | 1 | 6338 | require 'torch'
require 'nn'
require 'optim'
require 'eladtools'
require 'recurrent'
require 'utils.OneHot'
require 'utils.textDataProvider'
-------------------------------------------------------
cmd = torch.CmdLine()
cmd:addTime()
cmd:text()
cmd:text('Training recurrent networks on character-level text dataset')
cmd... | mit |
Vivitarut/darkstar | scripts/zones/Chateau_dOraguille/npcs/Mistaravant.lua | 38 | 1049 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Mistaravant
-- Type: Standard NPC
-- @zone: 233
-- @pos 7.097 -3.999 67.988
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/fast_blade.lua | 30 | 1345 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%TP 200%TP ... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cavernous_Maw.lua | 3 | 1205 | -----------------------------------
-- Area: Abyssea Konschatat
-- Name: Cavernous Maw
-- Teleports Players to Konschatat Highlands
-- @pos 159.943 -72.109 -839.986 15
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua | 12 | 3237 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_plug.lua | 3 | 5131 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Plug"
ENT.Author = "Divran"
ENT.Purpose = "Links with a socket"
ENT.Instructions = "Move a plug close to a socket to link them, and data will be transferred through the link."
ENT.WireDebugName = "Plug"
function ENT:G... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters/npcs/Hariga-Origa.lua | 9 | 3387 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hariga-Origa
-- Starts & Finishes Quest: Glyph Hanger
-- Involved in Mission 2-1
-- @pos -62 -6 105 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Nullreff/redpile | conf/redstone.lua | 1 | 10151 | -- redstone.lua - Redstone logic implementation
--
-- Copyright (C) 2014 Ryan Mendivil <ryan@nullreff.net>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source c... | bsd-3-clause |
Gwynthell/FFDB | scripts/globals/spells/knights_minne_v.lua | 2 | 1467 | -----------------------------------------
-- Spell: Knight's Minne V
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(cast... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/yellow_curry_bun.lua | 35 | 2171 | -----------------------------------------
-- ID: 5757
-- Item: yellow_curry_bun
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Health Points 25
-- Strength 5
-- Agility 2
-- Intelligence -4
-- Attack 20% (caps @ 75)
-- Ranged Attack 20% (caps @ 75)
-- Resist Sleep
-- Resi... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Attohwa_Chasm/mobs/Sargas.lua | 13 | 2084 | -----------------------------------
-- Area: Attohwa Chasm
-- NM: Sargas
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua | 4 | 1062 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 270 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Castle_Oztroja/npcs/Antiqix.lua | 19 | 7281 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Antiqix
-- Type: Dynamis Vendor
-- @pos -207.835 -0.751 -25.498 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextID... | gpl-3.0 |
czanyou/node.lua | core/tests/fs/test-fs-chmod.lua | 1 | 3368 | --[[
Copyright 2012-2015 The Luvit Authors. All Rights Reserved.
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 ag... | apache-2.0 |
kepler155c/opus-apps | milo/plugins/importTask.lua | 1 | 1840 | local itemDB = require('core.itemDB')
local Milo = require('milo')
local Tasks = require('milo.taskRunner')
local ImportTask = {
name = 'importer',
priority = 20,
}
local function filter(a)
return a.imports
end
function ImportTask:cycle(context)
local tasks = Tasks({
errorMsg = 'IMPORT error: '
})
for no... | mit |
kepler155c/opus-apps | ignore/pal.lua | 1 | 1881 | local pals = {
{ -- molokai
0x101010,
0x960050,
0x66aa11,
0xc47f2c,
0x30309b,
0x7e40a5,
0x3579a8,
0x9999aa,
0x303030,
0xff0090,
0x80ff00,
0xffba68,
0x5f5fee,
0xbb88dd,
0x4eb4fa,
0xd0d0d0,
... | mit |
msafin/luci | libs/nixio/lua/nixio/fs.lua | 184 | 3723 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.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$
]]--
local... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/bowl_of_pomodoro_sauce.lua | 35 | 1203 | -----------------------------------------
-- ID: 5194
-- Item: Bowl of Pomodoro Sauce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Intelligence 2
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 1 | 2208 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("/scripts/globals/common");
require("/scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/abilities/rogues_roll.lua | 6 | 1412 | -----------------------------------
-- Ability: Choral Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
lo... | gpl-3.0 |
olax/prosody-modules | mod_isolate_host/mod_isolate_host.lua | 31 | 1667 | local jid = require "util.jid";
local jid_bare, jid_split = jid.bare, jid.split;
local is_admin = require "core.usermanager".is_admin;
local set = require "util.set";
local st = require "util.stanza";
local stanza_types = set.new{"message", "presence", "iq"};
local jid_types = set.new{"bare", "full", "host"};
local e... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Walls/npcs/Hiwon-Biwon.lua | 36 | 3543 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Hiwon-Biwon
-- Involved In Quest: Making Headlines, Curses, Foiled...Again!?
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Caedarva_Mire/npcs/qm3.lua | 8 | 1187 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ??? (Spawn Mahjlaef the Paintorn(ZNM T3))
-- @pos 695 -7 527 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
-----... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/slice_of_cockatrice_meat.lua | 17 | 1351 | -----------------------------------------
-- ID: 4435
-- Item: slice_of_cockatrice_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/AlTaieu/npcs/HomePoint#1.lua | 9 | 1227 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
--------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/bluemagic/body_slam.lua | 6 | 1037 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
sammyt291/wire | lua/wire/stools/light.lua | 5 | 4200 | WireToolSetup.setCategory( "Visuals/Lights" )
WireToolSetup.open( "light", "Light", "gmod_wire_light", nil, "Lights" )
if CLIENT then
language.Add( "tool.wire_light.name", "Light Tool (Wire)" )
language.Add( "tool.wire_light.desc", "Spawns a Light for use with the wire system." )
language.Add( "WireLightTool_RopeLe... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/weaponskills/shadowstitch.lua | 4 | 1389 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:30%
-- 100%TP 200%TP 300%TP... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Northern_San_dOria/npcs/Excenmille.lua | 38 | 1057 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Excenmille
-- Type: Ballista Pursuivant
-- @zone: 231
-- @pos -229.344 6.999 22.976
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Excenmille.lua | 38 | 1057 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Excenmille
-- Type: Ballista Pursuivant
-- @zone: 231
-- @pos -229.344 6.999 22.976
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/savage_blade.lua | 30 | 1556 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, ... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_Bastok/npcs/Romilda.lua | 6 | 2285 | -----------------------------------
-- Area: Port Bastok
-- NPC: Romilda
-- Involved in Quest: Forever to Hold
-- Starts & Ends Quest: Till Death Do Us Part
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/green_curry_bun.lua | 35 | 1378 | -----------------------------------------
-- ID: 5756
-- Item: green_curry_bun
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Vitality 1
-- Agility 2
-- Defense % 12
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/base/cl_util.lua | 7 | 3208 | local plyMeta = FindMetaTable("Player")
--[[---------------------------------------------------------------------------
Show a black screen
---------------------------------------------------------------------------]]
local function blackScreen(um)
local toggle = um:ReadBool()
if toggle then
local blac... | mit |
Gwynthell/FFDB | scripts/globals/items/alabaligi.lua | 3 | 1196 | -----------------------------------------
-- ID: 5461
-- Item: Alabaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/Node.lua | 6 | 20432 |
--------------------------------
-- @module Node
-- @extend Ref
-- @parent_module cc
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#Node] ... | apache-2.0 |
Vivitarut/darkstar | scripts/globals/mobskills/Osmosis.lua | 6 | 1248 | ---------------------------------------------
-- Osmosis
--
-- Description: Steals an enemy's HP and one beneficial status effect. Ineffective against undead.
-- Type: Magical
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/s... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Residential_Area/npcs/Moogle.lua | 29 | 1128 | -----------------------------------
-- Area: Residential Area
-- NPC: Moogle
-- Defunct Script - Should not be called by anything anymore
-- Moogle scripts are in each zone, calling a function from moghouse.lua
-----------------------------------
require("scripts/globals/moghouse")
---------------------------... | gpl-3.0 |
cdd990/skynet | examples/agent.lua | 1 | 2622 | local skynet = require "skynet"
local netpack = require "netpack"
local socket = require "socket"
local sproto = require "sproto"
local sprotoloader = require "sprotoloader"
local WATCHDOG
local host
local send_request
local CMD = {}
local REQUEST = {}
local client_fd
local addr
local name
function REQUEST:get()
pr... | mit |
Gwynthell/FFDB | scripts/zones/Apollyon/npcs/Armoury_Crate.lua | 1 | 3931 | -----------------------------------
-- Area: Apollyon
-- NPC: Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Apollyon/TextIDs");... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua | 17 | 2382 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua | 17 | 2382 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
czanyou/node.lua | modules/rtsp/tests/client/test-rtsp-message.lua | 1 | 3820 | local utils = require('util')
local assert = require('assert')
local tap = require('util/tap')
local message = require('rtsp/message')
local RtspMessage = message.RtspMessage
message.realm = '4419b727ab09'
describe("RtspMessage.header", function ()
local request = RtspMessage:new()
-- setHeader
request:set... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/mobskills/Guillotine.lua | 6 | 1032 | ---------------------------------------------
-- Guillotine
--
-- Description: Delivers a four-hit attack. Silences enemy. Duration of effect varies with TP.
-- Type: Physical
-- Number of hits
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/glo... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Dynamis-San_dOria/mobs/Serjeant_Tombstone.lua | 16 | 4913 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Serjeant Tombstone
-- Map1 Position: http://www.dynamislounge.com/html/zone/frame_san1.htm
-- Map2 Position: http://www.dynamislounge.com/html/zone/frame_san2.htm
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_... | gpl-3.0 |
captainadamo/glfw_gltut | GLFW_gltut/Tut07/Data/GenCones.lua | 1 | 3659 | require "XmlWriter"
require "vmath"
local function GenStringFromArray(theArray)
local array = {" "}
for i, vector in ipairs(theArray) do
array[#array + 1] = " " .. table.concat(vector, " ");
end
return table.concat(array, "\n");
end
local positions = {};
local colors = {};
local fan1 = {}... | mit |
olax/prosody-modules | mod_s2s_keysize_policy/mod_s2s_keysize_policy.lua | 32 | 1512 | -- mod_s2s_keysize_policy.lua
-- Requires LuaSec with this patch: https://github.com/brunoos/luasec/pull/12
module:set_global();
local datetime_parse = require"util.datetime".parse;
local pat = "^([JFMAONSD][ceupao][glptbvyncr]) ?(%d%d?) (%d%d):(%d%d):(%d%d) (%d%d%d%d) GMT$";
local months = {Jan=1,Feb=2,Mar=3,Apr=4,... | mit |
Vivitarut/darkstar | scripts/globals/weaponskills/realmrazer.lua | 6 | 1251 | -----------------------------------
-- Realmrazer
-- Club weapon skill
-- Skill Level: 357
-- Delivers a seven-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- ... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_San_dOria/npcs/Anoki.lua | 4 | 1381 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Anoki
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 1 | 1366 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob... | gpl-3.0 |
sbabic/meta-swupdate-boards | recipes-extended/images/update-image/beaglebone-yocto/emmcsetup.lua | 1 | 1691 | function os.capture(cmd)
local f = assert(io.popen(cmd, 'r'))
local s = assert(f:read('*a'))
f:close()
return s
end
function file_exists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
end
function cmdexec(cmd)
local ret, s, status = os.execute(cmd)
if (status ~= 0... | mit |
szorfein/dotfiles | awesomewm/.config/awesome/module/notifications.lua | 1 | 1066 | local noti = require("utils.noti")
local naughty = require("naughty")
-- timeout
naughty.config.defaults.timeout = 10
naughty.config.presets.low.timeout = 4
naughty.config.presets.critical.timeout = 0 -- click to disable
-- Check if awesome encountered an error during startup and fell back to
-- another config (This ... | mit |
Gwynthell/FFDB | scripts/globals/items/loach_soup.lua | 1 | 1552 | -----------------------------------------
-- ID: 5671
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy % 7
-- Accuracy Cap 50
-- HP % 7
-- HP Cap 50
-- Evasion 5
-- (Did Not Add Group Food Effect)
--------------------------... | gpl-3.0 |
msafin/luci | libs/web/luasrc/template.lua | 68 | 3061 | --[[
LuCI - Template Parser
Description:
A template parser supporting includes, translations, Lua code blocks
and more. It can be used either as a compiler or as an interpreter.
FileId: $Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j1.lua | 38 | 1045 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -331 0.1 -300 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
-------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Qulun_Dome/npcs/_440.lua | 18 | 1499 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Magicite
-- @pos 60 24 -2 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Qulun... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_expression2/base/preprocessor.lua | 3 | 13105 | --[[
Expression 2 Pre-Processor for Garry's Mod
Andreas "Syranide" Svensson, me@syranide.com
]]
AddCSLuaFile()
E2Lib.PreProcessor = {}
local PreProcessor = E2Lib.PreProcessor
PreProcessor.__index = PreProcessor
function PreProcessor.Execute(...)
-- instantiate PreProcessor
local instance = setmetatable({}, Pre... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Dynamis-Beaucedine/mobs/Vanguard_Eye.lua | 16 | 3228 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Vznguard_Eye
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/kohlrouladen.lua | 35 | 1287 | -----------------------------------------
-- ID: 5760
-- Item: kohlrouladen
-- Food Effect: 1hour?, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
blaudev/BlauLock | app/BlauLock.CMD.lua | 2 | 6121 | --[[
This file is part of BlauLock, a ComputerCraft program
that adds password protection on startup.
Author: Daniel 'xBlau' Mosquera <daniel+github@blaudev.es>
Repository: https://github.com/xblau/blaulock
THIS FILE IS DISTRIBUTED UNDER THE TERMS OF THE MIT LICENSE
]]
local tArgs = {...}
dofi... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/magma_steak_+1.lua | 36 | 1540 | -----------------------------------------
-- ID: 6072
-- Item: Magma Steak +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- Strength +9
-- Attack +24% Cap 185
-- Ranged Attack +24% Cap 185
-- Vermin Killer +6
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua | 36 | 1515 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Esmallegue
-- General Info NPC
-- @zone 230
-- @pos 0 2 -83
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua | 36 | 1515 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Esmallegue
-- General Info NPC
-- @zone 230
-- @pos 0 2 -83
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Tavnazian_Safehold/npcs/Latteaune.lua | 38 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Latteaune
-- Type: Event Scene Replayer
-- @zone: 26
-- @pos -16.426 -28.889 109.626
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Tavnazian_Safehold/npcs/Latteaune.lua | 38 | 1057 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Latteaune
-- Type: Event Scene Replayer
-- @zone: 26
-- @pos -16.426 -28.889 109.626
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/Sororo.lua | 17 | 1769 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Sororo
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zo... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/spells/foe_lullaby_ii.lua | 6 | 1297 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,sp... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Halvung/Zone.lua | 8 | 1264 | -----------------------------------
--
-- Zone: Halvung (62)
--
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Halvung/TextIDs");
-----------------------------------
-- onInitialize
--------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua | 17 | 1387 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Icon Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("script... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Kazham/npcs/Dodmos.lua | 19 | 2896 | -----------------------------------
-- Area: Kazham
-- NPC: Dodmos
-- Starts Quest: Trial Size Trial By Fire
-- @pos 102.647 -14.999 -97.664 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Ephauge.lua | 36 | 1468 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ephauge
-- General Info NPC
-- @zone 230
-- @pos -2 -2 45
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/choco-scroll.lua | 36 | 1153 | -----------------------------------------
-- ID: 5917
-- Item: Choco-scroll
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Mind 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
mendsley/bgfx | scripts/bindings-d.lua | 30 | 9534 | local codegen = require "codegen"
local idl = codegen.idl "bgfx.idl"
local d_types_template = [[
/*
*
* AUTO GENERATED! DO NOT EDIT!
*
*/
module bindbc.bgfx.types;
public import core.stdc.stdarg : va_list;
extern(C) @nogc nothrow:
$version
alias bgfx_view_id_t = ushort;
$types
]]
local d_funcs_template = [[... | bsd-2-clause |
transitd/transitd | src/cjdnstools/contrib/lua/cjdns/admin.lua | 42 | 2939 | -- Cjdns admin module for Lua
-- Written by Philip Horger
common = require 'cjdns/common'
AdminInterface = {}
AdminInterface.__index = AdminInterface
common.AdminInterface = AdminInterface
function AdminInterface.new(properties)
properties = properties or {}
properties.host = properties.host or "127.0.0... | mit |
prefanatic/exsto | lua/exsto/plugins/server/freeze-command.lua | 1 | 1499 |
local PLUGIN = exsto.CreatePlugin()
PLUGIN:SetInfo({
Name = "Freezer",
ID = "freeze",
Desc = "A plugin that allows freezing of other players!",
Owner = "Prefanatic",
} )
function PLUGIN:CanPlayerSuicide( ply )
if ply.NoSuicide then return false end
end
function PLUGIN:Freeze( caller, ply )
if ply:IsFrozen() t... | gpl-3.0 |
ChristopherOlson/ArduHeli | Tools/CHDK-Scripts/Cannon S100/3DR_EAI_S100.lua | 96 | 29695 |
--[[
KAP UAV Exposure Control Script v3.2
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/West_Ronfaure/npcs/Signpost.lua | 19 | 1276 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Signpost
-- @zone 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
fu... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 8 | 2955 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/Umberto.lua | 38 | 1073 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Umberto
-- Type: Quest NPC
-- @zone: 235
-- @pos -56.896 -5 -134.267
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextID... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/feather_storm.lua | 9 | 2041 | -----------------------------------------
-- 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
-- Reca... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/kazham_pineapple.lua | 3 | 1094 | -----------------------------------------
-- ID: 4432
-- Item: kazham_pineapple
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 17 | 1271 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 17 | 1271 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Metalloid_Amoeba
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Lower_Jeuno/npcs/Ghebi_Damomohe.lua | 2 | 4156 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ghebi Damomohe
-- Type: Standard Merchant
-- Starts and Finishes Quest: Tenshodo Membership
-- @zone 245
-- @pos 16 0 -5
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settin... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/AlTaieu/npcs/_0x1.lua | 6 | 2395 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Rubious Crystal (South Tower)
-- @pos 0 -6.250 -736.912 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Lower_Delkfutts_Tower/npcs/_542.lua | 2 | 2098 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Basty Ambassador
-- Bastok Mission 3.3 "Appointment to Jeuno"
-- @pos 596 16 -19 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
--------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Dynamis-Jeuno/Zone.lua | 28 | 2476 | -----------------------------------
--
-- Zone: Dynamis-Jeuno
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Jeuno/TextIDs");
------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_shark_fin_soup.lua | 3 | 1713 | -----------------------------------------
-- ID: 4452
-- Item: bowl_of_shark_fin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP 5
-- Dexterity 4
-- Mind -4
-- HP Recovered While Healing 9
-- Attack % 14 (cap 60)
-- Ranged Attack % 14 (cap 60)
-----------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Nhel Urhahn
-- Type: Standard NPC
-- @zone: 94
-- @pos -47.348 -4.499 47.117
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
norefle/arenero | src/scenes/shepherd/init.lua | 1 | 3320 | --[[----------------------------------------------------------------------------
--- @brief Main component of the Shepherd mini game.
----------------------------------------------------------------------------]]--
local Queue = require "core.queue"
local Utils = require "core.utils"
local MapModel = require "scenes.s... | mit |
Vivitarut/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm3.lua | 19 | 1377 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "It's not your vault"
-- @zone 176
-- @pos -173 26 252 2
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Player/Motion/keyframes/km_NaoV4_StandupFromFrontBH_Stream_Slow.lua | 1 | 6393 | local mot = {};
mot.servos = {
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
};
mot.keyframes = {
{
angles = vector.new({
0,0,
74.9, 6.4, 94.8, -20.7,
3.1, 1.9, 0.4, -4.3, 55.3, -0.8,
0.0, 0.1, 2.5, -5.8, 61.1, 2.2,
74.9, -6.4, -93.2, 19.6
})*ma... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.