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
mwoz123/koreader
frontend/device/kobo/nickel_conf.lua
5
7804
--[[-- Access and modify values in `Kobo eReader.conf` used by Nickel. Only PowerOptions:FrontLightLevel is currently supported. ]] local dbg = require("dbg") local NickelConf = {} NickelConf.frontLightLevel = {} NickelConf.frontLightState = {} NickelConf.colorSetting = {} NickelConf.autoColorEnabled = {} local kobo...
agpl-3.0
erwin8086/basiccomputers
book.lua
1
3884
--[[ Tutorial Books for basiccomputers. Books: book1 -- Tutorial book2 -- Upgrades book3 -- Mods book4 -- Commands & functions ]] -- Books table basiccomputers.books = {} --Books open: local reading = {} --Open a book for player local function open_book(player, book) if book then local name = player:get_...
lgpl-2.1
bnetcc/darkstar
scripts/zones/Al_Zahbi/npcs/Rajaaha.lua
3
1978
----------------------------------- -- Area: Al Zahbi -- NPC: Rajaaha -- Type: Goldsmithing Normal/Adv. Image Support -- !pos 49.9 0.1 -45.2 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scr...
gpl-3.0
curiousguy13/shogun
examples/undocumented/lua_modular/load.lua
21
1269
function load_numbers(fname) f = io.open(fname) if (f == nil) then print("Cannot open ", fname) end matrix = {} while true do local num = f:read("*number") if not num then break end table.insert(matrix, num) end f:close() n = #matrix result = {} for i = 1, 2 do result[i] = {} for j = 1, n/2 do ...
gpl-3.0
Maliv/Secret
plugins/botphoto.lua
2
1181
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
bnetcc/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Pagdako.lua
5
1057
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Pagdako -- Quest NPC -- pos -200 -6 -93 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts...
gpl-3.0
bnetcc/darkstar
scripts/zones/Chateau_dOraguille/npcs/_6h4.lua
5
3351
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Great Hall -- Involved in Missions: 3-3, 5-2, 6-1, 8-2, 9-1 -- !pos 0 -1 13 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; package.loaded["scripts/globals/missions"] = nil; --------------...
gpl-3.0
erosennin/koreader
frontend/ui/downloadmgr.lua
1
1055
local PathChooser = require("ui/widget/pathchooser") local UIManager = require("ui/uimanager") local util = require("ffi/util") local _ = require("gettext") local DownloadMgr = { title = _("Choose download directory"), onConfirm = function() end, } function DownloadMgr:new(o) local o = o or {} setmeta...
agpl-3.0
NKerbun/Starbound_RU
translations/others/items/buildscripts/buildwhip.lua
1
1602
require "/scripts/util.lua" require "/items/buildscripts/abilities.lua" function build(directory, config, parameters, level, seed) local configParameter = function(keyName, defaultValue) if parameters[keyName] ~= nil then return parameters[keyName] elseif config[keyName] ~= nil then return config...
apache-2.0
mwoz123/koreader
plugins/statistics.koplugin/calendarview.lua
2
29618
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local BottomContainer = require("ui/widget/container/bottomcontainer") local Button = require("ui/widget/button") local CenterContainer = require("ui/widget/container/centercontainer") local CloseButton = require("ui/widget/closebutton") local D...
agpl-3.0
bnetcc/darkstar
scripts/globals/spells/drown.lua
5
2061
----------------------------------------- -- Spell: Drown -- Deals water damage that lowers an enemy's strength and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg")...
gpl-3.0
TAJaroszewski/lma_contrail_monitoring
deployment_scripts/puppet/modules/lma_collector/files/plugins/decoders/rabbitmq.lua
1
2319
-- Copyright 2015 Mirantis, Inc. -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to ...
apache-2.0
bnetcc/darkstar
scripts/zones/PsoXja/npcs/_091.lua
5
1047
----------------------------------- -- Area: Pso'Xja -- NPC: _091 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- !pos 350.000 -1.925 -61.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/globals");...
gpl-3.0
nguillemot/LD48-Beneath-The-Surface
SDL2/premake/premake4.lua
9
19887
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purp...
mit
bnetcc/darkstar
scripts/globals/items/bottle_of_monarchs_drink.lua
1
1110
----------------------------------------- -- ID: 5393 -- Item: Bottle of Monarch's Drink -- Item Effect: Regain 3/sec 180 TP -- Duration 3 Mins ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------...
gpl-3.0
TheRaffy/OpenRA
mods/cnc/maps/funpark01/scj01ea.lua
3
3641
RifleReinforcments = { "e1", "e1", "e1", "bike" } BazookaReinforcments = { "e3", "e3", "e3", "bike" } BikeReinforcments = { "bike" } ReinforceWithLandingCraft = function(units, transportStart, transportUnload, rallypoint) local transport = Actor.Create("oldlst", true, { Owner = nod, Facing = 0, Location = transportS...
gpl-3.0
Ravenlord/ddp-testing
tests/inheritance/02_class-select-single-record.lua
1
4520
--[[! - This is free and unencumbered software released into the public domain. - - Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form - or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - - In jurisdictions ...
unlicense
bnetcc/darkstar
scripts/globals/mobskills/nullifying_dropkick.lua
58
1046
--------------------------------------------- -- Nullifying Dropkick -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -----------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Navukgo_Execution_Chamber/Zone.lua
5
1145
----------------------------------- -- -- Zone: Navukgo_Execution_Chamber (64) -- ----------------------------------- package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings"); require("scripts/zo...
gpl-3.0
sonoprob/0x56
bot/lua/red/Upgrader.lua
1
1853
-------------------------------------- -- Upgrader module for NODEMCU -- LICENCE: http://opensource.org/licenses/MIT -- cloudzhou<wuyunzhou@espressif.com> -------------------------------------- -- require('Upgrader') -- Upgrader.update('EspClient.lua', 'http://115.29.202.58/static/script/EspClient.lua') -- Upgrader.up...
artistic-2.0
arthurljones/dotfiles
config/awesome/awesome-wm-widgets/batteryarc-widget/batteryarc.lua
1
3593
local awful = require("awful") local beautiful = require("beautiful") local naughty = require("naughty") local wibox = require("wibox") local watch = require("awful.widget.watch") local HOME = os.getenv("HOME") -- only text local text = wibox.widget { id = "txt", font = "Play 5", widget = wibox.widget.tex...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua
80
1878
--[[ 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...
gpl-2.0
mwoz123/koreader
frontend/device/kindle/device.lua
1
35624
local Generic = require("device/generic/device") local logger = require("logger") local function yes() return true end local function no() return false end -- luacheck: ignore local function kindleEnableWifi(toggle) local haslipc, lipc = pcall(require, "liblipclua") local lipc_handle = nil if haslipc and...
agpl-3.0
bnetcc/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
4
1276
--------------------------------------------- -- Aerial Armor --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/utils"); require("scripts/globals/msg"); -------------------------------...
gpl-3.0
dmccuskey/dmc-dragdrop
examples/dmc-dragdrop-oop/dmc_corona/lib/dmc_lua/lua_e4x.lua
47
18011
--====================================================================-- -- lua_e4x.lua -- -- Documentation: http://docs.davidmccuskey.com/display/docs/lua_e4x.lua --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2014 David McCuskey. All Rights Reserve...
mit
leonardoaxe/OpenRA
mods/ra/maps/infiltration/infiltration.lua
5
10967
Difficulty = Map.LobbyOption("difficulty") if Difficulty == "hard" then TimerTicks = DateTime.Minutes(25) elseif Difficulty == "normal" then TimerTicks = DateTime.Minutes(28) else TimerTicks = DateTime.Minutes(31) end Announcements = { { speech = "TwentyMinutesRemaining", delay = DateTime.Minutes(20) }, { speech...
gpl-3.0
mwoz123/koreader
frontend/ui/plugin/switch_plugin.lua
9
3125
--[[-- SwitchPlugin creates a plugin with a switch to enable or disable it. See spec/unit/switch_plugin_spec.lua for the usage. ]] local ConfirmBox = require("ui/widget/confirmbox") local DataStorage = require("datastorage") local LuaSettings = require("luasettings") local UIManager = require("ui/uimanager") local Wid...
agpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/libs/core/luasrc/ccache.lua
82
1863
--[[ 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 ht...
gpl-2.0
bnetcc/darkstar
scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua
5
1737
----------------------------------- -- Area: Horlias peak -- Name: Hostile Herbivores -- BCNM50 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAM...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/dark_wave.lua
33
1185
--------------------------------------------- -- Dark Wave -- -- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' radial -- Notes: Severity of Bio effect varies by time of day, from 8/tic at...
gpl-3.0
casperkaae/nn
SpatialBatchNormalization.lua
2
7239
--[[ This file implements Batch Normalization as described in the paper: "Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift" by Sergey Ioffe, Christian Szegedy This implementation is useful for inputs coming from convolution l...
bsd-3-clause
JabJabJab/Sledgehammer
lua/SledgehammerLua/media/lua/client/Sledgehammer/Gui/Window.lua
1
3150
-- This file is part of Sledgehammer. -- -- Sledgehammer is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- ...
lgpl-3.0
bnetcc/darkstar
scripts/zones/Empyreal_Paradox/npcs/Transcendental.lua
5
1686
----------------------------------- -- Area: Empyreal_Paradox -- NPC: Transcendental ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Empyreal_Paradox/TextIDs"); require("...
gpl-3.0
bnetcc/darkstar
scripts/zones/Aydeewa_Subterrane/mobs/Nosferatu.lua
1
2012
----------------------------------- -- Area: Aydeewa Subterrane -- ZNM: Nosferatu ----------------------------------- require("scripts/globals/status"); require("scripts/globals/custom_trials"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) ...
gpl-3.0
Ravenlord/ddp-testing
tests/calculated_values/dependent/01_trivial-delete.lua
1
2212
--[[! - This is free and unencumbered software released into the public domain. - - Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form - or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - - In jurisdictions ...
unlicense
bnetcc/darkstar
scripts/globals/items/bunch_of_wild_pamamas.lua
3
1050
----------------------------------------- -- ID: 4596 -- Item: Bunch of Wild Pamamas -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Intelligence 1 -- Additional Effect with Opo-Opo Crown -- HP 50 -- MP 50 -- CHR 14 -- Additional Effect with Kinkobo or -- Primate Staff -- D...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/ipkg-ramips_24kec/luci-proto-ppp/usr/lib/lua/luci/model/cbi/admin_network/proto_l2tp.lua
59
1868
--[[ 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
bnetcc/darkstar
scripts/zones/Maquette_Abdhaljs-Legion/mobs/Auspicious_Entity_Reserved.lua
1
2862
----------------------------------- -- Area: Legion -- Mob: Auspicious Entity ----------------------------------- require("scripts/globals/status"); -- require("scripts/globals/magic"); -- require("scripts/globals/utils"); -- require("scripts/globals/msg"); ----------------------------------- -- onMobInitialize Actio...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/black_sole.lua
3
1073
----------------------------------------- -- ID: 4384 -- Item: Black Sole -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(tar...
gpl-3.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Justi.lua
5
1630
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("s...
gpl-3.0
bnetcc/darkstar
scripts/zones/Al_Zahbi/npcs/Gajaad.lua
5
2137
----------------------------------- -- Area: Al Zahbi -- NPC: Gajaad -- Type: Donation Taker -- !pos 40.781 -1.398 116.261 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/abilities/pets/thunderstorm.lua
28
1341
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
gamebytes/pioneer
data/modules/AIWarning/Languages.lua
1
1638
---- ENGLISH / ENGLISH ---- Translate:Add({ English = { ['Cannot compensate for local gravity'] = 'Cannot compensate for local gravity', ['Starport refused docking permission'] = 'Starport refused docking permission', ['Cannot compute orbit parameters'] = 'Cannot compute orbit paremeters', } }) ---- P...
gpl-3.0
bnetcc/darkstar
scripts/zones/Windurst_Waters/npcs/Bondada.lua
5
1597
----------------------------------- -- Area: Windurst Waters -- NPC: Bondada -- Involved in Quests: Hat in Hand -- !pos -66 -3 -148 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scrip...
gpl-3.0
bnetcc/darkstar
scripts/zones/49/mobs/Rukh.lua
5
1401
----------------------------------- -- Area: ? -- VWNM: Pil ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/utils"); require("scripts/globals/keyitems"); ----------------------------------- -- onMobInitialize Action --------------------...
gpl-3.0
bnetcc/darkstar
scripts/globals/effects/transcendency.lua
35
1814
----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_HP, 9000); target:addMod(MOD_MP, 9000); target:ad...
gpl-3.0
bnetcc/darkstar
scripts/zones/Vunkerl_Inlet_[S]/Zone.lua
5
1515
----------------------------------- -- -- Zone: Vunkerl_Inlet_[S] (83) -- ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs"); require("scripts/zones/Vunkerl_Inlet_[S]/MobIDs"); requir...
gpl-3.0
Evsdd/domoticz
dzVents/runtime/integration-tests/stage1.lua
4
35245
local log local dz local err = function(msg) log(msg, dz.LOG_ERROR) end local tstMsg = function(msg, res) print('Stage: 1, ' .. msg .. ': ' .. tostring(res and 'OK' or 'FAILED')) end local expectEql = function (attr, test, marker) if (attr ~= test) then local msg = tostring(attr) .. '~=' .. tostring(test) if ...
gpl-3.0
bnetcc/darkstar
scripts/zones/Garlaige_Citadel_[S]/npcs/Planar_Rift.lua
1
1813
----------------------------------- -- Area: Garlaige_Citadel_[s] -- NPC: Planar Rift ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel_[s]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Garlaige_Citadel_[s]/TextIDs"); ...
gpl-3.0
lcf258/openwrtcn
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua
57
1951
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.processes", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) return { { title = "%H: Processes", vlabel = "Proce...
apache-2.0
bnetcc/darkstar
scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_3.lua
5
2021
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Sealed Entrance (Sealed_Entrance_3) -- !pos -340.000 1.825 -364.825 95 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/quest...
gpl-3.0
bnetcc/darkstar
scripts/zones/Port_San_dOria/npcs/Gournaie.lua
5
1071
----------------------------------- -- Area: Port San d'Oria -- NPC: Gournaie -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
bnetcc/darkstar
scripts/zones/Port_Windurst/npcs/Posso_Ruhbini.lua
5
1261
----------------------------------- -- Area: Port Windurst -- NPC: Posso Ruhbini -- Regional Marchant NPC -- Only sells when Windurst controlls Norvallen -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -------------------------------...
gpl-3.0
knyghtmare/War_of_Legends
lua/inv-sys2/status_components.lua
2
24099
-- local T = helper.set_wml_tag_metatable {} local T = wml.tag function equipment_grid(data) return T.grid{ T.row { T.column { T.label { id = "the_gearlist_title", use_markup = true }}}, T.row { T.column { vertical_grow = false, horizontal_alignment = "left" , horizontal_grow = false, T.horizontal_listbox { horiz...
gpl-2.0
bnetcc/darkstar
scripts/zones/Abyssea-Attohwa/mobs/Blazing_Eruca.lua
1
1827
----------------------------------- -- Area: Abyssea - Attohwa (215) -- Mob: Blazing_Eruca ----------------------------------- package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil; require("scripts/zones/Abyssea-Attohwa/TextIDs"); require("scripts/globals/abyssea"); require("scripts/globals/status"); requir...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/fire_carol.lua
5
1503
----------------------------------------- -- Spell: Fire Carol -- Increases fire resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------...
gpl-3.0
awesomeWM/awesome
lib/wibox/init.lua
1
12839
--------------------------------------------------------------------------- -- Box where widget can be displayed. -- -- @author Uli Schlachter -- @copyright 2010 Uli Schlachter -- @popupmod wibox --------------------------------------------------------------------------- local capi = { drawin = drawin, root = ...
gpl-2.0
bnetcc/darkstar
scripts/globals/abilities/fire_maneuver.lua
4
1862
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
bnetcc/darkstar
scripts/zones/Mine_Shaft_2716/Zone.lua
5
1072
----------------------------------- -- -- Zone: Mine_Shaft_2716 (13) -- ----------------------------------- package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mine_Shaft_2716/TextIDs"); --------------------------...
gpl-3.0
anoidgit/rnn
examples/simple-bisequencer-network.lua
7
2590
require 'rnn' -- hyper-parameters batchSize = 8 rho = 5 -- sequence length hiddenSize = 7 nIndex = 10 lr = 0.1 -- forward rnn -- build simple recurrent neural network local fwd = nn.Recurrent( hiddenSize, nn.LookupTable(nIndex, hiddenSize), nn.Linear(hiddenSize, hiddenSize), nn.Sigmoid(), rho ) -- backw...
bsd-3-clause
bnetcc/darkstar
scripts/zones/Abyssea-Uleguerand/mobs/Ironclad_Triturator.lua
1
2308
----------------------------------- -- Area: Abyssea - Uleguerand (253) -- NM: Ironclad_Triturator ----------------------------------- package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Abyssea-Uleguerand/TextIDs"); require("scripts/globals/key...
gpl-3.0
dragynbane222/awesome-dot-files
themes/vinyl/rc.lua
3
17374
-- Standard awesome library require("awful") require("awful.autofocus") require("awful.rules") -- Theme handling library require("beautiful") -- Notification library require("naughty") --Wiget Library require("vicious") -- {{{ Variable definitions -- Themes define colours, icons, and wallpapers beautiful.init("/home/h...
gpl-2.0
notcake/vfs
lua/gauth/gauth.lua
1
11255
if GAuth then return end GAuth = GAuth or {} include ("glib/glib.lua") include ("gooey/gooey.lua") GLib.Initialize ("GAuth", GAuth) GLib.AddCSLuaPackSystem ("GAuth") GLib.AddCSLuaPackFile ("autorun/gauth.lua") GLib.AddCSLuaPackFolderRecursive ("gauth") GAuth.PlayerMonitor = GAuth.PlayerMonitor ("GAuth") ...
gpl-3.0
telergybot/kelidestan
bot/seedbot.lua
1
8440
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
Benjji/wesnoth
join.lua
27
3343
-- join.lua -- -- Try to join a game called "Test" local function plugin() local function log(text) std_print("join: " .. text) end local counter = 0 local events, context, info local helper = wesnoth.require("lua/helper.lua") local function find_test_game(info) local g = info.game_list() ...
gpl-2.0
casperkaae/nn
SpatialContrastiveNormalization.lua
63
1444
local SpatialContrastiveNormalization, parent = torch.class('nn.SpatialContrastiveNormalization','nn.Module') function SpatialContrastiveNormalization:__init(nInputPlane, kernel, threshold, thresval) parent.__init(self) -- get args self.nInputPlane = nInputPlane or 1 self.kernel = kernel or torch.Tensor(9...
bsd-3-clause
notcake/vfs
lua/vfs/fileresource.lua
1
1914
local self = {} VFS.FileResource = VFS.MakeConstructor (self, VFS.IResource) function self:ctor (uriOrFile) self.File = nil self.FileResolved = false if type (uriOrFile) == "string" then self.Uri = uriOrFile self.FolderUri = string.sub (self.Uri, 1, (string.find (self.Uri, "/[^/]*$") or 0) - 1) self.Name = ...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/dish_of_salsa.lua
3
1234
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- require("scripts/gl...
gpl-3.0
consulo/consulo-lua
src/test/resources/non-test-system-files/lua5.1-tests/main.lua
3
3302
#! testing special comment on first line print ("testing lua.c options") assert(os.execute() ~= 0) -- machine has a system command prog = os.tmpname() otherprog = os.tmpname() out = os.tmpname() do local i = 0 while arg[i] do i=i-1 end progname = '"'..arg[i+1]..'"' end print(progname) local prepfile = func...
apache-2.0
bnetcc/darkstar
scripts/globals/spells/huton_san.lua
1
1441
----------------------------------------- -- Spell: Huton: San -- Deals wind damage to an enemy and lowers its resistance against ice. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
bnetcc/darkstar
scripts/commands/setplayervar.lua
13
1284
--------------------------------------------------------------------------------------------------- -- func: setplayervar -- desc: Sets a variable on the target player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = ...
gpl-3.0
casperkaae/nn
SplitTable.lua
6
1055
local SplitTable, parent = torch.class('nn.SplitTable', 'nn.Module') function SplitTable:__init(dimension, nInputDims) parent.__init(self) self.dimension = dimension self.nInputDims = nInputDims end function SplitTable:updateOutput(input) local dimension = self.dimension if self.nInputDims and input:di...
bsd-3-clause
bnetcc/darkstar
scripts/globals/weaponskills/weapon_break.lua
3
1844
----------------------------------- -- Weapon Break -- Great Axe weapon skill -- Skill level: 175 -- Lowers enemy's attack. Duration of effect varies with TP. -- Lowers attack by as much as 25% if unresisted. -- Strong against: Manticores, Orcs, Rabbits, Raptors, Sheep. -- Immune: Crabs, Crawlers, Funguars, Quadavs, Pu...
gpl-3.0
TurkeyMan/premake-core
modules/vstudio/vs2010_rules_xml.lua
9
9100
--- -- vs2010_rules_xml.lua -- Generate a Visual Studio 201x custom rules XML file. -- Copyright (c) Jason Perkins and the Premake project -- local p = premake p.vstudio.vs2010.rules.xml = {} local m = p.vstudio.vs2010.rules.xml m.elements = {} --- -- Entry point; generate the root <ProjectSchemaDefinitions> el...
bsd-3-clause
bankonme/cjdns
contrib/lua/test.lua
40
2054
cjdns = require "cjdns/init" -- CONFIG confpath = "/etc/cjdroute.conf" -- SETUP print("Using config file: " .. confpath) conf = cjdns.ConfigFile.new(confpath) ai = conf:makeInterface() -- TESTS function testInterface(iface) local testip = "fc5d:baa5:61fc:6ffd:9554:67f0:e290:7535" print("Can I ping the ...
gpl-3.0
TerraOrbis/OBS_Push
obs_push.lua
2
2770
-- OBS_Push a vlc plugin - public domain -- Written by dvkirn in 2015 -- -- A simple vlc plugin to push the current playing track info to a file -- OBS will read from the file updating the stream overlay -- -- Placed in public domain March 2015: no copyright claimed -- do with this what you will. -- -- Installation: si...
unlicense
mwoz123/koreader
frontend/apps/reader/modules/readertypeset.lua
2
21639
local BD = require("ui/bidi") local ConfirmBox = require("ui/widget/confirmbox") local Event = require("ui/event") local InfoMessage = require("ui/widget/infomessage") local InputContainer = require("ui/widget/container/inputcontainer") local UIManager = require("ui/uimanager") local Math = require("optmath") local lfs...
agpl-3.0
bnetcc/darkstar
scripts/globals/items/bowl_of_homemade_stew.lua
3
1510
----------------------------------------- -- ID: 5222 -- Item: Bowl of Homemade Stew -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------------...
gpl-3.0
Etiene/Algorithm-Implementations
Caesar_Cipher/Lua/Yonaba/caesar_cipher_test.lua
26
1202
-- Tests for caesar_cipher.lua local caesar = require 'caesar_cipher' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 ...
mit
bnetcc/darkstar
scripts/globals/spells/bluemagic/wild_oats.lua
5
1805
----------------------------------------- -- Spell: Wild Oats -- Additional effect: Vitality Down. Duration of effect varies on TP -- Spell cost: 9 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 3 -- Stat Bonus: CHR+1, HP+10 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time...
gpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/ecliptic_meteor_custom.lua
1
1114
--------------------------------------------- -- Ecliptic Meteor -- -- Description: Summons a meteor to smash the opposition. -- Additional effect: Paralysis + Bio + Blind -- Type: Magical? -- Can be dispelled: N/A -- Utsusemi/Blink absorb: Removes shadows -- Range: 10' -- Notes: Only used by Hadhayosh and Kholomodumo ...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
78
1934
--[[ Luci configuration model for statistics - collectd email plugin configuration (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...
gpl-2.0
bnetcc/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Relic_Mog.lua
1
15738
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Relic Reforge Moogle -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnazian_Safehold/TextIDs"); require("scripts/globals/mission...
gpl-3.0
jokeyrhyme/WTF
Account/RONWALDON/SavedVariables/Combuctor.lua
1
7147
CombuctorVersion = nil CombuctorDB2 = { ["global"] = { }, ["version"] = "6.0.5", ["profiles"] = { ["Cervus - Frostmourne"] = { ["inventory"] = { ["h"] = 512, ["position"] = { "RIGHT", -- [1] }, ["showBags"] = false, ["exclude"] = { ["All"] = { "All", -- [1] ...
bsd-3-clause
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/applications/luci-statistics/luasrc/statistics/i18n.lua
69
2405
--[[ Luci statistics - diagram i18n helper (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.apache.org/licen...
gpl-2.0
h2o/h2o
deps/klib/lua/klib.lua
42
20155
--[[ The MIT License Copyright (c) 2011, Attractive Chaos <attractor@live.co.uk> 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 th...
mit
notcake/vfs
lua/vfs/ui/foldertreeview.lua
1
18413
local self = {} --[[ Events: FileOpened (IFile file) Fired when the user tries to open a file. SelectedFolderChanged (IFolder folder) Fired when the selected folder is changed. SelectedNodeChanged (INode node) Fired when the selected file or folder is changed. ]] function self:Init () se...
gpl-3.0
TurkeyMan/premake-core
tests/base/test_include.lua
16
1678
-- -- tests/base/test_include.lua -- Test the include() function, for including external scripts -- Copyright (c) 2011-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("include") -- -- Setup and teardown -- function suite.teardown() -- clear the list of included files...
bsd-3-clause
bnetcc/darkstar
scripts/globals/spells/blind_ii.lua
5
1914
----------------------------------------- -- Spell: Blind II -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Blind II value per point is '1' This is a constant set in the table 'merits' ----------------------------------------- require("scripts/globals/...
gpl-3.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Durogg.lua
5
2640
----------------------------------- -- 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/...
gpl-3.0
bnetcc/darkstar
scripts/zones/Altar_Room/npcs/Magicite.lua
5
1311
----------------------------------- -- Area: Altar Room -- NPC: Magicite -- Involved in Mission: Magicite -- !pos -344 25 43 152 ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/...
gpl-3.0
bnetcc/darkstar
scripts/zones/49/mobs/Dummy.lua
1
1385
----------------------------------- -- Area: GM Testing Facilities -- Mob: Dummy -- never dies, never fights back, just takes dmg. ----------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------- function onMobIn...
gpl-3.0
bnetcc/darkstar
scripts/globals/mining.lua
6
17208
------------------------------------------------------------------------------------------ -- Mining 2.0 -- Note: When implementing new zones, ensure there are more mining point locations -- than there are mining points for the zone. -----------------------------------------------------------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Den_of_Rancor/mobs/Friar_Rush.lua
1
2042
----------------------------------- -- Area: Den of Rancor -- MOB: Friar Rush ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/fieldsofvalor...
gpl-3.0
mwoz123/koreader
frontend/ui/data/keyboardlayouts/keypopup/en_popup.lua
4
12666
return { com = { ",", north = ";", northeast = "(", northwest = "\\", east = "?", west = "¿", "{", "}", "[", }, prd = { ".", north = ":", northeast = ")", northwest = "/", east = "…", west...
agpl-3.0
bnetcc/darkstar
scripts/zones/Mount_Zhayolm/mobs/Cerberus.lua
1
1650
----------------------------------- -- Area: Mount Zhayolm -- NM: Cerberus ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/custom_trials"); ----------------------------------- function onMobInitialize(mob) -- addMod mob:addMod(MOD_MATT,75); mob:addMod(MOD_M...
gpl-3.0
luc-tielen/lua-quickcheck
spec/property_spec.lua
2
5765
local random = require 'lqc.random' local lqc = require 'lqc.quickcheck' local results = require 'lqc.property_result' local property = require 'lqc.property' local r = require 'lqc.report' local Gen = require 'lqc.generator' local function do_setup() random.seed() lqc.init(100, 100) lqc.properties = {} r.repo...
mit
bnetcc/darkstar
scripts/zones/Mhaura/npcs/Graine.lua
5
1330
----------------------------------- -- Area: Mhaura -- NPC: Graine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/shop"); ---------------------------...
gpl-3.0
younishd/chick
src/core/Board.lua
1
11109
--[[ -- This file is part of chicks. -- -- (c) 2015-2017 YouniS Bensalah <younis.bensalah@gmail.com> -- -- For the full copyright and license information, please view the LICENSE -- file that was distributed with this source code. --]] local Board = class('Board') function Board:initialize() self.__map = { ...
mit
bnetcc/darkstar
scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua
5
8719
----------------------------------- -- Area: Port Windurst -- NPC: Hakkuru-Rinkuru -- Involved In Quest: Making Amends -- Starts and Ends Quest: Wonder Wands -- !pos -111 -4 101 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; package.loaded["scripts/globals/missions...
gpl-3.0