Tag Archives: 2016

How to see and understanding the shaders with Microsoft Visual Studio.

You need Visual Studio from Microsoft from Visual Studio 2015 website .
The shaders used by Microsoft Visual Studio 2015 come like DGSL file.
This extension is associated with the Microsoft Visual Studio integrated development environment that allows programmers to create applications for Microsoft Windows, Windows Phone, web etc.
Also , the .dgsl file stores definitions of 3D surfaces.
Any of the dgsl file type can be found here: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\VsGraphics\Assets\Effects\;
You can see one screenshot of visual one shaders.shaders

Posted in All, Visual Studio, Windows 10. Tagged with , , , .

Make firefox addon with node.js and jpm – part 001.

Download the npm from nodejs official website.
Run the windows downloaded program and make your testing directory and run the npm:

The next step is to run the instalation of jpm with this:

Will see also the folders where is the new jpm.
To make your addons you need to login into your firefox dev account and take one generate API credentials.
Then run this commands and fill with data the new addon, like you can see in the next example:

I have this files into my folder free-tutorials.org_addons:

The my_user is my user and you will have the name of your user.
Use the next command to build an XPI.

Into this moment the addon is not signed. If you use about:config will see this:
npm_jpm_addon_signature
Use this link to submit the addon. You need to upload your XPI file and also to follow the steps from mozilla website.
When you done the you can see your addon.
My default example addon version 0.0.1 can be found here: free-tutorials.org addon.
The addon is not signed yet so will need to set xpinstall.signatures.required to false from about:config if you want to install it.
I will make another tutorial about how to do the signed process.

Posted in All, node.js, Programming, web, Windows 10. Tagged with , , , , , , , , , , , .

PowerShell tips – part 001.

Some examples and tips with Windows 10 PowerShell. Most of this maybe will working with old versions of Windows but I tested just with Windows 10.

Let’s start:

See the indication of a denial of service (DoS) attack:
netstat -ant | Select-String “SYN_RECEIVED”

Last boot uptime:
(get-date) – (gcim Win32_OperatingSystem).LastBootUpTime

Scan one for threats / malwares (if the scan run then will got one error) :
Start-MpScan -ScanType [QuickScan/FullScan/CustomScan] -ScanPath “C:”

List all drives:
get-psdrive –psprovider filesystem

Make one list of Windows Services and use filter if you want:
Get-Service
Get-Service -Name “Web*”
Get-Service | Out-GridView

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

Windows 10 – replace cmd with powershell.

1. Why PowerShell?
– since Windows 7 we have a new command-line environment in Windows named PowerShell;
– is a much more powerful command-line shell;
– the scripting language is more good than the Command Prompt;
– is more complicated than the traditional Command Prompt;
– uses different commands, known as cmdlets in PowerShell;
– allows you to create your own commands and scripts using the C# programming language;
2. How to replace cmd with powershell.
Right click with the mouse on taskbar from bottom of your Windows screen.
Then select the tab named Navigation and select option with: “Replace the …”. Press then Ok button.
Right click with the mouse on the Start icon and will see the replacement of Command Prompt.
replace_cmd_powershell

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

Using DISM – part 001.

The Deployment Image Servicing and Management named DISM.exe is a command-line tool that can be used to service a Windows. DISM can be used to mount and service a Windows image from a .wim file, .vhd file, or a .vhdx file or, in some cases, to update a running operating system. It’s working for Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012. Also may help you to fix some Windows corruption errors – and this will be the subject of this tutorial.
So you need to start the Command Prompt (Admin) by right clik with the mouse on Start button.
Then select the Command Prompt (Admin) and press Yes to User Acces Control modal dialog.
You will see the Command Prompt (Admin) and use this commands:

– it’s gonna take some time.

– use if you encountered an error at the scan.
The DISM tool creates a log file: %windir%/Logs/DISM/dism.log
You can read more about this tool from here.
DISM

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