Skip to content

Instantly share code, notes, and snippets.

View evolvtyon's full-sized avatar
🎯
Focusing

Francisco Ramos evolvtyon

🎯
Focusing
View GitHub Profile
@evolvtyon
evolvtyon / remove-orphaned-cns-volumes.sh
Created December 6, 2024 00:56 — forked from bburky/remove-orphaned-cns-volumes.sh
Delete any orphaned CNS volumes found in vCenter without a corresponding Kubernetes PV
#!/bin/bash
# Delete any orphaned CNS volumes found in vCenter without a corresponding Kubernetes PV.
#
# Usage:
# ./remove-orphaned-cns-volumes.sh
# KUBECONFIG=whatever.kubeconfig FORCE=true ./remove-orphaned-cns-volumes.sh
set -euo pipefail
delete_volume() {
@evolvtyon
evolvtyon / vmware.md
Created October 12, 2024 18:47 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
This worked:
from:http://vmoutoussamy.blogspot.com/2015/03/installing-virtualbox-guest-additions.html
nstalling Virtualbox Guest Additions on SUSE Linux Enterprise Server 12 GA, SP1 or SP2
This article is not a complete and detailed how to, but will covered the subtlety of installing and using the Virtualbox Guest Additions (or Virtualbox Tools) on SUSE Linux Enterprise Server 12 GA (SLES 12) , SP1 (SLES 12 SP1) or SP2 (SLES 12 SP2).
Requirement:
Packages : gcc kernel-default-devel
And of course you need to add the CD image of the Virtualbox Guest Additions in your SLES 12 GA, SP1 or SP2 Virtual Machine :
Devices -> Insert Guest Additions CD image
@evolvtyon
evolvtyon / BetterOrbitControls.js
Created November 30, 2020 18:37 — forked from XanderLuciano/BetterOrbitControls.js
Improved three.js orbit controls with improved support for mobile devices, improved smoothing, and a few other features. Will have to merge in additional changes (like setAzimuthalAngle, setPolarAngle, and setRotation).
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
*/
// This set of controls performs orbiting, dollying (zooming), and panning.
// Unlike TrackballControls, it maintains the "up" direction object.up (+Y by default).
@evolvtyon
evolvtyon / teams-chat-post.sh
Created September 30, 2020 07:34 — forked from chusiang/teams-chat-post-for-workflows.sh
Post a message to Microsoft Teams with bash script.
#!/bin/sh
# =============================================================================
# Author: Chu-Siang Lai / chusiang (at) drx.tw
# Filename: teams-chat-post.sh
# Modified: 2018-03-28 15:04
# Description: Post a message to Microsoft Teams.
# Reference:
#
# - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025
#
name: 3(c) - Exercises
source code: |+
# L = {(0^n,0^m,0^n+m):n, m € N0}
input: '(00,00,)'
blank: ' '
start state: Qi
table:
Qi:
@evolvtyon
evolvtyon / ieESC_disable
Created February 10, 2020 15:19 — forked from danielscholl/ieESC_disable
Disable IE Enhance Security PowerShell
function Disable-ieESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0
Stop-Process -Name Explorer
Write-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}
Disable-ieESC