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 |
|---|---|---|---|---|---|
Mashape/kong | spec/02-integration/05-proxy/18-client_certificate_spec.lua | 1 | 3638 | local helpers = require "spec.helpers"
local ssl_fixtures = require "spec.fixtures.ssl"
local fixtures = {
http_mock = {
upstream_mtls = [[
server {
server_name example.com;
listen 16798 ssl;
ssl_certificate ../spec/fixtures/mtls_certs/example.com.crt;
ssl_c... | apache-2.0 |
nesstea/darkstar | scripts/zones/Dynamis-Beaucedine/Zone.lua | 21 | 2557 | -----------------------------------
--
-- Zone: Dynamis-Beaucedine
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Beaucedine/TextIDs");
--------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua | 7 | 1744 | -----------------------------------
-- Area: Yuhtunga Jungle
-- MOB: Rose Garden
-----------------------------------
-----------------------------------
function onMobSpawn(mob)
local Voluptuous_Vilma = 17281358;
GetMobByID(Voluptuous_Vilma):setLocalVar("1",os.time() + math.random((36000), (37800)));
end;
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/Dehlner.lua | 13 | 1196 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dehlner
-- Standard Info NPC
-- Invlolved in Quest: A Foreman's Best Friend
-----------------------------------
require("scripts/globals/quests");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/marron_glace.lua | 18 | 1319 | -----------------------------------------
-- ID: 4502
-- Item: Marron Glace
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 85
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Delkfutts_Tower/Zone.lua | 13 | 3845 | -----------------------------------
--
-- Zone: Lower_Delkfutts_Tower (184)
--
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/globals/miss... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/commands/givexp.lua | 27 | 1213 | ---------------------------------------------------------------------------------------------------
-- func: @givexp <amount> <player>
-- desc: Gives the GM or target player experience points.
---------------------------------------------------------------------------------------------------
cmdprops =
{
pe... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bowl_of_ocean_soup.lua | 18 | 1899 | -----------------------------------------
-- ID: 4285
-- Item: bowl_of_ocean_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP 5
-- Dexterity 4
-- Mind -3
-- HP Recovered While Healing 9
-- Attack % 14 (cap 65)
-- Ranged Attack % 14 (cap 65)
---------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Galzweesh.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Galzweesh
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Boneyard_Gully/bcnms/head_wind.lua | 13 | 1700 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: head_wind
-- BCNM: 672
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Boneyard_Gully/TextIDs"... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Polar_Bulwark.lua | 27 | 1037 | ---------------------------------------------
-- Polar Bulwark
--
-- Description: Grants a Magic Shield effect for a time.
-- Type: Enhancing
--
-- Range: Self
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/Zone.lua | 28 | 1342 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis_[S] (175)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Eldieme_Necropol... | gpl-3.0 |
akdor1154/awesome | lib/menubar/icon_theme.lua | 4 | 8699 | ---------------------------------------------------------------------------
--- Class module for icon lookup for menubar
--
-- @author Kazunobu Kuriyama
-- @copyright 2015 Kazunobu Kuriyama
-- @release @AWESOME_VERSION@
-- @classmod menubar.icon_theme
--------------------------------------------------------------------... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua | 27 | 1396 | -----------------------------------
-- Area: Kuftal Tunnel (173)
-- Mob: Phantom Worm
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
local npc = GetNPCByID(17490254);
npc:hideNPC(900);
local randpos =... | gpl-3.0 |
ennis/autograph-pipelines | resources/scripts/pl/utils.lua | 2 | 16579 | --- Generally useful routines.
-- See @{01-introduction.md.Generally_useful_functions|the Guide}.
-- @module pl.utils
local format,gsub,byte = string.format,string.gsub,string.byte
local compat = require 'pl.compat'
local clock = os.clock
local stdout = io.stdout
local append = table.insert
local unpack = rawget(_G,'u... | mit |
Xileck/forgottenserver | data/global.lua | 18 | 6348 | dofile('data/lib/lib.lua')
STORAGEVALUE_PROMOTION = 30018
ropeSpots = {384, 418, 8278, 8592, 13189, 14435, 14436, 15635, 19518}
doors = {[1209] = 1211, [1210] = 1211, [1212] = 1214, [1213] = 1214, [1219] = 1220, [1221] = 1222, [1231] = 1233, [1232] = 1233, [1234] = 1236, [1235] = 1236, [1237] = 1238, [1239] = 1240, ... | gpl-2.0 |
ruisebastiao/nodemcu-firmware | tools/build.lua | 48 | 28446 | -- eLua build system
module( ..., package.seeall )
local lfs = require "lfs"
local sf = string.format
utils = require "tools.utils"
-------------------------------------------------------------------------------
-- Various helpers
-- Return the time of the last modification of the file
local function get_ftime( pat... | mit |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Numa.lua | 36 | 1824 | -----------------------------------
-- Area: Port Bastok
-- NPC: Numa
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-... | gpl-3.0 |
nesstea/darkstar | scripts/globals/porter_moogle_util.lua | 13 | 27590 | -----------------------------------
-- Porter Moogle Utilities
-- desc: Common functionality for Porter Moogles.
-----------------------------------
require("scripts/globals/common");
-- Item IDs for all of the slips.
local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,... | gpl-3.0 |
Xileck/forgottenserver | data/lib/compat/compat.lua | 1 | 33274 | TRUE = true
FALSE = false
result.getDataInt = result.getNumber
result.getDataLong = result.getNumber
result.getDataString = result.getString
result.getDataStream = result.getStream
LUA_ERROR = false
LUA_NO_ERROR = true
STACKPOS_GROUND = 0
STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1
STACKPOS_SECOND_ITEM_ABOVE_GROUNDTILE... | gpl-2.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/actions/xcode/_xcode.lua | 7 | 1428 | --
-- _xcode.lua
-- Define the Apple XCode action and support functions.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
premake.xcode = { }
newaction
{
trigger = "xcode3",
shortname = "Xcode 3",
description = "Generate Apple Xcode 3 project files (experimental)",
os ... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/Griselda.lua | 34 | 1892 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Griselda
-- Standard Merchant NPC
-- @pos -25.749 -0.044 52.360 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("s... | gpl-3.0 |
hhrhhr/Lua-utils-for-X-Rebirth | lua/xmlhandler/tree.lua | 1 | 5067 | local function init()
local obj = {
root = {},
options = {noreduce = {}}
}
obj._stack = {obj.root, n=1}
return obj
end
--- @module XML Tree Handler.
-- Generates a lua table from an XML content string.
-- It is a simplified handler which attempts
-- to generate a more 'natural'... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/La_Theine_Plateau/Zone.lua | 6 | 5851 | -----------------------------------
--
-- Zone: La_Theine_Plateau (102)
--
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_expression2/core/custom/tracesystem.lua | 2 | 45389 | /***********************************************************************************************************************
Credits
Feha - I am coding the stuff
gmod lua wiki - they got a list of functions you can use.
Inspired by the e2 extensions: holo, datasignals, gvars, entity and ranger.
***************... | gpl-3.0 |
nesstea/darkstar | scripts/globals/effects/addendum_black.lua | 65 | 2045 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect:get... | gpl-3.0 |
nesstea/darkstar | scripts/globals/effects/dark_arts.lua | 65 | 2045 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect:get... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua | 13 | 1060 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mhoti Pyiahrs
-- Type: Allegiance
-- @zone: 94
-- @pos 6.356 -2 26.677
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/hot_shot.lua | 11 | 1351 | -----------------------------------
-- Hot Shot
-- Marksmanship weapon skill
-- Skill Level: 5
-- Deals fire elemental damage to enemy.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: Fire
-- Modifiers: AGI:30%
-- 100%TP 200%TP 300%TP
-- 0.50 0.75 ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Frost/bcnms/class_reunion.lua | 30 | 1515 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Class Reunion
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Cloister_of_Frost/TextIDs");
-----------------------------------
--... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/saline_coat.lua | 26 | 1336 | -----------------------------------------
-- Spell: Saline Coat
-- Enhances magic defense
-- Spell cost: 66 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2, AGI+2, MP+10
-- Level: 72
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 60 seconds
-... | gpl-3.0 |
magnetophon/.dot | common/.config/mpv/scripts/reload.lua | 1 | 4509 | -- reload.lua
--
-- When an online video is stuck buffering or got very slow CDN
-- source, restarting often helps. This script provides automatic
-- reloading of videos that doesn't have buffering progress for some
-- time while keeping the current time position. It also adds `Ctrl+r`
-- keybinding to reload video man... | gpl-2.0 |
FailcoderAddons/supervillain-ui | SVUI_Auras/Loader.lua | 2 | 8121 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/strip_of_smoked_mackerel.lua | 36 | 1154 | -----------------------------------------
-- ID: 5943
-- Item: Strip of Smoked Mackerel
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lufaise_Meadows/mobs/Colorful_Leshy.lua | 8 | 1886 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Colorful Leshy
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
local Defoliate_Leshy = 16875763;
GetMobByID(Defoliate_Leshy):setLocalVar("1"... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/shiranui.lua | 15 | 1514 | -----------------------------------------
-- ID: 17774
-- Item: Shiranui
-- Additional Effect: Light Damage (night time only)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
funct... | gpl-3.0 |
Mashape/kong | kong/api/endpoints.lua | 1 | 21702 | local Errors = require "kong.db.errors"
local utils = require "kong.tools.utils"
local arguments = require "kong.api.arguments"
local app_helpers = require "lapis.application"
local kong = kong
local escape_uri = ngx.escape_uri
local unescape_uri = ngx.unescape_uri
local tonumber = tonu... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/HomePoint#3.lua | 11 | 1186 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#3
-- @pos 87 7 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/TextIDs");
require("scripts/globals/homepoint");
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/slice_of_lynx_meat.lua | 18 | 1292 | -----------------------------------------
-- ID: 5667
-- Item: Slice of Lynx Meat
-- Food Effect: 5 Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
plajjan/snabbswitch | lib/pflua/tests/pfquickcheck/pflang_math.lua | 25 | 2387 | #!/usr/bin/env luajit
module(..., package.seeall)
local io = require("io")
local codegen = require("pf.backend")
local expand = require("pf.expand")
local parse = require("pf.parse")
local pfcompile = require("pfquickcheck.pfcompile")
local libpcap = require("pf.libpcap")
local bpf = require("pf.bpf")
local utils = re... | apache-2.0 |
dpino/snabbswitch | lib/pflua/tests/pfquickcheck/pflang_math.lua | 25 | 2387 | #!/usr/bin/env luajit
module(..., package.seeall)
local io = require("io")
local codegen = require("pf.backend")
local expand = require("pf.expand")
local parse = require("pf.parse")
local pfcompile = require("pfquickcheck.pfcompile")
local libpcap = require("pf.libpcap")
local bpf = require("pf.bpf")
local utils = re... | apache-2.0 |
nesstea/darkstar | scripts/zones/Korroloka_Tunnel/npcs/Excavation_Point.lua | 13 | 1081 | -----------------------------------
-- Area: Korroloka Tunnel
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Korroloka_Tunnel/TextIDs");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Naja_Salaheem.lua | 8 | 2579 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Naja Salaheem
-- Type: Standard NPC
-- @pos 22.700 -8.804 -45.591 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missio... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Olbergieut.lua | 19 | 2257 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Olbergieut
-- Type: Quest NPC
-- @zone 231
-- @pos 91 0 121
--
-- Starts and Finishes Quest: Gates of Paradise
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Aramu-Paramu.lua | 36 | 1648 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Aramu-Paramu
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/mobs/Praetorian_Guard_CCCXI.lua | 17 | 1194 | -----------------------------------
-- Area: Temenos N T
-- NPC: Praetorian_Guard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/pastebin.lua | 7 | 4234 | --[[ This program allows downloading and uploading from and to pastebin.com.
Authors: Sangar, Vexatos ]]
local component = require("component")
local fs = require("filesystem")
local internet = require("internet")
local shell = require("shell")
if not component.isAvailable("internet") then
io.stderr:write("This... | mit |
vonflynee/opencomputersserver | world/opencomputers/05fe03dc-84c6-416b-a304-6f79787f6411/bin/pastebin.lua | 7 | 4234 | --[[ This program allows downloading and uploading from and to pastebin.com.
Authors: Sangar, Vexatos ]]
local component = require("component")
local fs = require("filesystem")
local internet = require("internet")
local shell = require("shell")
if not component.isAvailable("internet") then
io.stderr:write("This... | mit |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/framework/extends/UIListView.lua | 55 | 2358 |
--[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/cocos2d/Cocos2dConstants.lua | 15 | 16056 |
cc = cc or {}
cc.SPRITE_INDEX_NOT_INITIALIZED = 0xffffffff
cc.TMX_ORIENTATION_HEX = 0x1
cc.TMX_ORIENTATION_ISO = 0x2
cc.TMX_ORIENTATION_ORTHO = 0x0
cc.Z_COMPRESSION_BZIP2 = 0x1
cc.Z_COMPRESSION_GZIP = 0x2
cc.Z_COMPRESSION_NONE = 0x3
cc.Z_COMPRESSION_ZLIB = 0x0
cc.BLEND_DST = 0x303
cc.BLEND_SRC = 0x1... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/plate_of_squid_sushi.lua | 35 | 1598 | -----------------------------------------
-- ID: 5148
-- Item: plate_of_squid_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Mind -1
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 6 | 4757 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rolanberry_Fields/TextIDs");
require("scripts/globals/icanheararainbow");
... | gpl-3.0 |
milkmanjack/lama | src/global/Nanny.lua | 1 | 7274 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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 3 of the License, or
(at your option) ... | gpl-3.0 |
plntyk/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua | 58 | 2753 | local ubus = require "ubus"
local iwinfo = require "iwinfo"
local function scrape()
local metric_wifi_stations = metric("wifi_stations", "gauge")
local metric_wifi_station_signal = metric("wifi_station_signal_dbm","gauge")
local metric_wifi_station_inactive = metric('wifi_station_inactive_milliseconds', 'gauge... | gpl-2.0 |
zuzuf/TA3D | src/ta3d/src/luajit/dynasm/dynasm.lua | 73 | 30945 | ------------------------------------------------------------------------------
-- DynASM. A dynamic assembler for code generation engines.
-- Originally designed and implemented for LuaJIT.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- See below for full copyright notice.
----------------------------... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Kyume-Romeh.lua | 13 | 3411 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kyume-Romeh
-- Involved In Quest: Making Headlines, Hat in Hand
-- @pos -58 -4 23 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/autorun/widgets/list.lua | 1 | 4416 | ------------------------------------------------- List ----------------------------------------------------------
panelWidget["list"] = {
name = "list",
realName = "List Box",
wireType = 2,
paramTable = { fontSize = {index = 1, default = 2, realName = "Font Size:", stool = {stype = 1, smin = 1, smax = 15, nt... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Sieglinde.lua | 32 | 1749 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sieglinde
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
req... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/dscale.lua | 4 | 3313 | TOOL.Category = "Wire Extras/Obsolete"
TOOL.Name = "Damage Scale"
TOOL.Tab = "Wire"
TOOL.Command = nil
TOOL.ConfigName = ""
if ( CLIENT ) then
language.Add( "Tool.dscale.name", "Damage Scale Tool (Wire)" )
language.Add( "Tool.dscale.desc", "Spawns a Scale" )
language.Add( "Tool.dscale.0", "... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Rasdinice.lua | 19 | 1072 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rasdinice
-- @zone 80
-- @pos -8 1 35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
milkmanjack/lama | src/obj/Map.lua | 1 | 5289 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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 3 of the License, or
(at your option) ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Castle_Oztroja/npcs/_m74.lua | 13 | 2224 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m74 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -59.525 -72.320 -62.379 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Nokkhi_Jinjahl.lua | 13 | 13181 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Nokkhi Jinjahl
-- Type: Travelling Merchant NPC / NPC Quiver Maker / San d'Oria 1st Place
-- @zone: 230
-- @pos 24.829 0.978 -13.110
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 25 | 6806 | --[[-----------------------------------------------------------------------------
Keybinding Widget
Set Keybindings in the Config UI.
-------------------------------------------------------------------------------]]
local Type, Version = "Keybinding", 25
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | mit |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Forine.lua | 27 | 1121 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Forine
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -52.677 -0.501 -26.299
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/entities/ent_weapon_th_glock/init.lua | 1 | 1178 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
-------------------------------------
-- Weapon Glock spawning.
-------------------------------------
AddCSLuaFile('cl_init.lua')
AddCSLuaFile('shared.lua')
include('shared.lua')
-- Define a global variable to ease calling base class me... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnPlayerPlacedBlock.lua | 36 | 1637 | return
{
HOOK_PLAYER_PLACED_BLOCK =
{
CalledWhen = "After a player has placed a block. Notification only.",
DefaultFnName = "OnPlayerPlacedBlock", -- also used as pagename
Desc = [[
This hook is called after a {{cPlayer|player}} has placed a block in the {{cWorld|world}}. The block
is already added to th... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Lumomo.lua | 12 | 2828 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Lumomo
-- Type: Standard NPC
-- @zone: 238
-- @pos -55.770 -5.499 18.914
-- 0x027e 0x0332 0x0334 0x0336 0x0337
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Wind... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua | 12 | 1770 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yung Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Walls/npcs/_6n2.lua | 12 | 5603 | -----------------------------------
-- Area: Windurst Walls
-- Door: House of the Hero
-- Involved in Mission 2-1
-- Involved In Quest: Know One's Onions, Onion Rings, The Puppet Master, Class Reunion
-- @pos -26 -13 260 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Carpenters_Landing/npcs/Logging_Point.lua | 29 | 1116 | -----------------------------------
-- Area: Carpenters Landing
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Carpenters_Landing/Text... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Kurou-Morou.lua | 25 | 5570 | -----------------------------------
-- Area: Lower Jeuno
-- Starts and Finishes Quest: Your Crystal Ball & Never to return
-- @pos -4 -6 -28 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/bcnms/dynamis_xarcabard.lua | 21 | 1443 | -----------------------------------
-- Area: Dynamis Xarcabard
-- Name: Dynamis Xarcabard
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaXarcabard]UniqueID",player:getDynamisUniqueID(1285));
SetSer... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Raifa.lua | 38 | 1026 | -----------------------------------
-- Area: Port Bastok
-- NPC: Raifa
-- Type: Quest Giver
-- @zone: 236
-- @pos -166.416 -8.48 7.153
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Cavernous_Maw.lua | 58 | 1890 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Cavernous Maw
-- @pos -334 -24 52
-- Teleports Players to Abyssea - Attohwa
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Cyumus/NutScript | gamemode/core/sh_util.lua | 1 | 24654 | -- Includes a file from the prefix.
function nut.util.include(fileName, state)
if (!fileName) then
error("[NutScript] No file name specified for including.")
end
-- Only include server-side if we're on the server.
if ((state == "server" or fileName:find("sv_")) and SERVER) then
include(fileName)
-- Shared is... | mit |
nesstea/darkstar | scripts/zones/Davoi/npcs/!.lua | 13 | 2631 | -----------------------------------
-- Area: Davoi
-- NPC: !
-- Involved in Mission: The Davoi Report
-- @pos 164 0.1 -21 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyit... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/effects/accuracy_boost.lua | 19 | 1087 | -----------------------------------
--
-- EFFECT_ACCURACY_BOOST
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if(effect:getPower()>100) then
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Temenos/mobs/Praetorian_Guard_CCCXI.lua | 7 | 1182 | -----------------------------------
-- Area: Temenos N T
-- NPC: Praetorian_Guard
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/cherry_muffin_+1.lua | 18 | 1296 | -----------------------------------------
-- ID: 5654
-- Item: Cherry Muffin
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Intelligence 2
-- MP % 10 (cap 85)
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Palborough_Mines/npcs/_3za.lua | 13 | 1505 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lid
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/mobs/Kindred_Warrior.lua | 17 | 1111 | -----------------------------------
-- Area: Temenos N T
-- NPC: Kindred_Warrior
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Cavernous_Maw.lua | 29 | 1472 | -----------------------------------
-- Area: North Gustaberg [S]
-- NPC: Cavernous Maw
-- @pos 466 0 479 88
-- Teleports Players to North Gustaberg
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Horlais_Peak/bcnms/the_secret_weapon.lua | 27 | 2322 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 7
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/berry_snowcone.lua | 39 | 1200 | -----------------------------------------
-- ID: 5710
-- Item: Berry Snowcone
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- MP % 30 Cap 30
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/serving_of_flounder_meuniere.lua | 18 | 1572 | -----------------------------------------
-- ID: 4584
-- Item: serving_of_flounder_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 6
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 25
-- Enmity -3
-----------------------------------------
require("scri... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Halvung/npcs/qm2.lua | 8 | 1156 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Dextrose(ZNM T2))
-- @pos -144 11 464 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
-----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Prestapiq.lua | 36 | 1606 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Prestapiq
-- Only sells when Windurst controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Cloister_of_Tides/bcnms/trial_by_water.lua | 13 | 1766 | -----------------------------------
-- Area: Cloister of Tides
-- BCNM: Trial by Water
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
hongzhen/cbsd | cbsd.lua | 3 | 2614 | product="CBSD"
myversion="10.2.0"
if not workdir then
print ( "no workdir" )
os.exit(1)
end
distdir="/usr/local/cbsd"
subr= workdir .. "/nc.lua"
nodenamefile= workdir .. "/nodename"
settingstui= workdir .. "/settings-tui.subr"
dialog= workdir .. "/dialog.subr"
tools= workdir .. "/tools.subr"
mdtools= workdir .. "/m... | bsd-2-clause |
dpino/snabbswitch | lib/ljsyscall/syscall/netbsd/ffitypes.lua | 24 | 15760 | -- This is types for NetBSD and rump kernel, which are the same bar names.
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, t... | apache-2.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/lib/keyboard.lua | 13 | 4645 | local keyboard = {pressedChars = {}, pressedCodes = {}}
keyboard.keys = {
["1"] = 0x02,
["2"] = 0x03,
["3"] = 0x04,
["4"] = 0x05,
["5"] = 0x06,
["6"] = 0x07,
["7"] = 0x08,
["8"] = 0x09,
["9"] = 0x0A,
["0"] ... | mit |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Corbrere.lua | 38 | 1046 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Corbrere
-- Type: Standard NPC
-- @zone: 94
-- @pos -46.925 -4.5 49.006
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/split_shot.lua | 11 | 1573 | -----------------------------------
-- Split Shot
-- Marksmanship weapon skill
-- Skill Level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% @ 100TP, 35% @ 200TP and 50% @ 300TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light ... | gpl-3.0 |
ld-test/fun-alloyed | tests/generators.lua | 5 | 3254 | --------------------------------------------------------------------------------
-- range
--------------------------------------------------------------------------------
dump(range(0))
print('--')
for i=1,0 do print(i) end
--[[test
--
--test]]
dump(range(0, 0))
print('--')
for i=0,0 do print(i) end
--[[test
0
--
0
-... | mit |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua | 38 | 1038 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Panna-Donna
-- Type: Mission NPC
-- @zone: 238
-- @pos -57.502 -6 229.571
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/Raifa.lua | 12 | 1041 | -----------------------------------
-- Area: Port Bastok
-- NPC: Raifa
-- Type: Quest Giver
-- @zone: 236
-- @pos -166.416 -8.48 7.153
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
error454/SteamShiva | Resources/Scripts/SteamworksAI_Handler_onAchievementStored.lua | 1 | 1031 | --------------------------------------------------------------------------------
-- Handler.......... : onAchievementStored
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
---------------------------------------------------------------... | mit |
Irubataru/dotfiles | roles/neovim/config/lua/irubataru/plugins.lua | 1 | 18171 | local fn = vim.fn
-- Automatically install packer
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
PACKER_BOOTSTRAP = fn.system({
"git",
"clone",
"--depth",
"1",
"https://github.com/wbthomason/packer.nvim",
install_pa... | mit |
dpino/snabbswitch | lib/ljsyscall/syscall/linux/x86/ffi.lua | 24 | 1567 | -- x86 specific definitions
return {
ucontext = [[
typedef int greg_t, gregset_t[19];
typedef struct _fpstate {
unsigned long cw, sw, tag, ipoff, cssel, dataoff, datasel;
struct {
unsigned short significand[4], exponent;
} _st[8];
unsigned long status;
} *fpregset_t;
typedef struct {
gregset_t gregs;
... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.