Skip to content

Instantly share code, notes, and snippets.

View nilkesede's full-sized avatar
🌀

Nil Késede nilkesede

🌀
View GitHub Profile
#!/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
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 }