Skip to content

SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search
SysTutorials

  • QA

    How to balance the two columns of text on the last page of a Latex doc?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to balance the two columns of text on the last page of a Latex doc? 2 good Latex packages are good at balancing the two columns of text on the last page of a Latex doc (choose either one that are good for you). balance Usage: At the beginning of the doc: usepackage{balance} At…

    Read More How to balance the two columns of text on the last page of a Latex doc?Continue

  • QA

    How to improve MPlayer video quality?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to improve MPlayer video quality by selecting a “better” video rendering/filter? You can choose a different video filter. I use hqdn3d which gives me the best quality. Be careful on machines with low CPUs. To use hqdn3d, put this line into your ~/.mplayer/config: vf=hqdn3d Check more options of video filters in MPlayer manual.

    Read More How to improve MPlayer video quality?Continue

  • QA

    How to force MPlayer to start a video at the center of the screen?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to force MPlayer to start a video at the center of the screen? I assume you are using Linux. Put this line into your ~/.mplayer/config: geometry=50%:50% Check more options in MPlayer manual.

    Read More How to force MPlayer to start a video at the center of the screen?Continue

  • QA

    Direct multi-hop ssh connection

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to use multi-hop ssh connection without needs to ssh multiple times? As a example, you are connecting to server.example.com through proxy.example.com from laptop.example.com as follows: laptop —-> proxy —-> server 2 possible methods: Method 1: Use the similar method as in Directly SSH to hosts using internal IPs through the gateway. Add this to…

    Read More Direct multi-hop ssh connectionContinue

  • QA

    How to improve ssh/scp performance on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    ssh/scp are convenient and handy tools on Linux. Is is possible to further improve its speed/performance? Please check this post for how to improve ssh/scp performance: https://www.systutorials.com/5450/improving-sshscp-performance-by-choosing-ciphers/

    Read More How to improve ssh/scp performance on Linux?Continue

  • QA

    How to change the mode for simplified Chinese or Traditional Chinese mode in ibus-libpinyin?

    ByEric Ma Mar 24, 2018Nov 21, 2019

    How to change the mode for simplified Chinese or Traditional Chinese mode in ibus-libpinyin? What is the shortcut like “Ctrl+.” for switching full width or half width punctuation. Use shortcut “Ctrl + Shift + F”. In ibus-pinyin version 1.3.7, this shortcut is added: 2010-05-28 ibus-pinyin 1.3.7 stable release Add Ctrl + Shift + F to…

    Read More How to change the mode for simplified Chinese or Traditional Chinese mode in ibus-libpinyin?Continue

  • QA

    Good introductions to Hadoop 2.0 (YARN)?

    ByEric Ma Mar 24, 2018Feb 26, 2019

    Which ones are recommended introductions to Hadoop 2.0 (YARN)? Pointers to webpages are good. Those are good ones that I find: The SoCC13 paper “Apache Hadoop YARN: Yet Another Resource Negotiator” by Vinod Kumar Vavilapalli et al.: http://www.socc2013.org/home/program/a5-vavilapalli.pdf The introduction from Hortonworks by Arun Murthy:http://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications/ The “Official” one from Apache Hadoop website (very brief):https://hadoop.apache.org/docs/r2.2.0/hadoop-yarn/hadoop-yarn-site/YARN.html

    Read More Good introductions to Hadoop 2.0 (YARN)?Continue

  • QA

    Hadoop 2 (YARN) default configuration values

    ByEric Ma Mar 24, 2018Feb 26, 2019

    Where to check the default Hadoop 2 (YARN) configuration values for: HDFS: hdfs-site.xml YARN: yarn-site.xml MapReduce: mapred-site.xml Default Hadoop 2 (YARN) configuration values for Hadoop 2.2.0 from Apache Hadoop website: HDFS: http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml YARN: https://hadoop.apache.org/docs/r2.2.0/hadoop-yarn/hadoop-yarn-common/yarn-default.xml MapReduce: https://hadoop.apache.org/docs/r2.2.0/hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml

    Read More Hadoop 2 (YARN) default configuration valuesContinue

  • QA

    How to convert a latex document with figures to a HTML file?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to convert a latex document with figures to a HTML file? htlatex (On Fedora, it is in the package texlive-tex4ht) can generate the html from a latex doc better than latex2html. From my experience, it can produce a better html file.

    Read More How to convert a latex document with figures to a HTML file?Continue

  • QA

    How to rearrange Alt, Ctrl and Win keys on Linux: Win as Alt and Ctrl/Alt as Ctrl

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to rearrange Alt, Ctrl and Win keys on Linux: Win as Alt and Ctrl/Alt as Ctrl? On Linux, the Win key is seldom used. Mapping the Alt keys which are close to my thumb is damn convenient for Emacs users. Hence, the keyboard at the bottom line would look like: ———————————————————— |Ctrl|Alt|Ctrl| Space Bar…

    Read More How to rearrange Alt, Ctrl and Win keys on Linux: Win as Alt and Ctrl/Alt as CtrlContinue

  • QA

    Add header footer in directory listing in Apache (httpd)

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to add header footer in directory listing in Apache (httpd)? In the web directory’s .htaccess file: Options +Indexes IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8 HeaderName /header.html ReadmeName /footer.html IndexIgnore header.html footer.html .htaccess header.html and footer.html are under the website root directory (not the Linux root).

    Read More Add header footer in directory listing in Apache (httpd)Continue

  • QA

    How to map Win key to Ctrl on Linux?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to map the Win key to another Ctrl on Linux? You can set it in gnome-tweak-tool in Gnome 3 by setting the “Alt/Win key behavior”:

    Read More How to map Win key to Ctrl on Linux?Continue

  • QA

    How to split a text file by lines on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to split a text file by lines on Linux? For example, to split a file content.txt into many files and each split contains 1024 lines. You can use the split command on Linux: split -l 1024 content.txt splitted-content.txt- It will generate splitted-content.txt-{aa,ab,….}

    Read More How to split a text file by lines on Linux?Continue

  • QA

    Classpath for compiling MapReduce jobs on Hadoop 2.2.0

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to get the correct classpath for compiling MapReduce jobs on Hadoop 2.2.0 (YARN)? The yarn command from Hadoop 2 can find it out for you: yarn classpath You may add the full path to yarn which is under bin directory of the Hadoop distribution pachage, if it is not in your $PATH.

    Read More Classpath for compiling MapReduce jobs on Hadoop 2.2.0Continue

  • QA

    How to reset the keyboard set by xmodmap on Linux?

    ByEric Ma Mar 24, 2018Feb 9, 2019

    How to reset the keyboard set by xmodmap on Linux? You can reset your keyboard settings by: setxkbmap or setxkbmap -option depending on the way the keyboard was set by xmodmap.

    Read More How to reset the keyboard set by xmodmap on Linux?Continue

  • QA

    How to detect memory leaks of C programs in Linux?

    ByEric Ma Mar 24, 2018Jun 26, 2018

    How to detect memory leaks of C programs in Linux? I also have access to the source code of the program. There are many posts related to this: Easy and quick tools on Linux (while not very accurate): http://blog.thewebsitepeople.org/2011/03/linux-memory-leak-detection/ Valgrind: manual and a tutorial. gperftools has the Google Heap Profiler which can checks for memory…

    Read More How to detect memory leaks of C programs in Linux?Continue

  • QA

    How to swap alt and ctrl on Linux for Emacs?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to swap alt and ctrl on Linux for Emacs? It will be more easier to press the ctrl keys which is a very important key for Emacs. You can make of xmodmap. Save this as a file modmap: clear control clear mod1 keycode 64 = Control_L NoSymbol Control_L keycode 37 = Alt_L Meta_L Alt_L…

    Read More How to swap alt and ctrl on Linux for Emacs?Continue

  • QA

    How to turn the space bar to another ctrl key?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to turn the space bar to another ctrl key? It will be dam useful especially for Emacs users and also useful for normal usage like for tab changing in Chrome or Gnome terminal. You may try 2 tools in userspace: Space2Ctrl: https://github.com/r0adrunner/Space2Ctrl xcape: https://github.com/alols/xcape Note that the limitation of these solutions: the space will…

    Read More How to turn the space bar to another ctrl key?Continue

  • QA

    How to change default OS for windows dual boot manager in Windows 7?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to change default OS for windows dual boot manager in Windows 7? The c:/boot/ in older Windows does not exist anymore. Open the Control Panel and click on the System icon. In the left pane, click on the Advanced system settings link. Under the Advanced tab, click on the Settings button under Startup and…

    Read More How to change default OS for windows dual boot manager in Windows 7?Continue

  • QA

    How to remap the Caps Lock key to Control for Emacs

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to remap the Caps Lock key to Control for Emacs? My left little finger is just so tired… You can either change it in gnome-tweak-tool on Gnome 3: Or: You can make use of 2 tools: xev to find out the key code for Caps Lock and xmodmap to modify key maps. First, run…

    Read More How to remap the Caps Lock key to Control for EmacsContinue

Page navigation

Previous PagePrevious 1 … 36 37 38 39 40 … 70 Next PageNext

© 2026 SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search