Skip to content
CodeMarvels
A Coder’s Notebook.
  • Home
  • About
  • Privacy Policy

Category: notes

notes/technology

How to find the latest queries run in MySQL

Posted on September 24, 2012 by Sreekumar Kj

Run the following queries – SET GLOBAL log_output = 'TABLE'; SET GLOBAL general_log = 'ON'; After the latest 100 queries executed after this is done can be foun...

notes/technology

Activate password authentication on Ubuntu VMs on Amazon EC2

Posted on September 7, 2012 by Sreekumar Kj

ssh -i [path to private-key-file] [target IP] # In the host shell sudo adduser [username]     # Add a new user; this command also prompts for setting the passwo...

notes/technology

Extract .gz file using gzip without deleting the original file

Posted on September 3, 2012 by Sreekumar Kj

Extract the .gz file to standard output (option -c) and pipe this to target file. # example <pre><code>gzip -c inputfile.gz > outputfile</code...

notes/technology

Find the files contained in/provided by an Ubuntu/Debian package

Posted on August 28, 2012 by Sreekumar Kj

On console, run dpkg -L [package name] Sreekumar KjSreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2...

notes/technology

Find the list of installed packages in Ubuntu/Debian

Posted on August 28, 2012 by Sreekumar Kj

To find the list of installed packages on ubuntu/debian, on console run <pre>dpkg --get-selections</pre> To find if a specific package is installed ...

notes/technology

Temporarily enable SSH password authentication on RHEL/Centos VMs.

Posted on August 17, 2012 by Sreekumar Kj

To enable password based authentication on RHEL/Centos machines, login as root to the target host. ( sudo the commands below if you are not logging in as root) ...

notes/technology

Public key authentication not working on RHEL/CentOS

Posted on August 17, 2012 by Sreekumar Kj

Problem: SSH asks for password even after updating the .ssh/authorized_keys in target host with user’s public key. Reason: A permission issue Fix: Login with pa...

notes/technology

Fix Vim editor on Ubuntu

Posted on June 11, 2012 by Sreekumar Kj

Problem: The arrow keys insert characters, no status message at the bottom etc. Reason : The default Vim on Ubuntu is vim-tiny, a skeleton version. Fix: Install...

notes/technology

Eclipse Compilation error: [function/type] is not accessible due to restriction on required library … rt.jar

Posted on May 26, 2012 by Sreekumar Kj

Problem : Eclipse gives the error – “[function/type] is not accessible due to restriction on required library … rt.jar” when building a project. Reason: Project...

notes/technology

Ubuntu Error: Unable to lock the administration directory (/var/lib/dpkg/)

Posted on May 25, 2012 by Sreekumar Kj

Problem: Ubuntu gives error “Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?” when using apt-get. Reason: Another apt...

Posts pagination

« Previous 1 … 7 8 9 10 Next »

Recent Posts

  • Aindram Volume 01, My First Stint at AI Music Production
  • Indra Geetam 02: A poem inspired from RigVeda Suktam 1.4
  • Indra Geetham 01: A Song of Indra, Inspired by Ṛgveda Sūkta 1.5
  • देवेन्द्रषोडशस्तुतिः
  • इन्द्रस्तुतिदशकम्

Categories

  • Algorithms
  • Android Development
  • BoshServlet
  • C++ projects
  • Code Philosophies
  • Conversational AI
  • Machine Learning
  • Miscellaneous
  • notes
  • Poetry
  • Society
  • technology
  • Tutorial / Run-book

Recent Comments

No comments to show.

Archives

  • August 2026
  • August 2025
  • June 2025
  • February 2025
  • March 2024
  • April 2023
  • March 2023
  • February 2023
  • August 2022
  • December 2021
  • November 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • February 2020
  • August 2019
  • May 2019
  • November 2018
  • September 2018
  • August 2018
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • December 2016
  • September 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • September 2015
  • May 2015
  • February 2015
  • January 2015
  • July 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • September 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • February 2012
  • December 2011
  • July 2011
  • June 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
© 2026 CodeMarvels
Powered by WordPress | Theme: Graphy by Themegraphy