Skip to content

SysTutorials

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

  • QA

    How to list the functions in a .a library on Linux

    ByQ A Mar 24, 2018

    How to list the functions in a .a library on Linux? You can use the nm command: The nm utility shall display symbolic information appearing in the object file, executable file, or object-file library named by file. If no symbolic information is available for a valid input file, the nm utility shall report that fact,…

    Read More How to list the functions in a .a library on LinuxContinue

  • QA

    Tutorial: How to trace a function in OCaml

    ByQ A Mar 24, 2018

    Tutorial: How to trace a function in OCaml. Use #trace. For example, to trace function f: # let rec f n = if n = 0 then 1 else f (n – 1) * n;; val f : int -> int = <fun> # #trace f;; f is now traced. # f 4;; f <–…

    Read More Tutorial: How to trace a function in OCamlContinue

  • QA

    How to get a 10-byte length random string in bash

    ByQ A Mar 24, 2018

    How to get a 10-byte length random string in bash. Use this script to get a 10-byte string of letters: tr -dc “[:alpha:]” < /dev/urandom | head -c 10 You can also get a string of letters or numbers: tr -dc “[:alnum:]” < /dev/urandom | head -c 10 Or printable characters except space: tr -dc…

    Read More How to get a 10-byte length random string in bashContinue

  • QA

    How to remove cookies for a certain site in Chrome?

    ByQ A Mar 24, 2018

    How to remove cookies for a specific site/domain in Chrome? I just want to delete the cookies by one site, not the whole cookies stored by my browser. In Chrome’s settings (open chrome://settings/ in the URL bar): Search for “cookie” and you will find “Privacy” -> “Content Settings”. Click the button “Content Settings”. In the…

    Read More How to remove cookies for a certain site in Chrome?Continue

  • QA

    Mount Ext4 Partitions in Windows in read-only mode

    ByQ A Mar 24, 2018Oct 7, 2019

    How to mount Ext4 partitions from Linux in Windows in read-only mode? Read-only is required to ensure safety. Mounting is required so that traditional programs can use the partition without any changes. Ext2Fsd is a great tool for this. Ext2Fsd is a file system driver which allows accessing (both reading and writing) ext2, ext3 or…

    Read More Mount Ext4 Partitions in Windows in read-only modeContinue

  • QA

    How to automatically fill a batch of data to the PDF form

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to automatically fill a batch of data (well structured) to the PDF form? There are lots data items, so automatically do this by a program/script is required. If you know a little bit of Python, you can achieve this in Python with some libraries. Check How can I auto-populate a PDF form in Django/Python….

    Read More How to automatically fill a batch of data to the PDF formContinue

  • QA

    How to reset the Disqus WordPress plugin installation

    ByQ A Mar 24, 2018

    How to reset the Disqus WordPress plugin installation? After deactivating/activating the Disqus WordPress plugin, the ID and others are the same as the old ones. What I need is to change the Disqus forum ID for a WordPress installation. Find all the tuples in the _option table of WordPress that contains “disqus” and delete them….

    Read More How to reset the Disqus WordPress plugin installationContinue

  • QA

    Run cron jobs with environmental variables for an account

    ByQ A Mar 24, 2018

    A common error for configuring cron is to use environmental variables for an account in the cron command. However, cron will run the commands without these variables defined. In the crontab -e, adding . $HOME/.profile before the commands play the trick. For example: 0 */8 * * * . $HOME/.profile; ~/bin/my-command Cron is started by…

    Read More Run cron jobs with environmental variables for an accountContinue

  • QA

    Broken links checker for sites

    ByQ A Mar 24, 2018

    Tools to check broken links for websites. This tool is great for broken link checking: http://www.brokenlinkcheck.com/ . It check all your site automatically. W3C also has a tool to check a single page: http://validator.w3.org/checklink There is also an open-source tool LinkChecker: http://wummel.github.io/linkchecker/ If you are using WordPress, a plugin is also available: http://wordpress.org/plugins/broken-link-checker/

    Read More Broken links checker for sitesContinue

  • QA

    Installing WordPress in a sub directory while working for the whole site

    ByQ A Mar 24, 2018Jun 26, 2018

    How to install WordPress in a sub directory while working for the whole site? Putting the WordPress files in the root directory seems messy. A method is introduced here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory The process to move WordPress into its own directory is as follows: Create the new location for the core WordPress files to be stored (we…

    Read More Installing WordPress in a sub directory while working for the whole siteContinue

  • QA

    Shared hosting services with SSH enabled

    ByQ A Mar 24, 2018Sep 6, 2020

    Which shared hosting services have SSH enabled? SSH is a great tool for management and development. Lots shared hosting services support SSH. Here is a non-complete list: Dreamhost SSH on dreamhost: http://wiki.dreamhost.com/Enabling_Shell_Access BlueHost SSH on BlueHost: http://my.bluehost.com/cgi/help/180 GoDaddy SSH on GoDaddy: http://support.godaddy.com/help/article/4942 HostGator SSH on HostGator: http://support.hostgator.com/articles/hosting-guide/lets-get-started/how-do-i-get-and-use-ssh-access HostMonster SSH on HostMonster: http://my.hostmonster.com/cgi/help/180 ServerGrove SSH on…

    Read More Shared hosting services with SSH enabledContinue

  • QA

    How to host a domain registered in another account in a Dreamhost account

    ByQ A Mar 24, 2018

    How to host a domain name registered in another account in one Dreamhost account. Simply trying to add the new domain, it reports: Error! You can’t add that domain: already in our system You need to delete the domain from your hosting (DNS) from the account first. Don’t worry, the domain name is still there…

    Read More How to host a domain registered in another account in a Dreamhost accountContinue

  • QA

    How to set up MySQL replication

    ByQ A Mar 24, 2018Jun 26, 2018

    How to set up MySQL replication. And for debugging purpose, it will be great if I can run multiple MySQL instances on a single host. To set up MySQL replication, check these tutorials: MySQL Replication MySQL replication setup You can Setup multiple MySQL instances on single server.

    Read More How to set up MySQL replicationContinue

  • QA

    How to save PuTTY profiles/sessions?

    ByQ A Mar 24, 2018

    PuTTY is a great SSH client on Windows. However, how to save it’s profiles/sessions that I saved so that I can migrate my settings from one machine to another? PuTTY saves its settings in the registry of Windows. You can find it in the registry editor by run regedit under: HKEY_CURRENT_USERSoftwareSimonTatham You can save your…

    Read More How to save PuTTY profiles/sessions?Continue

  • QA

    Sending emails securely

    ByQ A Mar 24, 2018

    Sending emails securely is needed for certain situations, such as sending my bank account to my wife, giving my account password to my close friend for a while. How to send it? Regarding the recent US PRISM program, it is an important issue. Seeing your solution, a few of my own popped up. Here are…

    Read More Sending emails securelyContinue

  • QA

    Where is the .mli files for Core

    ByQ A Mar 24, 2018

    Where is the .mli files for Core installed by opam. It is under ~/.opam/4.00.1/lib/core where 4.00.1 is the version of OCaml used. For example, date.mli is under ~/.opam/4.00.1/lib/core/date.mli.

    Read More Where is the .mli files for CoreContinue

  • QA

    How to change an attachment’s parent post in WordPress

    ByQ A Mar 24, 2018

    How to change an attachment’s parent post in WordPress? The in WordPress posts depends on the child-parent relationship. It will be good to change the parent posts for attachments. The Change Media Parent WordPress plugin works great for me. After installing and activating it, a link to change the parent appears in the media control…

    Read More How to change an attachment’s parent post in WordPressContinue

  • QA

    Excerpt in homepage, category, tag and author pages for WordPress theme Twenty Thriteen

    ByQ A Mar 24, 2018

    Excerpt in homepage, category, tag and author pages for WordPress theme Twenty Thriteen. Also add the “read more” link after the excerpt. The patch: diff –git a/wp-content/themes/twentythirteen/content.php b/wp-content/themes/twentythirteen/content.php index 4f61b22..53b4686 100644 — a/wp-content/themes/twentythirteen/content.php +++ b/wp-content/themes/twentythirteen/content.php @@ -30,7 +30,7 @@ </div><!– .entry-meta –> </header><!– .entry-header –> – <?php if ( is_search() ) : // Only display…

    Read More Excerpt in homepage, category, tag and author pages for WordPress theme Twenty ThriteenContinue

  • QA

    How to import OCaml libraries

    ByQ A Mar 24, 2018Feb 26, 2019

    How to import 3rd party libraries (e.g. not standard libraries) in OCaml? An answer by Gabriel Scherer on how to import Batteries is just great and answers this question with much information. Although it is for Batteries, the method is general. The OCaml compiler (or toplevel, etc.) will find with no additional information only the…

    Read More How to import OCaml librariesContinue

  • QA

    Add the jane street opam repository

    ByQ A Mar 24, 2018

    How to add the jane street opam repository is introduced here. Here, we assume the branch to add is core-branch. You may need to replace the core-branch with the branch you need. $ git clone -b core-branch https://github.com/janestreet/opam-repository.git $ opam repo add js opam-repository Or, directly add the remote branch as an opam repository. $…

    Read More Add the jane street opam repositoryContinue

Page navigation

Previous PagePrevious 1 … 42 43 44 45 46 … 70 Next PageNext

© 2026 SysTutorials

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