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 -e | |
fatal() { echo "FATAL: $@" 1>&2; exit 1; } | |
warn() { echo "WARN: $@"; } | |
info() { echo "INFO: $@"; } | |
usage() { | |
cat <<EOF | |
Usage: sudo $0 client_or_profile_name | |
This will create two ovpn files in this directory (proxy and noproxy). |
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 -e | |
rm -rf /var/www/openvpn/htdocs/profiles/[0-9a-f]* |
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 -e | |
# List users in the system | |
echo "Users setup in the system." | |
ls /etc/openvpn/easy-rsa/keys/*ovpn|xargs -n 1 -I FNAME basename FNAME .ovpn|grep -v proxy|xargs -n 1 -I NAME echo " NAME" | |
echo ------ | |
echo Active users | |
echo ------ | |
cat /var/log/openvpn/server.log |
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 -e | |
watch -n 1 cat /var/log/openvpn/server.log |
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 -e | |
rm -rf /var/www/openvpn/htdocs/profiles/[0-9a-f]* | |
ls /etc/openvpn/easy-rsa/keys/*ovpn|xargs -n 1 -I FNAME basename FNAME .ovpn|grep -v proxy|xargs -n 1 -I CNAME ./create_user.sh CNAME |
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 -e | |
rm -rf /var/www/openvpn/htdocs/profiles/[0-9a-f]* |
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
https://share.philips.com/sites/STS20150610141515/_vti_bin/ListData.svc/ITServicePortfolio()?$filter=not substringof('Lighting',Domain/Domain) and (ServiceManager eq null or Subdomain eq null or LifecycleStatus eq null)&$select=ServiceManagerId,SubdomainId,LifecycleStatusId |
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
{"text":"Dreamstation manual\n\nAccessories\nThere are several optional accessories available for your DreamStation 2 device. For a full list of accessories that can be used with this device, see the DreamStation 2 accessory list at www.philips.com/IFU. Contact your home care service provider for additional information on the available accessories. When using optional accessories, always follow the instructions enclosed with the accessories.\nYou can order accessories for the dreamstation online. Home health professionals can order accessories at https://www.homehealth.estore.philips.com/. Hospital professionals can order at https://www.patientcare.shop.philips.com/.\n\n\n2. Device Setup\n\nPlace the device on a firm, flat surface somewhere within easy reach of where you will use it at a level lower than your sleeping position. Make sure the device is away from any heating or cooling equipment (e.g., forced air vents, radiators, air conditioners). Note: When positioning the device, make sure that the power ca |
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
{"text": "<title>Hard Times In New York Town</title> <lyrics>Come you ladies and you gentlemen, a-listen to my song\n\nSing it to you right, but you might think it’s wrong\n\nJust a little glimpse of a story I’ll tell\n\n’Bout an East Coast city that you all know well\n\nIt’s hard times in the city\n\nLivin’ down in New York town\n\n\n\nOld New York City is a friendly old town\n\nFrom Washington Heights to Harlem on down\n\nThere’s a-mighty many people all millin’ all around\n\nThey’ll kick you when you’re up and knock you when you’re down\n\nIt’s hard times in the city\n\nLivin’ down in New York town\n\n\n\nIt’s a mighty long ways from the Golden Gate\n\nTo Rockefeller Plaza ’n’ the Empire State.\n\nMister Rockefeller sets up as high as a bird\n\nOld Mister Empire never says a word\n\nIt’s hard times from the country\n\nLivin’ down in New York town\n\n\n\nWell, it’s up in the mornin’ tryin’ to find a job of work\n\nStand in one place till your feet begin to hurt\n\nIf you got a lot o’ money you can make your |
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
{"text": "<title>Hard Times In New York Town</title> <lyrics>Come you ladies and you gentlemen, a-listen to my song\n\nSing it to you right, but you might think it’s wrong\n\nJust a little glimpse of a story I’ll tell\n\n’Bout an East Coast city that you all know well\n\nIt’s hard times in the city\n\nLivin’ down in New York town\n\n\n\nOld New York City is a friendly old town\n\nFrom Washington Heights to Harlem on down\n\nThere’s a-mighty many people all millin’ all around\n\nThey’ll kick you when you’re up and knock you when you’re down\n\nIt’s hard times in the city\n\nLivin’ down in New York town\n\n\n\nIt’s a mighty long ways from the Golden Gate\n\nTo Rockefeller Plaza ’n’ the Empire State.\n\nMister Rockefeller sets up as high as a bird\n\nOld Mister Empire never says a word\n\nIt’s hard times from the country\n\nLivin’ down in New York town\n\n\n\nWell, it’s up in the mornin’ tryin’ to find a job of work\n\nStand in one place till your feet begin to hurt\n\nIf you got a lot o’ money you can make your |