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 |
|---|---|---|---|---|---|
ld-test/lzmq-ffi | examples/zap.lua | 15 | 1952 | local zmq = require "lzmq"
local zloop = require "lzmq.loop"
local function recv_zap(sok)
local msg, err = sok:recv_all()
if not msg then return nil, err end
local req = {
version = msg[1]; -- Version number, must be "1.0"
sequence = msg[2]; -- Sequence number of request
domain = msg... | mit |
jbeich/Aquaria | files/scripts/maps/node_beacon_li.lua | 6 | 1160 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
sjznxd/lc-20121231 | libs/core/luasrc/model/uci.lua | 86 | 10653 | --[[
LuCI - UCI model
Description:
Generalized UCI model
FileId:
$Id$
License:
Copyright 2008 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... | apache-2.0 |
nyczducky/darkstar | scripts/globals/items/saltena.lua | 12 | 1354 | -----------------------------------------
-- ID: 5885
-- Item: saltena
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +6% (cap 100)
-- Increases rate of combat skill gains by 20%
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
abosalah22/memo | plugins/ar-lock-bot.lua | 8 | 2916 | --[[
ββ βββββββββββββββββββββββββββββββββββββββββββββ
ββ ββ ββ ββ
ββ ββ BY SAJJAD NOORI ββ ββ
ββ ββ BY SAJAD NOORI (@SAJJADNOORI) ββ ββ
ββ ββ JUST WRITED BY SAJJAD NOORI ββ ββ
ββ ββ ANTI BOT : Ω
ΩΨΉ Ψ¨ΩΨͺΨ§Ψͺ ββ ββ
βββ... | gpl-2.0 |
sevu/wesnoth | data/campaigns/World_Conquest/lua/game_mechanics/effects.lua | 4 | 5588 | local _ = wesnoth.textdomain 'wesnoth-wc'
local T = wml.tag
local terrain_map = { fungus = "Tt", cave = "Ut", sand = "Dt",
reef = "Wrt", hills = "Ht", swamp_water = "St", shallow_water = "Wst", castle = "Ct",
mountains = "Mt", deep_water = "Wdt", flat = "Gt", forest = "Ft", frozen = "At",
village = "Vt", impassable... | gpl-2.0 |
guangbin79/Lua_5.1.5-iOS | lua-script/coxpcall.lua | 2 | 3181 | -------------------------------------------------------------------------------
-- Coroutine safe xpcall and pcall versions
--
-- Encapsulates the protected calls with a coroutine based loop, so errors can
-- be dealed without the usual Lua 5.x pcall/xpcall issues with coroutines
-- yielding inside the call to pcall or... | mit |
nyczducky/darkstar | scripts/zones/La_Theine_Plateau/npcs/Stone_Monument.lua | 14 | 1300 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 334.133 50.623 141.163 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
AquariaOSE/Aquaria | files/scripts/maps/node_title_replayintro.lua | 6 | 1795 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/effects/int_boost.lua | 34 | 1027 | -----------------------------------
--
-- EFFECT_INT_BOOST
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_INT,effect:getPower());
end;
... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/seaturtlebaby-special1.lua | 6 | 1141 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
AquariaOSE/Aquaria | files/scripts/maps/_unused/node_energyboss_done.lua | 6 | 1348 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
rastasheep/dotfiles | hammerspoon.symlink/text-expander.lua | 1 | 1424 | function TextExpander (dictionaryLocation)
local expand = function ()
local copyAction, retAction
local choices = loadfile("text-expander-dictionary.lua")()
local privDictionary = loadfile(dictionaryLocation)
if privDictionary then
local dictionary = privDictionary()
choices = hs.fnutils.... | mit |
nyczducky/darkstar | scripts/globals/items/meat_mithkabob.lua | 12 | 1456 | -----------------------------------------
-- ID: 4381
-- Item: meat_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 60
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
AquariaOSE/Aquaria | game_scripts/_mods/jukebox/scripts/jukeboxinclude.lua | 5 | 2937 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
nyczducky/darkstar | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 17 | 1503 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port... | gpl-3.0 |
sjznxd/lc-20121231 | libs/nixio/lua/nixio/util.lua | 179 | 5824 | --[[
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 |
nyczducky/darkstar | scripts/globals/weaponskills/camlanns_torment.lua | 26 | 1419 | -----------------------------------
-- Camlann's Torment
-- Polearm weapon skill
-- Skill Level: EMPYREAN
-- Delivers a triple damage attack. DEF ignored varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: VIT:60%
-- 100%TP 200%TP 300%TP
-- 3.00 3 3
---------------------... | gpl-3.0 |
bgshih/crnn | src/SharedParallelTable.lua | 1 | 1810 | local SharedParallelTable, parent = torch.class('nn.SharedParallelTable', 'nn.Module')
function SharedParallelTable:__init(unit, maxT)
parent.__init(self)
self.output = {}
self.gradInput = {}
self.unit = unit
self.maxT = maxT
self.clones = {}
self:reset()
end
function SharedParallelTa... | mit |
nyczducky/darkstar | scripts/zones/Port_Jeuno/npcs/Najib.lua | 30 | 1385 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Najib
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
---------------------------------... | gpl-3.0 |
sudheesh001/RFID-DBSync | cardpeek-0.8.3/dot_cardpeek_dir/scripts/lib/strict.lua | 17 | 1194 | ------------------------------------------------------------
-- NOTE: This file was taken from the LUA 5.1 distribution
-- It is public domain
------------------------------------------------------------
--
-- strict.lua
-- checks uses of undeclared global variables
-- All global variables must be 'declared' thr... | gpl-2.0 |
skaasj/MemNN | MemN2N-lang-model/model.lua | 18 | 2780 | -- Copyright (c) 2015-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
require('nn')
req... | bsd-3-clause |
dtrip/awesome | tests/test-awful-widget-calendar_popup.lua | 10 | 2181 | --- Test for awful.widget.calendar
local runner = require("_runner")
local awful = require("awful")
local calendar = require("awful.widget.calendar_popup")
local wa = awful.screen.focused().workarea
local cmonth = calendar.month()
local cyear = calendar.year()
local current_date = os.date("*t")
local day, month, ye... | gpl-2.0 |
nyczducky/darkstar | scripts/globals/items/pork_cutlet_rice_bowl_+1.lua | 12 | 2051 | -----------------------------------------
-- ID: 6407
-- Item: pork_cutlet_rice_bowl_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- HP +65
-- MP +65
-- STR +8
-- VIT +4
-- AGI +6
-- INT -8
-- Fire resistance +21
-- Attack +24% (cap 130)
-- Ranged Attack +24% (cap 130)
-- Store TP +5
-... | gpl-3.0 |
sjznxd/lc-20121231 | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua | 80 | 1153 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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$
]]--
require("luci.controller.l... | apache-2.0 |
nyczducky/darkstar | scripts/globals/spells/bluemagic/feather_tickle.lua | 25 | 1164 | -----------------------------------------
-- Spell: Feather Tickle
-- Reduces an enemy's TP
-- Spell cost: 48 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 64
-- Casting Time: 4 seconds
-- Recast Time: 26 seconds
-- Magic Bursts on: Detonation, Fragmentat... | gpl-3.0 |
nyczducky/darkstar | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 14 | 2525 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
jbeich/Aquaria | files/scripts/entities/eel.lua | 6 | 7475 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 vers... | gpl-2.0 |
Ikesters/ArcPro | src/scripts/lua/Lua/0Misc/0LCF_Includes/LCF_Creature.lua | 18 | 5032 | --[[
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2010 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Softwa... | agpl-3.0 |
ld-test/luarepl | t/plugin-before-tests.lua | 4 | 3900 | -- vim:foldmethod=marker
local repl = require 'repl'
pcall(require, 'luarocks.loader')
require 'Test.More'
local utils = require 'test-utils'
plan(26)
local clone = repl:clone()
do -- basic tests {{{
local with_plugin = clone:clone()
local has_called_normal
local has_called_before
function with_plugin:foo(... | mit |
nyczducky/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua | 14 | 1064 | -----------------------------------
-- 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 |
ffxiphoenix/darkstar | scripts/zones/Bastok-Jeuno_Airship/TextIDs.lua | 9 | 1080 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
Shlomix/dlcourse-lstm-hw | base.lua | 13 | 1965 | --
-- Copyright (c) 2014, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the Apache 2 license found in the
-- LICENSE file in the root directory of this source tree.
--
function g_disable_dropout(node)
if type(node) == "table" and node.__typename == nil then
for i = 1, #node... | apache-2.0 |
jordyvl/VLWARE-OS | src/vlware/update.lua | 1 | 7133 | local function clear()
term.clear()
term.setCursorPos(1, 1)
end
local function get(user, repo, bran, path, save)
if not user or not repo or not bran or not path then
error("not enough arguments, expected 4 or 5", 2)
end
local url = "https://raw.github.com/"..user.."/"..repo.."/"..bran.."/"..path
local remot... | mit |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria/npcs/Alivatand.lua | 17 | 3092 | -----------------------------------
-- Area: South San d'Oria
-- NPC: Alivatand
-- Type: Guildworker's Union Representative
-- @zone: 230
-- @pos -179.458 -1 15.857
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyitems");
... | gpl-3.0 |
azekillDIABLO/Voxellar | mods/NODES/default/tools.lua | 5 | 10835 | -- mods/default/tools.lua
-- The hand
minetest.register_item(":", {
type = "none",
wield_image = "wieldhand.png",
wield_scale = {x=1,y=1,z=2.5},
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level = 0,
groupcaps = {
crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxlevel=1},
snappy = {times... | lgpl-2.1 |
ffxiphoenix/darkstar | scripts/zones/Batallia_Downs/npcs/Luck_Rune.lua | 34 | 1079 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -362.167 -12.199 157.158 105
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-------------------------------------
require("scripts/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/bowl_of_yayla_corbasi.lua | 35 | 1482 | -----------------------------------------
-- ID: 5579
-- Item: bowl_of_yayla_corbasi
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 20
-- Dexterity -1
-- Vitality 2
-- HP Recovered While Healing 3
-- MP Recovered While Healing 1
-----------------------------------------
req... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[admin]/admin/client/gui/admin_screenshot.lua | 7 | 6732 | ο»Ώ--[[**********************************
*
* Multi Theft Auto - Admin Panel
*
* gui\admin_screenshot.lua
*
* Original File by MCvarial
*
**************************************]]
aScreenShotWindows = {}
aScreenShotForm = nil
function aPlayerScreenShot (player)
if aScreenShotForm == nil then
local x,y = guiGetScreenS... | mit |
SeonghoBaek/RealtimeCamera | openface/models/openface/nn4.small2.def.lua | 14 | 4434 | -- Model: nn4.small2.def.lua
-- Description: FaceNet's NN4 network with 4b, 4c, and 4d layers removed
-- and smaller 5 layers.
-- Input size: 3x96x96
-- Number of Parameters from net:getParameters() with embSize=128: 3733968
-- Components: Mostly `nn`
-- Devices: CPU and CUDA
--
-- Brandon Amos <http://bamos.github.i... | apache-2.0 |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/themes/dark.lua | 2 | 3708 | -- Copyright 2006-2017 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Dark lexer theme for Scintillua.
-- Contributions by Ana Balan.
local property = require('lexer').property
-- Greyscale colors.
--property['color.dark_black'] = '#000000'
property['color.black'] = '#1A1A1A'
property['color.light_black'] = '#333... | gpl-2.0 |
elezar/rbm_toolbox_lua | code/dataset-mnist.lua | 1 | 7752 | require 'torch'
require 'paths'
mnist = {}
mnist.path_remote = 'https://www.dropbox.com/s/zdq98audyn8j845/mnist_lua.tar.gz?dl=0'
mnist.path_dataset = 'mnist-th7'
mnist.path_trainset = paths.concat(mnist.path_dataset, 'train.th7')
mnist.path_testset = paths.concat(mnist.path_dataset, 'test.th7')
function get_download... | bsd-3-clause |
dlnichols/dotfiles | config/awesome/rc.lua | 1 | 25402 | -- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = ... | mit |
hewei-chn/resurgence | hscale-0.2/src/optivo/hscale/admin.lua | 2 | 4372 | --[[
Copyright (C) 2008 optivo GmbH
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 WI... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/MieuseloirBEnchelles1.lua | 36 | 1055 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Miuseloir B Enchelles
-- @zone 80
-- @pos 120 0 104
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------... | gpl-3.0 |
VoxelDavid/echo-ridge | src/StarterPlayer/StarterPlayerScripts/CellHandler.local.lua | 1 | 1884 | local lighting = game:GetService("Lighting")
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local components = require(replicatedStorage.Services.ComponentService)
local transmit = require(replicatedStorage.Events.Transmit)
local Cell = require(replicatedStora... | mit |
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/syntax/dotnet.lua | 28 | 3090 | module(..., package.seeall)
local util = require "tundra.util"
local nodegen = require "tundra.nodegen"
local depgraph = require "tundra.depgraph"
local _csbase_mt = nodegen.create_eval_subclass {
DeclToEnvMappings = {
References = "CSLIBS",
RefPaths = "CSLIBPATH",
},
}
local _csexe_mt = nodegen.cre... | mit |
azekillDIABLO/Voxellar | mods/MAPGEN/mg_villages/village_types.lua | 3 | 6892 |
-- DOCUMENTATION: mg_villages.village_type_data has entries in the following form:
-- key = { data values } with key beeing the name of the village type
-- meaning of the data values:
-- min, max: the village size will be choosen randomly between these two values;
-- the actual village wil... | lgpl-2.1 |
ffxiphoenix/darkstar | scripts/zones/Port_Bastok/npcs/Gudav.lua | 17 | 1931 | -----------------------------------
-- Area: Port Bastok
-- NPC: Gudav
-- Starts Quests: A Foreman's Best Friend
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 17 | 1358 | -----------------------------------
-- 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... | gpl-3.0 |
ostinelli/gin | gin/cli/base_launcher.lua | 3 | 1975 | -- dep
local lfs = require 'lfs'
-- gin
local Gin = require 'gin.core.gin'
local function create_dirs(necessary_dirs)
for _, dir in pairs(necessary_dirs) do
lfs.mkdir(dir)
end
end
local function create_nginx_conf(nginx_conf_file_path, nginx_conf_content)
local fw = io.open(nginx_conf_file_path, ... | mit |
guker/nn | CMulTable.lua | 13 | 1083 |
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module')
function CMulTable:__init()
parent.__init(self)
self.gradInput = {}
end
function CMulTable:updateOutput(input)
self.output:resizeAs(input[1]):copy(input[1])
for i=2,#input do
self.output:cmul(input[i])
end
return self.output
e... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/zones/Lower_Jeuno/npcs/Amalasanda.lua | 19 | 1284 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Amalasanda
-- Type: Tenshodo Merchant
-- @pos 28.149 2.899 -44.780 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua | 16 | 1277 | -----------------------------------
-- 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 |
ffxiphoenix/darkstar | scripts/globals/items/himesama_rice_ball.lua | 51 | 1477 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP +25
-- Dexterity +4
-- Vitality +4
-- Character +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- De... | gpl-3.0 |
Quenty/NevermoreEngine | src/conditions/src/Shared/AdorneeConditionUtils.lua | 1 | 15992 | --[=[
Utility library that defines a generalized interface for scriptable conditions. These conditions are rooted in [Rx] and
can be scripted by a variety of systems. For example, we may have conditions on what ammo we can consume, or whether
or not an action can be activated.
This library provides an interface fo... | mit |
pengting/lsyncd | tests/l4rsyncdata.lua | 17 | 1554 | #!/usr/bin/lua
require("posix")
dofile("tests/testlib.lua")
cwriteln("****************************************************************")
cwriteln(" Testing layer 4 default rsync with simulated data activity ")
cwriteln("****************************************************************")
local tdir, srcdir, trgdir ... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Lower_Jeuno/npcs/Audee.lua | 28 | 1799 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Audee
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
michalusio/LuOS | init.lua | 1 | 3043 | local line = 1
local function sleep(timeout)
computer.pullSignal(timeout)
end
local function print(gpu,msg)
component.invoke(gpu,"set",1,line,msg)
line = line + 1
end
local function cls(gpu)
line = 1
local w, h = component.invoke(gpu,"getResolution")
component.invoke(gpu,"fill",1,1,w,h," ")
end
local... | mit |
Quenty/NevermoreEngine | src/highlight/src/Client/AnimatedHighlightGroup.story.lua | 1 | 1085 | --[[
@class AnimatedHighlight.story
]]
local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).load(script)
local Maid = require("Maid")
local AnimatedHighlightGroup = require("AnimatedHighlightGroup")
local RxSelectionUtils = require("RxSelectionUtils")
return fun... | mit |
lxl1140989/sdk-for-tb | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua | 80 | 3097 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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 at
h... | gpl-2.0 |
kondrak/ProDBG | bin/macosx/tundra/scripts/tundra/tools/generic-cpp.lua | 13 | 3616 | module(..., package.seeall)
local nodegen = require "tundra.nodegen"
local boot = require "tundra.boot"
local util = require "tundra.util"
local path = require "tundra.path"
local scanner = require "tundra.scanner"
local depgraph = require "tundra.depgraph"
local scanner_cache = {}
function get_cpp_sca... | mit |
ffxiphoenix/darkstar | scripts/zones/Rolanberry_Fields/npcs/qm1.lua | 25 | 1561 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: qm1 (???)
-- @pos -686.216 -31.556 -369.723 110
-- Notes: Spawns Chuglix Berrypaws for ACP mission "Gatherer of Light (I)"
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
----------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/Dehn_Harzhapan.lua | 38 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Dehn Harzhapan
-- Type: Standard NPC
-- @zone: 240
-- @pos -7.974 -7 152.633
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Yasmina.lua | 36 | 1058 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Yasmina
-- Type: Chocobo Renter
-- @zone: 94
-- @pos -34.972 -5.815 221.845
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/pear_crepe.lua | 36 | 1325 | -----------------------------------------
-- ID: 5777
-- Item: Pear Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Intelligence +2
-- MP Healing +2
-- Magic Accuracy +5
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua | 36 | 1124 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Ashmea B Greinner
-- @zone 80
-- @pos 2 2 -81
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------------... | gpl-3.0 |
0x0mar/ettercap | src/lua/share/third-party/stdlib/src/base.lua | 12 | 13424 | --- Adds to the existing global functions
module ("base", package.seeall)
--- Functional forms of infix operators.
-- Defined here so that other modules can write to it.
-- @class table
-- @name _G.op
_G.op = {}
require "table_ext"
local list = require "list"
require "string_ext"
--require "io_ext" FIXME: allow loops... | gpl-2.0 |
vilarion/Illarion-Content | npc/base/consequence/state.lua | 4 | 1807 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
GmodStarfall/Starfall | lua/entities/gmod_wire_starfall_processor/init.lua | 1 | 3840 |
AddCSLuaFile('cl_init.lua')
AddCSLuaFile('shared.lua')
include('shared.lua')
include("starfall/SFLib.lua")
assert(SF, "Starfall didn't load correctly!")
ENT.WireDebugName = "Starfall Processor"
ENT.OverlayDelay = 0
local context = SF.CreateContext()
local name = nil
function ENT:UpdateState(state)
... | bsd-3-clause |
vilarion/Illarion-Content | base/explosion.lua | 4 | 5221 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/cluster_of_paprika.lua | 36 | 1233 | -----------------------------------------
-- ID: 5740
-- Item: Cluster of Paprika
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-- Defense -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters/npcs/Zelala.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Zelala
-- Type: Map Marker
-- @zone: 238
-- @pos 169.855 -1.295 -3.238
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/geirskogul.lua | 18 | 2004 | -----------------------------------
-- Geirskogul
-- Polearm weapon skill
-- Skill Level: N/A
-- Gae Assail/Gungnir: Shock Spikes.
-- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance.
-- A... | gpl-3.0 |
s-jcs/shosundberg | actions/parse_urls.lua | 1 | 2908 | local req = require('requests')
local domains = [[.ac.ad.ae.aero.af.ag.ai.al.am.an.ao.aq.ar.arpa.as.asia.at.au
.aw.ax.az.ba.bb.bd.be.bf.bg.bh.bi.biz.bj.bm.bn.bo.br.bs.bt.bv.bw.by.bz.ca
.cat.cc.cd.cf.cg.ch.ci.ck.cl.cm.cn.co.com.coop.cr.cs.cu.cv.cx.cy.cz.dd.de
.dj.dk.dm.do.dz.ec.edu.ee.eg.eh.er.es.et.eu.fi.firm... | mit |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/rc.lua | 2 | 1730 | -- Copyright 2017 Michael Forney. See LICENSE.
-- rc LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'rc'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local comment = token(l.COMMENT, '#' * l.n... | gpl-2.0 |
noooway/love2d_arkanoid_tutorial | 3-12_SidePanel/bricks.lua | 4 | 5487 | local vector = require "vector"
local bricks = {}
bricks.image = love.graphics.newImage( "img/800x600/bricks.png" )
bricks.tile_width = 64
bricks.tile_height = 32
bricks.tileset_width = 384
bricks.tileset_height = 160
bricks.rows = 11
bricks.columns = 8
bricks.top_left_position = vector( 47, 34 )
bricks.brick_width = ... | mit |
noooway/love2d_arkanoid_tutorial | 3-10_MenuButtons/bricks.lua | 4 | 5487 | local vector = require "vector"
local bricks = {}
bricks.image = love.graphics.newImage( "img/800x600/bricks.png" )
bricks.tile_width = 64
bricks.tile_height = 32
bricks.tileset_width = 384
bricks.tileset_height = 160
bricks.rows = 11
bricks.columns = 8
bricks.top_left_position = vector( 47, 34 )
bricks.brick_width = ... | mit |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/HomePoint#2.lua | 17 | 1253 | -----------------------------------
-- Area: Port Windurst
-- NPC: HomePoint#2
-- @pos -207 -8.159 210 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
require("scripts/g... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_540.lua | 17 | 2177 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Windy Ambassador
-- Windurst Mission 3.3 "A New Journey"
-- @pos 636 16 59 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
------------------... | gpl-3.0 |
darrikmazey/erlmon | erlmon-1.0/lua/lunit.lua | 21 | 17500 |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004, 2006-2009 Michael Roth <mroth@nessie.de>
Permission is hereby g... | mit |
suvjunmd/OpenRA | mods/cnc/maps/nod02b/nod02b.lua | 12 | 6483 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
Grd2ActorTriggerActivator = { Refinery, Yard }
Atk4ActorTriggerActivator = { Guard1 }
Atk3ActorTriggerActivator = { Guard4 }
Atk6ActorTriggerActivator = { Guard2, Guard3 }
HuntActorTrigge... | gpl-3.0 |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/phases/special_events.lua | 1 | 23139 | require('libraries/timers')
function MuradinEvent(time)
local stun_duration = 5.0
CustomTimers.current_time["special_event"] = time + stun_duration
BT_ENABLED = 0
StunBuildings(time)
mode = GameRules:GetGameModeEntity()
mode:SetFixedRespawnTime(1)
local Muradin = CreateUnitByName("npc_dota_creature_muradin_bro... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/Grounds_Tome.lua | 34 | 1144 | -----------------------------------
-- Area: Shrine of Ru'Avitau
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 30 | 1435 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
--... | gpl-3.0 |
lxl1140989/sdk-for-tb | feeds/luci/applications/luci-samba/luasrc/model/cbi/samba.lua | 79 | 2602 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 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 at
h... | gpl-2.0 |
farrajota/human_pose_estimation_torch | util/process_mean_std.lua | 1 | 1957 | -------------------------------------------------------------------------------
-- Compute mean/std for the dataset
-------------------------------------------------------------------------------
function ComputeMeanStd(loader)
assert(loader)
print('Preparing meanstd cache...')
local tnt = require 'torch... | mit |
ffxiphoenix/darkstar | scripts/zones/Lower_Jeuno/npcs/Yatniel.lua | 19 | 1797 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yatniel
-- Type: Standard NPC
-- @zone: 245
-- @pos -66.817 -7 -126.594
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
--------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Norg/npcs/Heiji.lua | 17 | 3132 | -----------------------------------
-- Area: Norg
-- NPC: Heiji
-- Starts and Ends Quest: Like a Shining Subligar
-- @pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
Ekdohibs/minetest_game | mods/xpanes/init.lua | 14 | 4717 |
local function is_pane(pos)
return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0
end
local function connects_dir(pos, name, dir)
local aside = vector.add(pos, minetest.facedir_to_dir(dir))
if is_pane(aside) then
return true
end
local connects_to = minetest.registered_nodes[name].connects_to... | lgpl-2.1 |
Ne02ptzero/Grog-Knight | Angel/Libraries/gwen/Projects/premake4.lua | 5 | 3244 | dofile( "inc/include.lua" )
solution "GWEN"
language "C++"
location ( os.get() .. "/" .. _ACTION )
flags { "Unicode", "Symbols", "NoEditAndContinue", "NoPCH", "No64BitChecks", "StaticRuntime", "EnableSSE" } -- "NoRTTI"
targetdir ( "../lib/" .. os.get() .. "/" .. _ACTION )
libdirs { "../lib/", "../lib/" .... | apache-2.0 |
moonshineTheleocat/lua-tilde | lib/lua/v5.1.3/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
HunanTV/redis | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
wheelcomplex/codis | ext/redis-2.8.13/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
AfuSensi/Mr.Green-MTA-Resources | resources/[admin]/admin/server/admin_wizard.lua | 7 | 3450 | ο»Ώlocal ADMIN_GROUP = "Admin"
local MAX_PASSWORD_CHARS = 30
local g_console = getElementsByType"console"[1]
local g_inWizard,g_wizardCR,g_pattern,g_inputIgnore
function aStartWizard ()
--Check if they have any admins
for i,object in ipairs(aclGroupListObjects ( aclGetGroup(ADMIN_GROUP) )) do
if string.find(object,"... | mit |
ffxiphoenix/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 17 | 3611 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/serving_of_squirrels_delight.lua | 35 | 1341 | -----------------------------------------
-- ID: 5554
-- Item: serving_of_squirrels_delight
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 95)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua | 16 | 1602 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 16 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/thunder_shot.lua | 22 | 2801 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
requi... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.