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 |
|---|---|---|---|---|---|
AlexandreCA/update | scripts/zones/Carpenters_Landing/npcs/Beugungel.lua | 19 | 1190 | -----------------------------------
-- Area: Carpenters' Landing
-- NPC: Beugungel
-- Type: Guild Merchant NPC (Woodworking Guild)
-- @pos -333.729, -5.512, 475.647 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
lancehilliard/TGNS | mods/tgns/output/lua/shine/extensions/specbets.lua | 1 | 95255 | -- todo format report numbers
local md = TGNSMessageDisplayer.Create("SPECBETS-BETA")
local playerGameBets = {}
local playerBanks = {}
local playerGameTransactions = {}
local karmaTransactions = {}
local MAXIMUM_KARMA_TRANSACTIONS = 10
local Plugin = {}
-- Plugin.HasConfig = true
-- Plugin.ConfigName = "specbets.jso... | mit |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/TextIDs.lua | 8 | 5351 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; --Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; --Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | remote/test-ping.lua | 1 | 1654 | local runCheck = require('./index')
require('tap')(function (test)
test("Ping localhost IPv4", function (expect)
runCheck({
id = 45,
target = "localhost",
module = "ping",
resolver = "IPv4",
timeout = 20000,
}, {
count = 10,
delay = 100,
}, expect(function (err, d... | apache-2.0 |
AlexandreCA/update | Ansegusele.lua | 2 | 1036 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Ansegusele
-- Location: I-11
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Adoulin/TextIDs");
-----------------... | gpl-3.0 |
JiessieDawn/skynet | lualib/skynet/sharemap.lua | 30 | 1503 | local stm = require "skynet.stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp... | mit |
daned33/EspCoffee | coffee.lua | 1 | 1901 | gpio.mode(4, gpio.OUTPUT)
gpio.mode(3, gpio.INPUT)
gpio.mode(3, gpio.INT)
ip = wifi.sta.getip()
print(ip)
kettle = 0;
function kettle_on()
gpio.write(4, gpio.HIGH);
off_alarm();
kettle = 1;
end
function kettle_off()
gpio.write(4, gpio.LOW);
print("Turning alarm off");
tmr.stop(1);
kett... | mit |
AlexandreCA/darkstar | scripts/zones/Upper_Jeuno/npcs/Areebah.lua | 13 | 1296 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Areebah
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Reisenjima_Sanctorium/Zone.lua | 30 | 1465 | -----------------------------------
--
-- Zone: Reisenjima Sanctorium (293)
--
-----------------------------------
package.loaded["scripts/zones/Reisenjima_Sanctorium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Reisenjima_Sanctorium/TextIDs");
require("scripts/globals/settings");
requir... | gpl-3.0 |
commodo/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hostapd_stations.lua | 17 | 7694 | local ubus = require "ubus"
local bit32 = require "bit32"
local function get_wifi_interfaces()
local conn = ubus.connect()
local ubuslist = conn:objects()
local interfaces = {}
for _,net in ipairs(ubuslist) do
if net.find(net,"hostapd.") then
local ifname = net:gsub("hostapd.", "")
table.inser... | gpl-2.0 |
Dugy/wesnoth-names | data/ai/micro_ais/cas/ca_herding_herd_sheep.lua | 7 | 3249 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local herding_area = wesnoth.require "ai/micro_ais/cas/ca_herding_f_herding_area.lua"
local function get_dogs(cfg)
local dogs = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", H.get_child(c... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 17 | 1935 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 22.310 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
LuaDist2/gumbo | gumbo/serialize/htmlmin.lua | 2 | 1878 | -- This code hasn't been thoroughly tested; do not use yet
-- TODO: Add test cases
local Buffer = require "gumbo.Buffer"
local constants = require "gumbo.constants"
local voidElements = constants.voidElements
local rcdataElements = constants.rcdataElements
local _ENV = nil
local function stripws(s)
return (s:gsub... | isc |
AlexandreCA/darkstar | scripts/globals/items/rolanberry_(874_ce).lua | 18 | 1184 | -----------------------------------------
-- ID: 4530
-- Item: rolanberry_874_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Aishah.lua | 37 | 1043 | -----------------------------------
-- Area: Port Bastok
-- NPC: Aishah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Cape_Teriggan/npcs/relic.lua | 38 | 1841 | -----------------------------------
-- Area: Cape Terrigan
-- NPC: <this space intentionally left blank>
-- @pos 73 4 -174 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
---------... | gpl-3.0 |
Zakhar-V/Prototypes | 1/Code/Source/ThirdParty/glLoadGen/glLoadGen_2_0_3a/glspecs/wglspec.lua | 1 | 91581 | return {
["funcData"] = {
["passthru"] = {
[==[struct _GPU_DEVICE {
DWORD cb;
CHAR DeviceName[32];
CHAR DeviceString[128];
DWORD Flags;
RECT rcVirtualScreen;
};]==],
[==[DECLARE_HANDLE(HPBUFFERARB);]==],
[==[DECLARE_HANDLE(HPBUFFEREXT);]==],
[==[DECLARE_HANDLE(HVID... | mit |
AlexandreCA/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s2.lua | 13 | 1255 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -574 0 -420 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextID... | gpl-3.0 |
samboy/Oblige | games/quake/weapons.lua | 1 | 2663 | ------------------------------------------------------------------------
-- QUAKE WEAPONS
------------------------------------------------------------------------
--
-- Copyright (C) 2006-2012 Andrew Apted
-- Copyright (C) 2011 Chris Pisarczyk
--
-- This program is free software; you can redistribute it and/or... | gpl-2.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | remote/http.lua | 1 | 9044 | local uv = require('uv')
local parseUrl = require('url').parse
local connect = require('coro-net').connect
local tlsWrap = require('coro-tls').wrap
local rex = require('rex')
local getaddrinfo = require('./utils').getaddrinfo
local httpCodec = require('http-codec')
local wrapper = require('coro-wrapper')
local httpAuth... | apache-2.0 |
AlexandreCA/update | scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua | 19 | 1194 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#2
-- @pos 182 34 -62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals/homepoin... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Bastok/npcs/Valeriano.lua | 17 | 1664 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valeriano
-- 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 |
AlexandreCA/update | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 17 | 2208 | -----------------------------------
-- 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;
package.loaded["scripts/globals/settings"] = nil;
--------------... | gpl-3.0 |
sudkannan/likwid | src/applications/likwid-setFrequencies.lua | 2 | 9663 | #!<PREFIX>/bin/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-setFrequencies.lua
*
* Description: A application to set the CPU frequency of CPU cores and domains.
*
* Version: <VERSION>
* Released: <DATE>
... | gpl-3.0 |
Kloadut/SSOwat | access.lua | 2 | 12376 | --
-- access.lua
--
-- This file is executed at every request on a protected domain or server.
-- You just have to read this file normally to understand how and when the
-- request is handled: redirected, forbidden, bypassed or served.
--
-- Get the `cache` persistent shared table
local cache = ngx.shared.cache
-- Ge... | agpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Bhukka_Sahbeo.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Bhukka Sahbeo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Metalworks/npcs/Elayne.lua | 33 | 1375 | -----------------------------------
-- Area: Metalworks
-- NPC: Elayne
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Metalworks/TextIDs");
---... | gpl-3.0 |
AlexandreCA/update | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Throne_Room/npcs/_4l3.lua | 51 | 1172 | -----------------------------------
-- Area: Throne Room
-- NPC: Ore Door
-------------------------------------
require("scripts/globals/bcnm");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (TradeBCNM(player,player:ge... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Yasmina.lua | 13 | 1073 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/globals/spells/poison_ii.lua | 26 | 1374 | -----------------------------------------
-- Spell: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/scholars_roll.lua | 2 | 2277 | -----------------------------------
-- Ability: Scholar's Roll
-- Enhances Conserve MP effect for party members within area of effect
-- Optimal Job: Scholar
-- Lucky Number: 2
-- Unlucky Number: 6
-- Level: 64
--
-- Data unknown
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
mobinantispam/test-bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c8.lua | 13 | 2190 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Sealed Portal
-- Involved in Quest: Making the Grade
-- Working 50%
-- Notes: Door will open if player has Making the Grade quest active, or if the have the KI portal charm. Door should open when 3 mages stand on circles, but no API f... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Jugner_Forest/npcs/Pure_Heart_IM.lua | 13 | 3323 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Pure Heart, I.M.
-- Type: Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest"... | gpl-3.0 |
zhoukk/skynet | service/cmaster.lua | 78 | 3256 | local skynet = require "skynet"
local socket = require "socket"
--[[
master manage data :
1. all the slaves address : id -> ipaddr:port
2. all the global names : name -> address
master hold connections from slaves .
protocol slave->master :
package size 1 byte
type 1 byte :
'H' : HANDSHAKE, report slav... | mit |
tartina/ardour | share/scripts/s_region_gain2.lua | 6 | 1987 | ardour { ["type"] = "Snippet", name = "Normalize Regions" }
function factory () return function ()
-- get Editor GUI Selection
-- http://manual.ardour.org/lua-scripting/class_reference/#ArdourUI:Selection
local sel = Editor:get_selection ()
-- prepare undo operation
Session:begin_reversible_command ("Lua Normali... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/West_Ronfaure/npcs/Tottoto_WW.lua | 13 | 3325 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Tottoto, W.W.
-- Type: Border Conquest Guards
-- @pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Attohwa_Chasm/mobs/Alastor_Antlion.lua | 4 | 1854 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Alastor Antlion
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
mixins = {require("scripts/mixins/families/antlion_ambush")}
-----------------------------------
-- onMobInitialize Action
------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Abyssea-Attohwa/npcs/qm19.lua | 17 | 1523 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: ???
-- Spawns: Ulhuadshi
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/light_maneuver.lua | 35 | 1609 | -----------------------------------
-- Ability: Light Maneuver
-- Enhances the effect of light attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
AlexandreCA/update | scripts/globals/weaponskills/vorpal_scythe.lua | 25 | 1561 | -----------------------------------
-- Vorpal Scythe
-- Scythe weapon skill
-- Skill level: 150
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Apollyon/bcnms/NW_Apollyon.lua | 35 | 1116 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NW_Apollyon]UniqueI... | gpl-3.0 |
kooiot/packages | utils/yunbridge/files/usr/bin/pretty-wifi-info.lua | 106 | 2067 | #!/usr/bin/lua
local function get_basic_net_info(network, iface, accumulator)
local net = network:get_network(iface)
local device = net and net:get_interface()
if device then
accumulator["uptime"] = net:uptime()
accumulator["iface"] = device:name()
accumulator["mac"] = device:mac()
accumulator["... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua | 13 | 2518 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Equesobillot
-- Involved in Mission: The Rescue Drill
-- @pos -287 9 284 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/knights_minne_iii.lua | 27 | 1498 | -----------------------------------------
-- Spell: Knight's Minne III
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(ca... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/black_sole.lua | 18 | 1329 | -----------------------------------------
-- ID: 4384
-- Item: Black Sole
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/mobskills/Vitriolic_spray.lua | 16 | 1053 | ---------------------------------------------
-- Vitriolic Spray
-- Family: Wamouracampa
-- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadow
-- Range: Cone
-- Notes: Burn is 10-30/tic
----------... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/get_flows_data.lua | 2 | 19311 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "sqlite_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
local debug = false
local debug_process = false -- Show flow processed information
interfac... | gpl-3.0 |
syhunt/hybrid-scx | src/SyHybrid/hybrid/sesman/sesman.lua | 1 | 17372 | SessionManager = {
title = 'Session Manager',
lastdays = 7
}
function SessionManager:refresh()
self:loadtab(false)
end
function SessionManager:listbyperiod(p)
self.lastdays = p
self:refresh()
end
function SessionManager:setsessionstatus(sesname,status)
local ses = symini.session:new()
ses.name = sesname
... | bsd-3-clause |
lucgagnon/ntopng | scripts/lua/hosts_geomap.lua | 8 | 1482 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
active_page = "hosts"
dofile(dirs.installdir .. "/sc... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Water.lua | 13 | 2386 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Water
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Well.lua | 13 | 1395 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Well
-- Involved in Quest: Grave Concerns
-- @zone 230
-- @pos -129 -6 92
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/weaponskills/heavy_swing.lua | 11 | 1335 | -----------------------------------
-- Heavy Swing
-- Staff weapon skill
-- Skill Level: 5
-- Deacription:Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/serving_of_bavarois_+1.lua | 18 | 1196 | -----------------------------------------
-- ID: 5730
-- Item: Serving of Bavarois +1
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 25
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cu.lua | 13 | 2537 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cu (Magical Gizmo) #6
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
mosavy/leaderbottg | plugins/mod.lua | 2 | 10679 | --[[local function modlist(msg)
local group = load_data('bot/group.json')
local i = 1
if next(group[tostring(msg.chat_id_)]['moderators']) == 0 then
text1 = '*No moderator in this group*'
tg.sendMessage(msg.chat_id_, 0, 1, text1, 1, 'md')
end
local message = '*List of moderators :* \n'
for k,v in pairs... | gpl-3.0 |
jstewart-amd/premake-core | tests/actions/vstudio/vc2010/test_filters.lua | 6 | 3772 | --
-- tests/actions/vstudio/vc2010/test_filters.lua
-- Validate generation of file filter blocks in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011-2014 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_filters")
local vc2010 = premake.vstudio.vc2010
--
-- Setup/teardo... | bsd-3-clause |
AlexandreCA/update | scripts/globals/spells/suiton_ichi.lua | 17 | 1259 | -----------------------------------------
-- Spell: Suiton: Ichi
-- Deals water damage to an enemy and lowers its resistance against lightning.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCa... | gpl-3.0 |
ld-test/lua-aplicado | test/cases/web/cookie_jar/0010-factory.lua | 2 | 2032 | --------------------------------------------------------------------------------
-- 001-factory.lua: cookie jar factory is sane
-- This file is a part of lua-aplicado library
-- Copyright (c) lua-nucleo authors (see file `COPYRIGHT` for the license)
----------------------------------------------------------------------... | mit |
AlexandreCA/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua | 13 | 1480 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saluhwa
-- 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 |
AlexandreCA/update | scripts/globals/effects/teleport.lua | 23 | 2889 | -----------------------------------
--
-- EFFECT_TELEPORT
--
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/teleports");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
e... | gpl-3.0 |
jstewart-amd/premake-core | tests/actions/vstudio/cs2005/test_compiler_props.lua | 7 | 1419 | --
-- tests/actions/vstudio/cs2005/test_compiler_props.lua
-- Test the compiler flags of a Visual Studio 2005+ C# project.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_cs2005_compiler_props")
local cs2005 = premake.vstudio.cs2005
local project = premake.pro... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/Michea.lua | 29 | 4408 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Michea
-- Quest NPC
-- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%)
-- Involed in: Fetichism | Where Two Paths Converge
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
--------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/tropical_clam.lua | 18 | 1318 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Caedarva_Mire/npcs/qm1.lua | 30 | 1329 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ??? (Spawn Verdelet(ZNM T2))
-- @pos 417 -19 -69 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
require("scripts/gl... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm11.lua | 17 | 1517 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: ???
-- Spawns: Rani
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,np... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Feretory/Zone.lua | 32 | 1164 | -----------------------------------
--
-- Zone: Feretory
--
-----------------------------------
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
--... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Port_Bastok/npcs/Argus.lua | 3 | 3692 | -----------------------------------
-- Area: Port Bastok
-- NPC: Argus
-- Type: Mission Giver
-- !pos 132.157 7.496 -2.187 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua | 3 | 3341 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Uphra-Kophra, W.W.
-- Outpost Conquest Guards
-- !pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
petoju/awesome | tests/examples/sequences/client_rules/maximized.lua | 4 | 1314 | --DOC_GEN_IMAGE --DOC_NO_USAGE
local module = ... --DOC_HIDE
local ruled = {client = require("ruled.client") } --DOC_HIDE
local awful = {tag = require("awful.tag"), layout = require("awful.layout")} --DOC_HIDE
require("awful.ewmh") --DOC_HIDE
screen[1]:fake_resize(0, 0, 1280, 720) --DOC_HIDE
awful.tag({ "1", "2", "3",... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/globals/items/plate_of_dorado_sushi.lua | 12 | 1694 | -----------------------------------------
-- ID: 5178
-- Item: plate_of_dorado_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 5
-- Accuracy % 15
-- Accuracy Cap 72
-- Ranged ACC % 15
-- Ranged ACC Cap 72
-- Sleep Resist 1
-- Enmity 4
---------------------------------------... | gpl-3.0 |
blackzw/openwrt_sdk_dev1 | staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/webapi/ALG.lua | 1 | 3686 | module("luci.webapi.ALG", package.seeall)
local common = require('luci.webapi.Util')
--[[
get ALG settings information
Parameters
"PptpStatus": "0",
"H323AlgStatus": "0",
"SipAlgStatus":"0",
"SipAlgPort":"5060",
option pptp '1'
option h323 '1'
option sip '1'
option sip_port '5060'
Return value:
String cont... | gpl-2.0 |
rafradek/wire | lua/wire/stools/addressbus.lua | 9 | 3086 | WireToolSetup.setCategory( "Advanced" )
WireToolSetup.open( "addressbus", "Data - Address Bus", "gmod_wire_addressbus", nil, "Address Buses" )
if ( CLIENT ) then
language.Add( "Tool.wire_addressbus.name", "Address bus tool (Wire)" )
language.Add( "Tool.wire_addressbus.desc", "Spawns an address bus. Address spaces ma... | apache-2.0 |
ys1045097987/Face-Experiments | main_webface_dff.lua | 1 | 9988 | require 'torch'
require 'cudnn'
require 'cunn'
require 'nn'
--require 'stn'
--require 'casia'
--require 'CenterLoss'
--require 'CenterLoss_modified'
--require 'FisherLoss'
require 'FisherMarginLoss'
--paths.dofile('augmentation.lua')
local lapp = require 'pl.lapp'
torch.setnumthreads(4)
torch.setdefaulttensortype('torc... | apache-2.0 |
rudolfmleziva/AdministratorTeritorial | cocos2d/cocos/scripting/lua-bindings/auto/api/ActionMoveFrame.lua | 10 | 1054 |
--------------------------------
-- @module ActionMoveFrame
-- @extend ActionFrame
-- @parent_module ccs
--------------------------------
-- Changes the move action position.<br>
-- param the move action position.
-- @function [parent=#ActionMoveFrame] setPosition
-- @param self
-- @param #vec2_table pos
--... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 12 | 2557 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/zone");
require("scripts/globals/settin... | gpl-3.0 |
plsytj/skynet | service/debug_console.lua | 8 | 5842 | local skynet = require "skynet"
local codecache = require "skynet.codecache"
local core = require "skynet.core"
local socket = require "socket"
local snax = require "snax"
local port = tonumber(...)
local COMMAND = {}
local function format_table(t)
local index = {}
for k in pairs(t) do
table.insert(index, k)
end... | mit |
tommo/mock | mock/tools/InputRecorder.lua | 2 | 4192 | module 'mock'
local function hasItem(t, v)
for _, i in ipairs(t) do
if i==v then return true end
end
return false
end
CLASS: InputEventRecorder ()
function InputEventRecorder:__init(option)
self.thread=false
self.recording=false
option=option or {}
self.filter=option.filter or {'mouse','keyboard','touch','com... | mit |
RebootRevival/FFXI_Test | scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua | 12 | 1490 | -----------------------------------------
-- ID: 5197
-- Item: dish_of_spaghetti_peperoncino_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 75
-- Vitality 2
-- Store TP 6
-- Resist virus +12
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
mzguanglin/LuCI | modules/admin-mini/luasrc/model/cbi/mini/network.lua | 82 | 6273 | --[[
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... | apache-2.0 |
rudolfmleziva/AdministratorTeritorial | cocos2d/cocos/scripting/lua-bindings/script/cocos2d/OpenglConstants.lua | 100 | 27127 |
if not gl then return end
gl.GCCSO_SHADER_BINARY_FJ = 0x9260
gl._3DC_XY_AMD = 0x87fa
gl._3DC_X_AMD = 0x87f9
gl.ACTIVE_ATTRIBUTES = 0x8b89
gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a
gl.ACTIVE_PROGRAM_EXT = 0x8259
gl.ACTIVE_TEXTURE = 0x84e0
gl.ACTIVE_UNIFORMS = 0x8b86
gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87... | gpl-3.0 |
lzyzsd/ABTestingGateway | admin/policy/get.lua | 22 | 3106 | local policyModule = require('abtesting.adapter.policy')
local redisModule = require('abtesting.utils.redis')
local systemConf = require('abtesting.utils.init')
local handler = require('abtesting.error.handler').handler
local utils = require('abtesting.utils.utils')
local ERRORINFO = require('ab... | mit |
RebootRevival/FFXI_Test | scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua | 17 | 1572 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Komalata
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
------------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Northern_San_dOria/npcs/Miaux.lua | 3 | 6769 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miaux
-- Type: Quest Giver
-- !pos -169.127 2.999 158.677 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua | 3 | 1443 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- !pos -118 -8 -518 104
-- Teleports Players to Jugner Forest [S]
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
akavel/svgmath | svgmath/contextmakers.lua | 1 | 11718 | -- Methods to set up the context for a MathML tree node.
--
-- The module contains two kinds of methods to set up context:
-- - context creators process the context of the current node;
-- - child context setters alter the context of a child.
local math, string, table, require = math, string, table, require
loc... | mit |
RebootRevival/FFXI_Test | scripts/zones/Port_Windurst/npcs/Ohruru.lua | 3 | 4928 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohruru
-- Starts & Finishes Repeatable Quest: Catch me if you can
-- Involved in Quest: Wonder Wands
-- Note: Animation for his "Cure" is not functioning. Unable to capture option 1, so if the user says no, he heals them anyways.
-- !pos -108 -5 94 2... | gpl-3.0 |
CosyVerif/data-server | src/cosy/server.lua | 1 | 2114 | local configuration = require "cosy.server.configuration"
local _ = require "cosy.util.string"
local copas = require "copas"
local socket = require "socket"
--local iconv = require "iconv"
--local utf8 = require "utf8"
--local ssl = require "ssl"
local host = confi... | mit |
RebootRevival/FFXI_Test | scripts/zones/Lower_Jeuno/npcs/Susu.lua | 17 | 1634 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Susu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Ac... | gpl-3.0 |
collinpeters/dotfiles | nvim/xdg_config/lua/plugins/configs/nvim-tree.lua | 1 | 4119 | -- --vim.g.nvim_tree_width = 40
-- --vim.g.nvim_tree_side = "left"
-- --vim.g.nvim_open_on_directory = 1
-- --vim.g.nvim_tree_disable_netrw = 0
-- --vim.g.nvim_tree_hijack_netrw = 1
-- --vim.g.nvim_tree_auto_open = 1
--
-- -- vim.g.nvim_tree_add_trailing = 1
-- -- vim.g.nvim_tree_allow_resize = 1
-- -- vim.g.nvim_tree_... | mit |
RebootRevival/FFXI_Test | scripts/globals/effects/sigil.lua | 32 | 3008 | -----------------------------------
--
-- EFFECT_SIGIL
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- Tracks which bonus effects are in use.
local sub... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters_[S]/npcs/Tohs_Jhannih.lua | 3 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Tohs Jhannih
-- Type: Standard NPC
-- @zone 94
-- !pos -46.492 -4.5 70.828
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
dannybloe/domoticz | dzVents/runtime/device-adapters/thermostat_operating_state_device.lua | 6 | 1249 | return {
baseType = 'device',
name = 'Thermostat operating state device adapter',
matches = function(device, adapterManager)
local res = (device.deviceSubType == 'Thermostat Operating State')
if (not res) then
adapterManager.addDummyMethod(device, 'updateMode')
end
return res
end,
process = function... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua | 17 | 1160 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Xoo Kaza the Solemn
-- Boss Trigger for RDM NM
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- o... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/spells/diaga.lua | 1 | 2377 | -----------------------------------------
-- Spell: Diaga
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/common.lua | 35 | 2855 | -----------------------------------
--
--
-----------------------------------
-----------------------------------
-- switch
-----------------------------------
function switch(c)
local swtbl = {
casevar = c,
caseof = function (self,code)
local f
if (self.casevar) then
f = cod... | gpl-3.0 |
Jimdo/thrift | lib/lua/TCompactProtocol.lua | 30 | 13135 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
Afforess/Factorio-Stdlib | stdlib/vendor/enumerable.lua | 1 | 15322 | --- A collection library to simplify sequential table operations
--
-- local Enumerable = require('__stdlib__/stdlib/vendor/enumerable')
-- Enumerable.create({1,2,3})
-- @classmod Vendor.Enumerable
-- @author Billiam
local Enumerable = {}
Enumerable.mt = {
__index = function(self, key)
return Enumerable[key... | isc |
tommo/mock | mock/effect/EffectSprite.lua | 1 | 7539 | module 'mock'
--------------------------------------------------------------------
--Common Routine
--------------------------------------------------------------------
-- CLASS: EffectPropNode ( EffectNode )
-- :MODEL{}
-- function EffectPropNode:createProp( fxState )
-- end
-- function EffectPropNode:onLoad( fxS... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.