Sponsored Content
The Lounge What is on Your Mind? VBulletin 3.8 to Discourse on Docker Migration Test Take Two Post 303045170 by Neo on Friday 13th of March 2020 12:55:32 AM
Old 03-13-2020
OBTW. User avatars have migrated over "OK" in this test round 2.

But the bbcode to markdown plugin did not work...... so need to fix that after this test run.
 

7 More Discussions You Might Find Interesting

1. Web Development

Removing VBSEO for vbulletin – Reverting back to vbulletin URLs

Please note, this information was copied from vbseo.com, now showing a database error. This is posted for reference since vbSEO seems to be going out of business: If you ever need to uninstall vBSEO , you can use the following instructions. Make sure you carefully follow each step. Login... (37 Replies)
Discussion started by: Neo
37 Replies

2. Linux

Docker and pipework,ip with other subnet

Recently i found this for give to docker a "personal" ip ip addr del 10.1.1.133/24 dev eth0 ip link add link eth0 dev eth0m type macvlan mode bridge ip link set eth0m up ip addr add 10.1.1.133/24 dev eth0m route add default gw 10.1.1.1On container i did ... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

3. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

4. Shell Programming and Scripting

Problem in extracting yocto SDK for docker

Actually I was facing the following issue while building my Yocto SDK on Docker container sudo docker build --tag="akash/eclipse-che:6.5.0-1" --tag="akash/eclipse-che:latest" /home/akash/dockerimage.yocto.support/ Sending build context to Docker daemon 26.93MB Step 1/5 : FROM eclipse/cpp_gcc ... (3 Replies)
Discussion started by: Akash BHardwaj
3 Replies

5. UNIX for Beginners Questions & Answers

Can't pass a variable representing the output of lsb_release to a docker dontainer

I don't know why, but the rendering of my code mucks up the spacing and indentation, despite being correct in the original file. I'm having issues getting the following script to run (specifically the nested script at the end of the docker command near the end of the script; I think I'm not passing... (2 Replies)
Discussion started by: James Ray
2 Replies

6. Docker

Docker learning Phase-I

Hello All, I had recently learnt a bit of Docker(which provides containerization process). Here are some of my learning points from it. Let us start first with very basic question: What is Docker: Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies

7. What is on Your Mind?

Under Consideration: Migrate the Forums to Discourse

Dear All, After being active on the Node-RED forum for the last few weeks, I have been very impressed with Discourse, and my eyes have been opened. https://www.discourse.org/ but not the paid /hosted offering, but using the open distribution: https://github.com/discourse/discourse ... (52 Replies)
Discussion started by: Neo
52 Replies
MojoMojo::Formatter::File(3pm)				User Contributed Perl Documentation			    MojoMojo::Formatter::File(3pm)

NAME
MojoMojo::Formatter::File - format file as XHTML DESCRIPTION
This formatter will format the file argument as XHTML. Usage: {{file TYPE filename}} {{file Text uploads/Files/test.txt}} TYPE is a plugin present in Formatter/File/ directory. Currently there are only three: Pod, DocBook and Text The plugin TYPE format only the file which the extension match with 'can_format' method. Respectively pod, xml and txt for existing plugins. For security reasons the path of file must be include in 'whitelisting' directory. You can use path_to(DIR) to describe directory in mojomojo.conf: Just an example to view the test pod file t/var/files/test.pod : Add this to mojomojo.conf : <Formatter::Dir> prefix_url /myfiles whitelisting __path_to(t/var/files)__ </Formatter::Dir> To see the pod content formatted in xhtml, write in the text area: {{file Pod path_to(t/var/files)test.pod}} To show recursively all files of directory see script/util/dir2mojomojo.pl script. To test it: # start mojomojo ./script/mojomojo_server.pl # run dir2mojomojo script ./script/util/dir2mojomojo.pl --dir=~/dev/mojomojo/t/var/files/ --url=/myfiles Connect to http://server:3000/myfiles/ METHODS
format_content_order Format order can be 1-99. The File formatter runs on 92. format_content Calls the formatter. Takes a ref to the content as well as the context object. plugin Return the plugin to use with file attachment format Return the content formatted checkplugin Return 0 if plugin exist checkfile Directory must be include in whitelisting SEE ALSO
MojoMojo,Module::Pluggable::Ordered AUTHORS
Daniel Brosseau <dab@catapulse.org> LICENSE
This module is licensed under the same terms as Perl itself. perl v5.14.2 2010-04-07 MojoMojo::Formatter::File(3pm)
All times are GMT -4. The time now is 12:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy