Valet switch PHP version with these commands
Install PHP 5.6 and switch Valet to PHP 5.6
valet stop
brew unlink php71
brew install php56
brew install php56-mcrypt
<?php | |
/** | |
* @author: Biplob Hossain <biplob.ice@gmail.com> | |
* @license MIT | |
*/ | |
namespace BatchProcessing\Console\Command; | |
use Concrete\Core\Console\Command; | |
use Concrete\Core\Support\Facade\Facade; |
// using HtmlAgilityPack; | |
// using Newtonsoft.Json.Linq; | |
private static async Task ScrapeOffFormSkeletonFromGoogleFormsAsync(string yourGoogleFormsUrl) | |
{ | |
HtmlWeb web = new HtmlWeb(); | |
var htmlDoc = await web.LoadFromWebAsync(yourGoogleFormsUrl); | |
var htmlNodes = htmlDoc.DocumentNode.SelectNodes("//script").Where( | |
x => x.GetAttributeValue("type", "").Equals("text/javascript") && |
<?php | |
/** | |
* FizzBuzz 問題 | |
* * 3で割り切れる場合は Fizz と出力 | |
* * 5で割り切れる場合は Buzz と出力 | |
* * 3でも5でも割り切れる場合は Fizz Buzz と出力する | |
* | |
* Fork ボタンでフォークして作業開始 | |
* | |
* スクリプトの実行方法 $ php fizzbuzz.php |
#!/bin/bash | |
# Creator: Phil Cook | |
# Modified: Andy Miller | |
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g') | |
brew_array=("5.5","5.6","7.0","7.1","7.2", "7.3") | |
php_array=("php@5.5" "php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3") | |
valet_support_php_version_array=("php@5.5" "php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3") | |
php_installed_array=() | |
php_version="php@$1" |
{ | |
"info": { | |
"_postman_id": "e3ad840b-0fe8-42d2-976c-af3cbbb4d083", | |
"name": "c5 API", | |
"description": "concrete5's built in API", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "oauth", |
{ | |
"fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-archive","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-audio-description","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars", |
<?php | |
/* | |
------------------------------------------------------- | |
Plugin Name: RSCSV/Posts 2 Posts | |
Description: Connect imported posts using Posts 2 Posts connections | |
Author: Chris Weissenberger, Aleksandr Beliaev | |
Version: 1.3 | |
*/ | |
add_filter('really_simple_csv_importer_post_saved', function($post) { | |
if (is_object($post)) { |
<?php | |
namespace Application\Job; | |
use Concrete\Core\Cache\Cache; | |
use Config; | |
use Job as AbstractJob; | |
use Core; | |
use Database; | |
use PermissionKey; |