2014-10-01ãã1ã¶æéã®è¨äºä¸è¦§
Netbeansã§Laraveléçºããã¨ãã¯ãPSR-2ã«åãããã«ä»¥ä¸ã®è¨å®ããã¦ããã æ¹è¡è¨å® ãã¼ã« ãªãã·ã§ã³ ã¨ãã£ã¿ ãã©ã¼ããã è¨èª:PHP ã®é ã«éã ãã«ãã´ãª:ä¸æ¬å¼§ãâãã¡ã½ãã宣è¨:æ¹è¡ã ãã«ãã´ãª:ä¸æ¬å¼§ãâãã¯ã©ã¹å®£è¨:æ¹è¡ã ãã«ãã´ãª:æ¹è¡â¦
Sentryã§configã®ã³ãã¼ãå¿ãã¦ããã¨ä»¥ä¸ã®ãããªã¨ã©ã¼ãã§ãã Array to string conversion以ä¸ã®ã³ãã³ããæã¦ã°configãã³ãã¼ãããã php artisan config:publish cartalyst/sentry
Bladeã®foreachå ã§å¤æ°ãã«ã¦ã³ãããã«ã¯â¦æ®éã«PHPãæ¸ãã°ããã @foreach($titles as $title) @endforeach
Oxwallã§ãã°ã¤ã³ç¶æ ãä¿æããã«ã¯ãèªåãã°ã¢ã¦ãæ©è½ï¼deleteExpiredï¼ãç¡å¹ã«ããã public function deleteExpiredOnlineUsers() { $timestamp = time() - 30 * 60; #$this->userOnlineDao->deleteExpired($timestamp); }
workbenchã使ã£ã¦èªä½ããã±ã¼ã¸ãä½ã£ã¦ããã¨ã¨ã©ã¼åºãã¨ããããã >php artisan {"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","me ssage":"Class 'Antron\\Tasktable\\TasktableServiceProvider' not found","file"â¦
èªä½ããã±ã¼ã¸ã®Bladeã§extendsãããã¨ãã¯ããã±ã¼ã¸åãæå®ããã°ããã @extends('mypackagename::default') @section('content') <div class="container bs-docs-container"> <div class="bs-docs-section"> <p>Hello</p> </div> </div> @stop
éçºçã®Laravel5ã触ã£ãéæã BaseControllerãç¡ããªã£ãã php artisan migrate:makeãç¡ããªãphp artisan make:migrationã«ãªã£ãã ç°å¢è¨å®ãã¡ã¤ã«ã.envã«ãªã£ãã viewãappç´ä¸ããresourcesç´ä¸ã«ç§»ã£ãã HTMLã¨FORMãç¡ããªã£ã make:commanâ¦
Pythonã®ä½æ¥ä¸ã«ä»¥ä¸ã®ã¨ã©ã¼ãåºãå ´åã¯psycopg2ãWindowsã«ã¤ã³ã¹ãã¼ã«ããã Error: pg_config executable not found.psycopg2ã¯ãããããã¦ã³ãã¼ãããã°OKã http://stickpeople.com/projects/python/win-psycopg/
Python3ã®ããã¸ã§ã¯ã管çã½ãããtaiga.ioãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã pip install -r requirements.txt https://github.com/taigaio/taiga-backã¨ãæã£ããDjango1.7 + Python3.4ãMySQLã«å¯¾å¿ãã¦ããªããã¨ã«æ°ãã¤ããã®ã§ããã§ãããã
ããã±ã¼ã¸å ç¨ã®routes.phpãä½ãããã¨ãã¯workbench\vendor\packagename\srcç´ä¸ã«routes.phpãç½®ãã次ã«ãµã¼ãã¹ãããã¤ãã¼ã®boot()ã«routes.phpãç»é²ããã public function boot() { $this->package(vendor/packagename); include __DIR__ . '/../â¦
Laravelã®ããã±ã¼ã¸éçºã§workbenchå ã«viewãä½ãæ¹æ³ã解説ãã¾ãã ã¾ãããã±ã¼ã¸å ã«viewãä½ã ä¾ãã°ä»¥ä¸ã®ããã«srcãã©ã«ãå ã«viewsãã©ã«ããä½ãããã®ä¸ã«bladeãã¡ã¤ã«ãå ¥ããã workbench\vendor\packagename\src\views\index.blade.php coâ¦
Sentryã使ã£ãLaravelã®Controllerãç§ã¯ä»¥ä¸ã®ããã«æ¸ãã¦ããã public function doLogin() { $inputs = array( 'email' => Input::get('email'), 'password' => Input::get('password'), ); try { Sentry::authenticate($inputs, false); $cookie = Cooâ¦
CSVãæ±ãLaravelããã±ã¼ã¸ã¯ããã¤ããã£ããã©ãä¸çªä¾¿å©ã ã£ãã®ã¯Laravel-Excelã ã£ãããããªæãã§èªã¿è¾¼ããã $csvs = Excel::load('test.csv')->setDateFormat('Y-m-d')->toArray();
ãã°ã¤ã³ç»é¢ã使ãå ´åã¯IDãemailã¢ãã¬ã¹ãªã©ãcookieããåãåºãããã $email = Cookie::get('email'); return View::make('layouts.login')->with('email', $email);
CentOS 6.0ã«gccãå ¥ããæã®æé ã¡ã¢ã rpm -Uvh glibc-common-2.12-1.132.el6.x86_64.rpm glibc-2.12-1.132.el6.x86_64.rpm rpm -ivh nss-softokn-freebl-3.14.3-9.el6.i686.rpm glibc-2.12-1.132.el6.i686.rpm rpm -ivh libgcc-4.4.7-4.el6.i686.rpm rpm â¦
Formã®selectã使ãã¨ãã«ããã®valueã¯Configããæã£ã¦ãããã¨ãå¤ããç§ã®å ´åã¯ä»¥ä¸ã®ããã«ãã¦ããã {{ Form::select('movies[]', Config::get('movies.title'), $movies , ['multiple' => true,'data-rel'=>'chosen','class'=>'span12']) }}
Linuxã§ãã©ã«ããªã³ã¯ãå¼·å¶ä¸æ¸ãã§è²¼ãã³ãã³ãã ln -snf /var/www/futari/public /var/www/html/futari
Perlã¹ã¯ãªããã¨åãã£ã¬ã¯ããªã«ããèªä½ããã±ã¼ã¸ã«ãã¹ãéãæ¹æ³ã use FindBin qw($Bin); use lib "$Bin"; use Mypackage;
Laravel5 devã ã¨ã¢ãã«ãä»ã¾ã§éãã«ä½¿ããªããªã£ã¦ãããåå空éã\Appããæå®ããªãããã¡ã¿ããã
Laravelã使ã£ãã©ã¤ã»ã³ã¹ç®¡çã½ããã¦ã§ã¢ã§Snipe-ITã¨ããã®ããã£ããLaravel4.1ã¨Sentry2ã使ãã試ãã«ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã snipe/snipe-it · GitHub composer updateãããã ã¤ã³ã¹ãã¼ã«ã®ä»æ¹ã¯ããããããªãã£ãã®ã§ãZIPã解åãã¦composer â¦
Dokuwikiã使ã£ã¦ããããpagelistãã©ã°ã¤ã³ãç¡ãã§ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºã¦ãããpagelistã¯ä»ã®ãã©ã°ã¤ã³ããã使ããã¦ããã®ã§ãç¡æ¡ä»¶ã§ãå ¥ãã¦ããã¦ãè¯ããããããªãã Helper plugin pagelist is not available or invalid.ã¡ãªã¿ã«Dokuwâ¦
ã¾ã éçºä¸ã ãã©Laravel5ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã composer create-project laravel/laravel five dev-develop --prefer-distãã°ããéãã§ã¿ããã php artisan -V Laravel Framework version 5.0-dev
Wikiãç¡å¹ã«ãããã¨ãã¯ã§å²ãã°ããã <nowiki>[[åå空é:ãã¼ã¸ã¿ã¤ãã«]]</nowiki>