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 |
|---|---|---|---|---|---|
anshkumar/yugioh-glaze | assets/script/c44028461.lua | 7 | 1857 | --ブラック・バック
function c44028461.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c44028461.condition)
e1:SetCost(c44028461.cost)
e1:SetTarget(c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/single/QB016.lua | 1 | 1726 | --QB解谜
Debug.SetAIName("高性能电子头脑")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,2500,0,0)
Debug.SetPlayerInfo(1,20000,0,0)
--怪区0
--卡组0
Debug.AddCard(00102380,0,0,LOCATION_DECK,0,POS_FACEDOWN)--熔岩魔神
Debug.AddCard(93187568,0,0,LOCATION_DECK,0,POS_FACEDOWN)--魔法攻击士
--Debug.A... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/candy_fruit.lua | 2 | 1721 | BindGlobal()
local CFG = TheMod:GetConfig()
local assets =
{
Asset("ANIM", "anim/cloudcotton.zip"),
Asset( "ATLAS", inventoryimage_atlas("candy_fruit") ),
Asset( "IMAGE", inventoryimage_texture("candy_fruit") ),
}
local function fn(Sim)
local inst = CreateEntity()
local trans = inst.entity:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c81566151.lua | 3 | 3773 | --E・HERO フレア・ネオス
function c81566151.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,89943723,89621922,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(E... | gpl-2.0 |
madmanteam/vlc | share/lua/modules/sandbox.lua | 96 | 4375 | --[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... | gpl-2.0 |
hadirahimi1380/botahriman | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
varpeti/Izzy | main.lua | 1 | 1780 | local Izzy = require('Izzy')
function love.load()
--ablak beállítások
goFullscreen()
Asz=love.graphics.getWidth()
Am=love.graphics.getHeight()
Aksz=Asz/2 Akm=Am/2
love.window.setTitle("Xor")
MI = Izzy:loadNetwork("brain.dna")
if MI==nil then
MI = Izzy:new({2,3, 1}, 50)
print("uj")
else
print("betol... | mit |
anshkumar/yugioh-glaze | assets/script/c99311109.lua | 3 | 1861 | --戦友の誓い
function c99311109.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c99311109.condition)
e1:SetCost(c99311109.cost)
e1:SetTarget(c99311109.t... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c10667321.lua | 9 | 1057 | --古のルール
function c10667321.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c10667321.target)
e1:SetOperation(c10667321.activate)
c:RegisterEffect(e1)
end
function c10667321.filter(c,e,... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c61314842.lua | 3 | 2283 | --高等紋章術
function c61314842.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c61314842.target)
e1:SetOperation(c61314842.activate)
c:RegisterEffe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c99267150.lua | 5 | 1855 | --F・G・D
function c99267150.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),5,true)
--battle indestructable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e2:SetValue(c9926... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c93969023.lua | 5 | 2830 | --黒鋼竜
function c93969023.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_HAND+LOCATION_MZONE)
e1:SetTarget(c93969023.eqtg)
e1:SetOperation(c93969023.eqop)
c:RegisterEffect(e1)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c12755462.lua | 9 | 1649 | --ゴブリン穴埋め部隊
function c12755462.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c12755462.sumsuc)
c:RegisterEffect(e1)
--activate limit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE... | gpl-2.0 |
npatmaja/dotfiles | .config/nvim/lua/keybindings.lua | 1 | 1446 | -- Remap space as leader key. Leader key is a special key that will allow us to
-- make some additional keybindings. I'm using a comma, but you can use whatever
-- you'd wish. We'll use it (for example) for searching and changing files
-- (by pressing comma, then `s` and then `f`).
vim.api.nvim_set_keymap('', '<Comma>'... | mit |
WAKAMAZU/sile_fe | lua-libraries/repl/console.lua | 7 | 1954 | -- Copyright (c) 2011-2014 Rob Hoelz <rob@hoelz.ro>
--
-- 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,... | mit |
anshkumar/yugioh-glaze | assets/script/c69211541.lua | 3 | 2638 | --EMパートナーガ
function c69211541.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(69211541,0))
e2:SetT... | gpl-2.0 |
Arashbrsh/kings-BOT | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
assassinboy208/eagleTG | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
RockySeven3161/UB | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c42737833.lua | 5 | 1346 | --XX-セイバー エマーズブレイド
function c42737833.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42737833,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c42737833.condition)... | gpl-2.0 |
VanessaE/homedecor_modpack | homedecor/books.lua | 2 | 6202 | local S = homedecor_i18n.gettext
local function N_(x) return x end
local bookcolors = {
{ N_("red"), 0xffd26466 },
{ N_("green"), 0xff62aa66 },
{ N_("blue"), 0xff8686d7 },
{ N_("violet"), 0xff9c65a7 },
{ N_("grey"), 0xff757579 },
{ N_("brown"), 0xff896958 }
}
local BOOK_FORMNAME = "homedecor:book_form... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c46910446.lua | 7 | 1554 | --ヘル・アライアンス
function c46910446.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c46910446.target)
e1:SetOperation(c46910446.operation)
c:RegisterEffect(e... | gpl-2.0 |
nhnb/stendhal | data/script/region/deniran/city/interior/pawn_shop/AnimalMaterialsBuyer.lua | 3 | 2151 | --[[
***************************************************************************
* Copyright © 2020 - Arianne *
***************************************************************************
***************************************************************************
* ... | gpl-2.0 |
kiarash14/br | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
paladiyom/paladerz | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
ara8586/b.v4 | tg/tdcli.lua | 102 | 88571 | --[[
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.
This program is distributed in the hope that it will be use... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c46239604.lua | 3 | 1779 | --魔知ガエル
function c46239604.initial_effect(c)
--change code
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(84451804)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEffect(c)
e2:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c88241506.lua | 3 | 2532 | --青き眼の乙女
function c88241506.initial_effect(c)
--negate attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88241506,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCountLimit(1,88241506)
e1:SetTarget(c882... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c60417395.lua | 3 | 3161 | --ダークネス・ネオスフィア
function c60417395.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c83021423.lua | 3 | 1091 | --チャッチャカアーチャー
function c83021423.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83021423,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c830214... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c26304459.lua | 5 | 1478 | --エンシェント・ゴッド・フレムベル
function c26304459.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_FIRE),aux.NonTuner(Card.IsRace,RACE_PYRO),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26304459,0))
e1:SetCatego... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c94667532.lua | 3 | 1089 | --機械犬マロン
function c94667532.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94667532,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c94667532.damcon)
e1:SetTarget(c94667532.damtg)
e1:S... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/parse/ParseCore.lua | 1 | 34348 | if not Asset then
require("HigherOrder")
end
--
-- # Needs a rewrite.
--
-- The original architecture for this didn't really pan out for tags
-- and rather than go back and rethink instead I added on a bunch of hacks
--
-- "Here be dragons"
--
printf = function(...) print(string.format(...)) end -- <- need a util cla... | mit |
anshkumar/yugioh-glaze | assets/script/c97173708.lua | 3 | 3534 | --トークン生誕祭
function c97173708.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetLabel(0)
e1:SetCost(c97173708.cost)
e1:SetTarget(c97173708.target)
e1:Se... | gpl-2.0 |
WAKAMAZU/sile_fe | lua-libraries/std/string.lua | 6 | 16299 | --[[--
Additions to the string module.
@module std.string
]]
local func = require "std.functional"
local List = require "std.list"
local StrBuf = require "std.strbuf"
local table = require "std.table"
local _assert = _G.assert
local _format = string.format
local _tostring = _G.tostring
local old__index = g... | mit |
freifunk-gluon/luci | applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua | 74 | 3766 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 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 |
aliafshar250/tele7 | plugins/bot_manager.lua | 89 | 6427 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
Teleseed2/Nod32 | plugins/bot_manager.lua | 89 | 6427 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c56804361.lua | 5 | 1204 | --魔装聖龍 イーサルウェポン
function c56804361.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56804361,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLim... | gpl-2.0 |
leereilly/hawkthorne-journey | src/characters/troy.lua | 1 | 1599 | local anim8 = require 'vendor/anim8'
local plyr = {}
plyr.name = 'troy'
plyr.offset = 11
plyr.costumes = {
{name='Troy Barnes', sheet='images/troy.png'},
{name='Barry the Plumber', sheet='images/troy_barry.png'},
{name='Blanketsburg', sheet='images/troy_blanket.png'},
{name='Bumblebee', sheet='images/t... | mit |
anshkumar/yugioh-glaze | assets/script/c35027493.lua | 3 | 2764 | --魔のデッキ破壊ウイルス
function c35027493.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_TOHAND+0x1c0)
e1:SetCost(c35027493.cost)
e1:SetTarget(c35027493.target)
e1:SetOperation(c3502749... | gpl-2.0 |
sjznxd/lc-20130302 | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua | 91 | 3529 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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: trunks.l... | apache-2.0 |
brennanfee/dotfiles | rcs/config/nvim/lua/plugin-configs/lsp/handlers.lua | 1 | 3407 | local M = {}
-- TODO: backfill this to template
M.setup = function()
local signs = {
{ name = "DiagnosticSignError", text = "" },
{ name = "DiagnosticSignWarn", text = "" },
{ name = "DiagnosticSignHint", text = "" },
{ name = "DiagnosticSignInfo", text = "" },
}
for _, sign in ipairs(signs)... | mit |
anshkumar/yugioh-glaze | assets/script/c16956455.lua | 3 | 1438 | --賢者ケイローン
function c16956455.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(16956455,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c16956... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c9765723.lua | 3 | 5476 | --戦乙女の契約書
function c9765723.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetHintTiming(0,0x1e0+TIMING_DAMAGE_STEP)
e1:SetCondition(c9765723.condition)
e1:SetTarget(c9765723.target)
e1:SetOpe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c51960178.lua | 7 | 1138 | --フェアリー・チア・ガール
function c51960178.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FAIRY),4,2)
c:EnableReviveLimit()
--draw
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetDescription(aux.Stringid(51960178,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:S... | gpl-2.0 |
andrejzverev/rspamd | src/plugins/lua/fann_scores.lua | 1 | 7652 | --[[
Copyright (c) 2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
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 ... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c54762426.lua | 9 | 1085 | --埋蔵金の地図
function c54762426.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c54762426.condition)
e1:SetTarget(c54762426.target)
e1:Set... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c2956282.lua | 3 | 1796 | --ナチュル・パルキオン
function c2956282.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c2956282.synfilter,aux.NonTuner(c2956282.synfilter),1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(2956282,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c51630558.lua | 5 | 1043 | --アドバンスドロー
function c51630558.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c51630558.cost)
e1:SetTarget(c51630558.target)
e1:SetOperation(c51630558.ac... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c21768554.lua | 3 | 2893 | --集団催眠
function c21768554.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c21768554.condition)
e1:SetTarget(c21768554.target)
e1:SetOperation(c2176... | gpl-2.0 |
assassinboy208/eagleTG | 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 |
RockySeven3161/UB | 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 |
anshkumar/yugioh-glaze | assets/script/c82642348.lua | 3 | 1048 | --クルーエル
function c82642348.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82642348,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_COIN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c82642348.descon)
e1:SetTarget... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c32441317.lua | 3 | 1804 | --シンクロキャンセル
function c32441317.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c32441317.target)
e1:SetOperation(c32441317.activ... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c40591390.lua | 3 | 2832 | --D-HERO ドレッドガイ
function c40591390.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40591390,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c40591390.spcon)
e1:Set... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c89185742.lua | 5 | 1837 | --風征竜-ライトニング
function c89185742.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89185742,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,89185742)
e1:SetCost(c89185742.spcost)
e1:SetTarget(c89... | gpl-2.0 |
paladiyom/paladerz | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- 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 function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c58242947.lua | 3 | 1639 | --ジャンク・コレクター
function c58242947.initial_effect(c)
--copy trap
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58242947,0))
e1:SetType(EFFECT_TYPE_QUICK_O+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1e1)
e1:SetCost(c58242947.cost)
e1:SetTarget(... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/refined_black_crystal.lua | 2 | 1136 | BindGlobal()
local assets =
{
Asset("ANIM", "anim/refined_black_crystal.zip"),
Asset( "ATLAS", inventoryimage_atlas("refined_black_crystal") ),
Asset( "IMAGE", inventoryimage_texture("refined_black_crystal") ),
}
local function fn(Sim)
local inst = CreateEntity()
inst.entity:AddTransform()
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c65872270.lua | 3 | 3177 | --イグナイト・バースト
function c65872270.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c65872270.target)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND)
e2:SetType(E... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c98954375.lua | 9 | 1176 | --インフェルニティ・デストロイヤー
function c98954375.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(98954375,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCondition(c98954375.damcon)
e1:SetTarget(c98... | gpl-2.0 |
ludamad/hashkat | src/dependencies/lua-repl/t/plugin-feature-tests.lua | 2 | 1683 | local repl = require 'repl'
local utils = require 'test-utils'
pcall(require, 'luarocks.loader')
require 'Test.More'
plan(14)
do -- basic tests {{{
local clone = repl:clone()
clone:loadplugin(function()
features = 'foo'
end)
ok(clone:hasfeature 'foo')
ok(not clone:hasfeature 'bar')
ok(not clone:has... | gpl-3.0 |
tianxiawuzhei/cocos-quick-cpp | publibs/cocos2dx/cocos/scripting/lua-bindings/auto/api/Blink.lua | 11 | 1691 |
--------------------------------
-- @module Blink
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- initializes the action <br>
-- param duration in seconds
-- @function [parent=#Blink] initWithDuration
-- @param self
-- @param #float duration
-- @param #int blinks
-- @return bool#bo... | mit |
uonline/debut | src/day1/act1/home/hunting_gear.obj.lua | 1 | 1307 | hunting_gear = obj {
nam = 'Охотничье снаряжение';
dsc = [[
На тряпице у кровати разложено твоё {охотничье снаряжение}.
Ты подготовил его с вечера, и, кажется, остался чем-то недоволен.
]];
tak = function()
event 'gear taken'
return [[
Ты взял лук и попробовал натянуть тетиву... И верно, вчера
тебе не... | gpl-3.0 |
kyuu/dynrpg-rpgss | assets/Scripts/extensions/pathfinder/jumper/search/dfs.lua | 6 | 2559 | --- <strong>`Depth First Search` algorithm</strong>.
-- Implementation of <a href="http://en.wikipedia.org/wiki/Depth-first_search">Depth First Search</a> search algorithm.
--
-- @author Roland Yonaba
-- @copyright 2012-2013
-- @license <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a>
-- @script jum... | mit |
Winless/NPLRuntime | Client/trunk/externals/bullet3/build3/stringifyKernel.lua | 22 | 2697 |
function stringifyKernel(filenameIn, filenameOut, kernelMethod)
local BUFSIZE = 10*1024*1024 -- 10MB
local f = io.open(filenameIn,"r");
local fw = io.open(filenameOut,"w");
fw:write("//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project\n")
fw:wr... | gpl-2.0 |
ZeroNoFun/Gmod-Aperture-science-laboratories | lua/weapons/gmod_tool/stools/aperture_science_catapult.lua | 2 | 8367 | TOOL.Category = "Aperture Science"
TOOL.Name = "Aerial Faith Plate"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.ClientConVar[ "model" ] = "models/props/faith_plate.mdl"
TOOL.ClientConVar[ "startenabled" ] = "0"
cleanup.Register( "aperture_science_catapult" )
if ( CLIENT ) then
language.Add( "aperture_science_cata... | mit |
patrikrm13/X_Y | plugins/anti_bot.lua | 8 | 3103 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
JarnoVgr/Mr.Green-MTA-Resources | resources/[gameplay]/mrgreen-settings/c_bloom.lua | 4 | 5773 | --
-- c_bloom.lua
--
local scx, scy = guiGetScreenSize()
-----------------------------------------------------------------------------------
-- Le settings
-----------------------------------------------------------------------------------
Settings = {}
Settings.var = {}
Settings.var.cutoff = 0.1
Settings.var.power =... | mit |
PlayFab/LuaSdk | PlayFabServerSDK/PlayFab/PlayFabLocalizationApi.lua | 3 | 1448 | -- PlayFab Localization API
-- This is the main file you should require in your game
-- All api calls are documented here: https://docs.microsoft.com/gaming/playfab/api-references/
-- Example code:
-- local PlayFabLocalizationApi = require("PlayFab.PlayFabLocalizationApi")
-- PlayFabLocalizationApi.<LocalizationApiCall... | apache-2.0 |
tianxiawuzhei/cocos-quick-cpp | publibs/cocos2dx/cocos/scripting/lua-bindings/auto/api/TabControl.lua | 1 | 5752 |
--------------------------------
-- @module TabControl
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- set header width, affect all tab<br>
-- param headerWith: each tab header's width
-- @function [parent=#TabControl] setHeaderWidth
-- @param self
-- @param #float headerWith
-- @return ... | mit |
JarnoVgr/Mr.Green-MTA-Resources | resources/[admin]/admin/client/gui/admin_team.lua | 7 | 6640 | --[[**********************************
*
* Multi Theft Auto - Admin Panel
*
* gui\admin_team.lua
*
* Original File by lil_Toady
*
**************************************]]
aTeamForm = nil
aTeamSelect = nil
function aPlayerTeam ( player )
if ( aTeamForm == nil ) then
local x, y = guiGetScreenSize()
aTeamForm = g... | mit |
tianxiawuzhei/cocos-quick-cpp | publibs/cocos2dx/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua | 11 | 1733 |
--------------------------------
-- @module ScaleTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- @overload self, float, float, float
-- @overload self, float, float
-- @overload self, float, float, float, float
-- @function [parent=#ScaleTo] initWithDur... | mit |
jithumon/Kochu | plugins/report.lua | 1 | 8065 | local config = require 'config'
local u = require 'utilities'
local api = require 'methods'
local plugin = {}
local function table_join(t1, t2)
for i=1, #t2 do
t1[#t1+1] = t2[i]
end
return t1
end
local function get_admin_mod_list(admins_list, chat_id)
if not admins_list then
admi... | gpl-2.0 |
HEYAHONG/nodemcu-firmware | lua_examples/pcm/play_network.lua | 8 | 3037 | -- ****************************************************************************
-- Network streaming example
--
-- stream = require("play_network")
-- stream.init(pin)
-- stream.play(pcm.RATE_8K, ip, port, "/jump_8k.u8", function () print("stream finished") end)
--
-- Playback can be stopped with stream.stop().
-- And ... | mit |
JarnoVgr/Mr.Green-MTA-Resources | resources/[gameplay]/voice/cGlobals.lua | 1 | 1303 | local SETTINGS_REFRESH = 2000 -- Interval in which team channels are refreshed, in MS.
bShowChatIcons = true
voicePlayers = {}
globalMuted = {}
---
addEventHandler("onClientPlayerVoiceStart", root,
function()
if isPlayerVoiceMuted(source) or not getElementData(source, 'bCanUseVoice') then
ou... | mit |
adamflott/wargus | scripts/orc/campaign2.lua | 1 | 3198 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
46bit/turtles | bit_hole.lua | 1 | 3716 | local tArgs = { ... }
local position = {0, 0, 0}
local direction = east
-- to access a chest behind the start position,
-- go to (0, 0, 0) facing south
-- N.B. if you go behind the chest you could hit it
function refuel()
local fuelLevel = turtle.getFuelLevel()
if fuelLevel == "unlimited" then
return true... | mit |
hussian1997/bot_Iraq1997 | plugins/car.lua | 4 | 1410 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ 2) ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
JarnoVgr/Mr.Green-MTA-Resources | resources/[gameplay]/mrgreen-sidebar/sb_c.lua | 1 | 12853 | -- Config
screenW,screenH = guiGetScreenSize()
scaleW = screenW/1920
scaleH = screenH/1080
sidebarLeft = screenW * 0
_sidebarLeft = sidebarLeft
sidebarTop = screenH * 0
sidebarWidth = screenW * 0.2--380
sidebarHeight = screenH * 1
BGAlpha = 235
sidebarColor = tocolor(47, 76, 49, BGAlpha)
sidebarEaseDuration = 80 -... | mit |
hfjgjfg/amir2 | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
tianxiawuzhei/cocos-quick-cpp | auto_buildings/api/ZQTextBox.lua | 2 | 6051 |
--------------------------------
-- @module ZQTextBox
-- @extend Node,IMEDelegate
-- @parent_module zq
--------------------------------
--
-- @function [parent=#ZQTextBox] setAnchorPoint
-- @param self
-- @param #vec2_table anchorPoint
-- @return ZQTextBox#ZQTextBox self (return value: zq.ZQTextBox)
------... | mit |
mehrdadneyazy78/-S-Bot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
patrikrm13/X_Y | plugins/info.lua | 7 | 3698 | do
local function scan_name(extra, success, result)
local founds = {}
for k,member in pairs(result.members) do
if extra.name then
gp_member = extra.name
fields = {'first_name', 'last_name', 'print_name'}
elseif extra.user then
gp_member = string.gsub(extra.user, '@', '')
fields = {'username'}
end
for k,field in pairs(... | gpl-2.0 |
leonghui/packages | utils/yunbridge/files/usr/bin/pretty-wifi-info.lua | 106 | 2067 | #!/usr/bin/lua
local function get_basic_net_info(network, iface, accumulator)
local net = network:get_network(iface)
local device = net and net:get_interface()
if device then
accumulator["uptime"] = net:uptime()
accumulator["iface"] = device:name()
accumulator["mac"] = device:mac()
accumulator["... | gpl-2.0 |
opentechinstitute/luci | applications/luci-samba/luasrc/model/cbi/samba.lua | 79 | 2602 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
hussian1997/bot_Iraq1997 | plugins/ar-weather.lua | 8 | 2658 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ (ملف الطقس) ▀▄ ▄▀
▀▄▀▀▄▄... | gpl-2.0 |
robbie-cao/mooncake | fdl4.lua | 1 | 2636 | local uv = require('luv')
local download = function (url, path, ...)
if not url or url == "" then
print("URL cannot be nil\n")
return
end
path_to_save = os.date("%Y%m%d-%H%M%S")
if (path and path ~= "") then
path_to_save = path
end
f = assert(io.open(path_to_save, "w")... | mit |
heycc/codis | ext/redis-2.8.13/deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
maxrio/packages981213 | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua | 82 | 4185 | -- ------ extra functions ------ --
function ruleCheck() -- determine if rule needs a protocol specified
local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".src_port"))
local destPort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".dest_port"))
if sourcePort ~= "" or d... | gpl-2.0 |
cooljeanius/CEGUI | cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/feature.lua | 1 | 2581 | -- tolua: abstract feature 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,
-- enhan... | gpl-3.0 |
uonline/debut | src/day2/act4/sewer.room.lua | 1 | 10542 | -- Переменные локации
sewer_to_collector = vroom('В укрытие старика', 'collector')
sewer_to_guild_camp = vroom('Лагерь подполья', 'guild_camp')
sewer_to_collector:disable()
sewer_to_guild_camp:disable()
_sewer_entered = false
-- Локация
sewer = room {
nam = 'Сточный канал';
dsc = [[
Ты стоишь в тоннеле по щиколотк... | gpl-3.0 |
JarnoVgr/Mr.Green-MTA-Resources | resources/[race]/race_gm/gm.lua | 3 | 5558 | local firstCheckpoint = 3
local warnCheckpoint = 4
changeCheckpoint = 5 --Also used in dim.lua
local useCPGM = false
local newGMCheckpoint
local modes = {}
modes['Sprint'] = true
modes['Never the same'] = true
local DDGhostModeStartTime = 10 -- seconds
function onMapStarting(mapInfo, mapOptions, gameOptions)
--Only ... | mit |
romanchyla/nodemcu-firmware | lua_examples/email/read_email_imap.lua | 82 | 4543 | ---
-- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc
-- @author Miguel (AllAboutEE.com)
-- @description This example will read the first email in your inbox using IMAP and
-- display it through serial. The email server must provided unecrypted access. The code
-- was tested with an AOL and Time Warner c... | mit |
TeleDALAD/m | plugins/time.lua | 94 | 3004 | -- 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 |
mana/manaserv | example/scripts/abilities.lua | 3 | 1413 | --[[
Abilities script file
This file allows you to implement your ability action system. The system can
for example implement magic, physical attack or also such mundane things as
showing emoticons over the characters heads.
--]]
local spell1 = get_ability_info("Magic/Test Spell 1")
spell1:on_use(function(user,... | gpl-2.0 |
JarnoVgr/Mr.Green-MTA-Resources | resources/[race]/race_delay_indicator/delayindicator_server.lua | 3 | 8171 | local g_Root = getRootElement()
local g_ResRoot = getResourceRootElement(getThisResource())
local debug = false
local mapName
local allCpTimes = {} --allCpTimes[player][checkpointNum] = time
local topTimeInterims --topTimeInterims[checkpointNum] = time
local topTimeRankPlayer = {10} --topTimeRankPlayer[1] = rank... | mit |
daurnimator/lua-http | http/compat/socket.lua | 3 | 4940 | --[[
Compatibility layer with luasocket's socket.http module
Documentation: http://w3.impa.br/~diego/software/luasocket/http.html
This module a few key differences:
- The `.create` member is not supported
- The user-agent will be from lua-http
- lua-http features (such as HTTPS and HTTP2) will be used where poss... | mit |
daurnimator/lua-http | http/bit.lua | 1 | 1335 | --[[ This module smooths over all the various lua bit libraries
The bit operations are only done
- on bytes (8 bits),
- with quantities <= LONG_MAX (0x7fffffff)
- band with 0x80000000 that is subsequently compared with 0
This means we can ignore the differences between bit libraries.
]]
-- Lua 5.1 didn't have `... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.