How do you post on the forum and edit the wiki?

I'm interested in efficient ways of posting and editing the wiki. Do you know / use any?
I'm currently using firefox + pentadactyl. Pressing Ctrl+i in a text area opens vim
set editor='st -e vim'
and I'm all set :-)

Over two years ago, /dev/zero posted this interesting piece: https://bbs.archlinux.org/viewtopic.php?id=143444
And this thread got me searching for "vim bbcode", and immediately, something interesting:
Use Markdown Instead Of BBCode With Vimperator
looks like a good idea. Or maybe just use something that makes editing bbcode easier (e.g. vim-surround rule, wait, I'll look that one up.)
... OK I'm done looking it up; here is one:
let g:surround_{char2nr("c")} = "<code>\r</code>"
let g:surround_{char2nr("u")} = "<url\1url: \r..*\r=&\1>\r</url>"
The first one's basic; surrounds the target with code tags with the "c" replacement.
This will prompt for URL and surround the target with proper URL bbcode if you use the "u" replacement.
Combine such rules with autocmd and some bbcode syntax highlighting, it would make life easier with bbcode.
Note I've used '<>' instead of '[]' to not confuse bbcode.
As for the topic question, I use Firefox with pentadactyl in a tabbed container in i3. When I press Ctrl-i in a textarea, a VIM editor opens in a new i3 tab, at full size. This makes editing focused. When I need to look at the original web page, I just switch to the previous i3 tab and take a peek.
Last edited by lolilolicon (2014-08-03 14:48:46)

Similar Messages

  • How do you print an email attachment and not the email itself. please.

    how do you print an email attachment and not the email itself.  please.
    This question was solved.
    View Solution.

    Hi there, if there is text in the body of the email it will print automatically when sent to an ePrint email address. The only way to just have the attachment print is for there to be no text in the email body.
    Hope that helps answer your question.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • How do you move a single album, and not the whole library, in iPhoto to an external hard drive?

    How do you move a single album, and not the whole library, in iPhoto to an external hard drive?

    File -> Export to a folder and copy it over.
    That will give you a folder with the images. There is no way to move an album outside of iPhoto. You would need to have a library containing it.
    Regards
    TD

  • How do you monitor a background thread and update the GUI

    Hello,
    I have a thread which makes its output available on PipedInputStreams. I should like to have other threads monitor the input streams and update a JTextArea embedded in a JScrollPane using the append() method.
    According to the Swing tutorial, the JTextArea must be updated on the Event Dispatch Thread. When I use SwingUtilities.invokeLater () to run my monitor threads, the component is not redrawn until the thread exits, so you don't see the progression. If I add a paint () method, the output is choppy and the scrollbar doesn't appear until the thread exits.
    Ironically, if I create and start new threads instead of using invokeLater(), I get the desired result.
    What is the correct architecture to accomplish my goal without violating Swing rules?
    Thanks,
    Brad
    Code follows:
    import java.lang.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SystemCommand implements Runnable
         private String[] command;
         private PipedOutputStream pipeout;
         private PipedOutputStream pipeerr;
         public SystemCommand ( String[] cmd )
              command = cmd;
              pipeout = null;
              pipeerr = null;
         public void run ()
              exec ();
         public void exec ()
              // --- Local class to redirect the process input stream to a piped output stream
              class OutputMonitor implements Runnable
                   InputStream is;
                   PipedOutputStream pout;
                   public OutputMonitor ( InputStream i, PipedOutputStream p )
                        is = i;
                        pout = p;
                   public void run ()
                        try
                             int inputChar;
                             for ( ;; )
                                  inputChar = is.read();
                                  if ( inputChar == -1 ) { break; }
                                  if ( pout == null )
                                       System.out.write ( inputChar );
                                  else
                                       pout.write ( inputChar );
                             if ( pout != null )
                                  pout.flush ();
                                  pout.close ();
                             else
                                  System.out.flush();
                        catch ( Exception e ) { e.printStackTrace (); }     
              try
                   Runtime r = Runtime.getRuntime ();
                   Process p = r.exec ( command );
                   OutputMonitor out = new OutputMonitor ( p.getInputStream (), pipeout );
                   OutputMonitor err = new OutputMonitor ( p.getErrorStream (), pipeerr );
                   Thread t1 = new Thread ( out );
                   Thread t2 = new Thread ( err );
                   t1.start ();
                   t2.start ();
                   //p.waitFor ();
              catch ( Exception e ) { e.printStackTrace (); }
         public PipedInputStream getInputStream () throws IOException
              pipeout = new PipedOutputStream ();
              return new PipedInputStream ( pipeout );
         public PipedInputStream getErrorStream () throws IOException
              pipeerr = new PipedOutputStream ();
              return new PipedInputStream ( pipeerr );
         public void execInThread ()
              Thread t = new Thread ( this );
              t.start ();
         public static JPanel getContentPane ( JTextArea ta )
              JPanel p = new JPanel ( new BorderLayout () );
              JPanel bottom = new JPanel ( new FlowLayout () );
              JButton button = new JButton ( "Exit" );
              button.addActionListener ( new ActionListener ( )
                                       public void actionPerformed ( ActionEvent e )
                                            System.exit ( 0 );
              bottom.add ( button );
              p.add ( new JScrollPane ( ta ), BorderLayout.CENTER );
              p.add ( bottom, BorderLayout.SOUTH );
              p.setPreferredSize ( new Dimension ( 640,480 ) );
              return p;
         public static void main ( String[] argv )
              // --- Local class to run on the event dispatch thread to update the Swing GUI
              class GuiUpdate implements Runnable
                   private PipedInputStream pin;
                   private PipedInputStream perr;
                   private JTextArea outputArea;
                   GuiUpdate ( JTextArea textArea, PipedInputStream in )
                        pin = in;
                        outputArea = textArea;
                   public void run ()
                        try
                             // --- Reads whole file before displaying...takes too long
                             //outputArea.read ( new InputStreamReader ( pin ), null );
                             BufferedReader r = new BufferedReader ( new InputStreamReader ( pin ) );
                             String line;
                             for ( ;; )
                                  line = r.readLine ();
                                  if ( line == null ) { break; }
                                  outputArea.append ( line + "\n" );
                                  // outputArea.paint ( outputArea.getGraphics());
                        catch ( Exception e ) { e.printStackTrace (); }
              // --- Create and realize the GUI
              JFrame f = new JFrame ( "Output Capture" );
              f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
              JTextArea textOutput = new JTextArea ();
              f.getContentPane().add ( getContentPane ( textOutput ) );
              f.pack();
              f.show ();
              // --- Start the command and capture the output in the scrollable text area
              try
                   // --- Create the command and setup the pipes
                   SystemCommand s = new SystemCommand ( argv );
                   PipedInputStream stdout_pipe = s.getInputStream ();
                   PipedInputStream stderr_pipe = s.getErrorStream ();
                   // --- Launch
                   s.execInThread ( );
                   //s.exec ();
                   // --- Watch the results
                   SwingUtilities.invokeLater ( new GuiUpdate ( textOutput, stdout_pipe ) );
                   SwingUtilities.invokeLater ( new GuiUpdate ( textOutput, stderr_pipe ) );
                   //Thread t1 = new Thread ( new GuiUpdate ( textOutput, stdout_pipe ) );
                   //Thread t2 = new Thread ( new GuiUpdate ( textOutput, stderr_pipe ) );
                   //t1.start ();
                   //t2.start ();
              catch ( Exception e ) { e.printStackTrace (); }
              

    Thanks for pointing out the SwingWorker class. I didn't use it directly, but the documentation gave me some ideas that helped.
    Instead of using invokeLater on the long-running pipe-reader object, I run it on a normal thread and let it consume the output from the background thread that is running the system command. Inside the reader thread I create a tiny Runnable object for each line that is read from the pipe, and queue that object with invokeLater (), then yield() the reader thread.
    Seems like a lot of runnable objects, but it works ok.

  • How do you suggest I best import and edit many portions of old VHS?

    I read the recent postings on digitizing the multiple DVD's and found that to be quite interesting and enlightening. I have searched through the archives but didn't run into a posting with exactly my question and I apologize because I know there are bound to be others with the same question. This is what I have and want to do: Vista with an external Seagate attached via USB 2. I have Adobe Premier Elements 3 but I am willing to purchase another form of software and another form of external drive. I do have a Firewire port.
    I have a box of old VHS tapes of my kid's dance recitals, ball games, etc... the tapes are very long but often only have small portions of interest on them and now that my kids are older they are only interested in the 5 minutes of themselves. I would like to import the video and burn to dvd the pertinent portions of the VHS.
    I need to know both the suggested hardware to use to hook to the computer... and what software do you suggest that I use to edit the footage.Or, maybe you have some other suggestions.
    I have used Premier quite a bit. I have never used enormous files like an endless dance recital so I hope that you tell me there is a way I could perhaps find a device that would allow me to view and only digitize the portions I want... or, perhaps it would be better to take these tapes somewhere and have them made into a DVD and then would there be a way to only import a portion of them that way? These are NOT world class videos...(in fact, 20 years later I realize how badly I was wasting my money!! HA!)
    Have I been clear in what I need and the kind of advice I am asking for?
    Thank you for any advice you might offer me.

    Here's what I did, more as an accident, rather than a thought out process to spend big bucks, or get the best possible quality on conversion.
    I had a bunch of old analog tapes, just like you, and always thought it would be very kool to get them in a format I can use and loaded onto my PC.
    When I purchased my DV Handycam, one of the options I looked for was "Analog Passthru" capabilities. This basically allows you to hook up an analog device like a VCR and copy video to your Handycam.
    Desktop "DVD Writers" typically have analog hook-ups and basically can do the same thing.
    With this capability, I then slowly went thru the process of moving all my old tapes onto my PC.
    Did it work, yes it did.
    Was it easy, yes it was (as far as cable hook-up).
    Was it tedious and somewhat time consuming, yes, yes, and yes.
    But over time I did get all my old tapes onto my PC and in a format that was primed for editing. (You can also do some bulk editing of source during the conversion).
    As far as quality, considering the video source and conversion method, I was quite pleased with the end result, and anyone who views the clips (on PC or TV), has a hard time seeing the differences between the end product and the source.
    Would a dedicated HW device like Canopus have given better quality, most likely yes, but for my purposes, the one time use to just move my tapes was not cost effective. The purchase of a Cam with passthru, or a DVD Writer, worked just fine and could be used for other things.
    (One caveat, with Canopus or a HW bridge setup, the process is much quicker as it allows going from analog directly to DV-AVI. And DV-AVI is the format goal for easy editing with PE7).
    One thing for sure, my family and friends get a hugh kick out of seeing themselves (as they've grown older over the years).
    And no one ever complains about the quality of the videos...

  • If you have 2 apple ids, how do you sign out of one and into the other so you can update the app that was purchased in the other account.  thanks

    If you purchased an app in one account and work mostly in another, how do you switch the purchased app account to update it?
    thanks

    You need to sign out and back in only if you're on your Mac and you want to update the iTunes data.  You'll see a notice saying that there are five (or so) updates but when you go to download them, they're not all present.  So you download them, sign out from one ID and sign back in with the other ID.  Then you can download the remaining ones.
    If you're downloading directly to the iPad, everything is transparent.  It does not matter what ID is configured in Settings.  The iPad automatically chooses the correct ID or IDs when updates are available.

  • HT1430 how do you unlock an IPod touch and reset the password

    My daughter has reset her password and now cant remeber it! can anyone tell me in simple terms how to reset please?
    Thanks

    Connect the iOS device to your computer and restore via iTunes. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do you store "sent" mail locally and on the server?

    Hello. This is a slightly lengthy...but hopefully someone can help!
    I am using the Mail program in Tiger (Mac OS X 10.4.3) with an IMAP account. I am wondering how you set up the preferences so that the e-mails that you send (outgoing) are stored locally on my computer and also on the server (so that I can .
    So far I have tried checking and unchecking the option to 'store mail on the server' (in the 'Mailbox Behavior' window of the Preference Box). When I uncheck the box, the sent mail is stored ONLY locally on my computer.
    When I check the box so that the mail is stored on the server, I cannot view any copies of the sent mail on my computer, nor can I view the sent mail through my other school account (same account b/c it's IMAP).
    My IMAP account is setup with my school, so I have a folder called 'Sent' that I have programmed so that copies of my sent mail are stored there (viewable locally on any computer that I log-in to). I formerly user Thunderbird (with Mozilla) and it allowed me to save sent mail into that same folder, but I am unable to do so with Mail in the Tiger program.
    I hope this is understandable...anyone able to shed some light on this issue? Thanks!
    PowerBook G4   Mac OS X (10.4.3)  

    Hi tanjo,
    This is a bit of a workaround, but you could set
    mail.app to automatically blind copy to yourself any
    messages you originate (and then use a rule to
    automatically file these messages in a "sent" folder
    of your choice).
    A method to do setup this default bcc is on
    MacOSXhints.com, in this article: Permanently add Reply To headers in
    Mail.app. It references this command line:
    defaults write com.apple.mail
    UserHeaders '{"Bcc" = "[email protected]";
    best of luck,
    ...ben
    PB G4 15 1.67 GHz,
    iBook SE 0.47 GHz   Mac OS X (10.4.3)  
    Hi Ben,
    Thank you very much for the tip. I'm going to give that a try. Happy Holidays!
    --tanjo

  • In making a monthly budget how do you repeat for next month and update the dates to the next month?

    i want to make my budget speadsheet update the month and date as it goes to the next month automatically, from sheet to sheet.  is there any way to make this happen?

    You could have a cell where you enter the month and year...
    Or you could pull the month and year from the first entry in the date column.  Like Barry I would want more information regarding your  set up before proposing any other, more specific, ideas.

  • Bridge CC won't launch any way I try it. Yes, I have tried the other fixes on the forum and in the help info first

    Bridge CC won't launch from shortcut, from the Creative Cloud Apps, or when I go into the program files folder and try to open it from the application file directly. Have uninstalled and re-installed twice, have uninstalled and reinstalled Creative Cloud and PS too. Turned off all security including firewall, restarted (Windows 7) computer numerous times.  I tried any fix I found in help or in in the forums, all to no avail. I do not get any error messages either.  Could someone please help?

    I forgot to mention that I also made sure my graphics card's driver was up to date and that any and all Windows updates were run.  Thought I should mention that.

  • I downloaded music from the internet and edited it in Itunes. How do I keep the details of the song in windows explorer?

    So basically I downloaded music from the internet and edited the artist, album, album art and all that stuff on Itunes. But when I go back to windows explorer, i dont have those details

    Possibilities are that you are working with copies of the originals in which case it is only the copies that get updated, or that the songs are in .wav format and cannot carry a tag, or are in some other format and didn't include a tag so iTunes hasn't created one even though it has recorded details internally, or that there are mp3 files with multiple tags. iTunes doesn't cope well with multiple tags (despite these conforming to standards) and in this case may be making changes to one copy while Windows Explorer continues to show unchanged data from another. Use a 3rd party tag tool to inspect a problem album, or select the tracks and use Right-click > Convert ID3 Tags > None two or three times to strip out the embedded tags, then use Convert ID3 Tags > v2.3 to recreate them.
    Note the process of cleaning and rewriting the tags will remove any embedded art. You can use my script CreateFolderArt before and after converting the tags to preserve and then embed the artwork, provided that you don't store songs from different albums in the same folder. Test a single track or album first to make sure the process has the desired result and only apply where needed.
    tt2

  • Adobe Acrobat upgrade has destroyed the signature and in the IE a certified web site displaying

    I have encountered a very strange, but exactly the same phenomenon on my desktop PC and laptop. (W XP Professional, SP3, IE8)
    The Adobe Acrobat (v.9.4) has been upgraded with the online refreshment process on both PC and now I can not use a web site at all
    on both PC.
    In the IE when I start the  URL the popup windows with Certificate selection appears normally, but when I accept
    it after that I have the below screen:
    Translation: 
    The IE can not display the web page.....
    Possible steps:  diagnose the connection problems
    Additionally my own created signature in both Acrobat has been damaged too. When I
    want to use the signature I get an  error message:
    Translation:
    The Windows encryptioning service has indicated an error:
    The object does exist.
    Error code:  2148073487
    I tried to uninstall - reinstall the Acrobat as well as the signature, but did not fix the problem.
    Does someone have any idea what could be the problem and how I could restore the functionalities?

    I will not be able to upload any forms as it is propietary information, but here are the steps taken to create the form using Adobe Acrobat Pro X or XI:
    Open the PDF in Adobe Pro and click Tools.
    In the Forms menu, click Edit.
      Click Add New Field > Text Field.
    Place the field on the document and edit the field name with the text [MAGICWORD]. This is a magic word that allows the signed form to be saved in the right location.
    Click the All Properties link.
    Change the Form Field from Visible to Hidden but Printable under Common Properties.
    To add other visible magic word fields (optional),  click Add New Field > Text Field.
    Click Add New Field > Digital Signature.
    Click Add New Field > Button.
    Click the All Properties link.
    Click the Actions tab.
    Under Add an Action: 
    Select Trigger – Select Mouse Down.
    Select Action – Select Submit a form.
    Click Add.
    Enter the URL:(https://anythingcangohere.com)
    This enables the signed form to be submitted and saved in the right location.
    Under Export Format, select PDF The complete document.
    Click OK.
      To add a label to the button, click the Options tab.
    Label: – Enter Submit to athenaNet or Submit.
    Click Close.

  • Just installed DVD Studio Pro 2 in Power Book G4 Lap but I cant view Subtitles in the grew square while typing the text. I see the text in the Inspector but nothing appears in the grew square. Once finished the subtitle I run the sceen and see the subtitl

    I just installed DVD Studio Pro 2 in a Power Book G4 Lap but I cant see subtitle text typing after doble click a new subtitle. I see the text that I am typing in the Inspector Window but the grew square in the Monitor Window seemes empty. Once I finished the subtitle I can run the video and the subtitle appears in color, font and size chosen. Creating the next subtitle I can even go to the one before click once over the subtitle, then click above to get the videoline tool over the subtitle and I will see the subtitle in the Monitor and editing the text in the Inspector I can see the changes in the Monitor. But as soon as I doble click the grew square appears and the text dissapears. Sin doubt the text is there because I can select the invisible text with "Apple"+"A", and then change fonts and sizes and it works. In Color settings I tried every posible combination of Mapping types, color and opacity. In DVD Preference I checked the subtitle  settings. The monitor text defaults work perfectly and double clicking texts in the Monitor window where a grew sqaure appears and the text is visible just works correctly. Somebody can help? Do I need to change some configuration in the LAP?

    I just installed DVD Studio Pro 2 in a Power Book G4 Lap but I cant see subtitle text typing after doble click a new subtitle. I see the text that I am typing in the Inspector Window but the grew square in the Monitor Window seemes empty. Once I finished the subtitle I can run the video and the subtitle appears in color, font and size chosen. Creating the next subtitle I can even go to the one before click once over the subtitle, then click above to get the videoline tool over the subtitle and I will see the subtitle in the Monitor and editing the text in the Inspector I can see the changes in the Monitor. But as soon as I doble click the grew square appears and the text dissapears. Sin doubt the text is there because I can select the invisible text with "Apple"+"A", and then change fonts and sizes and it works. In Color settings I tried every posible combination of Mapping types, color and opacity. In DVD Preference I checked the subtitle  settings. The monitor text defaults work perfectly and double clicking texts in the Monitor window where a grew sqaure appears and the text is visible just works correctly. Somebody can help? Do I need to change some configuration in the LAP?

  • How do you post images in these forums

    I've been wondering for a while. How do you post like a screen shot on these forums (so I can better illustrate me questions.)

    Hi Caleb!
    How To Post Images In  Discussions
    Create a Screen Shot of the image you wish to post.
    Upload the image to an online storage facility, like one of these linked to below.
    Flickr
    ImageShack
    PhotoBucket
    Twango
    Then use HTML formatting, to insert the URL of the location.
    Use this format <img src="Insert URL Here">
    Keep the images small, and unobtrusive, when possible.
    You can also just post a Link/URL, to the image location, using this format:
    <a href="Insert URL Here">Type Title Here</a>
    Have Fun!
    ali b

  • How do you isolate an album or artist in the new iTunes? (12.0) It is really frustrating when trying to listen to one album and I get the album in the list with all 1,025 other albums in my library.

    How do you isolate an album or artist in the new iTunes? (12.0) It is really frustrating when trying to listen to one album and I get the album in the list with all 1,025 other albums in my library. Same with the artist.

    Welcome to the  Discussion Forums
    ... I assumed that if I played the 1st track, it would continue to play the rest of the album (as iTunes does on my Macs and PCs),...
    You assumed correctly, and it should continue to play the rest of the album in order. Does this happen to all your albums. Have you tried restarting the tv.

Maybe you are looking for

  • Compression Error while saving workbook

    Hi All, Iam trying to save as new(existing) workbook after executing a query, same prob. in both QA & Prod. <b></b> Receiving from the BW Server failed         BW Server raised Exception         SYSTEM_FAILURE         BQ: compression error ( rc = -2)

  • How to modify Mail's reply attributionline

    Due to the need to track who receives what email in a long email chaing, I need to have the standard reply attribution which Mail does not currently provide. Through a series of online bulletin boards, and a little bit of searching, I found the file:

  • IPhone 6 Plus 16gb storage doubts?

    Why is it sold as 16gb of storage if the actual, real storage is then displayed (on both iTunes and the iPhone itself) as only 11.7gb? Where is the rest of the supposed storage? Is there a way to understand why it's this way? I'm not talking about ho

  • How can i download a DDIC table

    Dear Experts, How can i download table's technical setting download on Loacl DIsk.with through dd03l i can download table but there no technical setting like delevery class. Please replly Soon. Thanks, Ravi

  • Making a 3D/convincing 2D sky background in AECS3?

    Hi all! Is there any way/tutorials to make a sky background for me to put an airliner on? I have the plane and the clouds passing close to the camera but I don't have a background. I might be wrong, but I have seen a tutorial which mentioned somethin