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 |
|---|---|---|---|---|---|
jstewart-amd/premake-core | tests/actions/vstudio/vc2010/test_vectorextensions.lua | 5 | 2057 | ---
-- tests/actions/vstudio/vc2010/test_vectorextensions.lua
-- Validate handling of vectorextensions() in VS 2010 C/C++ projects.
--
-- Created 26 Mar 2015 by Jason Perkins
-- Copyright (c) 2015 Jason Perkins and the Premake project
---
local suite = test.declare("vs2010_vc_vectorextensions")
local m = premake.vst... | bsd-3-clause |
AlexandreCA/darkstar | scripts/globals/items/kalamar.lua | 18 | 1307 | -----------------------------------------
-- ID: 5448
-- Item: Kalamar
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Mhaura/Zone.lua | 17 | 2912 | -----------------------------------
--
-- Zone: Mhaura (249)
--
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/zone");
require("scripts/zones/Mhaura/TextIDs");
require... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Waughroon_Shrine/bcnms/shattering_stars.lua | 27 | 2040 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Shattering stars - Maat Fight
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm15.lua | 12 | 2541 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: ???
-- Involved in Quest: Knight Stalker
-- @pos 58 1 -70 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Temple_of_Uggalepih/T... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/gear_sets.lua | 17 | 26319 | -----------------------------------
-- Gear sets
-- Allows the use of gear sets with modifiers
-----------------------------------
require("scripts/globals/status");
-----------------------------------
local matchtype = {
any = 0,
earring_weapon = 1,
weapon_weapon = 2
}
-- placeholder for unkno... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/coloredwood/wood.lua | 1 | 6366 | -- Woods portion of Colored Wood mod by Vanessa Ezekowitz ~~ 2012-07-17
-- based on my unified dyes modding template.
--
-- License: WTFPL
coloredwood.enable_stairsplus = true
if minetest.setting_getbool("coloredwood_enable_stairsplus") == false or not minetest.get_modpath("moreblocks") then
coloredwood.enable_sta... | unlicense |
virgo-agent-toolkit/rackspace-monitoring-agent | hostinfo/who.lua | 3 | 1081 | --[[
Copyright 2014 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/RuAun_Gardens/mobs/Genbu.lua | 7 | 1547 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Genbu
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
yasharsa/yashartg | 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 |
mobinantispam/test-bot | 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 |
ld-test/lrexlib-gnu | test/pat2pcre.lua | 20 | 1815 | -- See Copyright Notice in the file LICENSE
-- Convert Lua regex pattern to its PCRE equivalent.
local t_esc = {
a = "[:alpha:]",
A = "[:^alpha:]",
c = "[:cntrl:]",
C = "[:^cntrl:]",
l = "[:lower:]",
L = "[:^lower:]",
p = "[:punct:]",
P = "[:^punct:]",
u = "[:upper:]",
U = "[:^upper:]",
w = "[:a... | mit |
AlexandreCA/update | scripts/zones/La_Vaule_[S]/Zone.lua | 12 | 1784 | -----------------------------------
--
-- Zone: La_Vaule_[S] (85)
--
-----------------------------------
package.loaded["scripts/zones/La_Vaule_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/La_Vaule_[S]/TextIDs");
require("scripts/globals... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Beadeaux/npcs/_43b.lua | 17 | 1739 | -----------------------------------
-- Area: Beadeaux
-- NPC: Jail Door
-- Involved in Quests: The Rescue
-- @pos 56 0.1 -23 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua | 13 | 3618 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yahsra
-- Type: Assault Mission Giver
-- @pos 120.967 0.161 -44.002 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua | 45 | 1646 | -----------------------------------
-- Area: Vunkerl Inlet (S) (F-5)
-- NPC: Leafy Patch
-- Involved in Quests
-- @pos -418 -33 576
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
re... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/quick_etude.lua | 18 | 1762 | -----------------------------------------
-- Spell: Quick Etude
-- Static AGI Boost, BRD 28
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagi... | gpl-3.0 |
anubis34/luaGLEW | luajitglew_test/luaglew.lua | 2 | 146088 | local ffi = require( "ffi" )
ffi.cdef[[
enum {
GLX_AMD_gpu_association = 0x1,
GLX_GPU_RENDERER_STRING_AMD = 0x1F01,
GLX_GPU_OPENGL_VERSION_STRING_AMD = 0x1F02,
GLX_GPU_FASTEST_TARGET_GPUS_AMD = 0x21A2,
GLX_GPU_RAM_AMD = 0x21A3,
GLX_GPU_CLOCK_AMD = 0x21A4,
GLX_GPU_NUM_PIPES_AMD = 0x21A5,
GLX_GPU_NUM_SIMD_AMD =... | mit |
AlexandreCA/update | scripts/zones/Xarcabard/npcs/Luck_Rune.lua | 34 | 1062 | -----------------------------------
-- Area: Xarcabard
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 576.117 -0.164 -16.935 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Xarcab... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Tete.lua | 17 | 1295 | -----------------------------------
-- Area: Port Bastok
-- NPC: Tete
-- Continues Quest: The Wisdom Of Elders
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wazyih.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wazyih
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Pahpe_Rauulih.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pahpe Rauulih
-- Type: Standard NPC
-- @zone: 94
-- @pos -39.740 -4.499 53.223
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
martolini/Vana | scripts/npcs/ludi017.lua | 1 | 1262 | --[[
Copyright (C) 2008-2015 Vana Development Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 16 | 1489 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
func... | gpl-3.0 |
open-city/clearstreets-processing | clearstreets.lua | 2 | 21526 | -- Car profile
local find_access_tag = require("lib/access").find_access_tag
local get_destination = require("lib/destination").get_destination
local set_classification = require("lib/guidance").set_classification
local get_turn_lanes = require("lib/guidance").get_turn_lanes
local Set = require('lib/set')
local Sequenc... | mit |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua | 38 | 1041 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kristen
-- Type: Standard NPC
-- @zone: 94
-- @pos 2.195 -2 60.296
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Waters/npcs/Machitata.lua | 36 | 1704 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Machitata
-- Involved in Quest: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 163 0 -22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
ztesbot/ztesrobot | 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 |
AlexandreCA/update | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 17 | 1967 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/settings");
re... | gpl-3.0 |
dani-sj/mehdi | 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 |
AlexandreCA/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua | 30 | 1107 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
gaodayihao/XBurner | Libs/DiesalGUI-1.0/Objects/Accordian.lua | 8 | 2732 | local DiesalGUI = LibStub("DiesalGUI-1.0")
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub("DiesalTools-1.0")
local DiesalStyle = LibStub("DiesalStyle-1.0")
-- | Lua Upvalues |~~~~... | mit |
AlexandreCA/darkstar | scripts/globals/items/sweet_baked_apple.lua | 18 | 1300 | -----------------------------------------
-- ID: 4336
-- Item: sweet_baked_apple
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Magic Points 25
-- Intelligence 4
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Sharp_Tooth_IM.lua | 13 | 3338 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Sharp Tooth, I.M.
-- Type: Border Conquest Guards
-- @pos 536.291 23.517 694.063 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
mcclure/old-Polycode | Bindings/Contents/LUA/API/Polycode/SkeletonAnimation.lua | 1 | 1184 | class "SkeletonAnimation"
function SkeletonAnimation:SkeletonAnimation(...)
for k,v in pairs(arg) do
if type(v) == "table" then
if v.__ptr ~= nil then
arg[k] = v.__ptr
end
end
end
if self.__ptr == nil and arg[1] ~= "__skip_ptr__" then
self.__ptr = Polycore.SkeletonAnimation(unpack(arg))
Poly... | mit |
samboy/Oblige | games/quake/themes.lua | 1 | 5425 | ------------------------------------------------------------------------
-- QUAKE THEMES
------------------------------------------------------------------------
--
-- Copyright (C) 2006-2015 Andrew Apted
-- Copyright (C) 2011 Chris Pisarczyk
--
-- This program is free software; you can redistribute it and/or
... | gpl-2.0 |
nwf/openwrt-luci | applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua | 68 | 1868 | -- Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
local uci = require "luci.model.uci".cursor()
local fs = require "nixio.fs"
local utl = require "luci.util"
m = Map("freifunk-widgets", translate("Widgets"),
translate("Configure installed widget... | apache-2.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Emetic_Discharge.lua | 44 | 2025 | ---------------------------------------------
-- Emetic Discharge
-- Family: Bloodlapper and Brummbar
-- Description: Transfers all ailments to target
-- Type: Enfeebling
-- Utsusemi/Blink absorb: 2-3 shadows
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Rosswald.lua | 36 | 1683 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rosswald
-- Only sells when Bastok controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok... | gpl-3.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | features.lua | 1 | 1504 | --[[
Copyright 2015 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fk.lua | 13 | 1076 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 100 -34 88 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Upper_Jeuno/npcs/Khe_Chalahko.lua | 13 | 1264 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Khe Chalahko
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
lancehilliard/TGNS | mods/tgns/output/lua/shine/extensions/sprayhelper/server.lua | 1 | 6331 | Plugin.HasConfig = false
-- Plugin.ConfigName = "sprayhelper.json"
local lastSprays = {}
local md = TGNSMessageDisplayer.Create("SPRAYS")
local fetchedSprays = {}
function Plugin:ClientConfirmConnect(client)
TGNS.DoFor(fetchedSprays, function(s)
if s.exists == nil then
s.exists = GetFileExists(s.path)
end
i... | mit |
AlexandreCA/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Gebhardt.lua | 13 | 1257 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Gebhardt
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
r... | gpl-3.0 |
AlexandreCA/update | 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 |
boundary/luvit | lib/luvit/stack.lua | 9 | 2997 | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
AlexandreCA/update | scripts/globals/items/bowl_of_vegetable_broth.lua | 35 | 1399 | -----------------------------------------
-- ID: 4323
-- Item: bowl_of_vegetable_broth
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 5
-- Ranged Accuracy 6
-- HP Recovered While Healing 3
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/felicifruit.lua | 18 | 1191 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
Dugy/wesnoth-names | data/ai/micro_ais/cas/ca_stationed_guardian.lua | 4 | 4538 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_guardian(cfg)
local filter = H.get_child(cfg, "filter") or { id = cfg.id }
local guardian = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", filter }
}[1]
retur... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 13 | 1166 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua | 30 | 1095 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua | 17 | 1550 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Lacovie
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
XuJiandong/raspberrypi-toolbox | lua/main.lua | 1 | 4738 | local ffi = require("ffi")
local rt = ffi.load("librpi-toolbox.so")
ffi.cdef([[
// user defined
extern void init_gpio(void);
extern void clean_gpio(void);
extern void enable_gpio_read(int port);
extern void enable_gpio_write(int port);
extern void write_gpio(int port, int n);
extern int read_gpio(int port);
extern v... | mit |
AlexandreCA/darkstar | scripts/zones/Castle_Oztroja/npcs/_47w.lua | 13 | 1276 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47w (Handle)
-- Notes: Opens door _473 from behind
-- @pos -41.377 -17.084 17.036 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cast... | gpl-3.0 |
jstewart-amd/premake-core | scripts/package.lua | 5 | 4331 | ---
-- Create a source or binary release package.
---
---
-- Helper function: run a command while hiding its output.
---
local function execQuiet(cmd, ...)
cmd = string.format(cmd, ...) .. " > _output_.log 2> _error_.log"
local z = os.execute(cmd)
os.remove("_output_.log")
os.remove("_error_.log")
return ... | bsd-3-clause |
linino/packages | net/luci-app-clamav/files/model/cbi/clamav-cbi.lua | 100 | 6776 | --[[
LuCI ClamAV module
Copyright (C) 2015, Itus Networks, Inc.
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
Author: Marko Ratkaj <marko.ratkaj@sar... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua | 36 | 1106 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8
-- @zone 80
-- @pos 22 2 3
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextID... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/serving_of_menemen_+1.lua | 35 | 1540 | -----------------------------------------
-- ID: 5587
-- Item: serving_of_menemen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 35
-- MP 35
-- Agility 2
-- Intelligence -2
-- HP recovered while healing 2
-- MP recovered while healing 2
------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua | 44 | 2158 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Peshi Yohnts
-- Type: Bonecraft Guild Master
-- @pos -6.175 -6.249 -144.667 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua | 13 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Churacoco
-- Type: Standard NPC
-- @zone: 94
-- @pos -76.139 -4.499 20.986
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Northern_San_dOria/npcs/Antonian.lua | 17 | 2157 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Antonian
-- Regional Marchant NPC
-- Only sells when San d'Oria controlls Aragoneu.
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 27 | 1248 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/RuAun_Gardens/npcs/qm1.lua | 16 | 1435 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Genbu's Spawn)
-- Allows players to spawn the HNM Genbu with a Gem of the North and a Winterstone.
-- @pos 257 -70 517 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua | 13 | 2462 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kubhe Ijyuhla
-- Standard Info NPC
-- @pos 23.257 0.000 21.532 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Woods/npcs/Terude-Harude.lua | 53 | 1899 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Terude-Harude
-- Type: Clothcraft Adv. Image Support
-- @pos -32.350 -2.679 -116.450 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/margherita_pizza.lua | 18 | 1199 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Attack 10
-- Health Points 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
mosavy/leaderbottg | plugins/id.lua | 1 | 2087 | local function action_by_reply(arg, data)
local cmd = arg.cmd
if not tonumber(data.sender_user_id_) then return false end
if data.sender_user_id_ then
if cmd == "id" then
local function id_cb(arg, data)
return tg.sendMessage(arg.chat_id, "", 0, "*"..data.id_.."*", 0, "md")
end
tdcli_function ({
ID = "Ge... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/fire_maneuver.lua | 35 | 1604 | -----------------------------------
-- Ability: Fire Maneuver
-- Enhances the effect of fire attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | src/actions/make/make_cpp.lua | 2 | 8910 | --
-- make_cpp.lua
-- Generate a C/C++ project makefile.
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
--
premake.make.cpp = { }
local cpp = premake.make.cpp
local make = premake.make
function premake.make_cpp(prj)
-- create a shortcut to the compiler interface
local cc = premake.gettool(p... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Cape_Teriggan/npcs/HomePoint#1.lua | 19 | 1196 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: HomePoint#1
-- @pos -303 -8 526 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
nwf/openwrt-luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua | 68 | 3415 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys.iptparser")
ip = luci.sys.iptparser.IptParser()
chains = { }
targets = { }
for i, rule in ipairs( ip:find() ) do
if rule.chain and rule.target then
chains[rule.chain] ... | apache-2.0 |
AlexandreCA/darkstar | scripts/globals/zone.lua | 30 | 3876 | ------------------------------------
--
-- Contains global functions and variables
-- related to area specific things
--
------------------------------------
------------------------------------
-- zone related IDs
------------------------------------
-- Zone Types
ZONETYPE_NONE = 0
ZONETYPE_CI... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Nashmau/npcs/Awaheen.lua | 17 | 1932 | -----------------------------------
-- Area: Nashmau
-- NPC: Awaheen
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
thezimmee/os-zimmee | hammerspoon/hammerspoon.link/Spoons/WindowScreenLeftAndRight.spoon/init.lua | 2 | 3016 | --- === WindowScreenLeftAndRight ===
---
--- Move windows to other screens
---
--- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WindowScreenLeftAndRight.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WindowScreenLeftAndRight.spoon.zip)
local obj={}
obj.__index = obj
-- Metada... | mit |
samboy/Oblige | attic/oblige_V2/x_doom1.lua | 1 | 58718 | ----------------------------------------------------------------
-- GAME DEF : Doom 1
----------------------------------------------------------------
--
-- Oblige Level Maker (C) 2006,2007 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Genera... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua | 4 | 1117 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Goblin Replica
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | remote/index.lua | 1 | 1269 | local uv = require('uv')
local modules = {
tcp = require('./tcp'),
http = require('./http'),
ping = require('./ping'),
}
return function (attributes, config, callback)
local fn = assert(modules[attributes.module], "Missing module")
local done
local handles = {}
local result = { id = attributes.id }
... | apache-2.0 |
AlexandreCA/update | scripts/commands/checkvar.lua | 38 | 1130 | ---------------------------------------------------------------------------------------------------
-- func: @checkvar <varType> <varName>
-- desc: checks player or server variable and returns result value.
---------------------------------------------------------------------------------------------------
cmdprops =
{... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/effects/healing.lua | 10 | 1837 | -----------------------------------
--
-- EFFECT_HEALING
--
-- Activated through the /heal command
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua | 23 | 1825 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: King Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
--------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Mitti_Haplihza.lua | 15 | 1054 | -----------------------------------
-- Area: Kazham
-- NPC: Mitti Haplihza
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Mhaura/npcs/Rycharde.lua | 17 | 16001 | -----------------------------------
-- Area: Mhaura
-- NPC: Rycharde
-- Standard Info NPC
-- Starts & Finishes non Repeatable Quest: Rycharde the Chef,
-- WAY_OF_THE_COOK, UNENDING_CHASE
-- his name is Valgeir (not completed correctly, ferry not implemented)
-- the clue (100%)
-- the basics (not completed... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Giddeus/npcs/Quu_Bokye.lua | 13 | 2020 | -----------------------------------
-- Area: Giddeus
-- NPC: Quu Bokye
-- Involved in Quest: Dark Legacy
-- @pos -159 16 181 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Giddeus/TextIDs");
-------------------... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/user_stats.lua | 8 | 2859 | --
-- (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')
mode = _GET["mode"]
host = _GET["host"]
user = _GET["user"]
interface.select(ifname)
flows = interface.getFlowsI... | gpl-3.0 |
AlexandreCA/update | scripts/globals/mobskills/Hex_Palm.lua | 3 | 1072 | ---------------------------------------------------
-- Hex Palm
-- Family: Qutrub
-- Description: Steals HP from targets in front.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Front cone
-- Notes: Used only when wielding no weapon.
---------------------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Metalworks/npcs/Grohm.lua | 19 | 2699 | -----------------------------------
-- Area: Metalworks
-- NPC: Grohm
-- Involved In Mission: Journey Abroad
-- @pos -18 -11 -27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/z... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Temple_of_Uggalepih/TextIDs.lua | 3 | 2339 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 13 | 1039 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua | 13 | 5845 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fubruhn
-- Mog Locker NPC
--
-- Event IDs:
-- 0x0258 = Not a mercenary + mog locker options
-- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00.
-- If this is 0, it shows the not a mecenary message instead.
-- ... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/windstorm.lua | 31 | 1153 | --------------------------------------
-- Spell: Windstorm
-- Changes the weather around target party member to "windy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Batallia_Downs/npcs/Stone_Monument.lua | 13 | 1272 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 185.669 9.049 -614.025 105
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
LuaDist2/gumbo | test/dom/Node-insertBefore.lua | 3 | 2464 | local gumbo = require "gumbo"
local assert, pcall = assert, pcall
local _ENV = nil
local input = [[
<header id=header></header>
<div id="main" class="foo bar baz etc">
<h1 id="h1">Title <!--comment --></h1>
</div>
<footer id=footer>...</footer>
]]
local document = assert(gumbo.parse(input))
local body = assert(do... | isc |
paly2/minetest-minetestforfun-server | mods/plantlife_modpack/cavestuff/mapgen.lua | 9 | 1721 | --Map Generation Stuff
minetest.register_on_generated(function(minp, maxp, seed)
if maxp.y >= 2 and minp.y <= 0 then
-- Generate pebbles
local perlin1 = minetest.get_perlin(329, 3, 0.6, 100)
-- Assume X and Z lengths are equal
local divlen = 16
local divs = (maxp.x-minp.x)/divlen+1;
for divx=0,divs-1 do
... | unlicense |
AlexandreCA/update | scripts/zones/Davoi/npcs/Treasure_Chest.lua | 19 | 2551 | -----------------------------------
-- Area: Davoi
-- NPC: Treasure Chest
-- @zone 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/zones/Davoi/Tex... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Giddeus/npcs/Treasure_Chest.lua | 13 | 3093 | -----------------------------------
-- Area: Giddeus
-- NPC: Treasure Chest
--
-- @pos -158.563 0.999 -226.058 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/loach_gruel.lua | 35 | 1674 | -----------------------------------------
-- ID: 5670
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Accuracy % 7
-- Accuracy Cap 30
-- HP % 7
-- HP Cap 30
-- Evasion 4
-- (Did Not Add Group Food Effect)
-------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua | 17 | 2216 | -----------------------------------
-- Area: Waughroon Shrine
-- NPC: Burning Circle
-- Waughroon Shrine Burning Circle
-- @pos -345 104 -260 144
-------------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-------------------------------------
require("scripts/global... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j0.lua | 13 | 1471 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 299 0.1 349 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
AlexandreCA/update | scripts/globals/abilities/chaos_roll.lua | 9 | 3293 | -----------------------------------
-- Ability: Chaos Roll
-- Enhances attack for party members within area of effect
-- Optimal Job: Dark Knight
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 14
--
-- Die Roll |No DRK |With DRK
-- -------- -------- -----------
-- 1 |6% |16%
-- 2 ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/Khonzon.lua | 13 | 1054 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Khonzon
-- Type: Item Deliverer
-- @zone: 235
-- @pos -323.744 -16.001 -88.698
--
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
----------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.