repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
juesato/rnn
GRU.lua
3
8691
------------------------------------------------------------------------ --[[ GRU ]]-- -- Author: Jin-Hwa Kim -- License: LICENSE.2nd.txt -- Gated Recurrent Units architecture. -- http://www.wildml.com/2015/10/recurrent-neural-network-tutorial-part-4-implementing-a-grulstm-rnn-with-python-and-theano/ -- Expects 1D or ...
bsd-3-clause
luveti/Urho3D
Source/ThirdParty/LuaJIT/dynasm/dasm_arm64.lua
33
34807
------------------------------------------------------------------------------ -- DynASM ARM64 module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _...
mit
AdamGagorik/darkstar
scripts/zones/Kazham/npcs/Tsahbi_Ifalombo.lua
13
1055
----------------------------------- -- Area: Kazham -- NPC: Tsahbi Ifalombo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
aquileia/wesnoth
data/lua/wml/modify_unit.lua
4
3567
local helper = wesnoth.require "lua/helper.lua" local utils = wesnoth.require "lua/wml-utils.lua" local wml_actions = wesnoth.wml_actions function wml_actions.modify_unit(cfg) local unit_variable = "LUA_modify_unit" local replace_mode = cfg.mode == "replace" local function handle_attributes(cfg, unit_path, toplev...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Chateau_dOraguille/npcs/Mistaravant.lua
13
1064
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Mistaravant -- Type: Standard NPC -- @zone: 233 -- @pos 7.097 -3.999 67.988 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Authere.lua
13
2026
----------------------------------- -- Area: Southern San d'Oria -- NPC: Authere -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos 33 1 -31 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Zasshal.lua
13
1038
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Zasshal -- Type: Salvage -- @pos 101.468 -1 -20.088 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/T...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/slice_of_diatryma_meat.lua
18
1342
----------------------------------------- -- ID: 5290 -- Item: Slice of Diatryma Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- Strength +3 -- Intelligence -5 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
Nathan22Miles/sile
languages/hu.lua
4
716735
SILE.hyphenator.languages["hu"] = {}; SILE.hyphenator.languages["hu"].patterns = { ".a2", ".adatát1a2", ".ada2t1e2", ".adás1s", ".adá2s3z", ".ad1yé.", ".ad1yi", ".ag1os", ".ag2ra", ".agyag1g", ".agy1á2ram", ".agy1árt", ".agy1e2", ".agyo2", ".agyon1", ".agy1ó2", ".agy1ű2", ".akác1c", ".aká2cs", ".ak2h", ".ako2", ".ak...
mit
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Shashan-Mishan.lua
59
1043
----------------------------------- -- Area: Lower Jeuno -- NPC: Shashan-Mishan -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Lower_Jeuno/TextIDs");...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua
29
2594
----------------------------------- -- Area: Riverne Site #B01 -- Name: Storms of Fate -- @pos 299 -123 345 146 ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Riverne-Sit...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Adeben.lua
13
1135
----------------------------------- -- Area: Open_sea_route_to_Al_Zahbi -- NPC: Adeben -- Notes: Tells ship ETA time -- @pos 0.340 -12.232 -4.120 46 ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_San_dOria/npcs/Bricorsant.lua
13
1358
----------------------------------- -- Area: Port San d'Oria -- NPC: Bricorsant -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/plate_of_witch_risotto.lua
18
1528
----------------------------------------- -- ID: 4330 -- Item: witch_risotto -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 35 -- Strength -1 -- Vitality 3 -- Mind 3 -- MP Recovered While Healing 2 -- Enmity -1 ----------------------------------------- require("scripts/glob...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u4.lua
13
1348
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/TextIDs"); ...
gpl-3.0
xueyingmo/ardupilot
Tools/CHDK-Scripts/kap_uav.lua
183
28512
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script @title KAP UAV 3.1 @param i Shot Interval (sec) @default i 15 @range i 2 120 @param s Total Shots (0=infinite) @default s 0 @range ...
gpl-3.0
mynameiscraziu/karizma
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
sjznxd/lc-20130204
libs/web/luasrc/http/protocol/date.lua
88
2760
--[[ HTTP protocol implementation for LuCI - date handling (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-2.0
LuaDist2/luadocumentor
template/file.lua
2
3269
-------------------------------------------------------------------------------- -- Copyright (c) 2012-2014 Sierra Wireless. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and is...
epl-1.0
nopsky/waifu2x
train.lua
33
5163
require './lib/portable' require 'optim' require 'xlua' require 'pl' local settings = require './lib/settings' local minibatch_adam = require './lib/minibatch_adam' local iproc = require './lib/iproc' local reconstruct = require './lib/reconstruct' local pairwise_transform = require './lib/pairwise_transform' local im...
mit
AdamGagorik/darkstar
scripts/zones/Davoi/npcs/Sedal-Godjal.lua
13
3975
----------------------------------- -- Area: Davoi -- NPC: Sedal-Godjal -- Mini Quest used in : Whence Blows the Wind -- @pos 185 -3 -116 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scrip...
gpl-3.0
Nathan22Miles/sile
packages/rules.lua
2
1455
SILE.baseClass:loadPackage("raiselower") SILE.registerCommand("hrule", function(options, content) local width = options.width or 0 local height = options.height or 0 SILE.typesetter:pushHbox({ width= SILE.length.new({length = SILE.parseComplexFrameDimension(width,"w") }), height= SILE.length.new({ lengt...
mit
sinavafa/asl
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
nesforge/slash
slash/json.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
bsd-3-clause
hadirahimi1380/-AhRiMaN-
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Rala_Waterways_U/Zone.lua
19
1071
----------------------------------- -- -- Zone: Rala Waterways U -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rala_Waterways_U/TextIDs"] = nil; require("scripts/zones/Rala_Waterways_U/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/effects/yonin.lua
5
1403
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity target:addMod(MOD_ACC,...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/slice_of_land_crab_meat.lua
18
1416
----------------------------------------- -- ID: 4400 -- Item: slice_of_land_crab_meat -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -4 -- Vitality 3 -- Defense % 14 ----------------------------------------- require("scripts/globals/status"); --------------------------------...
gpl-3.0
Wiladams/cream
ovs/openvswitch/vconn_ffi.lua
1
2363
local ffi = require("ffi") require("ovs_list") require("ovs_types") require("openflow") ffi.cdef[[ struct ofpbuf; struct pvconn; struct pvconn_class; struct vconn; struct vconn_class; void vconn_usage(bool active, bool passive, bool bootstrap); /* Active vconns: virtual connections to OpenFlow devices. */ int vco...
mit
hlieberman/sysdig
userspace/sysdig/chisels/v_spy_users_wsysdig.lua
4
2500
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Muckvix.lua
13
1526
----------------------------------- -- Area: Lower Jeuno -- NPC: Muckvix -- Involved in Mission: Magicite -- @zone 245 -- @pos -26.824 3.601 -137.082 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua
7
1502
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Staff ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_privacy_lists/mod_privacy_lists.lua
32
15782
-- Prosody IM -- Copyright (C) 2009-2014 Matthew Wild -- Copyright (C) 2009-2014 Waqas Hussain -- Copyright (C) 2009 Thilo Cestonaro -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:add_feature("jabber:iq:privacy"); local st = require "util....
mit
LuaDist2/pandoc-cli-builder
src/Pandoc.lua
2
4710
--- Wrapper class to the pandoc cli. Refer to the pandoc documentation for more -- information on the flags. local Pandoc = {} --- Constructor function Pandoc.new() local instance = {} setmetatable(instance, { __index = Pandoc}) instance.cmd = "pandoc " return instance end --- Prints the command. fu...
unlicense
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_stanza_counter/mod_stanza_counter.lua
32
3033
-- (C) 2011, Marco Cirillo (LW.Org) -- General Stanzas' Counter. local jid_bare = require "util.jid".bare -- Setup, Init functions. -- initialize function counter table on the global object on start local function init_counter() prosody.stanza_counter = { iq = { incoming=0, outgoing=0 }, message = { incoming=0, ...
mit
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_log_slow_events/mod_log_slow_events.lua
21
1703
local time = require "socket".gettime; local base64_decode = require "util.encodings".base64.decode; local max_seconds = module:get_option_number("log_slow_events_threshold", 0.5); function event_wrapper(handlers, event_name, event_data) local start = time(); local ret = handlers(event_name, event_data); local dur...
mit
AdamGagorik/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua
13
3729
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
rigeirani/bbb
plugins/inrealm.lua
71
25005
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/AlTaieu/npcs/Swirling_Vortex.lua
29
1413
----------------------------------- -- Area: Al'Taieu -- NPC: Swirling_Vortex -- Type: Standard NPC -- @zone 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/limbus")...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Abyssea-Konschtat/npcs/qm14.lua
17
1984
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm14 (???) -- Spawns: Eccentric Eve -- @pos ? ? ? 15 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action -----------------------------...
gpl-3.0
Hostle/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua
69
1137
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Ping Plugin Configuration"), translate( "The ping plugin will send icmp echo replies to selected " .. "hosts and measure the roundtrip time for each...
apache-2.0
ld-test/reggae
JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
bsd-3-clause
karottenreibe/luapdf
lib/completion.lua
1
5607
------------------------------------------------------------ -- Command completion -- -- © 2010-2011 Mason Larobina <mason.larobina@gmail.com> -- -- © 2010 Fabian Streitel <karottenreibe@gmail.com> -- ------------------------------------------------------------ -- Get Lua env...
gpl-3.0
mohammad25253/seed238
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Norg/npcs/_700.lua
13
2993
----------------------------------- -- Area: Norg -- NPC: Oaken door (Gilgamesh's room) -- @pos 97 -7 -12 252 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings") ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
D-m-L/evonara
modules/libs/HUMP/class.lua
21
2960
--[[ Copyright (c) 2010-2013 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
AdamGagorik/darkstar
scripts/zones/Riverne-Site_B01/mobs/Bahamut.lua
7
5724
----------------------------------- -- Area: Riverne - Site B01 (BCNM) -- NM: Bahamut ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/status"); function onMobInitialise(mob) mob:setMobMod(MOBMOD_HP_STANDBACK,-1); end; ----------------------------------- -- onMob...
gpl-3.0
tahashakiba/xx
plugins/steam.lua
645
2117
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 200 local function unescape(str) str = string.gsub( str, '&lt;', '<' ) str = string.gsub( str, '&gt;', '>' ) str = string.gsub( str, '&quot;', '"' ) str...
gpl-2.0
sjznxd/lc-20130204
contrib/luasrcdiet/lua/LuaSrcDiet.lua
122
23773
#!/usr/bin/env lua --[[-------------------------------------------------------------------- LuaSrcDiet Compresses Lua source code by removing unnecessary characters. For Lua 5.1.x source code. Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net> The COPYRIGHT file describes the conditions under which thi...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/bowl_of_sprightly_soup.lua
18
1365
----------------------------------------- -- ID: 5930 -- Item: Bowl of Sprightly Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 30 -- Mind 4 -- HP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/HomePoint#3.lua
27
1256
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#3 -- @pos -52 1 16 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/homepoint"); --...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Llewellyn.lua
13
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Llewellyn -- Type: Campaign Evaluator -- @zone: 94 -- @pos -6.907 -2 42.871 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Giddeus/TextIDs.lua
15
1529
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Talacca_Cove/npcs/_1l0.lua
18
1586
----------------------------------- -- Area: Talacca_Cove -- NPC: rock slab (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Talacca_Cove/TextIDs"); require("scripts/globals/keyitems"...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Oldton_Movalpolos/npcs/Tarnotik.lua
13
1773
----------------------------------- -- Area: Oldton Movalpolos -- NPC: Tarnotik -- Type: Standard NPC -- @pos 160.896 10.999 -55.659 11 ----------------------------------- package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Oldton_Movalpolos/...
gpl-3.0
sjznxd/lc-20130204
applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua
76
1905
--[[ LuCI - Lua Configuration Interface Copyright 2011 Manuel Munz <freifunk at somakoma de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- local...
apache-2.0
sjznxd/lc-20130204
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
20
34194
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
apache-2.0
sjznxd/lc-20130204
modules/niu/luasrc/model/cbi/niu/network/lan1.lua
37
5033
--[[ LuCI - Lua Configuration Interface Copyright 2009 Steven Barth <steven@midlink.org> 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://w...
apache-2.0
sjznxd/lc-20130204
applications/luci-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua
8
6605
-- wizard rewrite wip local uci = require "luci.model.uci".cursor() local sys = require "luci.sys" local util = require "luci.util" local ip = require "luci.ip" local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk") local mesh_network = ip.IPv4(uci:get_first(community, "community", "...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/bowl_of_turtle_soup.lua
18
1544
----------------------------------------- -- ID: 4418 -- Item: Turtle Soup -- Food Effect: 3hours, All Races ----------------------------------------- -- HP + 10% (200 Cap) -- Dexterity +4 -- Vitality +6 -- Mind -3 -- HP Recovered While Healing +5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cb.lua
13
1301
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cb (Gate of Darkness) -- @pos -228 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs...
gpl-3.0
sjznxd/lc-20130204
modules/admin-full/luasrc/model/cbi/admin_status/processes.lua
85
1448
--[[ 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
Hostle/luci
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pptp.lua
25
3215
-- Copyright 2011-2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local server, username, password local defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand, mtu server = section:taboption("general", Value, "...
apache-2.0
sbuettner/kong
spec/plugins/logging_spec.lua
1
6703
local IO = require "kong.tools.io" local utils = require "kong.tools.utils" local cjson = require "cjson" local stringy = require "stringy" local spec_helper = require "spec.spec_helpers" local http_client = require "kong.tools.http_client" local STUB_GET_URL = spec_helper.STUB_GET_URL local TCP_PORT = spec_helper.fi...
mit
sbuettner/kong
kong/tools/timestamp.lua
13
1501
local luatz = require "luatz" local _M = {} function _M.get_utc() return math.floor(luatz.time()) * 1000 end function _M.get_timestamps(now) local timestamp = now and now or _M.get_utc() if string.len(tostring(timestamp)) == 13 then timestamp = timestamp / 1000 end local timetable = luatz.timetable.ne...
mit
AdamGagorik/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/Runic_Portal.lua
25
2527
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 206.500 -1.220 33.500 72 -- @pos 206.500 -1.220 6.500 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; -...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_auto_activate_hosts/mod_auto_activate_hosts.lua
1
1410
module:set_global(); local hostmanager = require"core.hostmanager"; local array = require "util.array"; local set = require "util.set"; local it = require "util.iterators"; local config = require "core.configmanager"; local function host_not_global(host) return host ~= "*"; end local function host_is_enabled(host)...
mit
AdamGagorik/darkstar
scripts/globals/items/boneworkers_belt.lua
18
1178
----------------------------------------- -- ID: 15449 -- Item: Boneworker's belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Bonecraft Skill +3 ----------------------------------------- require("scrip...
gpl-3.0
gnosygnu/luaj_xowa
test/lua/debuglib.lua
7
8693
local print,tostring,_G,pcall,ipairs,isnumber = print,tostring,_G,pcall,ipairs,isnumber local e,f,g,h,s print( 'has debug', debug~=nil ) if not debug then error( 'no debug' ) end print( '----- debug.getlocal, debug.setlocal' ) h = function(v,i,n) s = 'h-'..v..'-'..i local x1,y1 = debug.getlocal(v,i) local x2,y2 =...
mit
Aliraygan/argent
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-3.0
juesato/rnn
Repeater.lua
6
3367
------------------------------------------------------------------------ --[[ Repeater ]]-- -- Encapsulates an AbstractRecurrent instance (rnn) which is repeatedly -- presented with the same input for rho time steps. -- The output is a table of rho outputs of the rnn. --------------------------------------------------...
bsd-3-clause
AdamGagorik/darkstar
scripts/zones/Mhaura/npcs/Ekokoko.lua
13
1624
----------------------------------- -- Area: Mhaura -- NPC: Ekokoko -- Gouvernor of Mhaura -- Involved in Quest: Riding on the Clouds -- @pos -78 -24 28 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/wizards_roll.lua
3
2701
----------------------------------- -- Ability: Wizard's Roll -- Enhances magic attack for party members within area of effect -- Optimal Job: Black Mage -- Lucky Number: 5 -- Unlucky Number: 9 -- Level 58 -- -- Die Roll |No BLM |With BLM -- -------- -------- ----------- -- 1 |+4 |+14 -- 2 ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Garden_of_RuHmet/Zone.lua
13
12833
----------------------------------- -- -- Zone: The_Garden_of_RuHmet (35) -- ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Garden_of_RuHmet/TextIDs"); require("s...
gpl-3.0
fiallo1313veeee/y
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
teamactivebot/team-active
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
master00041/gpsuper
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mosy210/PERSION-BOT
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
padrinoo1/teleback
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
zlua/zLua
luasocket3.0/etc/check-links.lua
43
3363
----------------------------------------------------------------------------- -- Little program that checks links in HTML files, using coroutines and -- non-blocking I/O via the dispatcher module. -- LuaSocket sample files -- Author: Diego Nehab --------------------------------------------------------------------------...
mit
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Amutiyaal.lua
13
4626
----------------------------------- -- Area: Southern San d'Oria -- NPC: Amutiyaal -- Warp NPC (Aht Urhgan) -- @pos 116 0.1 84 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); r...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua
7
1946
----------------------------------- -- Area: Behemoth's Dominion -- HNM: King Behemoth ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action -------------------------...
gpl-3.0
ahmedbikes/fox
libs/mimetype.lua
6
2924
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/ato...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/items/hallowed_sword.lua
42
1454
----------------------------------------- -- ID: 16550 -- Hallowed Sword -- Additional Effect: Light Damage -- Enchantment: "Enlight" ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/stoneskin.lua
26
1405
----------------------------------------- -- Spell: Stoneskin ----------------------------------------- -- http://wiki.ffxiclopedia.org/wiki/Stoneskin -- Max 350 damage absorbed require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
mosy210/PERSION-BOT
plugins/sudo.lua
359
1878
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/armys_paeon_ii.lua
27
1360
----------------------------------------- -- Spell: Army's Paeon II -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,ta...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Nashmau/npcs/Kakkaroon.lua
13
2259
----------------------------------- -- Area: Nashmau -- NPC: Kakkaroon -- Standard Info NPC -- @pos 13.245 0.000 -25.307 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings...
gpl-3.0
erfanteam/tabchi
tdcli.lua
19
81371
--[[ 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 wi...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Batallia_Downs/npcs/qm2.lua
13
1495
----------------------------------- -- Area: Batallia Downs -- NPC: qm2 (???) -- Pop for the quest "Chasing Quotas" ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require("scripts/...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Bastok_Markets/npcs/Brygid.lua
25
6721
----------------------------------- -- Area: Bastok Markets -- NPC: Brygid -- Start & Finishes Quest: Brygid the Stylist & Brygid the Stylist Returns -- Involved in Quests: Riding on the Clouds -- @zone 235 -- @pos -90 -4 -108 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] =...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Matata.lua
13
1820
----------------------------------- -- Area: Windurst Woods -- NPC: Matata -- Type: Standard NPC -- @zone: 241 -- @pos 131 -5 -109 -- Involved in quest: In a Stew ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/titles"); re...
gpl-3.0
hlieberman/sysdig
userspace/sysdig/chisels/list_login_shells.lua
4
3374
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ...
gpl-2.0
sbuettner/kong
kong/api/routes/plugins_configurations.lua
13
1471
local crud = require "kong.api.crud_helpers" local syslog = require "kong.tools.syslog" local constants = require "kong.constants" return { ["/plugins_configurations"] = { GET = function(self, dao_factory) crud.paginated_set(self, dao_factory.plugins_configurations) end, PUT = function(self, dao_f...
mit
AdamGagorik/darkstar
scripts/globals/abilities/ice_maneuver.lua
35
1599
----------------------------------- -- Ability: Ice Maneuver -- Enhances the effect of ice attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p8.lua
13
1785
----------------------------------- -- Area: Misareaux Coast -- NPC: Iron Gate -- Entrance to Sacrarium ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Misareaux_Coast/...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Mount_Zhayolm/npcs/_1p3.lua
27
3556
----------------------------------- -- Area: Mount Zhayolm -- Door: Runic Seal -- @pos 703 -18 382 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Qufim/Zone.lua
13
2548
----------------------------------- -- -- Zone: Dynamis-Qufim -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; require("scripts/zones/Dynamis-Qufim/TextIDs"); ----------------------------------- -- onInitialize ----------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Melledanne.lua
13
1496
----------------------------------- -- Area: Southern San dOria -- NPC: Melledanne -- Type: Melody Minstrel NPC -- @zone: 230 -- @pos -33.194 0.000 34.662 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
hlieberman/sysdig
userspace/sysdig/chisels/iobytes_file.lua
4
1616
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ...
gpl-2.0