OC tool stands for OpenShift Origin Client Tools
- Operating System : Ubuntu 16.04 LTS (64-bit)
#!/usr/bin/env python | |
""" | |
How to use it: | |
1. Just `kill -2 PROCESS_ID` or `kill -15 PROCESS_ID` , The Tornado Web Server Will shutdown after process all the request. | |
2. When you run it behind Nginx, it can graceful reboot your production server. | |
3. Nice Print in http://weibo.com/1682780325/zgkb7g8k7 | |
""" |
; Sample supervisor config file. | |
[unix_http_server] | |
file=/tmp/supervisor.sock ; (the path to the socket file) | |
;chmod=0700 ; sockef file mode (default 0700) | |
;chown=nobody:nogroup ; socket file uid:gid owner | |
;username=user ; (default is no username (open server)) | |
;password=123 ; (default is no password (open server)) | |
;[inet_http_server] ; inet (TCP) server disabled by default |
<?php | |
/** | |
* Includes extensions for Gravity Forms to SugarCRM and Hubspot | |
* The demo code with all fields is located at the bottom of the file | |
* for future reference so we don't have to hunt it down later | |
* | |
* Don't forget to read the link on how to finish off the SugarCRM | |
* integration. I'll blog about it eventually so it's all in one | |
* spot. | |
* |
<?php | |
$hubspot_config = array ( | |
'hsportalid' => '######', | |
'hapikey' => 'XXXXXX', | |
'hapiuser' => 'XXXXXX', | |
'hapipassword' => 'XXXXXX', | |
'sugarinstallpath' => 'http://somesite.com/sugarcrm/', | |
'hapilogfile' => './sycnlog.txt'); | |
?> |