Tag Archives: commands

Blender 3D – script to show python code under console.

To run this script yo need to select the render to Cycles Render.
Then go to Compositing from Screen layout ( in the top of the screen) and select Use Nodes from Material.
This will make a default material with a Diffuse BSDF .
The next step is to select Scripting from Screen layout.
This will allow you to make a script.
Create a new text and add this source code:

Press keys Alt+P or run the script from Text – Run Script.
When you click on tabs or select something the print function will print the python code into Console output area.
This can be used to see parts of python code from addons or Blender API.
Example with Archimesh addon :
You need to have this addon install and press the books button.
The result of this source code is show into console output and can be used with console shell to add books into your Scene:

Posted in 3D, All, Blender 3D, Programming, Python. Tagged with , , , , , , , .

Error: 0x80070005 from w32tm

I have locked the time on windows with the w32tm command. After I got through 2015 I had to update my Windows time. Although I have the same error at w32tm, here’s how we solved the problem:

Posted in All, Commands, Windows 10. Tagged with , , , , .

How to protect from mass ransomware attack.

On Windows 10, start by pressing Windows key + X, selecting PowerShell (Admin), and pasting the following code:

The SMB1 is an old protocol. More recent versions are not vulnerable to the WanaCryptor 2.0 variant.

Posted in All, Commands, PowerShell, Windows 10. Tagged with , , , , .

Linux: Display or change a pre-login message .

Open file /etc/issue and change the text:

You can use this to add some new infos or ascii image.
The images can be transform into ascii image by using convert image to ascii.
One example to convert a picture into ASCII TEXT,HTML is this website: picascii.com
The main problem can be if you have escape codes consist of a backslash (\) immediately followed by one of the letters explained below:

\b : Insert the baudrate of the current line.
\d : Insert the current date.
\s : Insert the system name, the name of the operating system.
\l : Insert the name of the current tty line.
\m : Insert the architecture identifier of the machine, eg. i486
\n : Insert the nodename of the machine, also known as the hostname.
\o : Insert the domainname of the machine.
\r : Insert the release number of the OS, eg. 1.1.9.
\t : Insert the current time.
\u : Insert the number of current users logged in.
\U : Insert the string “1 user” or “ users” where is the number of current users logged in.
\v : Insert the version of the OS, eg. the build-date etc.

Posted in All, Commands, Linux. Tagged with , , , .

Windows 10 – show system information.

This commands will show you information about your Windows operating system and network:

Posted in All, Commands, Windows 10. Tagged with , , , .