This file contains hidden or 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
| images |
This file contains hidden or 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
| # Written by https://github.com/nickstewart95 | |
| echo Stop Brew | |
| sudo brew services stop php | |
| sudo brew services stop [email protected] | |
| sudo brew services stop [email protected] | |
| sudo brew services stop [email protected] | |
| sudo brew services stop [email protected] | |
| sudo brew services stop [email protected] | |
| echo Unlinking previous PHP packages |
This file contains hidden or 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
| <?php | |
| ini_set('display_errors', true); | |
| error_reporting(E_ALL); | |
| require __DIR__ . '/vendor/autoload.php'; | |
| use Symfony\Component\DomCrawler\Crawler; | |
| use Twilio\Rest\Client; | |
| $sid = 'ABC123'; |
This file contains hidden or 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
| //Load the current WP core version | |
| include( ABSPATH . WPINC . '/version.php' ); | |
| if (version_compare($wp_version, '5.3') < 0) { | |
| //If WP core is < 5.3, do a PHP version check ourselves | |
| $php_version = phpversion(); | |
| if (version_compare($php_version, '7.1') < 0) { | |
| die('This plugin requires PHP 7.1 or higher'); | |
| } | |
| } |
This file contains hidden or 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
| curl -H 'Authorization: Bearer <token>' https://na59.salesforce.com/services/data/v37.0/sobjects |
This file contains hidden or 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
| curl -H 'Authorization: Bearer <token>' "https://na59.salesforce.com/services/data/v37.0/query/?q=SELECT+Id+FROM+Contact+WHERE+Account__c='SalesforceId'" |
This file contains hidden or 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
| curl -H "Authorization: Bearer <token>" https://na59.salesforce.com/services/data/v37.0/limits |
This file contains hidden or 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
| curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' --data "grant_type=password&client_id=key&client_secret=secret&[email protected]&password=mypassword" https://login.salesforce.com/services/oauth2/token</token> |
This file contains hidden or 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
| import { composeWithDevTools } from 'remote-redux-devtools'; | |
| //All of your other store setup stuff | |
| const composeEnhancers = composeWithDevTools({ realtime: true }); | |
| const store = createStore( | |
| reducers, | |
| composeEnhancers( | |
| applyMiddleware(/* middleware stuff */) |
NewerOlder