Thursday, November 19, 2015

lost profile on windows xp (possibly on later as well)


When you get an error logging in on windows complaining that the profile is invalid, windows will attempt to create a new temporary profile.

It appears under such as

c:\Documents and Settings\<account name> not being accessible or such.

In the case encountered it got an access error.

There is an article below which explains at length how to recover.

The short of it is that one should do a System Restore.  This is under Accessories->System Tools->System Restore.

No need to remove the temp profile, unless you are tight on space.

BTW the temporary directory / profile created is TEMP

Substitute for C: above <system root> in the general case, but for most systems hopefully people had sense enough to leave it c:\  All bets are off in the case of running multiple versions, which might necessitate using a different directory.

Link to Tech Republic

how-do-i-recover-a-damaged-windows-xp-user-profile


Changing from text boot by default to gui boot with Rabian (Debian derivative)


This is for the Radxa Rock version of Debian.  Found by Debashis De (G+ id)

To help others:

    sudo systemctl set-default multi-user.target

To start GUI from text mode:

    sudo /etc/init.d/lightdm start

To go back to GUI mode:

    sudo systemctl set-default graphical.target

To get the current run-level:

    sudo systemctl get-default


Thursday, October 8, 2015

Ubuntu Unity behavior modification


Change number of workspaces

sudo apt-get install unity-tweak-tool
 
link askubuntu 

Eliminate unwanted preview newtab panels (cause much lost bandwidth on low bandwidth systems)
Blatant shoving of an unnecessary feature down everyones throat that is unneeded and is just commercial.

newtabs override

Look for a way to be more annoying about the Search Engine feature in the future.  I can't imagine anyone choosing Yahoo / Bing results over Google, even if you don't like the Googlies.

Downloadthemall

https://addons.mozilla.org/en-US/firefox/addon/downthemall/

Download Youtube Videos as MP4

https://addons.mozilla.org/en-us/firefox/addon/download-youtube/


Tuesday, August 18, 2015

PDP 11 and PDP 8 boards


Several boards from gold scrapper.  Most are in perfect condition as far as component condition, state of etch, etc.  One had a clipped lead on it under a wire which was from another board, not a pulled jumper.

I ordered several more, and am resisting the urge to buy a couple more to add to stock.  Seldom to see sanity in listings from seller, as far as pricing.

M8043



M8028 Async with Modem

M8192 KDJ11-A
KDJ11-A (Bitsavers) PDP 11/73
 

 


M8186 PDP 11/23 KDF-11A

Includes E57, MMU chip.

A-614 PDP 8 DAC

Sunday, August 16, 2015

desktop graphic control in linux ubuntu unity

Control workspaces for desktop, and hiding of the workspace control (switch to a single space)

http://askubuntu.com/questions/38789/how-do-i-add-and-remove-the-workspace-switcher-launcher-from-the-unity-launcher/
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 1
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 1
http://askubuntu.com/questions/260510/how-do-i-turn-on-workspaces-why-do-i-only-have-one-workspace
Using the Dash or a terminal, open the dconf-editor application. Navigate to
org.compiz.profiles.unity.plugins.core
Adding Nautilus to your desktop (more than just nautilus-open-terminal)

http://www.n00bsonubuntu.net/content/add-open-terminal-here-to-file-menu-ubuntu-14-04/

sudo apt-get install nautilus-actions -y
nautilus-actions-config-tool

To add the menu item click on the Define a new action button and select the Actions tab. Enable the Display item in location menu option and in the Context label field copy+paste the following line:

Open Terminal Here

Enable Display item in the toolbar.
Copy+paste the following line into the Tooltip field

Open Terminal Here

Set icon (optional): Icon -> Themed icons tab -> Click Applications -> Select terminal icon -> click Apply -> click OK


Click on the Command tab and copy+paste the following line into the Path field:

gnome-terminal
copy+paste the following line into the Paramters field:

Parameters: --working-directory=%d/%w
When done save the action and close the config tool and reload Nautilus using the following command:

nautilus -q


Wednesday, August 5, 2015

git development notes


these are assuming using git at unix command line:

follow instructions to create an ssh id_pub and update bitbucket for that.  separate from project.

clone working instance in a directory.

git clone https://username@bitbucket.org/repository/project.git

To commit files, git checkout

git status
git add -A
git commit -am "my edits"
git push -u origin master

**

Sunday, July 19, 2015

vmesxi support on nagios or vmware esxi


monitoring python script can be had here:

https://www.thomas-krenn.com/en/wiki/VMware_ESXi_Hardware_with_Nagios_or_Icinga_Monitoring

instructions for installing it in the nagios system can be had here:

http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php#CommandDefinition

Note: had a problem with minimal system install with setuptools for python environment not being installed.  This occurred on a system built up from a very minimal debian environment (ubuntu 14.10) and may happen other times.

http://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

to install setuptools

sudo su
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

Service definition for icinga command.cfg:

# Check HP Server hardware
define service{
        use generic-service
        host_name vmesxi3
        service_description Hardware
        check_command check_esxi_hardware!root!<password>
}