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
Main form fields amendment: | |
<? | |
function mymodule_admin_settings($form, &$form_state) { //this is a funky comment | |
#... | |
$form = array_merge($form, _mymodule_debug_form()); //append settings form with debug fields | |
return system_settings_form($form); | |
}//end function mymodule_admin_settings($form, &$form_state) | |
?> | |
<? |
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
#!/bin/sh | |
# Parallels VM management | |
# start/pause/resume Parallels VM. When starting VM mounts VM users home dir (default) as | |
# network share on local machine using fuse4x and sshfs. When pausing VM, unmounts network | |
# share before pausing VM. | |
vmsb() { #Usage: vmsb <command:string [start|resume|pause|stop]> | |
#### Colors #### | |
txtrst='\\033[0m' # Text Reset | |
txtred='\\033[0\;31m' # Red |