I hereby claim:
- I am ph-7 on github.
- I am ph7 (https://keybase.io/ph7) on keybase.
- I have a public key ASBpSP6Z_pxWI1qQTkdQyMoomXruMnS2L4Zxmzda78uKewo
To claim this, I am signing this object:
| <?xml version="1.0"?> | |
| <info> | |
| <ph7> | |
| <social-dating-cms> | |
| <upd-alert>false</upd-alert> | |
| <name>NaOH</name> | |
| <version>7.0.0</version> | |
| <sql-shcema-version>1.3.6</sql-shcema-version> | |
| <build>1</build> | |
| </social-dating-cms> |
| function doSearch(array, targetValue) { | |
| var min = 0; | |
| var max = array.length - 1; | |
| var guess; | |
| while (max >= min) { | |
| guess = Math.floor((max + min) / 2 ); | |
| if (targetValue === array[guess]) { | |
| return guess; |
| -- | |
| -- Author: Pierre-Henry Soria <[email protected]> | |
| -- Copyright: (c) 2017, Pierre-Henry Soria. All Rights Reserved. | |
| -- License: GNU General Public License | |
| -- | |
| -- Change reserved MySQL column names | |
| -- Using backticks around reserved MySQL words is ugly and not working well with all environments | |
| ALTER TABLE pH7_Settings CHANGE `name` settingName varchar(64) NOT NULL; | |
| ALTER TABLE pH7_Settings CHANGE `value` settingValue varchar(150) DEFAULT ''; |
I hereby claim:
To claim this, I am signing this object:
| PS1='\[\033[0;36m\]\h:\w\[\033[0;32m\]$(__git_ps1)\n\[\033[0;32m\]\[\033[0m\033[0;32m\]' | |
| -- | |
| -- Author: Pierre-Henry Soria <[email protected]> | |
| -- Copyright: (c) 2017, Pierre-Henry Soria. All Rights Reserved. | |
| -- License: GNU General Public License; https://www.gnu.org/licenses/gpl-3.0.en.html | |
| -- | |
| --- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix | |
| INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES |
| -- | |
| -- Author: Pierre-Henry Soria <[email protected]> | |
| -- Copyright: (c) 2017, Pierre-Henry Soria. All Rights Reserved. | |
| -- License: GNU General Public License; https://www.gnu.org/licenses/gpl-3.0.en.html | |
| -- | |
| --- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix | |
| INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES |
| #!/bin/bash | |
| ## | |
| # Author: Pierre-Henry Soria <[email protected]> | |
| # Copyright: (c) 2012-2017, Pierre-Henry Soria. All Rights Reserved. | |
| # License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. | |
| ## | |
| accepted_ext="-name '*.php' -or -name '*.css' -or -name '*.js' -or -name '*.html' -or -name '*.xml' -or -name '*.xsl' -or -name '*.xslt' -or -name '*.json' -or -name '*.yml' -or -name '*.tpl' -or -name '*.phs' -or -name '*.ph7' -or -name '*.sh' -or -name '*.sql' -or -name '*.ini' -or -name '*.md' -or -name '*.markdown' -or -name '.htaccess'" | |
| exec="find . -type f \( $accepted_ext \) -print0 | xargs -0 perl -wi -pe" |
| -- | |
| -- Author: Pierre-Henry Soria <[email protected]> | |
| -- Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. | |
| -- License: GNU General Public License; https://www.gnu.org/licenses/gpl-3.0.en.html | |
| -- | |
| --- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix | |
| ALTER TABLE PH7_SysModsEnabled ADD COLUMN moduleTitle varchar(50) NOT NULL; |
| -- | |
| -- Author: Pierre-Henry Soria <[email protected]> | |
| -- Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. | |
| -- License: GNU General Public License; https://www.gnu.org/licenses/gpl-3.0.en.html | |
| -- | |
| --- Replace 'PH7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix | |
| INSERT INTO PH7_Settings (`name`, value, `desc`, `group`) VALUES | |
| ('usersBlock', 1, '0 to disable or 1 to enable the profile photos on the homepage', 'homepage'), |