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/bash | |
# Clone all github.com repositories for a specified user/organization. | |
if [ $# -eq 0 ] | |
then | |
echo "Usage: $0 <type>(me|users|orgs) <user_name>" | |
exit; | |
fi |
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
write-host "checking..." | |
# check for apache | |
$apache = scoop which httpd | |
if($lastexitcode -ne 0) { 'Apache isn''t installed. run ''scoop install apache'''; return } | |
# check for php | |
$php = scoop which php | |
if($lastexitcode -ne 0) { 'PHP isn''t installed. run ''scoop install php'''; return } |