Thursday, May 30, 2019

Debloater

HOW TO RUN ps1 file type ?:

Create a batch file. Launching your PS1 file can be problematic because of the Powershell policy and also, PS1 scripts won't launch by default on a windows machine.
However, if you create a batch file that reference your PS1 script, then you're all set.
The -ExecutionPolicy Bypass will ignore the current system policy so your script can run without issues.
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& 'C:\Users\SO\Desktop\YourScript.ps1'"
See below two batch command using relative path.
# Launch script
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%mypath:~0,-1%\data\install.ps1'"

# Same thing but force the script to run as admin
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -NoExit -File ""%mypath:~0,-1%\data\install.ps1""' -Verb RunAs}"
In these two variants, the PS1 I am lauching is in a subfolder called data and script is called install.ps1. Therefore, I do not have to hardcode the script path in the batch file (you could put the PS1 at the same level than the batch file. In my example, I actually wanted only the batch at the first folder level and everything else "hidden from view" in a subfolder so the user does not have to think what file to execute.

RUN SCRIPTS FROM HERE:

Create Own Linux

Wednesday, May 29, 2019

GHOSTBSD

AutoCAD alter

HTML5

https://www.tutorialspoint.com/html5/

https://html.spec.whatwg.org/multipage/

https://www.geeksforgeeks.org/html5-introduction/

https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/say-hello-to-html-elements/

https://hp.myway.com/mergedocsonline/

https://www.geeksforgeeks.org/html5-game-development-infinitely-scrolling-background/


<!DOCTYPE html>
<html>
    <head>
        <title>details tag</title>
        <style>
            summary {
                font-size:40px;
                color:#090;
                font-weight:bold;
            }
        </style>
    </head>
    <body>
        <details>
            <summary>GeeksforGeeks</summary>
            <p>A computer science portal for geeks</p>
            <div>It is a computer science portal where you
            can learn programming.</div>
        </details>
    </body>
</html>         


______________________________________________________________

<!DOCTYPE html>
<html>
    <head>
        <title>dialog tag</title>
        <style>
            dialog {
                color:green;
                font-size:30px;
                font-weight:bold;
                font-style:italic;
            }
            body {
                text-align:center;
            }
        </style>
    </head>
    <body>
        <h1><dialog> tag</h1>
        <dialog open>Welcome to GeeksforGeeks</dialog>
    </body>
</html




______________________________________________________________


<!DOCTYPE html>
<html>
    <head>
        <title>meter tag</title>
    </head>
    <body>
        <h1>GeeksforGeeks</h1>
        <p>Meter Tag:</p>
        Sachin's score: <meter value="5" min="0" max="10">5 out of 10</meter>
        <br>Laxma sxore: <meter value="0.5">50% from 100% </meter>
    </body>
</html>