LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Hard-earned lessons

Posted 12-05-2015 at 01:58 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

If there is one thing I have never fully understood, it is bird people. They have tons of birds loose in their house, feathers and bird crap on everything...just, not a good way to go, right? Last time I visited a friend who is a bird person, I had some feathery jerk land on my head and crap on my glasses.

I'm more of a fish and reptile person. I tolerate cats and dogs (well, moreso cats than dogs). So when my wife suggested we get two parakeets to keep as pets, I wasn't thrilled....
Member
Posted in Uncategorized
Views 1790 Comments 8 rocket357 is offline
Old

Debugging C Programs Using GDB (Including core dumps!)

Posted 12-01-2015 at 03:32 PM by rtmistler
Updated 12-07-2015 at 08:34 AM by rtmistler

The added (including core dumps!) to my title is actually the main reason for me deciding to write this entry.

So very many times I see new programmers who write something, it compiles, so they run it, and then they are stumped because their programming resulted in a segment violation and possibly a core file. And now they're stuck, not knowing why this occurred and also having no real idea how to proceed.

Background - What Likely Led to This State/Situation
...
Senior Member
Views 1669 Comments 0 rtmistler is offline
Old

PuppEX (Puppy Slacko64) Live DVD with kernel 4.3.0-x86_64-puppex

Posted 11-30-2015 at 05:27 PM by exton (Exton's Blog)

PuppEX Slacko 64 bit is a remaster of Puppy Linux Slacko64 6.3.0, released on November 16, 2015. Kernel 4.3.0-x86_64-puppex is used. Kernel 4.3 is the latest available stable kernel from Kernel.org as of 151130. PuppEX uses the original Puppy Slacko64 Desktop. I have added PCManFM and LXTerminal. They are more useful than ROX-Filer respectively RXVT, I think. The ISO file is on the whole 766 MB, which is due to me including also NVIDIA Graphics driver 352.63, Gimp, Vlc Media Player 2.2.1 installed...
ExTiX Admin
Views 1599 Comments 0 exton is offline
Old

Scripting a Wordpress rollout - Method II

Posted 11-30-2015 at 01:50 PM by Habitual
Updated 11-30-2015 at 04:21 PM by Habitual

Now even shinier!
It's a rude and crude script, but it works for experienced admins who knows what they are doing,
and where they are doing it.

Code:
#!/bin/bash
### 11/30/2015 
### jj/Habitual

clear

do_work ()
{ 
    BASEDIR=/var/www/html
    mkdir -pv "$BASEDIR"/"$DOMAIN"/
    cp -pr /var/www/wordpress/* "$BASEDIR"/"$DOMAIN"/
    cp "$BASEDIR"/"$DOMAIN"/wp-config-sample.php
...
LQ Addict
Posted in Uncategorized
Views 1604 Comments 0 Habitual is offline
Old

Scripting a Wordpress rollout - Method I

Posted 11-27-2015 at 07:11 PM by Habitual
Updated 12-08-2015 at 01:54 PM by Habitual

We have 60 Wordpress sites to roll-out and I dislike tedious crap, so I scripted it.
# CentOS release 6.7 (Final)

Code:
#!/bin/bash
### 11/27/2015 07:03:58 PM
### jj/Habitual
### Wordpress files deployment
BASEDIR=/var/www/html

echo -n "Domain? " ; read DOMAIN

if [ -d $BASEDIR/$DOMAIN ] ; then
echo "directory exists, exiting..." ; exit 1
else
mkdir -pv "$BASEDIR"/"$DOMAIN"
...
LQ Addict
Posted in Uncategorized
Views 1569 Comments 0 Habitual is offline

  



All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration