all: manually drop code comments with file description
This commit is contained in:
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- Adding an Ethernet connection to NetworkManager in Lua.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local GLib = lgi.GLib
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- This example changes username in a VPN profile.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local NM = lgi.NM
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- Deactivate all active connections (of certain type).
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local NM = lgi.NM
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- This example gets basic information about NetworkManager.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local NM = lgi.NM
|
||||
|
@@ -3,14 +3,13 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- This example shows how to get addresses, routes and DNS information from
|
||||
-- NMIP4Config and NMIP6Config (got out of NMDevice)
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local NM = lgi.NM
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- Getting and printing all NetworkManager connection in Lua.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local GLib = lgi.GLib
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- Getting basic information about network interfaces known to NetworkManager.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local GLib = lgi.GLib
|
||||
|
@@ -3,13 +3,12 @@
|
||||
--
|
||||
-- Copyright 2015 Red Hat, Inc.
|
||||
--
|
||||
--
|
||||
|
||||
-- This example lists Wi-Fi access points NetworkManager scanned on Wi-Fi devices.
|
||||
-- The example uses libnm library using GObject introspection via Lua lgi module.
|
||||
-- Most distribution ship the module as lua-lgi package.
|
||||
-- libnm guide: https://developer.gnome.org/libnm/1.0/
|
||||
-- Lua-lgi guide: https://github.com/pavouk/lgi/blob/master/docs/guide.md
|
||||
--
|
||||
|
||||
local lgi = require 'lgi'
|
||||
local NM = lgi.NM
|
||||
|
Reference in New Issue
Block a user