This file contains 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 | |
namespace Concrete\Package\Attest; | |
use Concrete\Core\Package\Package; | |
use Concrete\Core\Backup\ContentImporter; | |
use Concrete\Core\Cache\Cache; | |
defined('C5_EXECUTE') or die("Access Denied."); | |
class Controller extends Package { |
This file contains 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 | |
declare(strict_types=1); | |
namespace Nagoyaphp\Dokaku18; | |
class Dokaku18 | |
{ | |
public function run(string $input) : string | |
{ |
This file contains 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 | |
declare(strict_types=1); | |
namespace Nagoyaphp\Dokaku16; | |
class Dokaku16 | |
{ | |
public $ok; | |
public $numbers; |
This file contains 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 | |
/** | |
* Class Bus | |
* | |
* バス代と、人数から、料金を計算する | |
* | |
* メインの処理は、 | |
* 乗客種別ごとの料金 | |
* 無料になる乗客の処理 |
This file contains 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 | |
// LICENSE: MIT | |
// by Fumito MIZUNO | |
// forked from controller/attribute/image_file/controller.php | |
namespace Application\Attribute\ImageFile; | |
use Core; | |
use Database; |
This file contains 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
.timeline { | |
list-style: none; | |
} | |
.timeline > li { | |
margin-bottom: 20px; | |
position: relative; | |
} | |
@media ( max-width : 639px ){ |
This file contains 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 | |
/* | |
****************************** | |
concrete5 ログインユーザーの属性を Mautic のトラッキングコードに引き渡すサンプル | |
****************************** | |
concrete5 テーマファイルに実装していただく想定です。 | |
concrete5 側のユーザー属性サンプル | |
メールアドレスは concrete5 のデフォルトのメールアドレスを取得する | |
last_name: 姓 | |
first_name: 名 |
This file contains 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 | |
$woman_1 = new Woman(0,1); | |
$woman_1->bear(2); | |
$woman_1->bear(3); | |
$woman_1->bear(4); | |
$woman_2->bear(5); | |
$woman_2->bear(6); | |
$woman_2->bear(7); |
This file contains 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 | |
/** | |
* 問題の説明は | |
* http://nabetani.sakura.ne.jp/hena/ord7selectchair/ | |
* | |
* 座席:両端に、仮想上の席を用意する | |
* | |
* 座席に点数をつける | |
* 両隣空き : 0 | |
* 方側空き : 1 |
This file contains 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 | |
$routes = array( | |
1 => array('a','g'), | |
2 => array('d','h'), | |
3 => array('b','f'), | |
'a' => array('b'), | |
'b' => array('c',5), | |
'c' => array(4,6), | |
'd' => array('c','e'), |
NewerOlder