Skip to content

Commit

Permalink
References & rawgithubuseuercontent.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanMqz committed Feb 6, 2024
1 parent 014eabc commit 031112c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 19 deletions.
36 changes: 20 additions & 16 deletions .html/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -2980,22 +2980,26 @@
<div class="github-markdown-content"><span id="markdown-mermaid" aria-hidden="true"
data-dark-mode-theme="dark"
data-light-mode-theme="default"></span>
<h1 align="center" style="text-shadow: 2px 1px darkblue; color: white; text-align: center; text-decoration: underline;">
<p>Background Context Menu Registries</p>
</h1>
<h1 style="text-shadow: 2px 1px darkblue; color: white; text-align: center; text-decoration: underline;">
<p>Background Context Menu Registries</h1></p>

<div align="right">
<p><a href="https://htmlpreview.github.io/?https://github.com/EstebanMqz/Registries/blob/main/.html/README.html"><img src="https://img.shields.io/badge/HTML-100000?style=flat&amp;logo=html5&amp;logoColor=red" alt="HTML"></a></p>
</div>

<p><a href="https://htmlpreview.github.io/?https://github.com/EstebanMqz/Registries/blob/main/.html/README.html"><img src="https://img.shields.io/badge/HTML-100000?style=flat&amp;logo=html5&amp;logoColor=red" alt="HTML"></a></p></div>


<h3 id="quick-acess">Quick Acess:</h3>
<div align= "center">

<p>This repo is meant to enable <b><u>User/System Environment Variables<b></u> so that <a href="https://git-scm.com"><img width="18px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Git_icon.svg/1024px-Git_icon.svg.png"></a>ย <a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmd"><img width="18px" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS48snSTjPW64ev65oSLQjJfKnxqW0ieAsSIgXW0wI3Rt3EJFklPuz2_fDX0Ez_rj5vMyA&usqp=CAU"></a>ย <img width="18px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/PowerShell_5.0_icon.png/18px-PowerShell_5.0_icon.png">ย <a href="https://www.jetbrains.com/pycharm/"><img width="18px" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/PyCharm_Icon.svg/512px-PyCharm_Icon.svg.png"></a>ย <a href="https://icons8.com/icon/82ixf4KHn6za/notepad"><img width="18px" src="https://img.icons8.com/?size=48&id=82ixf4KHn6za&format=png"></a></b> prompts in cd are displayed in all ๐Ÿ“‚ Backgrounds:</p><br><br>

<div id="./bashrc-./profile" style="display: flex; justify-content: center; align-items: center"><img src="https://raw.githubusercontent.com/EstebanMqz/Registries/main/images/.bashrc.jpg" alt="Profile Bashrc" width="400" style="border: 1px solid white;"></div><br><br>

<div style="background-color: #d97707; height: 2px;"></div>
<h3 style="text-shadow: 2px 1px darkgreen; color: white; text-align: center; text-decoration: underline;">
User Account Control:
</h3>
User Account Control:</h3>

<div align="left">
<h4 id="1-grant-your-username-administrative-permissions">1. Grant your <code>&lt;USERNAME&gt;</code> Administrative Permissions.</h4>
<p>Run <a href="https://github.com/EstebanMqz/Registries/blob/main/.ps1/Admin.ps1"><code>Admin.ps1</code></a> with Administrative privileges</p>
<pre><code class="language-shell"><span class="hljs-meta prompt_">#</span><span class="language-bash">PS</span>
Expand Down Expand Up @@ -3157,12 +3161,11 @@ <h2 style="text-shadow: 2px 1px darkgreen; color: darkred; text-align: center; t
```
directory should enable Registries &amp; Commands in any ๐Ÿ“ Backgrounds <a href="https://en.wikipedia.org/wiki/Pwd">pwd</a>:<br><br>

<div align = "center">
<a href="#./bashrc-./profile">
Right-click โžœ Open Details
</a>

<br>
Right-click โžœ Open Details </a></div><br>

<div align= "center">
<Details open> <Summary> <b style="font-size: 11px;"> Repo Visualization: </Summary>
<a name = "Repo-Visualization"></a><br>
<!-- ![diagram](./images/diagram.svg) if local unfetched -->
Expand All @@ -3171,7 +3174,8 @@ <h2 style="text-shadow: 2px 1px darkgreen; color: darkred; text-align: center; t
<div align = center>

<a href="https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=EstebanMqz%2FRegistries">
<img src="file:///c:\Users\Esteban\Desktop\Projects\Github\Repos_To-do\Languages\Other\Repositories\Registries\images\diagram.svg" width="450" height="450"></a><br><br></div></Details>
<img src="https://raw.githubusercontent.com/EstebanMqz/Registries/f52b8b75b857e5cf5a05b3b477737bdeacf727c6/images/diagram.svg" width="450" height="450"></a><br><br></div></Details>

<div style="font-size: 14px;">
<table>
<tr>
Expand Down Expand Up @@ -3218,9 +3222,9 @@ <h4>
<p><a href="https://estebanmqz.github.io/EstebanMqz/html/Resume.html"><img width="40px" height="40px" src="https://img.icons8.com/ios/50/0e55b3/resume-website.png" alt="Resume"></a>
<a href="https://www.linkedin.com/in/esteban-m65381722210212839/"><img width="40px" height="40px" src="https://img.icons8.com/?size=512&amp;id=MR3dZdlA53te&amp;format=png" alt="LinkedIn"></a>
<a href="https://tinyurl.com/2y86e2wa"><img width="36px" height="36px" src="https://cdn.worldvectorlogo.com/logos/whatsapp-business-bg.svg" alt="Business"></a>
<a href="mailto:[email protected]" style="text-decoration: none;"><img width="40px" height="40px" style="max-width: 100%; max-height: 100%;" src="https://img.icons8.com/color/452/gmail-new.png" alt="Gmail"></a>
<a href="https://github.com/EstebanMqz?tab=repositories"><img width="40px" height="40px" style="max-width: 100%; max-height: 100%;" src="https://cdn3d.iconscout.com/3d/free/thumb/free-github-6343501-5220956.png?f=webp" alt="Github"></a>
<a href="https://gitlab.com/EstebanMqz"><img width="40px" height="40px" style="max-width: 100%; max-height: 100%;" src="https://img.icons8.com/color/452/gitlab.png" alt="GitLab"></a></p>
<a href="mailto:[email protected]" style="text-decoration: none;"><img width="40px" height="40px" style="max-width: 100%; max-height: 100%;" src="https://img.icons8.com/color/452/gmail-new.png" alt="Gmail"> </a> <a href="https://github.com/EstebanMqz?tab=repositories"><img width="40px" height="40px" style="max-width: 100%; max-height:100%;" src="https://cdn3d.iconscout.com/3d/free/thumb/free-github-6343501-5220956.png?f=webp" alt="Github"></a</div>
<a href="https://gitlab.com/EstebanMqz"><img width="40px" height="40px" style="max-width: 100%; max-height: 100%;" src="https://img.icons8.com/color/452/gitlab.png" alt="GitLab"></a></p></div>

<div align= "left">
<div style="font-family: Arial, sans-serif; color: #c4c8ff; font-size: 15px;">
<p>โšกโšกAvailability: <i> 24/7 on <b>WA</b> (business inquiries only) <br></p>
Expand All @@ -3229,7 +3233,7 @@ <h4>
</Details>
</div>
</div>
</div>
</div>
<script async src="https://cdn.jsdelivr.net/npm/katex-copytex@latest/dist/katex-copytex.min.js"></script>
<script async type="text/javascript">
/* From extension bierner.markdown-mermaid */
Expand Down
9 changes: 9 additions & 0 deletions .ps1/PS_ise.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$PS_ise = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName foreach ($Module in $PS_ise.Modules) {Write-Output {if ($Module.ModuleName -like 'powershell_gui.exe')}; Write-Output $Module.FileName; Write-Output ' '} | Out-File -FilePath $PS_ise -Force
```

```powershell
# Path: PS_ise.ps1
$PS_ise = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName foreach ($Module in $PS_ise.Modules) {Write-Output {if ($Module.ModuleName -like 'powershell_gui.exe')}; Write-Output $Module.FileName; Write-Output ' '} | Out-File -FilePath $PS_ise -Force
```

###
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,17 @@ Get Icon's registry <i>(double-back-slashed)<b></i>.exe</i> PATH:</b>

```powershell
#PowerShell terminal
Write-Output(([System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName)).replace('\', '\\')
#1. Open File Explorer and copy PS.exe Icon in ps1 format:
#'https://github.com/EstebanMqz/Registries/blob/main/.reg/PowerShell.reg'
$PS = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName; Start-Process explorer.exe (Split-Path $PS); $PS = ($PS + '').Replace('\', '\\'); Set-Clipboard -Value $PS; Write-Output $PS
#e.g: 'C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe'
#2. Copy PS_ise.exe Icon PATH & do a .Replace('\', '\\\\').
#Confirm your syntaxes with the .reg/PowerShell.reg file
```

The folder contains the [powershell.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1#parameters) & [power_ise.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_ise_exe?view=powershell-5.1)<br>
Run [``PowerShell.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/PowerShell.reg) (modify PATHs accordingly).
The parent folder contains the [powershell.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1#parameters) & [power_ise.exe](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_ise_exe?view=powershell-5.1)<br>
Run [``PowerShell.reg``](https://github.com/EstebanMqz/Registries/blob/main/.reg/PowerShell.reg)<br>
<b><u>(modify PATHs accordingly)</b></u>.

---

Expand Down Expand Up @@ -206,6 +212,7 @@ source ~/.bashrc

4. Ensure that Environments Startup PATHs are loaded correctly by running:<br>

$PS = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName; Start-Process explorer.exe (Split-Path $PS); $PS = ($PS + '').Replace('\', '\\'); Set-Clipboard -Value $PS; Write-Output $PS

``` bash
#Bash
Expand Down

0 comments on commit 031112c

Please sign in to comment.