When using Visual Studio (recent versions), with vdproj files, you may get an error or warning that the file is incompatible or unable to open.
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Thursday, 28 October 2021
Monday, 25 October 2021
Bash comparisons
integer comparison
-eq
is equal to
if [ "$a" -eq "$b" ]
-ne
is not equal to
if [ "$a" -ne "$b" ]
-gt
is greater than
if [ "$a" -gt "$b" ]
-ge
is greater than or equal to
if [ "$a" -ge "$b" ]
-lt
is less than
if [ "$a" -lt "$b" ]
-le
is less than or equal to
if [ "$a" -le "$b" ]
string comparison
==
is equal to
if [ "$a" == "$b" ]
!=
is not equal to
if [ "$a" != "$b" ]
[source]
Tuesday, 21 September 2021
Detect screen size in php
Detecting the screen size in php, is not something that can be done with php alone but the following is what I use to kind of get around it.
Monday, 20 September 2021
Get next AUTO INCREMENT value from a mysql table
SELECT AUTO_INCREMENT as 'next_id' FROM information_schema.TABLES
WHERE TABLE_SCHEMA = 'db_name' AND TABLE_NAME = 'table_name';
Wednesday, 15 September 2021
Restoring a fsarchiver file to a temporary block device.
Restoring a fsarchiver file to a temporary block device.
Sunday, 29 August 2021
Configure Netbeans to use ssh key with GitHub
Following a recent change to GitHub, username and passwords would no longer work with Netbeans and others when interacting with repositories. Other IDE's such as Jetbrains are able to use Tokens but Netbeans proved to be a little more stubborn.
Saturday, 28 August 2021
Discrete or continuous data
Continuous data is data obtained by measurement whereas discrete data is data obtained by counting.
Friday, 20 August 2021
Cracking Windows passwords with Ophcrack
A Reminder...
Tuesday, 17 August 2021
Mount vhd file under Linux
To mount a vhd file under Linux (tested with Debian buster), firstly get the following;