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 |
|---|---|---|---|---|---|
AdamGagorik/darkstar | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 13 | 1355 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
----------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Walls/npcs/Naih_Arihmepp.lua | 13 | 1472 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Naih Arihmepp
-- Type: Standard NPC
-- @pos -64.578 -13.465 202.147 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requi... | gpl-3.0 |
Firew0lf/FAT16-Lua | fat16.lua | 1 | 14511 | -- Warning: in order to work, the library need a "disk" object, which must provide this functions:
-- disk:read(address, [size]): read [size] bytes from <address>
-- disk:write(address, data): write <data> on the disk from the address <address>
-- disk:flush(): save the changes on the disk, if some cache is used
--
--... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Northern_San_dOria/npcs/Synergy_Engineer.lua | 13 | 1071 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Synergy Engineer
-- Type: Standard NPC
-- @zone: 231
-- @pos -123.000 10.5 244.000
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] ... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Port_Bastok/npcs/Galvin.lua | 17 | 1407 | -----------------------------------
-- Area: Port Bastok
-- NPC: Galvin
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
----------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rubahah.lua | 32 | 1388 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rubahah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
SwadicalRag/banana | lua/banana/init.lua | 1 | 1357 | local function include(name)
if bFS then
bFS:RunFile(name)
else
_G.include(name:sub(2,-1))
AddCSLuaFile(name:sub(2,-1))
end
end
-- STAGE 1
include("/banana/banana.lua")
banana.isGMod = gmod and true
if banana.isGMod then
AddCSLuaFile()
end
include("/banana/timer/cpu.lua")
incl... | mit |
sjznxd/lc-20130204 | modules/niu/luasrc/model/cbi/niu/network/wlanwan.lua | 50 | 9208 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | apache-2.0 |
teamactivebot/team-active | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-2.0 |
mahmedhany128/Mr_BOT | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua | 13 | 1869 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: Full Moon Fountain
-- @pos -291 0 -659 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
flybird119/Atlas | lib/proxy/commands.lua | 43 | 3477 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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 dis... | gpl-2.0 |
AdamGagorik/darkstar | scripts/globals/items/orange_kuchen_+1.lua | 18 | 1311 | -----------------------------------------
-- ID: 4332
-- Item: orange_kuchen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 80)
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Quicksand_Caves/npcs/Treasure_Coffer.lua | 13 | 4643 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Treasure Coffer
-- @zone 208
-- @pos 615 -6 -681
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/key... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ponono.lua | 13 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ponono
-- Type: Standard NPC
-- @zone: 94
-- @pos 156.069 -0.001 -15.667
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Woods/npcs/Taraihi-Perunhi.lua | 12 | 1682 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Taraihi-Perunhi
-- Only sells when Windurst controlls Derfland Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globa... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Northern_San_dOria/npcs/Fantarviont.lua | 13 | 1414 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Fantarviont
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
re... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/Zone.lua | 16 | 6641 | -----------------------------------
--
-- Zone: Alzadaal_Undersea_Ruins (72)
--
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs");
require("scripts/globals/missions");
re... | gpl-3.0 |
Nathan22Miles/sile | lua-libraries/imagesize/format/swf.lua | 9 | 1697 | local MIME_TYPE = "application/x-shockwave-flash"
local function _bytes_to_bits (s)
local bits = ""
for i = 1, s:len() do
local c = s:byte(i)
bits = bits .. (c >= 0x80 and "1" or "0")
.. ((c % 0x80) >= 0x40 and "1" or "0")
.. ((c % 0x40) >= 0x20 ... | mit |
GiantCyber/Giants_TM | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | agpl-3.0 |
shakib01/anonymous01 | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
wwww1233/wwww | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_statistics/prosodytop.lua | 21 | 3159 | local curses = require "curses";
local server = require "net.server_select";
local timer = require "util.timer";
assert(curses.timeout, "Incorrect version of curses library. Try 'sudo luarocks install luaposix'");
local top = require "top";
function main()
local stdscr = curses.stdscr() -- it's a userdatum
--stds... | mit |
AdamGagorik/darkstar | scripts/globals/spells/bind.lua | 27 | 1125 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 26 | 2190 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_tls_policy/mod_tls_policy.lua | 1 | 1281 |
assert(require"ssl.core".info, "Incompatible LuaSec version");
local function hook(event_name, typ, policy)
if not policy then return end
if policy == "FS" then
policy = { cipher = "^E?C?DHE%-" };
elseif type(policy) == "string" then
policy = { cipher = policy };
end
module:hook(event_name, function (event)... | mit |
AdamGagorik/darkstar | scripts/zones/Al_Zahbi/npcs/Najelith.lua | 13 | 1043 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najelith
-- Type: Galeserpent General
-- @zone: 48
-- @pos -64.526 -8 39.372
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/PsoXja/npcs/_i94.lua | 13 | 1276 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i94 (Stone Gate)
-- Notes: Blue Bracelet Door
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
requir... | gpl-3.0 |
Hostle/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua | 68 | 2343 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
cbimap = Map("asterisk", "Trunks")
cbimap.pageaction = false
local sip_peers = { }
cbimap.uci:foreach("asterisk", "sip",
function(s)
if s.type == "peer" then
s.name =... | apache-2.0 |
AdamGagorik/darkstar | scripts/globals/weaponskills/blade_ku.lua | 11 | 1679 | -----------------------------------
-- Blade Ku
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a five-hit attack. params.accuracy varies with TP.
-- In order to obtain Blade: Ku, the quest Bugi Soden must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Soil Gorget ... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/abilities/earth_shot.lua | 16 | 3132 | -----------------------------------
-- Ability: Earth Shot
-- Consumes a Earth Card to enhance earth-based debuffs. Deals earth-based magic damage
-- Rasp Effect: Enhanced DoT and DEX-, Slow Effect +10%
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require(... | gpl-3.0 |
paritoshmmmec/kong | spec/integration/admin_api/consumers_routes_spec.lua | 20 | 6146 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local send_content_types = require "spec.integration.admin_api.helpers"
describe("Admin API", function()
setup(function()
spec_helper.prepare_db()
spec_helper.start_kong()
end)... | mit |
Nathan22Miles/sile | core/inputs-common.lua | 1 | 1183 | SILE.inputs.common = {
init = function(fn, t)
local dclass = t.attr.class or "plain"
SILE.documentState.documentClass = SILE.require("classes/"..dclass)
SU.required(t.attr, "papersize", fn)
for k,v in pairs(t.attr) do
if SILE.documentState.documentClass.options[k] then
SILE.documentState... | mit |
qwattash/config | roles/conf_x11_base/files/awesome/qwattash_conf/q_rules.lua | 1 | 1492 | --
-- Client rules configuration. These are applied to new clients through the manage signal.
--
local awful = require("awful")
local beautiful = require("beautiful")
local M = {}
local function initRules()
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border... | mit |
Snazz2001/fbcunn | test/test_Threshold.lua | 9 | 8318 | -- Copyright 2004-present Facebook. All Rights Reserved.
require('fb.luaunit')
require('fbtorch')
require('nn')
require('cutorch')
require('cunn')
local function assertTensorEq(a, b, msg, precision)
precision = precision or 1e-5
msg = msg or 'error'
local diff = torch.dist(a, b)
if diff > precision then
... | bsd-3-clause |
yaoqi/Atlas | examples/tutorial-warnings.lua | 40 | 2248 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
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 dis... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm1.lua | 13 | 1606 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm1 (???)
-- Involved In Quest: Altana's Sorrow
-- @pos -282.339 0.001 261.707 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Gamygyn.lua | 5 | 1300 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Gamygyn
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEng... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Yorcia_Weald/Zone.lua | 16 | 1181 | -----------------------------------
--
-- Zone: Yorcia Weald
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
ohmbase/OpenRA | mods/cnc/maps/nod03b/nod03b.lua | 12 | 3033 | NodUnits = { "e1", "e1", "bggy", "bike", "e1", "e1", "bike", "bggy", "e1", "e1" }
Engineers = { "e6", "e6", "e6" }
FirstAttackWaveUnits = { "e1", "e1", "e2" }
SecondAttackWaveUnits = { "e1", "e1", "e1" }
ThirdAttackWaveUnits = { "e1", "e1", "e1", "e2" }
SendAttackWave = function(units, action)
Reinforcements.Reinfor... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/VeLugannon_Palace/npcs/Grounds_Tome.lua | 30 | 1099 | -----------------------------------
-- Area: Ve'Lugannon Palace
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,n... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/QuBia_Arena/Zone.lua | 32 | 1564 | -----------------------------------
--
-- Zone: Qu'Bia Arena (206)
--
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/QuBia_Arena/TextIDs");
----------------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/spells/bluemagic/mysterious_light.lua | 25 | 1855 | -----------------------------------------
-- Spell: Mysterious Light
-- Deals wind damage to enemies within range. Additional effect: Weight
-- Spell cost: 73 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: AGI+3
-- Level: 40
-- Casting Time: 3.75 seconds
-- Recast Time: ... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Promyvion-Vahzl/mobs/Memory_Receptacle.lua | 6 | 6870 | -----------------------------------
-- Area: Promyvion-Vahzl
-- MOB: Memory Receptacle
-- Todo: clean up disgustingly bad formatting
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require( "scripts/zones/Promyvion-Vahzl/TextIDs" );... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Xarcabard/npcs/Trail_Markings.lua | 12 | 2589 | -----------------------------------
-- Area: Xarcabard
-- NPC: Trail Markings
-- Dynamis-Xarcabard Enter
-- @pos 570 0 -272 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
archiloque/nginx_services_logging | lua_scripts/nginx_request_logger_http_endpoint.lua | 2 | 7425 | -- Http endpoint
local HttpEndpoint = {}
HttpEndpoint.__index = HttpEndpoint
function HttpEndpoint.new(endpoint_configuration)
local self = setmetatable({}, HttpEndpoint)
self.http_method = endpoint_configuration.http_method
self.uri_type = endpoint_configuration.uri_type
self.uri = endpoint_configurat... | mit |
AdamGagorik/darkstar | scripts/globals/items/seafood_stewpot.lua | 18 | 1436 | -----------------------------------------
-- ID: 5238
-- Item: Seafood Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- Accuracy 5
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/spells/bluemagic/jet_stream.lua | 33 | 1738 | -----------------------------------------
-- Spell: Jet Stream
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 47 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+2
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 23 seconds
-- Skillcha... | gpl-3.0 |
aquileia/wesnoth | data/lua/wml/object.lua | 4 | 2799 |
local helper = wesnoth.require "lua/helper.lua"
local utils = wesnoth.require "lua/wml-utils.lua"
local T = helper.set_wml_tag_metatable {}
local wml_actions = wesnoth.wml_actions
local used_items = {}
function wml_actions.object(cfg)
local context = wesnoth.current.event_context
-- If this item has already been ... | gpl-2.0 |
AdamGagorik/darkstar | scripts/globals/abilities/addendum_white.lua | 7 | 1610 | -----------------------------------
-- Ability: Addendum: White
-- Allows access to additional White Magic spells while using Light Arts.
-- Obtained: Scholar Level 10
-- Recast Time: Stratagem Charge
-- Duration: 2 hours
--
-- Level |Charges |Recharge Time per Charge
-- ----- -------- ---------------
-- 10 |1... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Rabao/npcs/Brave_Wolf.lua | 13 | 1524 | -----------------------------------
-- Area: Rabao
-- NPC: Brave Wolf
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Nashmau/npcs/Yoyoroon.lua | 13 | 1691 | -----------------------------------
-- Area: Nashmau
-- NPC: Yoyoroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Palborough_Mines/npcs/Mythril_Seam.lua | 13 | 2827 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mythril Seam
-- Involved In Mission: Journey Abroad
-- Involved in quest: Rock Racketeer
-- @zone 143
-- @pos -68 -7 173 // Rock Racketeer @pos 210 -32 -63
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"... | gpl-3.0 |
adib1380/anti2 | plugins/twitter.lua | 632 | 2555 | local OAuth = require "OAuth"
-- EDIT data/twitter.lua with the API keys
local twitter_config = load_from_file('data/twitter.lua', {
-- DON'T EDIT HERE.
consumer_key = "", consumer_secret = "",
access_token = "", access_token_secret = ""
})
local client = OAuth.new(twitter_config.consumer_key, twitter_c... | gpl-2.0 |
virgo-agent-toolkit/luvit-pkg | lib/spawn.lua | 1 | 1119 | local childprocess = require('childprocess')
local core = require('core')
local stream = require('stream')
local Process = core.Emitter:extend()
function Process:initialize()
self._uv_process = nil
self.stdin = stream.Writable:new()
self.stdout = stream.Readable:new()
self.stderr = stream.Readable:new()
end
f... | apache-2.0 |
AdamGagorik/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chaloutte.lua | 13 | 1068 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chaloutte
-- Type: Event Scene Replayer
-- @zone: 233
-- @pos 10.450 -1 -11.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = n... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/South_Gustaberg/Zone.lua | 13 | 4384 | -----------------------------------
--
-- Zone: South_Gustaberg (107)
--
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/glob... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Throne_Room_[S]/Zone.lua | 32 | 1271 | -----------------------------------
--
-- Zone: Throne_Room_[S] (156)
--
-----------------------------------
package.loaded["scripts/zones/Throne_Room_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Throne_Room_[S]/TextIDs");
-----------------------... | gpl-3.0 |
Anarchid/Zero-K-Infrastructure | MissionEditor/MissionEditor2/MissionBase/LuaUI/Widgets/mission_messenger.lua | 9 | 6973 | -- $Id: mission_messenger.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Messenger",
desc = "Displ... | gpl-3.0 |
Wiladams/cream | testy/test_std_optparse.lua | 1 | 1331 |
local OptionParser = require("std.optparse")
local parser = OptionParser[[
any text VERSION
Additional lines of text to show when the --version
option is passed.
Several lines or paragraphs are permitted.
Usage: PROGNAME
Banner text.
Optional long description text to show when the --help
option is passed... | mit |
AdamGagorik/darkstar | scripts/globals/abilities/healing_waltz.lua | 19 | 1588 | -----------------------------------
-- Ability: Healing Waltz
-- Removes one detrimental status effect from target party member.
-- Obtained: Dancer Level 35
-- TP Required: 20%
-- Recast Time: 00:15
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
---------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/West_Ronfaure/Zone.lua | 13 | 3884 | -----------------------------------
--
-- Zone: West_Ronfaure (100)
--
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/... | gpl-3.0 |
Hostle/luci | applications/luci-app-statistics/luasrc/statistics/datatree.lua | 58 | 4177 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.datatree", package.seeall)
local util = require("luci.util")
local sys = require("luci.sys")
local fs = require("nixio.fs")
local uci = require("luci.model.uci").c... | apache-2.0 |
talldan/lua-reactor | tests/specs/reactor/component.lua | 1 | 1099 | local componentModule = require('reactor.component')
local expectedLifecycle = 'test-lifecycle'
local mockReactor = {
lifecycle = function()
return expectedLifecycle
end
}
local component = componentModule(mockReactor)
describe('#component', function()
describe('errors', function()
it('causes an error if... | mit |
rinstrum/LUA-LIB | src/rinLibrary/K400Setpoint.lua | 2 | 16174 | -------------------------------------------------------------------------------
--- Setpoint Functions.
-- Functions to control setpoint outputs
-- @module rinLibrary.Device.Setpoint
-- @author Darren Pearson
-- @author Merrick Heley
-- @copyright 2014 Rinstrum Pty Ltd
--------------------------------------------------... | gpl-3.0 |
Wiladams/cream | testy/collections.lua | 1 | 2726 | --[[
Collections.lua
This file contains a few collection classes that are
useful for many things. The most basic object is the
simple list.
From the list is implemented a queue
--]]
local setmetatable = setmetatable;
--[[
A bag behaves similar to a dictionary.
You can add values to it using simple array ind... | mit |
AdamGagorik/darkstar | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 49 | 2612 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua | 5 | 1348 | -----------------------------------
-- Area: RuAun Gardens
-- MOB: Groundskeeper
-- Note: Place holder Despot
-----------------------------------
require("scripts/zones/RuAun_Gardens/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
--------------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/chunk_of_sweet_lizard.lua | 18 | 1244 | -----------------------------------------
-- ID: 5738
-- Item: chunk_of_sweet_lizard
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 5
-- MP 5
-- Dexterity 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
r1k/vlc | share/lua/intf/luac.lua | 116 | 2333 | --[==========================================================================[
luac.lua: lua compilation module for VLC (duplicates luac)
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>... | gpl-2.0 |
AdamGagorik/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1340 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/sazanbaligi.lua | 18 | 1311 | -----------------------------------------
-- ID: 5459
-- Item: Sazanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/silken_smile.lua | 18 | 1218 | -----------------------------------------
-- ID: 5628
-- Item: Silken Smile
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- Intelligence 2
-- MP Recovered while healing 7
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Sacrarium/npcs/Small_Keyhole.lua | 29 | 1201 | -----------------------------------
-- NPC: Small Keyhole
-- Area: Sacrarium
-- @pos 99.772 -1.614 51.545 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs");
-----------------------------------... | gpl-3.0 |
sjznxd/lc-20130204 | modules/niu/luasrc/model/cbi/niu/wireless/brdevice.lua | 51 | 1132 | --[[
LuCI - Lua Configuration Interface
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$
]]--
loca... | apache-2.0 |
master00041/gpsuper | plugins/català.lua | 1 | 19139 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
yaoqi/Atlas | lib/proxy/test.lua | 44 | 6366 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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 dis... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Norg/npcs/Jaucribaix.lua | 17 | 10694 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm1.lua | 13 | 1226 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm1 (???)
-- Involved In Quest: An Empty Vessel
-- @pos 238.524 2.661 -148.784 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dune... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/North_Gustaberg/npcs/Field_Manual.lua | 29 | 1069 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/qm1.lua | 30 | 1345 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: ??? (Spawn Nosferatu(ZNM T3))
-- @pos -199 8 -62 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aydeewa_Subterrane/TextIDs");
requ... | gpl-3.0 |
AdamGagorik/darkstar | scripts/commands/addkeyitem.lua | 3 | 1298 | ---------------------------------------------------------------------------------------------------
-- func: @addkeyitem <ID> <player>
-- desc: Adds a key item to the player.
---------------------------------------------------------------------------------------------------
require("scripts/globals/keyitems");
cmdpro... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Dynamis-Buburimu/bcnms/dynamis_Buburimu.lua | 22 | 1291 | -----------------------------------
-- Area: dynamis_Buburimu
-- Name: dynamis_Buburimu
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaBuburimu]UniqueID",player:getDynamisUniqueID(1287));
SetServ... | gpl-3.0 |
rigeirani/bbb | plugins/info.lua | 84 | 1882 | do
local function action_by_reply(extra, success, result)
local user_info = {}
local uhash = 'user:'..result.from.id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..result.from.id..':'..result.to.id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['.... | gpl-2.0 |
paritoshmmmec/kong | kong/dao/schemas/plugins_configurations.lua | 13 | 2385 | local utils = require "kong.tools.utils"
local DaoError = require "kong.dao.error"
local constants = require "kong.constants"
local function load_value_schema(plugin_t)
if plugin_t.name then
local loaded, plugin_schema = utils.load_module_if_exists("kong.plugins."..plugin_t.name..".schema")
if loaded then
... | mit |
AdamGagorik/darkstar | scripts/zones/Kazham/npcs/Kobhi_Sarhigamya.lua | 13 | 1039 | ----------------------------------
-- Area: Kazham
-- NPC: Kobhi Sarhigamya
-- Type: Item Deliverer
-- @zone: 250
-- @pos -115.29 -11 -22.609
--
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-------------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/bowl_of_loach_slop.lua | 18 | 1471 | -----------------------------------------
-- ID: 5669
-- Item: Bowl of Loach Slop
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Accuracy 7% Cap 15
-- HP 7% Cap 15
-- Evasion 3
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Southern_San_dOria/npcs/Camereine.lua | 27 | 2405 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Camereine
-- Type: Chocobo Renter
-- @pos -8 1 -100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/gl... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Temenos/mobs/Goblin_Warlord.lua | 7 | 1168 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Warlord
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
mahmedhany128/Mr_BOT | plugins/addsudo.lua | 2 | 1274 | --[[ BY faeder
BY @xXxDev_iqxXx
CH > @Dev_faed
--]]
local function getindex(t,id)
for i,v in pairs(t) do
if v == id then
return i
end
end
return nil
end
function reload_plugins( )
plugins = {}
load_plugins()
end
function h_k_a(msg, matches)
if tonumber (msg.from.id) == 259142888 the... | gpl-2.0 |
khoshhalbot/khoshhal | plugins/weather.lua | 12 | 5458 | local function temps(K)
local F = (K*1.8)-459.67
local C = K-273.15
return F,C
end
local function run(msg, matches)
local res = http.request("http://api.openweathermap.org/data/2.5/weather?q="..URL.escape(matches[2]).."&appid=269ed82391822cc692c9afd59f4aabba")
local jtab = JSON.decode(res)
if jtab.name then
i... | gpl-2.0 |
AdamGagorik/darkstar | scripts/globals/spells/hyoton_ichi.lua | 5 | 1221 | -----------------------------------------
-- Spell: Hyoton: Ichi
-- Deals ice damage to an enemy and lowers its resistance against fire.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/spells/bluemagic/magic_fruit.lua | 27 | 1743 | -----------------------------------------
-- Spell: Magic Fruit
-- Restores HP for the target party member
-- Spell cost: 72 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1 HP+5
-- Level: 58
-- Casting Time: 3.5 seconds
-- Recast Time: 6 seconds
--
-- Combos: Resi... | gpl-3.0 |
D-m-L/evonara | modules/libs/Peep/LoveFrames/objects/form.lua | 3 | 7641 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- form object
local newobject = loveframes.NewObject("form", "loveframes_object_form", true)
--[[-------------------------... | mit |
AdamGagorik/darkstar | scripts/zones/Windurst_Walls/npcs/Esmeralda.lua | 13 | 1053 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Esmeralda
-- Type: Consul. Rep.
-- @zone: 239
-- @pos 128.629 -12.5 139.387
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
sjznxd/lc-20130204 | modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 13 | 8676 | --[[
LuCI - Lua Configuration Interface
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.org/licenses/LICENSE-2.0
$Id$
]]--
mod... | apache-2.0 |
AdamGagorik/darkstar | scripts/zones/Qulun_Dome/npcs/_440.lua | 13 | 1586 | -----------------------------------
-- 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 |
AdamGagorik/darkstar | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 53 | 2085 | -----------------------------------
-- 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/glob... | gpl-3.0 |
Hostle/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua | 68 | 5120 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
cbimap = Map("asterisk", "asterisk", "")
asterisk = cbimap:section(TypedSection, "asterisk", "Asterisk General Options", "")
asterisk.anonymous = true
agidir... | apache-2.0 |
AdamGagorik/darkstar | scripts/globals/items/mutton_tortilla.lua | 18 | 1726 | -----------------------------------------
-- ID: 4506
-- Item: mutton_tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
-----------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.