Skip to content

Instantly share code, notes, and snippets.

View asahicantu's full-sized avatar

Asahi Cantu asahicantu

View GitHub Profile
@asahicantu
asahicantu / gist:0602312565832be3661c15255a7679af
Created July 3, 2023 15:26
Configure WebApp to pull information from Azure KeyVault
az webapp identity assign --name "<your-webapp-name>" --resource-group "myResourceGroup"
az keyvault set-policy --name "<your-keyvault-name>" --object-id "<principalId>" --secret-permissions get list
@asahicantu
asahicantu / wifi.ps1
Created March 30, 2023 05:51
WIN10-Show windows WIFI profiles and passwords
## List all wifi profiles
netsh wlan show profiles
## List all wifi profiles with key
netsh wlan show profiles key = clear
## List a specific wifi profile
netsh wlan show profile name = $wifi_name
## List a specific wifi profile with key
@asahicantu
asahicantu / string-replace-all.xsl
Created February 18, 2020 07:25 — forked from przmv/string-replace-all.xsl
String replace all with XSL
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="string-replace-all">
<xsl:param name="text" />
<xsl:param name="replace" />
<xsl:param name="by" />
<xsl:choose>
<xsl:when test="contains($text, $replace)">
@asahicantu
asahicantu / keybase.md
Last active January 16, 2020 10:08
keybase.md

Keybase proof

I hereby claim:

  • I am asahicantu on github.
  • I am asahicantu (https://keybase.io/asahicantu) on keybase.
  • I have a public key ASDai0mJMwqV_GmppjHgR0A6qByegy5u0NxGLb_-f4U7CAo

To claim this, I am signing this object: