repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
mahmedhany128/Mr_BOT | plugins/plugins.lua | 4 | 7119 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY faeder ▀▄ ▄▀
▀▄ ▄▀ BY faeder (@xXxDev_iqxXx) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY HASSN_BKS ▀▄ ▄▀
▀▄ ▄▀ plugins : تفعيل الملفات ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua | 32 | 1288 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep_[S] (155)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs");
-----... | gpl-3.0 |
r1k/vlc | share/lua/meta/art/02_frenchtv.lua | 51 | 2724 | --[[
Gets an artwork from amazon
$Id$
Copyright © 2007 the VideoLAN 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; either version 2 of the License, or
(at your option) any later version... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Pashhow_Marshlands/Zone.lua | 13 | 4579 | -----------------------------------
--
-- Zone: Pashhow_Marshlands (109)
--
-----------------------------------
package.loaded[ "scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
package.loaded[ "scripts/globals/missions"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
---------------------------------... | gpl-3.0 |
ObsidianGuardian/xenia | third_party/spirv-tools.lua | 3 | 2767 | group("third_party")
project("spirv-tools")
uuid("621512da-bb50-40f2-85ba-ae615ff13e68")
kind("StaticLib")
language("C++")
links({
})
defines({
"_LIB",
})
includedirs({
"spirv-headers/include",
"spirv-tools/include",
"spirv-tools/source",
})
files({
"spirv-tools/include/spirv-too... | bsd-3-clause |
AdamGagorik/darkstar | scripts/globals/spells/dark_carol.lua | 27 | 1532 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
Wiladams/cream | core/dkjson.lua | 154 | 22416 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
Version 2.5
For the documentation see the corresponding readme.txt or visit
<http://dkolf.de/src/dkjson-lua.fsl/>.
You can contact the ... | mit |
AdamGagorik/darkstar | scripts/globals/weaponskills/tachi_goten.lua | 11 | 1444 | -- ---------------------------------
-- Tachi Goten
-- Great Katana weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget / Thunder Gorget.
-- Aligned with the Light Belt / Thunder Belt.
-- Element: Thunder... | gpl-3.0 |
D-m-L/evonara | modules/libs/Peep/LoveFrames/objects/internal/closebutton.lua | 10 | 4233 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- closebutton class
local newobject = loveframes.NewObject("closebutton", "loveframes_object_closebutton", true)
--[[-----... | mit |
mohammad25253/seed238 | plugins/id_2.lua | 30 | 5808 | --[[
Print user identification/informations by replying their post or by providing
their username or print_name.
!id <text> is the least reliable because it will scan trough all of members
and print all member with <text> in their print_name.
chat_info can be displayed on group, send it into PM, or save as file then... | gpl-2.0 |
mohammadrassoul/roborsevenn | plugins/fun.lua | 1 | 19373 |
--Special Thx To @aliaz003 CH;@RICHENERGY
--------------------------------
local function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
--------------------------------
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
----------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/bowl_of_zesti_zoni.lua | 18 | 1668 | -----------------------------------------
-- ID: 5619
-- Item: Bowl of Zesti Zoni
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- MP Recovered while healing 1
-- HP Recovered while healing 1
-------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Gun.lua | 7 | 1494 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Gun
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngaged... | gpl-3.0 |
aquileia/wesnoth | data/ai/lua/generic_recruit_engine.lua | 1 | 48486 | return {
-- init parameters:
-- ai_cas: an object reference to store the CAs and associated data
-- the CA will use the function names ai_cas:recruit_rushers_eval/exec, so should be referenced by the object name used by the calling AI
-- ai_cas also has the functions find_best_recruit, find_best_rec... | gpl-2.0 |
sjznxd/lc-20130204 | modules/niu/luasrc/model/cbi/niu/system/general1.lua | 49 | 1145 | --[[
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$
]]--
loc... | apache-2.0 |
killa78/ForgeUI | ForgeUI_InterfaceMenuList/ForgeUI_InterfaceMenuList.lua | 2 | 16607 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for ForgeUI_InterfaceMenuList
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
require "Window"
require "GameL... | mit |
cresd/CressD | plugins/banhammer.lua | 60 | 11556 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua | 13 | 1892 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Vendor
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/c... | gpl-3.0 |
Laeeth/dub | dub/Inspector.lua | 3 | 4047 | --[[------------------------------------------------------
# Inspector
The Inspector 'knows' about the functions and classes
and can answer queries.
--]]------------------------------------------------------
local lub = require 'lub'
local dub = require 'dub'
local lib = lub.class 'dub.Inspector'
l... | mit |
luveti/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/class.lua | 40 | 4965 | -- tolua: class class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancements, ... | mit |
Hostle/luci | modules/luci-base/luasrc/sys.lua | 6 | 14665 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local io = require "io"
local os = require "os"
local table = require "table"
local nixio = require "nixio"
local fs = require "nixio.fs"
local uci = require "luci.model.uci"
local luci = {}
l... | apache-2.0 |
AdamGagorik/darkstar | scripts/globals/items/sacred_sword.lua | 42 | 1451 | -----------------------------------------
-- ID: 17682
-- Sacred Sword
-- Additional effect: Light damage
-- Enchantment: "Enlight"
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 13 | 1141 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end; ... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Woods/npcs/Sola_Jaab.lua | 13 | 1564 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Sola Jaab
-- Involved in Quest: Riding on the Clouds
-- @zone 241
-- @pos 109 -5 -25
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Temenos/mobs/Enhanced_Lizard.lua | 7 | 1028 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Lizard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
sjznxd/lc-20130204 | libs/web/luasrc/config.lua | 88 | 1070 | --[[
LuCI - Configuration
Description:
Some LuCI configuration values read from uci file "luci"
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a co... | apache-2.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Waters/npcs/Moreno-Toeno.lua | 12 | 8511 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Moreno-Toeno
-- Starts and Finishes Quest: Teacher's Pet
-- @pos
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
---------------------------------... | gpl-3.0 |
D-m-L/evonara | modules/libs/maths.lua | 1 | 5587 | maths = {}
isect = {}
function maths.distance(x1, y1, x2, y2, squared)
local dx = x1 - x2
local dy = y1 - y2
local s = dx * dx + dy * dy
--return squared and s or math.sqrt(s)
--return s
return math.sqrt(s)
end
function maths.angle(x1, y1, x2, y2)
return math.atan2(y2 - y1, x2 - x1)
end
function maths.findAn... | mit |
sjznxd/lc-20130204 | applications/luci-firewall/luasrc/model/cbi/firewall/forward-details.lua | 12 | 4205 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
AdamGagorik/darkstar | scripts/globals/spells/mages_ballad_ii.lua | 27 | 1159 | -----------------------------------------
-- Spell: Mage's Ballad II
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,t... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Selbina/npcs/Vobo.lua | 13 | 1515 | -----------------------------------
-- Area: Selbina
-- NPC: Vobo
-- Involved in Quest: Riding on the Clouds
-- @pos 37 -14 81 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Horlais_Peak/mobs/Maat.lua | 6 | 1120 | -----------------------------------
-- Area: Horlais Peak
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- onMobSpawn... | gpl-3.0 |
Hostle/luci | modules/luci-base/luasrc/model/ipkg.lua | 26 | 5210 | -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local io = require "io"
local fs = require "nixio.fs"
local util = require "luci.util"
local type = type
local pairs = pai... | apache-2.0 |
AdamGagorik/darkstar | scripts/globals/items/lik_kabob.lua | 18 | 1246 | -----------------------------------------
-- ID: 5647
-- Item: Lik Kabob
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- Dexterity 3
-- Attack 7
-- Mind -2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/La_Theine_Plateau/npcs/Shattered_Telepoint.lua | 27 | 2328 | -----------------------------------
-- Area: La_Theine Plateau
-- NPC: Shattered Telepoint
-- @pos 334 19 -60 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/La_Thei... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/mobskills/Bad_Breath.lua | 32 | 1258 | ---------------------------------------------
-- Bad Breath
--
-- Description: Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster.
-- Type: Magical (Earth)
--
--
---------------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Northern_San_dOria/npcs/Durogg.lua | 13 | 2949 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Durogg
-- Type: Past Event Watcher
-- @zone: 231
-- @pos: 15 0 -18
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/La_Theine_Plateau/Zone.lua | 12 | 5685 | -----------------------------------
--
-- Zone: La_Theine_Plateau (102)
--
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs")... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Mordion_Gaol/Zone.lua | 13 | 1385 | -----------------------------------
--
-- Zone: Mordion_Gaol
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mordion_Gaol/TextIDs"] = nil;
require("scripts/zones/Mordion_Gaol/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_log_messages_sql/mod_log_messages_sql.lua | 32 | 5292 | -- Based on mod_mam_sql
-- Copyright (C) 2011-2012 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;
local serialize = require"util.json".encode, require"util.json".decode;
local tostring = tostring;... | mit |
AdamGagorik/darkstar | scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua | 13 | 1560 | -----------------------------------
-- Area: Kazham
-- NPC: Khifo Ryuhkowa
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
Snazz2001/fbcunn | test/test_LinearNB.lua | 9 | 2654 | require 'nn'
require 'cunn'
require 'fbtorch'
require 'fbcunn'
local mytester = torch.Tester()
local LinearNBTest = {}
local jac = nn.Jacobian
local precision = 1e-5
function testAll(targettype)
targettype = targettype or 'torch.DoubleTensor'
local ini = math.random(3,5)
local inj_vals = {math.random(3,5... | bsd-3-clause |
AdamGagorik/darkstar | scripts/zones/Southern_San_dOria/npcs/Faulpie.lua | 44 | 2855 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Faulpie
-- Type: Leathercraft Guild Master
-- @pos -178.882 -2 9.891 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua | 27 | 2345 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Shattered telepoint
-- @pos 135 19 220 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Kon... | gpl-3.0 |
githubtelebot/Bot-telebot | plugins/help_en.lua | 4 | 3778 | do
function run(msg, matches)
if msg.to.type == 'chat' and is_momod(msg) then
return 'Tele Beyond Command List'..[[
❤لیست دستورات💙:
🔴kick [آیدی،یوزر،ریپلی]
🔹شخص مورد نظر از گروه اخراج ميشود. ☑️
🔴ban [آیدی،یوزر،ریپلی]
🔹شخص مورد نظر از گروه محروم میشود ☑️
🔴unban [آیدی،یوزر،ریپلی]
🔹شخص مورد نظر از محرومیت خا... | gpl-2.0 |
SilentStar/BolScripts-1 | LucianMechanics.lua | 21 | 20064 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
githubtelebot/Bot-telebot | plugins/invite.lua | 8 | 2324 | --[[
Invite other user to the chat group.
Use !invite ********* (where ********* is id_number) to invite a user by id_number.
This is the most reliable method.
Use !invite @username to invite a user by @username.
Less reliable. Some users don't have @username.
Use !invite Type print_name Here to invite a user by print_... | gpl-2.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_register_redirect/mod_register_redirect.lua | 32 | 4056 | -- (C) 2010-2011 Marco Cirillo (LW.Org)
-- (C) 2011 Kim Alvefur
--
-- Registration Redirect module for Prosody
--
-- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration.
local st = require "util.stanza"
local cman = configmanager
local ip_wl = module:get_option_set... | mit |
githubtelebot/Bot-telebot | plugins/lock_fwd.lua | 8 | 1351 | do
local function pre_process(msg)
local hash = 'mate:'..msg.to.id
if redis:get(hash) and msg.fwd_from and not is_momod(msg) then
chat_del_user('chat#id'..msg.to.id,'user#id'..msg.from.id, ok_cb, false)
return "فروارد کردن ممنوعه😐✋"
end
return msg
end
local ... | gpl-2.0 |
luveti/Urho3D | bin/Data/LuaScripts/19_VehicleDemo.lua | 13 | 16331 | -- Vehicle example.
-- This sample demonstrates:
-- - Creating a heightmap terrain with collision
-- - Constructing a physical vehicle with rigid bodies for the hull and the wheels, joined with constraints
-- - Saving and loading the variables of a script object, including node & component references
... | mit |
AdamGagorik/darkstar | scripts/zones/Bastok_Markets/npcs/Carmelide.lua | 17 | 1493 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Carmelide
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua | 13 | 1325 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Paya-Sabya
-- Involved in Mission: Magicite
-- @zone 244
-- @pos 9 1 70
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
LinuxPhreak/textadept | core/.textadept.lua | 1 | 3440 | -- Copyright 2007-2008 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
-- global textadept table.
---
-- The core textadept table.
-- [Dummy file]
module('textadept')
---
-- The core textadept table.
-- @class table
-- @name textadep... | mit |
Nathan22Miles/sile | languages/fr.lua | 1 | 29008 | SILE.hyphenator.languages["fr"] = {};
SILE.hyphenator.languages["en"].patterns =
{
---------------------%-----------------------%
-- phonetic patterns % etymological patterns %
---------------------%-----------------------%
----*
"2'2",
---------------------%-----------------------%
-- phonetic patterns % etymological ... | mit |
nerdclub-tfg/telegram-bot | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
sjznxd/lc-20130204 | libs/web/luasrc/dispatcher.lua | 72 | 23586 | --[[
LuCI - Dispatcher
Description:
The request dispatcher and module dispatcher generators
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of... | apache-2.0 |
sjznxd/lc-20130204 | applications/luci-ushare/luasrc/model/cbi/ushare.lua | 68 | 1275 | --[[
LuCI uShare
(c) 2008 Yanira <forum-2008@email.de>
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$
]]--
m = Map("ushare", translate("... | apache-2.0 |
ioiasff/awqp | plugins/bot_on_off.lua | 1 | 1649 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Bastok_Markets/npcs/Degenhard.lua | 25 | 2118 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Degenhard
-- Starts & Ends Quest: The Bare Bones
-- Involved in Quests: Beat Around the Bushin
-- @zone 235
-- @pos -175 2 -135
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/serving_of_royal_jelly.lua | 18 | 1133 | -----------------------------------------
-- ID: 4508
-- Item: Serving of Royal Jelly
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP Recovery while healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/spells/slow_ii.lua | 21 | 1677 | -----------------------------------------
-- Spell: Slow II
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Slow II value per point is '1' This is a constant s... | gpl-3.0 |
mynameiscraziu/karizma | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Metalworks/npcs/Cid.lua | 12 | 11902 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start)
-- Involved in Mission: Bastok 7-1
-- @pos -12 -12 1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Upper_Jeuno/npcs/Coumuna.lua | 13 | 1292 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Coumuna
-- 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 |
AdamGagorik/darkstar | scripts/zones/Upper_Jeuno/npcs/Tinjue.lua | 13 | 1047 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Tinjue
-- Type: Past Event Watcher
-- @zone: 244
-- @pos -73.790 -1 148.181
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua | 13 | 1055 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Prillaure
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 9.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_U... | gpl-3.0 |
Hostle/luci | modules/luci-base/luasrc/http.lua | 7 | 4805 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local ltn12 = require "luci.ltn12"
local protocol = require "luci.http.protocol"
local util = require "luci.util"
local string = require "string"
local coroutine = require "coroutine"
local table = require "tab... | apache-2.0 |
AdamGagorik/darkstar | scripts/zones/Ordelles_Caves/npcs/qm2.lua | 13 | 1463 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: ??? (qm2)
-- Involved in Quest: A Squire's Test II
-- @pos -94 1 273 193
-------------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Castle_Oztroja/npcs/Tebhi.lua | 13 | 1053 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Tebhi
-- @pos -136 24 -21 151
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (trade:hasItemQty(13121,1) and trade:getItemCo... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/fish_mithkabob.lua | 18 | 1456 | -----------------------------------------
-- ID: 4398
-- Item: fish_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 90
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_admin_blocklist/mod_admin_blocklist.lua | 20 | 1454 | -- mod_admin_blocklist
--
-- If a local admin has blocked a domain, don't allow s2s to that domain
--
-- Copyright (C) 2015 Kim Alvefur
--
-- This file is MIT/X11 licensed.
--
module:depends("blocklist");
local st = require"util.stanza";
local jid_split = require"util.jid".split;
local admins = module:get_option_inh... | mit |
AdamGagorik/darkstar | scripts/zones/Nashmau/npcs/Leleroon.lua | 13 | 3158 | -----------------------------------
-- Area: Nashmau
-- NPC: Leleroon
-- Standard Info NPC -- Corsair SideQuests
-- @pos -14.687 0.000 25.114 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
requi... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/FeiYin/npcs/Rukususu.lua | 13 | 1847 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Rukususu (talk to Cermet Door _no5 to trigger)
-- Type: Quest NPC
-- @pos -194.133 -0.986 191.077 204
-- Involved in quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle
-- Involved in Missions: Windurst 5-1/7-2/8-2
-... | gpl-3.0 |
teamactivebot/team-active | plugins/ingroup.lua | 156 | 60323 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.peer_id
if member_id ~= our_id then
-- Group configuration
data[... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/West_Ronfaure/npcs/qm4.lua | 13 | 1690 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm4 (???)
-- Involved in Quest: The Dismayed Customer
-- @pos -399 -10 -438 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Garlaige_Citadel/npcs/Oaken_Box.lua | 13 | 1738 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Oaken Box
-- Involved In Quest: Peace for the Spirit
-- @pos -164 0.1 225 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 58 | 1887 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- @pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
TrurlMcByte/docker-prosody | etc/prosody-modules/mod_adhoc_account_management/mod_adhoc_account_management.lua | 32 | 3961 | local dataforms_new = require "util.dataforms".new;
local usermanager_set_password = require "core.usermanager".set_password;
local usermanager_test_password = require "core.usermanager".test_password;
local jid_split = require"util.jid".split;
local close_others = module:get_option_boolean("close_sessions_on_password_... | mit |
master00041/gpsuper | plugins/arabic_lang.lua | 1 | 23173 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 13 | 3340 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Maxsteam/bbbvvv | bot/utils.lua | 31 | 14800 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
sjznxd/lc-20130204 | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua | 78 | 1192 | --[[
Luci statistics - ping plugin diagram definition
(c) 2008 Freifunk Leipzig / 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
http://www.apach... | apache-2.0 |
AdamGagorik/darkstar | scripts/zones/Windurst_Woods/npcs/Jack_of_Spades.lua | 13 | 1317 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Jack of Spades
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Northern_San_dOria/npcs/Charlaimagnat.lua | 12 | 2926 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Charlaimagnat
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
... | gpl-3.0 |
likeleon/Cnc | mods/cnc/maps/nod04a/nod04a.lua | 25 | 10956 | NodUnitsBuggy = { 'bggy', 'bggy', 'bggy', 'bggy', 'bggy' }
NodUnitsBikes = { 'bike', 'bike', 'bike' }
NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' }
NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' }
Atk6Units = { 'c1', 'c2', 'c3' }
Atk5Units = { 'e1', 'e1', 'e2', 'e2' }
Atk1Units = { 'e1', 'e1' }
XxxxUn... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Crawlers_Nest/npcs/qm8.lua | 26 | 2671 | -----------------------------------
-- Area: Crawlers Nest
-- NPC: ???
-- Involved in Quest: The Crimson Trial
-- @pos 59 0.1 66 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
gnosygnu/luaj_xowa | test/lua/iolib.lua | 5 | 4409 | local platform = ...
--print( 'platform', platform )
-- simple io-library tests
--
-- C version on Windows will add change \n into \r\n for text files at least
--
local tostr,files,nfiles = tostring,{},0
tostring = function(x)
local s = tostr(x)
if s:sub(1,4) ~= 'file' then return s end
if files[s] then return fi... | mit |
AdamGagorik/darkstar | scripts/zones/Dho_Gates/Zone.lua | 50 | 1181 | -----------------------------------
--
-- Zone: Foret de Hennetiel
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dho_Gates/TextIDs"] = nil;
require("scripts/zones/Dho_Gates/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/weaponskills/dragon_kick.lua | 9 | 1693 | -----------------------------------
-- Dragon Kick
-- Hand-to-Hand weapon skill
-- Skill Level: 225
-- Damage varies with TP.
-- Despite the name, Dragon Kick damage is not affected by Kick Attacks or equipment that enhances kick attacks such as Dune Boots. http://www.bluegartr.com/threads/121610-Rehauled-Weapon-Skills... | gpl-3.0 |
yaoqi/Atlas | examples/tutorial-constants.lua | 40 | 1473 | --[[ $%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/Outer_Horutoto_Ruins/npcs/_5ei.lua | 13 | 3725 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #5 (I out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/globals/items/san_dorian_carrot.lua | 18 | 1179 | -----------------------------------------
-- ID: 4389
-- Item: san_dorian_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Northern_San_dOria/npcs/HomePoint#4.lua | 13 | 1280 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#4
-- @pos: -132 12 195 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts... | gpl-3.0 |
mahmedhany128/Mr_BOT | plugins/LEADER1.lua | 1 | 2372 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY ANWAR @xXxDev_iqxXx ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED LEADER @Hamapaiz ▀▄ ▄▀
▀▄ ▄▀ BY CANEALL @Dev_faed ▀▄ ▄▀
▀▄ ▄▀ ... | gpl-2.0 |
AdamGagorik/darkstar | scripts/zones/Port_San_dOria/npcs/Auvare.lua | 13 | 1560 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Auvare
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
--------------------... | gpl-3.0 |
AdamGagorik/darkstar | scripts/zones/Norg/npcs/Sohyon.lua | 13 | 1031 | -----------------------------------
-- Area: Norg
-- NPC: Sohyon
-- Type: Standard NPC
-- @zone: 252
-- @pos 47.286 -7.282 13.873
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
darktable-org/darktable | data/lua/darktable/debug.lua | 18 | 5156 | local indent_string = " "
local table = require "table"
local dt = require "darktable"
local debug = require "debug"
local introspect_internal
local introspect_body
local M = {debug = false, max_depth = 10, known = {[_G] = "_G", [_ENV] = "_ENV" }}
local depth = 0;
local function get_userdata_type(object)
if type(o... | gpl-3.0 |
m27frogy/rbxobfusc | XFuscator/StringEncryptor.lua | 1 | 1227 | return function(ast)
local constantPoolAstNode = ast.Body[1].InitList[1]
local bit = bit or bit32 or require'bit'
local xor = bit.bxor or bit.xor
local password = math.random(1, 100)
local _, node = ParseLua([[local decrypt = function(c)
local bit = bit or bit32 or require'bit'
return bit.bx... | mit |
AdamGagorik/darkstar | scripts/globals/items/serving_of_cherry_bavarois_+1.lua | 18 | 1373 | -----------------------------------------
-- ID: 5746
-- Item: serving_of_cherry_bavarois_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 30
-- Intelligence 4
-- MP 15
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
moteus/lua-gntp | examples/GNTPSubscribe.lua | 2 | 4400 | package.path = "../src/lua/?.lua;" .. package.path
local uv = require "lluv"
local GNTP = require "gntp"
local uuid = require "uuid"
local options = {
-- self identify on remote growl server
name = 'GNTPSubscriber';
sid = uuid.new();
-- encryption/auth options
pass = '12345... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.