Labels

Android (1) Apache (1) bash (2) boost (2) C (37) C++ (5) cheatsheet (2) CLion (6) css (3) Debian (34) DL (17) dns (1) Docker (3) Dreamweaver (2) Eclipse (3) fail2ban (5) git (6) GitHub (5) Hacking (4) html (8) http (1) iOS (1) iPad (1) IRC (1) Java (33) javascript (3) Linux (183) Mac (21) Machine Learning (1) mySQL (53) Netbeans (6) Networking (1) Nexus (1) OpenVMS (6) Oracle (4) Pandas (3) php (17) Postgresql (8) Python (9) raid (1) RedHat (15) Samba (3) Slackware (52) SQL (14) ssh (1) svn (1) tar (1) ThinkPad (1) Virtualbox (4) Visual Basic (2) Visual Studio (1) Windows (8) wire (1)

Tuesday, 16 April 2024

Kill a process on OpenVMS

show system

stop/id=nnnn (where nnnn is the PID from the above command)

Restarting processes on Alpha

Current startup commands;

Start the Alpha Software;
@DFCROOT:[COMS]DFC_STARTUP.COM


Start the RMS software;
@DKB0:[SCOMAGG.S4111.STARTUP]DMS_START
affects the FixLink application on INTERFACE PC
affects the RMSLNK application on INTERFACE PC


To restart (1) without rebooting Alpha, do;
SET DEF DFCROOT:[COMS]
@STOP_PROCS.COM
@DFC_STARTUP.COM


To restart (2) without rebooting Alpha, do;
SET DEF DKB0:[SCOMAGG.S4111.STARTUP]
@DMS_STOP
@DMS_START

 

Saturday, 2 March 2024

Adding a PATH variable on the Mac

We can modify the /etc/paths file or we can create a file under /etc/paths.d such as /etc/paths.d/docker

which could contain;

~/.docker/bin

where the docker bin was located at /Users/my_username/.docker/bin

See also [here] for an example of adding JAVA to the System PATH in Linux.

Install command line tools on Mac

xcode-select --install 

Tuesday, 27 February 2024

MySQL flush-hosts and ERROR 1129 (HY000)

Often we see an error such as:

ERROR 1129 (HY000): Host 'nn.nn.nn.nn' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

Monday, 12 February 2024

Saturday, 3 February 2024

Java Method Overriding v Overloading

 I found this useful and interesting, especially as the terms are so easily mixed up (by me at least).

Friday, 2 February 2024

Nexus 5

Unlocking, rooting, installing a custom recovery, installing Kali and reverting my Nexus 5 back to stock.