repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
lbfamous/arcemu | src/scripts/lua/Lua/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Maiden.lua | 30 | 1099 | function Maiden_Holy_Fire(Unit, event, miscunit, misc)
print "Maiden Holy Fire"
Unit:FullCastSpellOnTarget(29522,Unit:GetRandomPlayer())
Unit:SendChatMessage(11, 0, "You like Holy Fire...")
end
function Maiden_Holy_Wrath(Unit, event, miscunit, misc)
print "Maiden Holy Wrath"
Unit:FullCastSpellOnTarget(32445,Unit:... | agpl-3.0 |
CommandPost/CommandPost | src/tests/cp/ui/Builder_spec.lua | 1 | 6606 | local spec = require "cp.spec"
local describe, it = spec.describe, spec.it
local context = spec.context
local expect = require "cp.spec.expect"
local Builder = require "cp.ui.Builder"
local Element = require "cp.ui.Element"
--local log = require "hs.logger" .new("Buildersp... | mit |
Vadavim/test | scripts/globals/items/slice_of_diatryma_meat.lua | 18 | 1290 | -----------------------------------------
-- ID: 5290
-- Item: Slice of Diatryma Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Nashmau/npcs/Kyokyoroon.lua | 14 | 1755 | -----------------------------------
-- Area: Nashmau
-- NPC: Kyokyoroon
-- Standard Info NPC
-- @pos 18.020 -6.000 10.467 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/setting... | gpl-3.0 |
nimaghorbani/dozdi4 | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Uleguerand_Range/mobs/Jormungand.lua | 11 | 2484 | -----------------------------------
-- Area: Uleguaerand Range
-- NPC: Jormungand
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInit... | gpl-3.0 |
Vadavim/test | scripts/zones/Mhaura/npcs/Phoochuchu.lua | 19 | 1441 | -----------------------------------
-- Area: Mhaura
-- NPC: Phoochuchu
-- Involved in Quest: A Thief in Norg!?
-- @pos -4 -4 69 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Mh... | gpl-3.0 |
Vadavim/test | scripts/globals/spells/bluemagic/spiral_spin.lua | 1 | 2066 | -----------------------------------------
-- Spell: Spiral Spin
-- Chance of effect varies with TP. Additional Effect: Accuracy Down
-- Spell cost: 39 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: STR+1 HP+5
-- Level: 60
-- Casting Time: 4 seconds
-- Reca... | gpl-3.0 |
grimmsdottir/DSTmod-Orion_Castilio | scripts/prefabs/up_health.lua | 1 | 1024 | local assets=
{
Asset("ANIM", "anim/up_health.zip"),
Asset("IMAGE", "images/inventoryimages/up_health.tex"),
Asset("ATLAS", "images/inventoryimages/up_health.xml"),
}
local function fn(Sim)
local inst = CreateEntity()
inst.entity:AddTransform()
inst.entity:AddAnimState()
inst.entity:AddSoundEmitter()
i... | agpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/learned_etude.lua | 18 | 1764 | -----------------------------------------
-- Spell: Learned Etude
-- Static INT Boost, BRD 26
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMa... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_1st_Floor.lua | 35 | 1135 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_1st]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1303... | gpl-3.0 |
ErichG69/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
hoku586/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cb.lua | 14 | 1314 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cb (Gate of Darkness)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
--... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/cp/apple/finalcutpro/timeline/Toolbar.lua | 1 | 14808 | --- === cp.apple.finalcutpro.timeline.Toolbar ===
---
--- Timeline Toolbar
local require = require
local fn = require "cp.fn"
local ax = require "cp.fn.ax"
local Button = require "cp.ui.Button"
local Ch... | mit |
Vadavim/test | scripts/zones/QuBia_Arena/mobs/Worgbut_of_Clan_Death.lua | 11 | 2523 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
CommandPost/CommandPost | src/extensions/i18n/plural.lua | 2 | 7353 | local plural = {}
local defaultFunction = nil
-- helper functions
local function assertPresentString(functionName, paramName, value)
if type(value) ~= 'string' or #value == 0 then
local msg = "Expected param %s of function %s to be a string, but got %s (a value of type %s) instead"
error(msg:format(paramName... | mit |
ff94315/luci-1 | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua | 137 | 15546 | cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
app_alarmreceiver:value("yes", "Load")
app_alarmreceiver:value("no", "Do Not Load")
app_al... | apache-2.0 |
quanhua92/torch-android | src/pkg/torch/Tensor.lua | 57 | 16339 | -- additional methods for Storage
local Storage = {}
-- additional methods for Tensor
local Tensor = {}
-- types
local types = {'Byte', 'Char', 'Short', 'Int', 'Long', 'Float', 'Double'}
-- Lua 5.2 compatibility
local log10 = math.log10 or function(x) return math.log(x, 10) end
-- tostring() functions for Tensor an... | bsd-3-clause |
Elkazan/darkstar | scripts/zones/Toraimarai_Canal/TextIDs.lua | 7 | 1157 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6425; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6429; -- Obtained: <item>.
GIL_OBTAINED = 6430; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6432; -- Obtained... | gpl-3.0 |
odylle/VuBar | VuBar/modules/details.lua | 1 | 13304 | local addon, ns = ...
----------------------------------
-- Variables
----------------------------------
local V = ns.V
local EventHandler, EventFrame, DebugFrame, Shorten = V.EventHandler, V.EventFrame, V.DebugFrame, V.Shorten
local max, elapsed = 0, 0
----------------------------------
-- Blizz Api & Variables
-----... | gpl-3.0 |
Vadavim/test | scripts/zones/Throne_Room/Zone.lua | 32 | 1638 | -----------------------------------
--
-- Zone: Throne_Room (165)
--
-----------------------------------
package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Throne_Room/TextIDs");
------------------------... | gpl-3.0 |
KragleStudios/gmFactionWars | entities/entities/fw_armourmachine/init.lua | 1 | 1363 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:SetModel("models/props_lab/reciever_cart.mdl")
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
self:SetUseType(SIMPLE_USE)
self:PhysWake()
fw.resourc... | mit |
korialuo/skynet | service/cslave.lua | 3 | 6606 | local skynet = require "skynet"
local socket = require "skynet.socket"
local socketdriver = require "skynet.socketdriver"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_servic... | mit |
hoku586/darkstar | scripts/zones/Western_Altepa_Desert/npcs/relic.lua | 14 | 1892 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: <this space intentionally left blank>
-- @pos -152 -16 20 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_De... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua | 92 | 6917 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
S1ngS1ng/HammerSpoon | key-binding.lua | 1 | 1630 | local wm = require('window-management')
local hk = require "hs.hotkey"
-- * Key Binding Utility
--- Bind hotkey for window management.
-- @function windowBind
-- @param {table} hyper - hyper key set
-- @param { ...{key=value} } keyFuncTable - multiple hotkey and function pairs
-- @key {string} hotkey
-- @value {fu... | mit |
Vadavim/test | scripts/globals/effects/warcry.lua | 35 | 1071 | -----------------------------------
--
-- EFFECT_WARCRY
--
-- Notes:
-- Savagery TP bonus not cut in half like ffxclopedia says.
-- ffxiclopedia is wrong, bg wiki right. See link where testing was done.
-- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464
------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Abyssea-Grauberg/Zone.lua | 33 | 1488 | -----------------------------------
--
-- Zone: Abyssea - Grauberg
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Grauberg... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua | 17 | 1486 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Staff
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Metalworks/npcs/Lutia.lua | 38 | 1034 | -----------------------------------
-- Area: Metalworks
-- NPC: Lutia
-- Type: Standard NPC
-- @zone: 237
-- @pos 24.076 -17 -33.060
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/M... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Metalworks/npcs/_6lg.lua | 17 | 1297 | -----------------------------------
-- Area: Metalworks
-- Door: _6lg (Cornelia's Room)
-- @pos 114 -20 -7 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalwork... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua | 73 | 1071 | -- Copyright 2019 John Crispin <blogic@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.ltqtapi", package.seeall)
function index()
if not nixio.fs.access("/etc/config/telephony") then
return
end
page = node("admin", "telephony")
page.target = firstchild()
page.title... | apache-2.0 |
quanhua92/torch-android | src/cmake/dok/dokparse.lua | 2 | 5182 | -- print('now in dokparse')
-- for k,v in ipairs(arg) do
-- print(k,v)
-- end
local dokutils = arg[1]
local doktemplate = arg[2]
local src = arg[3]
local title = arg[4]
local rootdir = arg[5]
local dokdst = arg[6]
local htmldst = arg[7]
dofile(dokutils)
local txt = io.open(src):read('*all')
local sections = dok.... | bsd-3-clause |
Elkazan/darkstar | scripts/zones/Bastok_Markets/npcs/Cleades.lua | 17 | 3519 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Cleades
-- Type: Mission Giver
-- @pos -358 -10 -168 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
odylle/VuBar | VuBar/modules/minimap.lua | 1 | 10723 | local addon, ns = ...
----------------------------------
-- Variables
----------------------------------
local V = ns.V
local EventHandler, EventFrame, DebugFrame = V.EventHandler, V.EventFrame, V.DebugFrame
----------------------------------
-- Blizz Api & Variables
----------------------------------
local GetMinimap... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua | 17 | 2103 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hagakoff
-- Standard Merchant NPC
-- Partitionally Implemented
-- Difficult Shop Script needed
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua | 14 | 3326 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Fighting Ant, I.M.
-- Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua | 16 | 1477 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Tachi
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Fanatic_Dance.lua | 45 | 1037 | ---------------------------------------------------
-- Fanatic Dance
-- Family: Orc
-- Description: Charms all targets in an area of effect.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: N/A
-- Range: AoE around user
-- Notes: Dynamis NM Orcs only
---------------------------------------------------
require("scri... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua | 17 | 1304 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rw (Oil Lamp)
-- Notes: Opens south door at J-9 from inside.
-- @pos 103.703 -26.180 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Vadavim/test | scripts/zones/Gustav_Tunnel/mobs/Goblin_Mercenary.lua | 10 | 1027 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: Goblin Mercenary
-- Note: Place holder Wyvernpoacher Drachlox
-----------------------------------
require("/scripts/zones/Gustav_Tunnel/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
functi... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/core/controlsurfaces/resolve/prefs/init.lua | 1 | 94475 | --- === plugins.core.controlsurfaces.resolve.prefs ===
---
--- Blackmagic DaVinci Resolve Control Surface Preferences Panel
local require = require
local os = os
local log = require "hs.logger".new "prefsSpeedEditor"
local inspect = req... | mit |
hoku586/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm13.lua | 14 | 1753 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm13 (???)
-- Spawns Bukhis
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
fu... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua | 14 | 1060 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -95.486 11.188 418.153 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Yuht... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/mordant_rime.lua | 18 | 4870 | -----------------------------------
-- Mordant Rime
-- Dagger weapon skill
-- Skill level: N/A
-- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP.
-- Aligned with the Breeze Gorget, Thunde... | gpl-3.0 |
3scale/docker-gateway | spec/policy/3scale_batcher/reporter_spec.lua | 2 | 2019 | local reporter = require('apicast.policy.3scale_batcher.reporter')
local ReportsBatcher = require('apicast.policy.3scale_batcher.reports_batcher')
local lrucache = require('resty.lrucache')
local resty_lock = require 'resty.lock'
local pairs = pairs
local insert = table.insert
-- ReportsBatcher uses a shdict. For the ... | mit |
yosefvj/vj2 | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
mohammadclashclash/seed25 | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
chanko08/Ludum-Dare-32 | assets/lvls/level07.lua | 2 | 3295 | return {
version = "1.1",
luaversion = "5.1",
orientation = "orthogonal",
width = 20,
height = 15,
tilewidth = 32,
tileheight = 32,
properties = {},
tilesets = {
{
name = "levelobjects",
firstgid = 1,
tilewidth = 32,
tileheight = 32,
spacing = 0,
margin = 0,
... | mit |
Elkazan/darkstar | scripts/zones/Lower_Jeuno/npcs/Caruvinda.lua | 37 | 4526 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Caruvinda
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/armorstorage"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
likunpeng/cocos | luatest/src/ActionsProgressTest/ActionsProgressTest.lua | 16 | 12490 |
local s = cc.Director:getInstance():getWinSize()
------------------------------------
-- SpriteProgressToRadial
------------------------------------
local function SpriteProgressToRadial()
local layer = cc.Layer:create()
Helper.initWithLayer(layer)
local to1 = cc.ProgressTo:create(2, 100)
local to2 = cc.Prog... | apache-2.0 |
hoku586/darkstar | scripts/globals/weaponskills/gust_slash.lua | 23 | 1283 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP 200%TP... | gpl-3.0 |
pm234md/telese | bot/utils.lua | 7 | 30947 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Moodstocks/fbcunn | fbcunn/ModelParallel.lua | 8 | 6367 | -- Copyright 2004-present Facebook. All Rights Reserved.
require('cutorch')
local withDevice = cutorch.withDevice
--[[ `ModelParallel` copies inputs to all child modules, and runs
disjoint parts of the model on separate devices.
For example, consider a convolutional layer with a large number of
filter banks. ModelPa... | bsd-3-clause |
Elkazan/darkstar | scripts/globals/items/piscators_skewer.lua | 36 | 1339 | -----------------------------------------
-- ID: 5983
-- Item: Piscator's Skewer
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Dexterity 3
-- Vitality 4
-- Defense % 26 Cap 155
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
tcdog001/ap_project | feeds/luci/applications/luci-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 30 | 2105 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Christian Gagneraud <chris@techworks.ie>
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$
]]... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Jade_Sepulcher/Zone.lua | 32 | 1271 | -----------------------------------
--
-- Zone: Jade_Sepulcher (67)
--
-----------------------------------
package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jade_Sepulcher/TextIDs");
---------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Western_Altepa_Desert/Zone.lua | 27 | 4592 | -----------------------------------
--
-- Zone: Western_Altepa_Desert (125)
--
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Western_Al... | gpl-3.0 |
hoku586/darkstar | scripts/globals/weaponskills/geirskogul.lua | 19 | 1848 | -----------------------------------
-- 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.
-- Aligned... | gpl-3.0 |
mohammadclashclash/seed25 | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
hoku586/darkstar | scripts/globals/items/cream_puff.lua | 12 | 1196 | -----------------------------------------
-- ID: 5718
-- Item: Cream Puff
-- Food Effect: 30 mintutes, All Races
-----------------------------------------
-- Intelligence +7
-- HP -10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Castle_Oztroja/npcs/_47v.lua | 17 | 1251 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47v (Handle)
-- Notes: Opens door _472 from behind
-- @pos -61 0 -36 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_O... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Temenos/mobs/Fire_Elemental.lua | 28 | 1740 | -----------------------------------
-- Area: Temenos E T
-- NPC: Fire_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------------... | gpl-3.0 |
mirbot1122/uzzbot | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
TeleDALAD/DALAD- | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
Vadavim/test | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cc.lua | 34 | 1074 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cc (Gate of Ice)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");... | gpl-3.0 |
hoku586/darkstar | scripts/zones/RuLude_Gardens/npcs/Rainhard.lua | 14 | 1050 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Rainhard
-- Type: Standard NPC
-- @zone 243
-- @pos -2.397 -5.999 68.749
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--------------... | gpl-3.0 |
Pawel-Kaminski/2dGame | code/assets/maps/map1.lua | 1 | 130971 | return {
version = "1.1",
luaversion = "5.1",
tiledversion = "0.11.0",
orientation = "orthogonal",
width = 128,
height = 72,
tilewidth = 15,
tileheight = 15,
nextobjectid = 1,
properties = {},
tilesets = {
{
name = "_MAP_small",
firstgid = 1,
tilewidth = 15,
tileheight ... | gpl-2.0 |
korialuo/skynet | lualib/skynet.lua | 2 | 25561 | -- read https://github.com/cloudwu/skynet/wiki/FAQ for the module "skynet.core"
local c = require "skynet.core"
local skynet_require = require "skynet.require"
local tostring = tostring
local coroutine = coroutine
local assert = assert
local pairs = pairs
local pcall = pcall
local table = table
local next = next
local ... | mit |
szagoruyko/torch7 | File.lua | 7 | 16006 | local File = torch.getmetatable('torch.File')
function File:writeBool(value)
if value then
self:writeInt(1)
else
self:writeInt(0)
end
end
function File:readBool()
return (self:readInt() == 1)
end
local TYPE_NIL = 0
local TYPE_NUMBER = 1
local TYPE_STRING = 2
local TYPE_TABLE = 3
l... | bsd-3-clause |
Vadavim/test | scripts/globals/items/demonic_sword.lua | 16 | 1039 | -----------------------------------------
-- ID: 16936
-- Item: Demonic Sword
-- Additional Effect: Darkness Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Sacrarium/npcs/_0s8.lua | 17 | 1703 | -----------------------------------
-- NPC: _0s8 (Wooden Gate)
-- Area: Sacrarium
-- Involved in Mission: Secrets of Worship
-- @pos 45.500 -1.500 10.000 28
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
-----------------------------------
-- ... | gpl-3.0 |
xatanais/nodemcu-firmware | lua_modules/ds18b20/ds18b20.lua | 54 | 3437 | --------------------------------------------------------------------------------
-- DS18B20 one wire module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Vowstar <vowstar@nodemcu.com>
-- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values
---------------------------------------... | mit |
Elkazan/darkstar | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Bjibar
-- Type: Standard NPC
-- @zone: 48
-- @pos -105.178 0.999 60.115
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Western_Altepa_Desert/mobs/King_Vinegarroon.lua | 16 | 2333 | -----------------------------------
-- Area: Western Altepa Desert
-- NM: King Vinegarroon
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
require("scripts/globals/weather");
-----------------------------------
-- onMobInitialize Action
---------------------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/black_ghost.lua | 12 | 1326 | -----------------------------------------
-- ID: 5138
-- Item: Black Ghost
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters/npcs/Ajen-Myoojen.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @zone: 238
-- @pos -44.542 -5.999 238.996
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----... | gpl-3.0 |
Vadavim/test | scripts/zones/Windurst_Waters/npcs/Ajen-Myoojen.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @zone: 238
-- @pos -44.542 -5.999 238.996
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----... | gpl-3.0 |
suzuren/some-mmorpg | 3rd/skynet/lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
tcdog001/ap_project | feeds/luci/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua | 52 | 8016 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 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
htt... | gpl-2.0 |
Vadavim/test | scripts/globals/items/rolanberry_(864_ce).lua | 35 | 1205 | -----------------------------------------
-- ID: 4531
-- Item: rolanberry_864_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 12 | 2515 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/TextIDs");
-... | gpl-3.0 |
gOOvER/InspectEquip | Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 12 | 7255 | --[[-----------------------------------------------------------------------------
EditBox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "EditBox", 26
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/bluemagic/uppercut.lua | 28 | 1859 | -----------------------------------------
-- Spell: Uppercut
-- Damage varies with TP
-- Spell cost: 31 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2, DEX+1
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 17.75 seconds
-- Skillchain Eleme... | gpl-3.0 |
hoku586/darkstar | scripts/zones/AlTaieu/npcs/_0x0.lua | 14 | 2215 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Crystalline Field
-- @pos .1 -10 -464 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/missions");
------... | gpl-3.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua | 34 | 1290 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dwago
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm9.lua | 14 | 1354 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm9 (???)
-- Spawns Chillwing Hwitti
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
hoku586/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/Logging_Point.lua | 17 | 1097 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/East_Ronfaure_[S]/TextIDs");
---... | gpl-3.0 |
Vadavim/test | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 17 | 1384 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47y (Torch Stand)
-- Notes: Opens door _474
-- @pos -57.575 24.218 -67.651 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ca... | gpl-3.0 |
Vadavim/test | scripts/zones/Cloister_of_Frost/bcnms/trial-size_trial_by_ice.lua | 13 | 2012 | -----------------------------------
-- Area: Cloister of Frost
-- BCNM: Trial-size Trial by Ice
-- @pos 558 0.1 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/default/furnace.lua | 2 | 8253 |
--
-- Formspecs
--
local function active_formspec(fuel_percent, item_percent)
local formspec =
"size[8,8.5]"..
default.gui_bg..
default.gui_bg_img..
default.gui_slots..
"list[current_name;src;2.75,0.5;1,1;]"..
"list[current_name;fuel;2.75,2.5;1,1;]"..
"image[2.75,1.5;1,1;default_furnace_fire_bg.png^[l... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bastok_Mines/npcs/Azima.lua | 29 | 1886 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azima
-- Alchemy Adv. Synthesis Image Support
-- @pos 123.5 2 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/... | gpl-3.0 |
mkosler/CSCE-443-Project-2 | lib/LoveFrames/objects/internal/scrollable/scrollbutton.lua | 6 | 3763 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- scrollbutton clas
local newobject = loveframes.NewObject("scrollbutton", "loveframes_object_scrollbutton", true)
--[[--------... | mit |
CommandPost/CommandPost | src/extensions/cp/lazy.lua | 2 | 10258 | --- === cp.lazy ===
---
--- `cp.lazy` is a [middleclass](https://github.com/kikito/middleclass) "mix-in" that allows for
--- simple specification of "lazy-loaded" values and functions in class definitions.
---
--- Some values and function results in classes are only created once, and may never be created,
--- depending... | mit |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadahda.lua | 37 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hadahda
-- Type: Standard NPC
-- @pos -112.029 -6.999 -66.114 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_W... | gpl-3.0 |
clphusf/depiss | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Boneyard_Gully/mobs/Race_Runner.lua | 13 | 1477 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: Race Runner
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
local path = {
-539, 0, -481,
-556, 0, -478,
-581, 0, -475,
-579, -3, -460,
-572, 2, -433,
-545, 1, -440,
... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-statistics/luasrc/statistics/i18n.lua | 29 | 2184 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.i18n", package.seeall)
require("luci.util")
require("luci.i18n")
Instance = luci.util.class()
function Instance.__init__( self, graph )
self.i18n = luci.i18n
se... | apache-2.0 |
Vadavim/test | scripts/zones/Northern_San_dOria/npcs/Shomo_Pochachilo.lua | 38 | 1288 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shomo Pochachilo
-- Type: Standard Info NPC
-- @zone: 231
-- @pos 28.369 -0.199 30.061
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/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.