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 |
|---|---|---|---|---|---|
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/cyanviolet_fish_7.meta.lua | 16 | 1896 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"51 204 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {
... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Crawlers_Nest/npcs/_5h1.lua | 19 | 2611 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Strange Apparatus
-- @pos: 214 0 -339 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest/TextIDs");
require("scripts/globals/strangeapparatus");
-----------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/abilities/pets/heavenly_strike.lua | 25 | 1296 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
--------------------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua | 15 | 2388 | -----------------------------------
-- Area: Empyreal Paradox
-- NPC: Promathia (phase 2)
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------
-- onMobInitialize Action
--------... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua | 52 | 7621 | -- Copyright 2014 Roger D <rogerdammit@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streaming application for Linux-UVC compatible webcams"))
--- General settings ---
section_gen = m:section(TypedSection, "mjpg-streamer", t... | apache-2.0 |
nasomi/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua | 16 | 1272 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Ullikummi)
-- @pos 739 -99 -581 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvita... | gpl-3.0 |
ZuoGuocai/Atlas | lib/proxy/commands.lua | 43 | 3477 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
kaustubhcs/torch-toolbox | Face-align-Cao/test-dataset.lua | 3 | 2555 | #!/usr/bin/env th
require('xlua')
require('sys')
require('image')
require('paths')
local FaceAlign = require('libface_align')
torch.setdefaulttensortype('torch.FloatTensor')
-- set initial bounding box ratio
local percent = 100
-- set src/dst paths
local src_root = '/path/to/your/dataset/'
local dst_root = src_root.... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Bostaunieux_Oubliette/Zone.lua | 14 | 2294 | -----------------------------------
--
-- Zone: Bostaunieux_Oubliette (167)
--
-----------------------------------
package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bostaunieux_Oubliette/TextIDs"... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 36 | 3239 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
rosejn/torch-datasets | dataset/coil.lua | 3 | 2680 | require 'torch'
require 'image'
require 'paths'
require 'fs'
require 'util'
require 'util/file'
require 'dataset/pipeline'
require 'fn'
require 'fn/seq'
require 'dataset'
require 'dataset/TableDataset'
Coil = {}
Coil.name = 'coil'
Coil.dimensions = {3, 128, 128}
Coil.n_dimensions = 3 * 128 * 128
Coil.size... | bsd-3-clause |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/cyberspray_magazine.meta.lua | 2 | 2830 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"66 228 207 255",
"228 20 206 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation... | agpl-3.0 |
SudoHelper/SecurityBot | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/bulwark_magazine.meta.lua | 2 | 3150 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"255 252 252 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets =... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Apairemant.lua | 30 | 2002 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Apairemant
-- Only sells when San d'Oria controls Gustaberg Region
-- @zone 230
-- @pos 72 2 0
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------... | gpl-3.0 |
thesabbir/luci | applications/luci-app-ddns/luasrc/model/cbi/ddns/global.lua | 33 | 5237 | -- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local NX = require "nixio"
local NXFS = require "nixio.fs"
local DISP = require "luci.dispatcher"
local SYS = require "luci.sys"
local DDNS = require "luci.tools.ddns" -- ddn... | apache-2.0 |
nasomi/darkstar | scripts/zones/Al_Zahbi/npcs/Ndego.lua | 19 | 1140 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ndego
-- Guild Merchant NPC: Smithing Guild
-- @pos -37.192 0.000 -33.949 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Al_Zahbi/npcs/Dehbi_Moshal.lua | 19 | 1158 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dehbi Moshal
-- Guild Merchant NPC: Woodworking Guild
-- @pos -71.563 -5.999 -57.544 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
nasomi/darkstar | scripts/globals/abilities/shield_bash.lua | 25 | 2038 | -----------------------------------
-- Ability: Shield Bash
-- Delivers an attack that can stun the target. Shield required.
-- Obtained: Paladin Level 15, Valoredge automaton frame Level 1
-- Recast Time: 3:00 minutes (3:00 for Valoredge version)
-- Duration: Instant
-----------------------------------
require("scrip... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/serving_of_frog_flambe.lua | 35 | 1741 | -----------------------------------------
-- ID: 4326
-- Item: serving_of_frog_flambe
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 65
-- Evasion 5
-- Ranged ATT % 14
-- Ranged ATT Cap 65
----------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sashosho.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sashosho
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
dani-sj/danibot01 | plugins/plugins.lua | 285 | 6096 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/mushroom_crepe.lua | 35 | 1299 | -----------------------------------------
-- ID: 5773
-- Item: mushroom_crepe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind 2
-- MP % 10 (cap 30)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
nasomi/darkstar | scripts/globals/armor_upgrade.lua | 21 | 14261 |
-----------------------------------------------------------------------------------------------------------------------
-- Artefact Armor +1
------------------------------------------------------------------------------------------------------------------------
Artifact_Armor_... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Sabiliont.lua | 17 | 1684 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Sabiliont
-- @zone 80
-- @pos 9 2 -87
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
... | gpl-3.0 |
minaevmike/rspamd | src/plugins/lua/replies.lua | 1 | 3982 | --[[
Copyright (c) 2016, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2016, Andrew Lewis <nerf@judo.za.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/lice... | apache-2.0 |
dageq/Dage-Aliraqi | plugins/ar-banhammer.lua | 1 | 13811 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ Ban Hammer : الطرد والحظر ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
appaquet/torch-android | src/3rdparty/luasocket-2.0.2/etc/dispatch.lua | 57 | 10272 | -----------------------------------------------------------------------------
-- A hacked dispatcher module
-- LuaSocket sample files
-- Author: Diego Nehab
-- RCS ID: $$
-----------------------------------------------------------------------------
local base = _G
local table = require("table")
local socket = require("... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Yhoator_Jungle/npcs/Paurelde.lua | 28 | 1753 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Paurelde
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
------------------------... | gpl-3.0 |
fegimanam/zus | plugins/googleimage.lua | 42 | 3165 | 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 |
Hello23-Ygopro/ygopro-ds | expansions/script/c2700117.lua | 1 | 1075 | --P-080 Super 17, the Infernal Machine
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_ANDROID,SPECIAL_TRAIT_MACHINE_MUTANT,CHARACTER_SUPER_17)
ds.AddPlayProcedure(c,COLOR_GREEN,3,1)
--double strike
ds... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Vunkerl_Inlet_[S]/Gnole.lua | 20 | 1543 | -----------------------------------
-- Area: Vunkerl Inlet (S)
-- NPC: Gnole
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
-----------------------------------
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/East_Ronfaure/npcs/Croteillard.lua | 38 | 1029 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Croteillard
-- Type: Gate Guard
-- @pos 87.426 -62.999 266.709 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Ronfaure/TextIDs");... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills.lua | 17 | 30107 | --Contains all common weaponskill calculations including but not limited to:
-- fSTR
-- Alpha
-- Ratio -> cRatio
-- min/max cRatio
-- applications of fTP
-- applications of critical hits ('Critical hit rate varies with TP.')
-- applications of accuracy mods ('Accuracy varies with TP.')
-- applications of damage... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004086.lua | 1 | 1481 | --BT4-076 Abrupt Breakthrough Son Goku
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_SON_GOKU,SPECIAL_TRAIT_SAIYAN,SPECIAL_TRAIT_UNIVERSE_7,SPECIAL_TRAIT_GOKUS_LINEAGE,CHARACTER_INCLUDES_SON_GOKU,SPECIAL_TR... | gpl-3.0 |
appaquet/torch-android | src/3rdparty/nnx/Sequencer.lua | 2 | 7836 | ------------------------------------------------------------------------
--[[ Sequencer ]]--
-- Encapsulates a Module.
-- Input is a sequence (a table) of tensors.
-- Output is a sequence (a table) of tensors of the same length.
-- Applies the module to each element in the sequence.
-- Handles both recurrent modules a... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Dynamis-Buburimu/Zone.lua | 17 | 2365 | -----------------------------------
--
-- Zone: Dynamis-Buburimu
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
require("scripts/zones/Dynamis-Buburimu/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004047.lua | 1 | 1091 | --BT4-043 Phantom Flame Cannon
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
--power up
ds.AddActivateBattleSkill(c,0,LOCATION_HAND,scard.powop,scard.powcost,scard.powtg,DS_EFFECT_FLAG_CARD_CHOOSE)
end
scard.dragon_ball_super_card=true
scard.powcost=ds.PayEner... | gpl-3.0 |
jotson/1gam-jan2013 | score.lua | 1 | 3304 | -- January2013
-- Copyright © 2013 John Watson <john@watson-net.com>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights to
-- use... | mit |
mpeterv/ltq | src/ltq/inline.lua | 1 | 1769 | -- Returns number of times node contains free x, node containing the first one and its index in it.
local function find_free_x(node)
local count = 0
local containing_node, index
for i = 1, #node do
if type(node[i]) == "table" then
if node[i].tag == "X" then
count = count + 1
... | mit |
Nathan22Miles/sile-0.9.1 | tests/complex_frame_spec.lua | 1 | 1215 | SILE = require("core/sile")
assert = require "luassert"
tClass = SILE.baseClass {}
tClass:declareFrame("a", { left = "1pt", right = "12pt", top = "1pt", bottom = "top(b)" })
tClass:declareFrame("b", { left = "1pt", right = "12pt", bottom = "12pt", height="4pt" })
SILE.documentState.thisPageTemplate = tClass.pageTemp... | mit |
nasomi/darkstar | scripts/zones/Bastok_Markets/npcs/Ellard.lua | 19 | 2634 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ellard
-- Type: Guildworker's Union Representative
-- @zone: 235
-- @pos -214.355 -7.814 -63.809
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/Naruru.lua | 17 | 3726 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Naruru
-- Starts and Finishes Quests: Cook's Pride
-- @pos -56 0.1 -138 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua | 17 | 2990 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Runic Portal
-- Aht Urhgan Teleporter to Other Areas
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/besieged");
requi... | gpl-3.0 |
cristiandonosoc/unexperiments | 01-Ecosystem/lib/hardon_collider/class.lua | 26 | 3446 | --[[
Copyright (c) 2010-2011 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
thesabbir/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua | 68 | 7107 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ip = require "luci.ip"
local fs = require "nixio.fs"
if arg[1] then
mp = Map("olsrd6", translate("OLSR - Plugins"))
p = mp:section(TypedSection, "Loa... | apache-2.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua | 17 | 4227 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Honoi-Gumoi
-- Involved In Quest: Crying Over Onions, Hat in Hand
-- @zone = 238
-- @pos = -195 -11 -120
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/cure_v.lua | 18 | 4114 | -----------------------------------------
-- Spell: Cure V
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Maysoon.lua | 17 | 2172 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maysoon
-- Starts and Finishes Quest: Hoist the Jelly, Roger
-- Involved in Quests: Cook's Pride
-- @zone 238
-- @pos -105 -2 69
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loade... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Taumila.lua | 17 | 2265 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Taumila
-- Starts and Finishes Quest: Tiger's Teeth (R)
-- @pos -140 -5 -8 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
minaevmike/rspamd | test/lua/unit/siphash.lua | 3 | 2414 | -- Test siphash routines
context("Siphash check functions", function()
local ffi = require("ffi")
ffi.cdef[[
void rspamd_cryptobox_init (void);
size_t siphash24_test(bool generic, size_t niters, size_t len);
bool siphash24_fuzz (size_t cycles);
double rspamd_get_ticks (void);
]]
ffi.C.rspamd_c... | apache-2.0 |
nasomi/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Lobho_Ukipturi.lua | 17 | 1747 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Lobho Ukipturi
-- @pos -485 -31 50 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/co... | gpl-3.0 |
dageq/Dage-Aliraqi | plugins/ar-robot.lua | 1 | 2575 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀disable chat: تعطيل تفعيل دردشه محدد ▀▄ ▄▀
▀▄... | gpl-2.0 |
mrfoxirani/mehran | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
amirik22/i4bot | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Horlais_Peak/npcs/Hot_springs.lua | 17 | 1949 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Hot Springs
-- @Zone: 139
-- @pos 444 -37 -18
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globa... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Mhaura/npcs/Radhika.lua | 19 | 1058 | -----------------------------------
-- Area: Mhaura
-- NPC: Radhika
-- Type: Standard NPC
-- @pos 34.124 -8.999 39.629 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
---------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Yhoator_Jungle/npcs/Harvesting_Point.lua | 29 | 1116 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Yhoator_Jungle/TextIDs");... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk/meetme.lua | 80 | 1246 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua | 17 | 4712 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Furakku-Norakku
-- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion
-- @pos -19 -5 101 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/bluemagic/magnetite_cloud.lua | 18 | 1947 | -----------------------------------------
-- Spell: Magnetite Cloud
-- Deals earth damage to enemies within a fan-shaped area originating from the caster. Additional effect: Weight
-- Spell cost: 86 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2
-- Level... | gpl-3.0 |
EnjoyHacking/nn | Add.lua | 61 | 1699 | local Add, parent = torch.class('nn.Add', 'nn.Module')
function Add:__init(inputSize,scalar)
parent.__init(self)
local size = inputSize
if scalar then size=1 end
self.scalar = scalar
self.bias = torch.Tensor(size)
self.gradBias = torch.Tensor(size)
self._ones = torch.Tensor{1}
self:rese... | bsd-3-clause |
nasomi/darkstar | scripts/globals/abilities/pets/glittering_ruby.lua | 6 | 1102 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilit... | gpl-3.0 |
Nathan22Miles/sile-0.9.1 | tests/frameparser_spec.lua | 1 | 2344 | testingSILE = true
local assert = require "luassert"
SILE = require("core/sile")
describe("The frame parser", function()
it("should exist", function()
assert.is.truthy(SILE.frameParser)
end)
local n = SILE.frameParserBits.number
local f = SILE.frameParserBits.func
local d = SILE.frameParserBits.dimensione... | mit |
nasomi/darkstar | scripts/globals/mobskills/Luminous_Lance.lua | 39 | 1406 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------------------------------------... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_rifle_ptm_1.meta.lua | 2 | 2774 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
mlem/wesnoth | data/ai/micro_ais/engines/priority_target_engine.lua | 26 | 3309 | return {
init = function(ai)
local priority_target = {}
local H = wesnoth.require "lua/helper.lua"
local W = H.set_wml_action_metatable {}
local AH = wesnoth.require "ai/lua/ai_helper.lua"
function priority_target:change_attacks_aspect(target_id)
-- Set 'attacks... | gpl-2.0 |
nasomi/darkstar | scripts/globals/abilities/call_wyvern.lua | 18 | 1039 | -----------------------------------
-- Ability: Call Wyvern
-- Summons a Wyvern to fight by your side.
-- Obtained: Dragoon Level 1
-- Recast Time: 20:00
-- Duration: Instant
-- Special: Only available if Dragoon is your main class.
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
shangjiyu/luci-with-extra | modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua | 59 | 5943 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.freifunk.freifunk", package.seeall)
function index()
local uci = require "luci.model.uci".cursor()
local page
-- Frontend
page = node()
page.lock = true
page.target ... | apache-2.0 |
mahdi1378/FBI | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
Maliv/SecretBot | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
dani-sj/danibot01 | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
shangjiyu/luci-with-extra | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua | 68 | 2884 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
res_config_mysql = module:opt... | apache-2.0 |
hqren/Atlas | lib/proxy/test.lua | 44 | 6366 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
thesabbir/luci | protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua | 68 | 1416 | -- Copyright 2013 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local mode = section:taboption("general", ListValue, "mode", translate("Category"))
mode:value("auto", translate("Automatic"))
mode:value("external", translate("External"))
mode:va... | apache-2.0 |
PolyCement/dotfiles | awesome/widgets/wibar.lua | 1 | 2487 | local gears = require("gears")
local awful = require("awful")
local beautiful = require("beautiful")
local wibox = require("wibox")
local menu = require("menu")
local spacers = require("widgets.spacers")
local clock = require("widgets.clock")
local bat_widget = nil
if hostname == "doubleslap" then
bat_widget = re... | mit |
Ingenious-Gaming/Starfall | lua/entities/starfall_hologram/cl_init.lua | 4 | 4198 | include( "shared.lua" )
ENT.RenderGroup = RENDERGROUP_BOTH
-- Umsgs may be recieved before the entity is initialized, place
-- them in here until initialization.
local msgQueueNames = {}
local msgQueueData = {}
local function msgQueueAdd ( umname, ent, udata )
local names, data = msgQueueNames[ ent ], msgQueueData[... | bsd-3-clause |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004269.lua | 1 | 1198 | --TB2-065 Announcer
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableLeaderAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_WORLD_TOURNAMENT,CHARACTER_ANNOUNCER,SPECIAL_TRAIT_EARTHLING)
--no specified cost
ds.AddPermanentSkillCustom(c,DS_SKILL_NO_SPECIFIED_C... | gpl-3.0 |
shakfu/start-vm | config/base/awesome/vicious/widgets/mbox.lua | 16 | 1428 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local type = type
local io = { open = io.open }
local setmetatable = setmetatable
local stri... | mit |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/timers/timed_commands_timer.lua | 1 | 11913 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
fu... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/tropical_clam.lua | 18 | 1267 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
shangjiyu/luci-with-extra | applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua | 1 | 8125 | -- ------ extra functions ------ --
function interfaceCheck()
metricValue = ut.trim(sys.exec("uci -p /var/state get network." .. arg[1] .. ".metric"))
if metricValue == "" then -- no metric
errorNoMetric = 1
else -- if metric exists create list of interface metrics to compare against for duplicates
uci.cursor()... | apache-2.0 |
shangjiyu/luci-with-extra | applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua | 30 | 1901 | -- Copyright 2012 Christian Gagneraud <chris@techworks.ie>
-- Licensed to the public under the Apache License 2.0.
m = Map("system",
translate("Watchcat"),
translate("Watchcat allows configuring a periodic reboot when the " ..
"Internet connection has been lost for a certain period of time."
))
s = m:secti... | apache-2.0 |
nasomi/darkstar | scripts/globals/weaponskills/spiral_hell.lua | 29 | 1675 | -----------------------------------
-- Spiral Hell
-- Scythe weapon skill
-- Skill level: 240 QUESTED
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:50% ; INT:50%
-- 100%TP 200%TP 300%TP
-- 1.375 2.75 4.75
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
mlem/wesnoth | data/ai/micro_ais/cas/ca_simple_attack.lua | 26 | 2442 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local LS = wesnoth.require "lua/location_set.lua"
local ca_simple_attack = {}
function ca_simple_attack:evaluation(ai, cfg, self)
local units = AH.get_units_with_attacks {
side = wesnoth.current.side,
... | gpl-2.0 |
alirezanile/Lanmij | plugins/info.lua | 84 | 1882 | do
local function action_by_reply(extra, success, result)
local user_info = {}
local uhash = 'user:'..result.from.id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..result.from.id..':'..result.to.id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['.... | gpl-2.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/controller/admin/system.lua | 7 | 10515 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-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
htt... | gpl-2.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/protocols/relay/luasrc/model/cbi/admin_network/proto_relay.lua | 86 | 2148 | --[[
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
]]--
local ma... | gpl-2.0 |
nasomi/darkstar | scripts/globals/spells/bluemagic/awful_eye.lua | 18 | 1578 | -----------------------------------------
-- Spell: Awful Eye
-- Lowers Strength of enemies within a fan-shaped area originating from the caster
-- Spell cost: 32 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Water)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 46
-- Casting Time: 2.5 seconds
-... | gpl-3.0 |
anehx/wpwidget | wpwidget.lua | 1 | 3521 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2015, Jonas M. <anehxdzn@gmail.com>
---------------------------------------------------
local awful = require("awful")
local lfs = require("lfs")
local gears = require("gears")
local wpwidget = {... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua | 17 | 1865 | -----------------------------------
-- 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... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Amajal.lua | 33 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Amajal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Caedarva_Mire/npcs/Tyamah.lua | 19 | 1337 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Tyamah
-- Type: Alzadaal Undersea Ruins
-- @pos 320.003 0.124 -700.011 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Southern_San_dOria/npcs/Amaura.lua | 17 | 2905 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Amaura
-- Involved in Quest: The Medicine Woman, To Cure a Cough
-- @zone 230
-- @pos -85 -6 89
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
mlem/wesnoth | data/ai/micro_ais/cas/ca_swarm_scatter.lua | 26 | 1839 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local function get_enemies(cfg)
local scatter_distance = cfg.scatter_distance or 3
local enemies = wesnoth.get_units {
{ "filter_side", { { "enemy_of", { side = wesnoth.current.side } } } },
{ "filter_l... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Jumaaf.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Jumaaf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27003113.lua | 1 | 1180 | --BT3-103 Burgeoning Power Bergamo
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,CHARACTER_BERGAMO)
ds.AddPlayProcedure(c,COLOR_YELLOW,2,1)
--blocker
ds.EnableBlocker(c)
--power up
ds.AddSing... | gpl-3.0 |
nasomi/darkstar | scripts/zones/East_Ronfaure/npcs/Signpost.lua | 19 | 2142 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Signpost
-- Involved in Quest: To Cure a Cough
-- @pos 257 -45 212 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/bomb_armed_3.meta.lua | 22 | 2111 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"96 225 1 255",
"171 205 228 255",
"147 232 58 255",
"255 0 0 255",
"223 64 38 255"
},
radius = {
x = 80,
y = ... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/blunaz_shot_4.meta.lua | 14 | 2721 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 90,
light_colors = {
"0 255 255 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = false
},
offsets = {... | agpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.