Hot answers tagged

27

Using pandoc and lynx without creating temporary files: pandoc file.md | lynx -stdin On debian systems you can install with: apt-get install pandoc


19

The following website provides a tool that will translate markdown into HTML: http://daringfireball.net/projects/markdown/ Once you convert the file to HTML, there are a number of command line tools to use to view the file. Using a test file that contains markdown formatted-text, I found the following worked nicely. $ wget ...


13

Is a GUI program, but I find useful for this task ReText, that is an editor for Markdown and reStructuredText with a preview mode: However, if you need see the file of ReText from a terminal, one option could be convert the marddown to html with pandoc and see the html copy in lynx: pandoc file.mkd > file.html ; lynx file.html


9

I wrote a lightweight terminal markdown viewer in python, for CLI or as lib: https://github.com/axiros/terminal_markdown_viewer It supports e.g. tables, admonitions and tons of color themes. Usage: mdv [-t THEME] [-T C_THEME] [-x] [-l] [-L] [-c COLS] [-f FROM] [-m] [-M DIR] [-H] [-A] [MDFILE] Options: MDFILE : Path to markdown file -t THEME : Key ...


5

I think all you need to do is run reset. If that doesn't help, look to see if you changed any files in /etc recently (e.g. find /etc -mtime -1) and read the unicode_start or consolechars man pages.


5

The version of modprobe in Ubuntu 12.04 (from module-init-tools version 3.16) does have a -l option, with description -l --list List all modules matching the given wildcard (or "*" if no wildcard is given). This option is provided for backwards compatibility and may go away in future: see find(1) and ...


4

The MariaDB FAQ has the following topic covering exactly this question, titled: GUI/Workbench for MariaDB Aria?. There are many GUI tools that work with MariaDB, such as Webyog/SQLyog, HeidiSQL, and of course, MySQL Workbench. We know some tools have received requests and/or are working to add support for MariaDB and Aria-specific features (SQLyog, ...


4

There's also Discount, David Parsons' C implementation of John Gruber's Markdown text to html language. Discount consists of several command-line tools including markdown, mkd2html, makepage, mktags and theme. http://www.pell.portland.or.us/~orc/Code/discount/ In addition, there's an implementation of markdown in C, using a PEG grammar. ...


4

Finally I solved this problem by just comment out the following line in Makefile #ifndef NO_LIBPERL #PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null` #PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null` #endif It looked like MExtUtils::Embed generate wrong LDFLAGS for libperl I also found that slackware perl package ...


3

Apparently, it can be enabled/disabled using /proc/sys/kernel/sysrq if the kernel supports it, i.e., CONFIG_MAGIC_SYSRQ is enabled in the kernel config what should be the case for Slackware, according to this.


3

I can't answer your question, but you could use the llvm 2.9 Slackbuild from slackbuilds.org for Slackware 13.37 (general information, a howto on slackbuilds.org). I suppose that's the Slackware way (comparable to Arch's PKGBUILD, someone correct me if I'm wrong, please).


3

This is probably an issue with your ALSA sound level settings. There are two main volume settings: PCM and Master. Usually only one of them is controlled via desktop GUI settings (you can select which one that is in your audio settings). If you run alsamixer in your terminal, check the volume levels for both of them. If you can't find the system setting to ...


3

I know you said you preferred a non-GUI application, but I am currently working on a GUI application called DownMarker which does this. You can find the source in a mercurial repository here. You can find a stand-alone executable to run with mono or .NET here. Caveat: It is far from finished and only occasionally tested on linux/mono. Last test I did was on ...


3

For those who prefer w3m (vi style bindings): pandoc file.md | w3m -T text/html I put it in a script, mdview.sh, and put that in my path: #!/bin/sh pandoc "$1" | w3m -T text/html


3

Note: credits to @Joe's answer. You can use Grip, which renders the Markdown exactly as GitHub would (it uses the GitHub markdown API). Install it with pip: pip install grip Run it from the directory in which the README file resides: grip The result:


3

I am not sure why the filesystem is being mounted read-only since you have specified rw. Perhaps the kernel is actually mounting the initrd image read-write instead, and then that initrd image mounts your root fs as read-only. In any case, typically the kernel is expected to mount the root fs read-only, and then at some point, init will remount it ...


3

Have you tried the instructions on the official network config site? I think most of your starting configuration questions will be written here. By the way, if you really want to dive into Linux, don't go for Ubuntu cause you won't ever understand the core workflow of Linux systems. With slackware you will have a hard time learning how to do things, but if ...


3

You can use pip or easy_install to install python modules. $ pip install <package-name> Edit: I tried installing urllib2 package and it told me that the real name of requirement urllib2 is urllib3. Here is the what it happened: pradeep@pradeep-laptop:~$ sudo pip install urllib2 Downloading/unpacking urllib2 Real name of requirement urllib2 is ...


3

You need to reinstall GRUB, you can do this from a chroot. Boot into a live CD, chroot into your Linux system and issue grub-install. Something like the following should work (assuming /dev/sda2 is / and /dev/sda1 is /boot, and you want to install to the MBR on /dev/sda): mount /dev/sda2 /mnt mount /dev/sda1 /mnt/boot mount -t proc none /mnt/proc mount -o ...


3

The closest equivalent would be to run the xmodmap program each time you log in. Put the following snippet in a file called .Xmodmap in your home directory: keycode 66 = Return clear Lock You can see the key codes and current associated key names by running xev from a terminal. Press Caps Lock while the xev window is focused, and you'll see a something ...


3

Debian backports provides a package virtualbox-guest-dkms which could be an easy solution to your problem: http://packages.debian.org/de/squeeze-backports/virtualbox-guest-dkms If you install this package, then Debian should handle the dependency on the kernel headers automatically, and if it doesn't work, it should at least display a proper error message. ...


3

Try the Slackbuild: http://slackbuilds.org/repository/14.1/multimedia/flashplayer-plugin/ You simply download the flash tarball: 32-bit or 64-bit, as well as the SlackBuild: flashplayer-plugin.tar.gz From wherever you downloaded them to: # tar xzf flashplayer-plugin.tar.gz # mv install_flash_player_11_linux.i386.tar.gz flashplayer-plugin # cd ...


3

I do not have access to Slackware but I believe you need to install the Python binding/wrapper libraries for paramiko as well. At least that's the case on Fedora/CentOS and other distros from what I can gather from this forum post titled: MySQL Forums :: MySQL Workbench :: Ubuntu: Cannot start SSH tunnel manager. thanks ! install python-paramiko solve ...


3

One way to do this is via the /sys/power interface. The usual way to induce hibernation (used by various higher level tools) is to write to a couple of the fields there: echo shutdown > /sys/power/disk echo disk > /sys/power/state I believe the first one sets the methodology and the second one triggers the change.1 However, if you read from these ...


2

An option that I use is to install 32-bit Firefox along side 64-bit Firefox and drop the debug version of libflashplayer.so into /usr/lib/mozilla/plugins/. Then use a 32-bit instance to do the flash debugging.


2

You will need the translation files installed. On an Ubuntu system, Italian support is added by running: sudo apt-get update sudo apt-get install language-pack-it-base language-pack-it manpages-it I think on Red Hat and Fedora, it's something like yum groupinstall italian-support You will also need to use one of the supported locale names, which you ...


2

TL;DR: It's probably just a typo. Long answer As a quick search shows, vftovp could be a tool in the TeX suite to convert a virtual font metric to a virtual property list. So, the original tool would not be something to be concerned of. Two questions are remaining: Who executed this tool on your machine? Is the binary on your system really this TeX ...


2

The error was fixed by setting in /etc/profile.d/lang.sh: export LANG=en_US.UTF-8 Instead of export LANG=en_US


2

Just came across this question. I ran into this problem on Fedora 20 and discovered, duhhhh, that I had installed the 32-bit version of mysql-workbench on 64-bit Fedora 20 instead of the 64-bit version. After uninstalling the 32-bit version: $ sudo yum remove mysql-workbench and installing the 64-bit version instead $ sudo yum localinstall ...



Only top voted, non community-wiki answers of a minimum length are eligible