all: manually drop code comments with file description
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env gjs
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
/*
|
||||
* Copyright 2014,2017 Red Hat, Inc.
|
||||
*/
|
||||
|
@@ -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
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#
|
||||
# Copyright 2014 Red Hat, Inc.
|
||||
#
|
||||
|
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#
|
||||
# Copyright 2017 Red Hat, Inc.
|
||||
#
|
||||
|
||||
import sys
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#
|
||||
# Copyright 2015 Red Hat, Inc.
|
||||
#
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2012 Red Hat, Inc.
|
||||
#
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2016 Red Hat, Inc.
|
||||
#
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2015 Red Hat, Inc.
|
||||
#
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
#
|
||||
# Copyright 2014 Red Hat, Inc.
|
||||
#
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#
|
||||
# Copyright 2012 - 2014 Red Hat, Inc.
|
||||
#
|
||||
|
@@ -2,6 +2,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright 2018 - 2019 Red Hat, Inc.
|
||||
#
|
||||
|
||||
# nm-wg-set: modify an existing WireGuard connection profile.
|
||||
#
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#
|
||||
# Copyright 2017 Red Hat, Inc.
|
||||
#
|
||||
|
||||
#
|
||||
# set and show user-data for a connection:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# coding=utf-8
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat, Inc.
|
||||
#
|
||||
|
Reference in New Issue
Block a user