Skip to content

Instantly share code, notes, and snippets.

View nmusco's full-sized avatar

NMusco nmusco

  • Musco Consulting
View GitHub Profile
@nmusco
nmusco / php.spec
Created June 23, 2020 19:49 — forked from yriveiro/php.spec
php-5.3.29 centos 7 spec
%global contentdir /var/www
# API/ABI check
%global apiver 20090626
%global zendver 20090626
%global pdover 20080721
# Extension version
%global fileinfover 1.0.5-dev
%global pharver 2.0.1
%global zipver 1.11.0
%global jsonver 1.2.1
@nmusco
nmusco / versionlock.list
Last active June 1, 2020 19:38
GoAutoDial 3.3 version lock
0:asterisk-1.8.23.0-1_centos7.go.x86_64
0:asterisk-core-1.8.23.0-1_centos7.go.x86_64
0:asterisk-dahdi-1.8.23.0-1_centos7.go.x86_64
0:asterisk-doc-1.8.23.0-1_centos7.go.x86_64
0:asterisk-voicemail-1.8.23.0-1_centos7.go.x86_64
0:dahdi-firmware-2.11.0-2.el7.centos.x86_64
0:dahdi-linux-2.11.1-2.el7.centos.x86_64
0:dahdi-tools-2.11.1-1.el7.centos
0:goautodial-ce-3.3-1406088000.*
0:libopenr2-1.3.3-1.el7.centos.x86_64
@nmusco
nmusco / php.ini
Created May 22, 2020 17:16
Custom php.ini setup for GoAutoDial v3.3
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@nmusco
nmusco / my.cnf
Created May 22, 2020 17:05
MariaDB configuration file setup specifically for GoAutoDial 3.3
[client-server]
!includedir /etc/my.cnf.d
[mysqld]
log-error=/var/lib/mysql/error.log
slow-query-log-file=/var/lib/mysql/slow.log
slow-query-log=ON
log-queries-not-using-indexes=ON
long-query-time=100
@nmusco
nmusco / MariaDB.repo
Created May 22, 2020 16:58
Custom Repo for MariaDB to install MariaDB 10.1.22 (latest version that supports both CentOS 5 and CentOS 7)
[mariadb]
name=MariaDB
baseurl=http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-10.1.22/yum/centos7-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
--- setup.py 2016-06-25 17:49:32.000000000 -0400
+++ setup.py 2020-05-06 11:06:32.000000000 -0400
@@ -808,11 +808,9 @@
depends=['socketmodule.h'],
libraries=math_libs) )
# Detect SSL support for the socket module (via _ssl)
- search_for_ssl_incs_in = [
- '/usr/local/ssl/include',
- '/usr/contrib/ssl/include/'
- ]
@nmusco
nmusco / Joe_______'s SugarCRM Cheat Sheet
Created August 17, 2017 17:31 — forked from spinegar/Joe_______'s SugarCRM Cheat Sheet
Joe_______'s SugarCRM Cheat Sheet
Sugarwiki
Adding a Field to the Modules Subpanels „ Popup Search “ definitions
Code way:
1. Use metadata/popupdefs.php (custom folder, if there is none copy original)
2. Seek section searchdefs' => array(…)
3. Add field to searchdefs
Or Studio way:
Admin > Studio > Contacts > Layouts > PopupView > Popup Search
Subpanel Query Change with custom fields
@nmusco
nmusco / SugarCRM Cheat Sheet.md
Created August 17, 2017 17:30 — forked from rajeshvaya/SugarCRM Cheat Sheet.md
Joe_______'s SugarCRM Cheat Sheet

Sugarwiki

Adding a Field to the Modules Subpanel, Popup Search definitions

  • Code way:
1.      Use metadata/popupdefs.php (custom folder, if there is none copy original)
2.      Seek section searchdefs'   => array(…)
3.      Add field to searchdefs
  • Studio way: