rwdziprwdwrefreshacpi 0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HowTo_Refreshacpi.txt +80 -0
- data/rwdwrefreshacpi-0.5.zip +0 -0
- data/rwdwrefreshacpi.rb +80 -0
- metadata +42 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
= Rwd Refreshacpi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
== How to Use
|
|
5
|
+
|
|
6
|
+
Install in a rwdtinker application by dropping into the zips directory of rwdtinker.
|
|
7
|
+
|
|
8
|
+
Then install the applet.
|
|
9
|
+
|
|
10
|
+
If this applet has been installed as a window version. You will click on
|
|
11
|
+
"Selection Panel" then "refreshacpi window"
|
|
12
|
+
|
|
13
|
+
==Refreshacpi
|
|
14
|
+
|
|
15
|
+
This applet will open a replacement window in this same browser screen
|
|
16
|
+
You should see that new window refresh every 5 seconds with the date and time
|
|
17
|
+
and acpi status if you have it
|
|
18
|
+
You can return to this screen by clicking on back arrows or the cancel button
|
|
19
|
+
The command to change to work on non Linux systems is in the refresh.rb file
|
|
20
|
+
|
|
21
|
+
== Progressbar demo
|
|
22
|
+
|
|
23
|
+
== Syslog tail
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
You will probably have to run ruby init.rb as root to read the syslog.log
|
|
27
|
+
|
|
28
|
+
== Apache Access and Error log tail
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
== Documents
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
when you click on a document name, the document should pop up in a
|
|
35
|
+
browser window, or in another browser tab.
|
|
36
|
+
|
|
37
|
+
== Using over a Network
|
|
38
|
+
|
|
39
|
+
To serve the application over your local LAN,change the last line in the
|
|
40
|
+
init.rb file to something like:
|
|
41
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
|
42
|
+
Then you should be able to login at: http://yourhostname:8080
|
|
43
|
+
|
|
44
|
+
You have to authorize yourself. The .rwuids example is a string with
|
|
45
|
+
the name of the authorization file, relative to the home directory
|
|
46
|
+
of the user that started the service. This file has to be in the form of:
|
|
47
|
+
|
|
48
|
+
user1 = password
|
|
49
|
+
user2 = pass phrase
|
|
50
|
+
|
|
51
|
+
Thus the file .rwduids might contain:
|
|
52
|
+
|
|
53
|
+
erik = secret
|
|
54
|
+
|
|
55
|
+
== Contacts
|
|
56
|
+
For more information see:
|
|
57
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
For more information about RubyWebDialogs see:
|
|
61
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
62
|
+
|
|
63
|
+
Thanks, Steven Gibson
|
|
64
|
+
|
|
65
|
+
== Changelog
|
|
66
|
+
version 0.5
|
|
67
|
+
added unix fortune window
|
|
68
|
+
added jump to rwdrefresh tab at selectiontab
|
|
69
|
+
added return to main from back window
|
|
70
|
+
|
|
71
|
+
version 0.4
|
|
72
|
+
updated for rwdtinker 1.44
|
|
73
|
+
|
|
74
|
+
version 0.3
|
|
75
|
+
updated for rwdtinker 1.4
|
|
76
|
+
added syslog tail
|
|
77
|
+
added apache tail
|
|
78
|
+
|
|
79
|
+
Version 0.2
|
|
80
|
+
a bug fix to run correctly.
|
|
Binary file
|
data/rwdwrefreshacpi.rb
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
= Rwd Refreshacpi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
== How to Use
|
|
5
|
+
|
|
6
|
+
Install in a rwdtinker application by dropping into the zips directory of rwdtinker.
|
|
7
|
+
|
|
8
|
+
Then install the applet.
|
|
9
|
+
|
|
10
|
+
If this applet has been installed as a window version. You will click on
|
|
11
|
+
"Selection Panel" then "refreshacpi window"
|
|
12
|
+
|
|
13
|
+
==Refreshacpi
|
|
14
|
+
|
|
15
|
+
This applet will open a replacement window in this same browser screen
|
|
16
|
+
You should see that new window refresh every 5 seconds with the date and time
|
|
17
|
+
and acpi status if you have it
|
|
18
|
+
You can return to this screen by clicking on back arrows or the cancel button
|
|
19
|
+
The command to change to work on non Linux systems is in the refresh.rb file
|
|
20
|
+
|
|
21
|
+
== Progressbar demo
|
|
22
|
+
|
|
23
|
+
== Syslog tail
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
You will probably have to run ruby init.rb as root to read the syslog.log
|
|
27
|
+
|
|
28
|
+
== Apache Access and Error log tail
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
== Documents
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
when you click on a document name, the document should pop up in a
|
|
35
|
+
browser window, or in another browser tab.
|
|
36
|
+
|
|
37
|
+
== Using over a Network
|
|
38
|
+
|
|
39
|
+
To serve the application over your local LAN,change the last line in the
|
|
40
|
+
init.rb file to something like:
|
|
41
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
|
42
|
+
Then you should be able to login at: http://yourhostname:8080
|
|
43
|
+
|
|
44
|
+
You have to authorize yourself. The .rwuids example is a string with
|
|
45
|
+
the name of the authorization file, relative to the home directory
|
|
46
|
+
of the user that started the service. This file has to be in the form of:
|
|
47
|
+
|
|
48
|
+
user1 = password
|
|
49
|
+
user2 = pass phrase
|
|
50
|
+
|
|
51
|
+
Thus the file .rwduids might contain:
|
|
52
|
+
|
|
53
|
+
erik = secret
|
|
54
|
+
|
|
55
|
+
== Contacts
|
|
56
|
+
For more information see:
|
|
57
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
For more information about RubyWebDialogs see:
|
|
61
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
62
|
+
|
|
63
|
+
Thanks, Steven Gibson
|
|
64
|
+
|
|
65
|
+
== Changelog
|
|
66
|
+
version 0.5
|
|
67
|
+
added unix fortune window
|
|
68
|
+
added jump to rwdrefresh tab at selectiontab
|
|
69
|
+
added return to main from back window
|
|
70
|
+
|
|
71
|
+
version 0.4
|
|
72
|
+
updated for rwdtinker 1.44
|
|
73
|
+
|
|
74
|
+
version 0.3
|
|
75
|
+
updated for rwdtinker 1.4
|
|
76
|
+
added syslog tail
|
|
77
|
+
added apache tail
|
|
78
|
+
|
|
79
|
+
Version 0.2
|
|
80
|
+
a bug fix to run correctly.
|
metadata
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
rubygems_version: 0.8.4
|
|
3
|
+
specification_version: 1
|
|
4
|
+
name: rwdziprwdwrefreshacpi
|
|
5
|
+
version: !ruby/object:Gem::Version
|
|
6
|
+
version: "0.5"
|
|
7
|
+
date: 2005-02-10
|
|
8
|
+
summary: rwdziprwdwrefreshacpi is a Linux log reading application using rwdtinker and RubyWebDialogs. Requires rwdtinker >1.51
|
|
9
|
+
require_paths:
|
|
10
|
+
- "."
|
|
11
|
+
email: steven@superant.com
|
|
12
|
+
homepage: http://rubyforge.org/projects/rwdapplications/
|
|
13
|
+
rubyforge_project: rwdapplications
|
|
14
|
+
description: rwdziprwdwrefreshacpi is a Linux log reading application using rwdtinker and RubyWebDialogs. Requires rwdtinker >1.51rwdcalc is calculator rwdtinker and RubyWebDialogs
|
|
15
|
+
autorequire:
|
|
16
|
+
default_executable:
|
|
17
|
+
bindir: bin
|
|
18
|
+
has_rdoc: true
|
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
-
|
|
22
|
+
- ">"
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: 0.0.0
|
|
25
|
+
version:
|
|
26
|
+
platform: ruby
|
|
27
|
+
authors: []
|
|
28
|
+
files:
|
|
29
|
+
- rwdwrefreshacpi-0.5.zip
|
|
30
|
+
- HowTo_Refreshacpi.txt
|
|
31
|
+
- rwdwrefreshacpi.rb
|
|
32
|
+
test_files: []
|
|
33
|
+
rdoc_options:
|
|
34
|
+
- "--main"
|
|
35
|
+
- HowTo_Refreshacpi.txt
|
|
36
|
+
extra_rdoc_files:
|
|
37
|
+
- HowTo_Refreshacpi.txt
|
|
38
|
+
executables: []
|
|
39
|
+
extensions: []
|
|
40
|
+
requirements:
|
|
41
|
+
- rwdtinker > 1.51
|
|
42
|
+
dependencies: []
|