I made a theme style for typora app (thanks to it's maker) that is based on web technologies to support RTL
Plus it's :
- Elegant
- Eye Candy
| #!/bin/sh | |
| #Asking for sudo because the script needs it almost all the time | |
| sudo echo -n | |
| #Creating the key used to sign the two modules | |
| echo 'Preparing vmware key...' | |
| openssl req -new -x509 -newkey rsa:2048 -keyout VMWAREKEY.priv -outform DER -out VMWAREKEY.der -nodes -days 36500 -subj "/CN=VMware/" | |
| #Sign the modules |
| # Cisco IOS system navigation tree (for a Router) | |
| In here just trying to agregate the submenus most used in Cisco IOS, with the ? , to aid with the navigation mainly submenus used for CCNA. Created by Freddie Ventura updated on 21/10/2020 | |
| ## Exec Commands | |
| +------- | |
| <1-99> |aaa | |
| auto |crypto | |
| clear |custom-queue | |
| clock |eigrp |
| ### Install the required packages: | |
| sudo yum install openscap-scanner scap-security-guide | |
| ### Can we run a report? | |
| sudo oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_ospp --report /tmp/report.html /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml | |
| first scan gives “notapplicable” | |
| ### Now do this… | |
| sudo cp /usr/share/openscap/cpe/openscap-cpe-dict.xml /usr/share/openscap/cpe/openscap-cpe-dict.xml.dist |
| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
| # Powershell script to discover VMDK files that are not referenced in any VM's VMX file. | |
| # Warning - I've heard reports that this doesn't work on some versions of ESXi and have no had time to troubleshoot/test it. | |
| # Also detects VMDKs from machines that need snapshot consolidation (from differentials that exist but are not part of the tree). | |
| # Author: HJA van Bokhoven | |
| # Modifications: LucD | |
| function LoadSnapin{ | |
| param($PSSnapinName) | |
| if (!(Get-PSSnapin | where {$_.Name -eq $PSSnapinName})){ | |
| Add-pssnapin -name $PSSnapinName |