Sponsored Content
The Lounge What is on Your Mind? New UNIX and Linux History Sections Post 303035522 by Neo on Monday 27th of May 2019 07:32:08 AM
Old 05-27-2019
Update:
(11 down, maybe 89 more to go...)

Added Linus Torvalds and a rough list of various Unix-like flavors, and simplified the PHP plugin:

Code:
<?php
$rand = mt_rand(0, 10);

$flavs = array(
    'unix_linux_history',
    'linux_unix_history',
    'red_hat_history', 
    'ubuntu_history', 
    'gnu_history', 
    'man_page_history',
    'ken_thompson_history', 
    'dennis_ritchie_history', 
    'linus_torvalds_history', 
    'unix_flavors_history',
    'brian_kernighan_history');

$flav = $flavs["$rand"];
eval('$history_div_for_users = "' . fetch_template($flav) . '";');

Note:

You can easily see these "historical sections" on any tags search result at the bottom of the page; for example linux:

Code:
https://www.unix.com/tags/linux.html

Just reload the page to view the various random "historical" entries.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix History Question: Why are filenames/dirnames case sentsitive in Unix?

I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies

2. Solaris

unix command history

is there any way to determine the last command entered on a unix machine??? Thanx (3 Replies)
Discussion started by: mm00123
3 Replies

3. SuSE

Linux SuSE 10 - Disable Unsuccessful Login History.

When we login to any remote connections in SuSE Linux, say for example, telnet , the following line is displayed "Last Login : Date and time is displayed" I would like to disable this. In SuSE 9, I could find the solution . Please suggest me a solution to disable the line displayed for SuSE... (3 Replies)
Discussion started by: Laksmi
3 Replies

4. Shell Programming and Scripting

stop users from running 'history -c' in Linux

Hi All, My question is how can i stop my users on system from deleting their history. How can i stop the users from running 'history -c'. I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem. kindly help if you any suggestions Thanx in... (3 Replies)
Discussion started by: xander
3 Replies

5. UNIX and Linux Applications

Unix History

Hi everybody Im Megadrink!!! This is my first thred. Ive recently been introduced to Unix and i was interested in Unix's History. Can anyone give me a breif History On Unix. Just when it was invented/released. Maybe someother cool things about it. Thx for the information in advance!! :D (2 Replies)
Discussion started by: Megadrink
2 Replies

6. Linux

History of executed command in Linux

Hi All, Is there a way to check command executed by users in Linux for a specific date? I know we can use history, but it doesn't shows yesterday's executed commands. rgds, (3 Replies)
Discussion started by: ronny_nch
3 Replies

7. UNIX for Dummies Questions & Answers

How to clear history in Linux

Hello All, Good Morning. I am trying to erase history list in my linux box, but my below command is failing. What is the actual way to clear it? > history clear -bash: history: clear: numeric argument required Also when I run my commands in my command prompt, my team lead can see my... (7 Replies)
Discussion started by: NARESH1302
7 Replies

8. Shell Programming and Scripting

History file in UNIX

commands to view the history file in unix. I am not sure whether it is bash_history.sh (1 Reply)
Discussion started by: ramkumar15
1 Replies

9. What is on Your Mind?

The Great History of UNIX (1969-1999) | 30 Years of UNIX History | YouTube Video

I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX. The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies

10. UNIX for Advanced & Expert Users

How to find out and monitor IO spikes history in Linux?

hello all i have application which according to AWS monitoring is reaching to high spikes of IO at random time . and causing the server to crash and restart . my question is how can i find out what cause the spike and if i can't with the native linux tools what free open source minimon... (6 Replies)
Discussion started by: umen
6 Replies
Jifty::ClassLoader(3pm) 				User Contributed Perl Documentation				   Jifty::ClassLoader(3pm)

NAME
Jifty::ClassLoader - Loads the application classes DESCRIPTION
"Jifty::ClassLoader" loads all of the application's model and action classes, generating classes on the fly for Collections of pre-existing models. new Returns a new ClassLoader object. Doing this installs a hook into @INC that allows Jifty::ClassLoader to dynamically create needed classes if they do not exist already. This works because if use/require encounters a blessed reference in @INC, it will invoke the INC method with the name of the module it is searching for on the reference. Takes one mandatory argument, "base", which should be the the application's or a plugin's base path; all of the classes under this will be automatically loaded. Jifty::ClassLoader objects are singletons per "base". If you call "new" and a class loader for the given base has already been initialized, this will return a reference to that object rather than creating a new one. INC The hook that is called when a module has been "require"'d that cannot be found on disk. The following stub classes are auto-generated the class loader. Here the "Application" indicates the name of the application the class loader is being applied to. However, this really just refers to the "base" argument passed to the constructor, so it could refer to a plugin class or just about anything else. Application An empty application base class is created that doesn't provide any methods or inherit from anything. Application::Action An empty mixin class for all actions in your application. Should not inherit from Jifty::Action. Application::Action::[Verb][Something] If Application::Model::Something is a valid model class and Verb is one of "Create", "Search", "Update", "Execute", or "Delete", then it creates a subclass of Application::Action::Record::Verb Models can control which actions are generated by overriding "autogenerate_action" in Jifty::Record. See also "is_private" in Jifty::Record and "is_protected" in Jifty::Record. Application::Action::Something The class loader will search for a plugin Plugin such that "Plugin::Action::Something" exists. It will then create an empty class named Application::Action::Something that descends from Plugin::Action::Something. This means that a plugin may be written to allow the application to override the default implementation used by the plugin as long as the plugin uses the application version of the class. Application::Action::Record::Something An empty class that descends from the matching Jifty class, Jifty::Action::Record::Something. This is generally used to build application-specific descendants of Jifty::Action::Record::Create, Jifty::Action::Record::Execute, Jifty::Action::Record::Search, Jifty::Action::Record::Update, or Jifty::Action::Record::Delete. Application::Bootstrap An empty class that descends from Jifty::Bootstrap. Application::Collection An empty class that descends from Jifty::Collection is created. Application::CurrentUser An empty class that descends from Jifty::CurrentUser. Application::Dispatcher An empty class that descends from Jifty::Dispatcher. Application::Event An empty class that descends from Jifty::Event is created. Application::Event::Model An empty class that descents from Jifty::Event::Model is created. Application::Event::Model::Something If Application::Model::Something is a valid model class, then it creates an empty descendant of Application::Event::Model with the "record_class" set to Application::Model::Something. Application::Handle An empty class that descends from Jifty::Handle is created. Application::Model::Something If "Plugin::Model::Something" exists and is a model class, then it creates a subclass of it named "Application::Model::Something" for the local application. This allows an application to customize a model provided by a subclass (or choose not to). Plugins should be written to use the application's version. Application::Model::SomethingCollection If "Application::Model::Something" is a valid model class, then it creates a subclass of Jifty::Collection whose "record_class" is "Application::Model::Something". Application::Notification An empty class that descends from Jifty::Notification. Application::Notification::Something The class loader will search for a plugin Plugin such that Plugin::Notification::Something exists. It will then create an empty class named Application::Notification::Something that descends from Plugin::Notification::Something. This allows an application to customize the email notification sent out by a plugin as long as the plugin defers to the application version of the class. Application::Record An empty class that descends from Jifty::Record is created. Application::Upgrade An empty class that descends from Jifty::Upgrade. Application::View An empty class that descends from Jifty::View::Declare. return_class CODE A helper method; takes CODE as a string and returns an open filehandle containing that CODE. require Loads all of the application's Actions and Models. It additionally "require"'s all Collections and Create/Update actions for each Model base class -- which will auto-create them using the above code if they do not exist on disk. require_classes_from_database Jifty supports model classes that aren't files on disk but instead records in your database. It's a little bit mind bending, but basically, you can build an application entirely out of the database without ever writing a line of code(*). * As of early 2007, this forward looking statement is mostly a lie. But we're working on it. This method finds all database-backed models and instantiates jifty classes for them it returns a list of class names of the models it created. require_views Load up $appname::View, the view class for the application. models Accessor to the list of models this application has loaded. In scalar context, returns a mutable array reference; in list context, return the content of the array. stringify ClassLoaders stringify as "Jifty::ClassLoader(base class name)" DESTROY When the ClassLoader gets garbage-collected, its entry in @INC needs to be removed. autogenerated PACKAGE Returns true if the package was autogenerated by a classloader. WRITING YOUR OWN CLASSES
If you require more functionality than is provided by the classes created by ClassLoader (which you'll almost certainly need to do if you want an application that does more than display a pretty Pony) then you should create a class with the appropriate name and add your extra logic to it. For example you will almost certainly want to write your own dispatcher, so something like: package MyApp::Dispatcher; use Jifty::Dispatcher -base; If you want to add some application specific behaviour to a model's collection class, say for the User model, create UserCollection.pm in your applications Model directory. package MyApp::Model::UserCollection; use base 'MyApp::Collection'; SEE ALSO
Jifty and just about every other class that this provides an empty override for. LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::ClassLoader(3pm)
All times are GMT -4. The time now is 01:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy