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
<?php | |
// Initialise an empty array, not strictly necessary but good practice | |
$cards = []; | |
// A deck of cards is split into 4 types of cards, we use this | |
// when building the names of every card, in other words, each | |
// card is named "X of Y". | |
$card_suffixes = [ | |
'of Clubs', | |
'of Spades', |
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
' VBScript that toggles starting and stopping the Keyboard Visualizer application | |
' Script written by AaronMcHale (https://github.com/AaronMcHale) | |
' Helper code to get the path of your Desktop (you can modify this to use other folders | |
' like Documents), I use this because I have Keyboard Visualiser stored on my desktop | |
set WshShell = WScript.CreateObject("WScript.Shell") | |
strSpecialPath = WshShell.SpecialFolders("Desktop") | |
' CONFIGURATION SECTION |