The Linux Pages

Programming

Pages related to coding, computer programming, software development. You know… geek stuff.

Installing xdotool from source (missing XTest and other dependencies)

23 August 201115 September 2015 ench0 6 Comments Package Managers, Programming, RPM

If you don’t know what xdotool is then this post is not for you… Although many distros come with a packaged xdotool it is usually pretty old version (e.g. the one that comes wiht FC15 does not have the selectwindow command!) so you will most likely want to get the source tarball and install that. […]

Continue reading


Setting up Android development environment on a Linux host

23 June 201131 May 2013 ench0 4 Comments Android Development, Programming, VirtualBox

Using a PC with FC-15 Linux… Install eclipse. Follow all steps on the android development web page to install the Adroid SDK and ADT plugin for eclipse. If you ever need access to Android’s sources you will need git and a tool named ‘repo’ written by google, which works on top of git. The tool […]

Continue reading


Checking ‘dynamic’ conditions in Makefile’s

2 June 201128 May 2012 ench0 1 Comment Programming, Shell and environment

How can you test ‘dynamic’ conditions in a gnu Makefile? The net is full of GNU-Makefile advise explaining how to define variables and then later use them at compile time to run different commands or different targets. This is all very useful but often time you want to run a command and test it’s result […]

Continue reading


How to create a brand new git tracking branch (from scratch)?

26 May 201126 May 2011 ench0 Leave a comment Git, Programming

There’s tons of advice on the web on how to setup a new local branch that tracks and existing remote branch. But what I was looking to do is create a brand new branch (i.e. not yet present neither on hte server nor on your workstation) and have it be a tracking branch. After lots […]

Continue reading


Git remote branches: how to create, track, remove/delete

19 April 201118 August 2016 ench0 5 Comments Git, Programming

1. Here’s how to to create a remote branch in git:: git push origin origin:refs/heads/my_branch … or even simpler and more straightforward: git branch my_branch # create branch locally git push origin my_branch # push it to server 2. To push your changes to the remote branch: git push origin my_branch 3. To delete the […]

Continue reading


How to find out my libc (glibc) version?

12 April 201128 May 2012 ench0 2 Comments C programming

To check your libc (glibc) version type “ls -l /lib/libc.” and hit TAB. This should expand the line into the name of your libc library file, e.g. something like /lib/libc.so.6 Umm… no,  the .6 does not mean that your glibc version is 6, unfortunately it is a little more complicated than that 🙂 … but not […]

Continue reading


How can I make gcc do this…

25 March 201120 December 2017 ench0 2 Comments C programming, Programming

This post will be dedicated to gcc’s command line options and various other questions related to compiling/building your code with gcc. For example… ——————– How can I get gcc to generate assembly code for my C file: gcc -O2 -S -c foo.c ——————– How can I tell gcc to generate an assembly listing? (that is […]

Continue reading


How to move a branch in git?

23 March 201111 July 2017 ench0 2 Comments Git, Programming

“Moving a branch” may mean two things: 1. Move the contents (the commits, the changes) associated with a branch name somewhere else in the repository. 2. Move the branch name (not the code changes!) to point to some other commit. Let’s examine the two possibilities in detail: 1. Move branch contents and name: This case […]

Continue reading


Posts navigation

Newer posts

Tags

bash boot compile C programming drupal drush emacs etc ethernet Fedora git grep how to html httpd init kernel linux linux partition login mariadb mount mysql networking oracle package managers password phpMyAdmin programming rpm shell sql ssh vbox version control system virtual box vm web server win32 wordpress www xargs xfce xwin yum

Categories

  • Android Development
  • Bash
  • C programming
  • dpkg/apt-get
  • drupal
  • Emacs
  • Git
  • Java
  • Linux administration
  • Linux device drivers
  • Linux Gaming
  • Linux kernel
  • Linux Networking
  • Linux on Windows
  • Linux printing
  • Linux sound and ALSA
  • Package Managers
  • Programming
  • RPM
  • Shell and environment
  • Tips and tricks
  • Uncategorized
  • VirtualBox
  • Virtualization
  • web development
  • wine
  • WMaker
  • Wordpress Tips
  • X Window System
  • XFCE
dazzling Theme by Colorlib Powered by WordPress