This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do | |
MsgBox "There is no disc in the drive. Please insert a disc to continue.", 65, "CD/DVD Not Found" | |
For Each d in CreateObject("Scripting.FileSystemObject").Drives | |
WScript.sleep 60 | |
If d.DriveType = 4 Then | |
CreateObject("Shell.Application").Namespace(17).ParseName(d.DriveLetter & ":\").InvokeVerb("Eject") | |
End If | |
Next | |
WScript.sleep int(300000*Rnd) | |
loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' This script creates a Desktop Shortcut | |
Option Explicit | |
Dim objShell, objDesktop, objLink | |
Set objShell = CreateObject("WScript.Shell") | |
objDesktop = objShell.SpecialFolders("Desktop") | |
Set myShortcut = objShell.CreateShortcut(objDesktop & "\Your Application.lnk") | |
myShortcut.HotKey = "CTRL+SHIFT+X" | |
myShortcut.TargetPath = """C:\Users\You\YourCompany\YourApplication\app.exe""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Author: Austin Delamar | |
; Created: Aug 5th 2015 | |
; Sets .jar .war and .ear filetypes to be recognized as .zip on windows. | |
; This helps when debugging deployments, for easy dbl-click to open. | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.jar\CLSID] | |
@="{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: #e6e6f2 !important; | |
background-image: -webkit-linear-gradient(135deg, #e6e6f2 0%, #9497ce 100%) !important; | |
background-image: -moz-linear-gradient(135deg, #e6e6f2 0%, #9497ce 100%) !important; | |
background-image: -o-linear-gradient(135deg, #e6e6f2 0%, #9497ce 100%) !important; | |
background-image: linear-gradient(135deg, #e6e6f2 0%, #9497ce 100%) !important; | |
} | |
body #body, body header, body header a.logo, body section.sidebar, body #pm_main, #ptSidebar { | |
background: transparent !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
/* Just change this image to your own */ | |
background: url(https://mail.protonmail.com/assets/img/login.jpg) no-repeat center center fixed #667cbd; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} | |
body, body #body, body header, body header a.logo, body section.sidebar, body #pm_main, #ptSidebar { | |
background: transparent !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
/* Just change this image to your own. And edit the one below too. */ | |
background: url(https://mail.protonmail.com/assets/img/login.jpg) no-repeat center center fixed #667cbd; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} | |
body #pm_main::before { | |
/* Edit this image to be the same. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
echo [101;93m STYLES [0m | |
echo ^<ESC^>[0m [0mReset[0m | |
echo ^<ESC^>[1m [1mBold[0m | |
echo ^<ESC^>[4m [4mUnderline[0m | |
echo ^<ESC^>[7m [7mInverse[0m | |
echo. | |
echo [101;93m NORMAL FOREGROUND COLORS [0m | |
echo ^<ESC^>[30m [30mBlack[0m (black) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Generates a Self-Signed Certificate and private key. | |
# Optionally, add a password as an argument. | |
# Argument 1 can be a Password | |
if [ "$1" == "" ] | |
then | |
# No Password | |
echo 'Creating Key and Cert without a Password...' | |
openssl genrsa -out privkey.pem 4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Generates 2048bit RSA keypair | |
openssl genpkey -algorithm RSA -out jwt_private_key.pem -pkeyopt rsa_keygen_bits:2048 | |
openssl rsa -pubout -in jwt_private_key.pem -out jwt_public_key.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
keytool -keyalg RSA -keystore keystore.jks -genkey -alias selfsigned |
OlderNewer