You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Power usage effectiveness (PUE) is a metric developed by The Green Grid that measures data center efficiency. Itâs a ratio of the total power consumed by a data center to the energy delivered to the servers. The ideal PUE is 1.0, meaning 100% of the data center energy powers the IT equipment. Best practice PUE for the IT sector is 1.5.
ããã«ã¡ã¯ãä¸å·ã§ãã PHPã§ã®éçºä¸ã®ã¡ãã£ã¨ãããããã°ã«ãecho ã var_dumpã§ç»é¢ã«å¤ãåºåãã¦ç¢ºèªãããã¨ãããã¾ãããã ãã®ãããã°æ¹æ³ã¯ç°¡åã§ããã®ã§ãããåºåããé åã®å¤ãªã©ã¯ããã¨è¦ã§ç¢ºèªããããã¨ã¯è¨ãã¾ããããç»é¢ã®è¡¨ç¤ºå 容ãå´©ããããã¾ãã ç»é¢ã«åºåããªãæ¹æ³ã¨ãã¦ã¯ã error_logé¢æ°ã使ã£ã¦apacheãã°ããã¡ã¤ã«ã«åºåããæ¹æ³ãããã¾ããã ãã®å ´åã¯ããµã¼ãå´ã«ãã°ã¤ã³ãã¦tailãªã©ã§ãã¡ã¤ã«å 容ã確èªããå¿ è¦ãã§ã¦ãã¾ãã ãããªã¡ãã£ã¨ããåé¡ã解決ãã¦ããããã¼ã« ãChrome Loggerãããç´¹ä»ãããã¨æãã¾ãã Chrome Loggerã使ãã°ãJavaScriptã®console.logã®ããã«ã 表示ç»é¢ã«ã¯å½±é¿ãä¸ããªãã§ãã©ã¦ã¶ã®ãããããã³ã³ã½ã¼ã«ã«PHPããå¤ãåºåã§ãã¾ãã â Chrome Logge
Celebrating 20 years of nginx! Read about our journey and milestones in the latest blog. nginx ("engine x") is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server. Originally written by Igor Sysoev and distributed under the 2-clause BSD License. Enterprise distributions, commercial support and training are available from F5, Inc. Docs ⢠Code
Read files in JavaScript Stay organized with collections Save and categorize content based on your preferences. Selecting and interacting with files on the user's local device is one of the most commonly used features of the web. It allows users to select files and upload them to a server, for example, when sharing photos or submitting tax documents. It also allows sites to read and manipulate the
çã«å¼ããã¦åå 寺@2024å¹´11æ 2024å¹´11æãæè¿æ¥ã«å¬ããã¦ãããªï½ã¨æã£ã¦ããããã大å¦ã®å人ããä¸éã®LINEãã ãæ¥é±æ«ãé·éè¡ããªãï¼ã æ¥ãæ¥ã ãªï½ãã§ãè¡ãããã ç¿é±ã¯æ¥ææ¥ã®å¤æ¹ã«æµ·ãè¦ãªããçãç«ã®äºå®ããã£ãã®ã§ãåææ¥æï½æ¥ææ¥ãæ¼ã¾ã§ã®å¼¾ä¸¸ã§ãé·éã«è¡ããã¨ã«ãâ¦
軽éãªPHP Frameworkã®FuelPHP1.5.3ãå©ç¨ãããã¨ã«ãªã£ãã®ã§ãåå¼·éå§ãitemsãã¼ãã«ãTASKã®fromdbã§scaffoldã php oil refine fromdb:scaffold --force items ããã§çæãããã¹ã±ã«ãã³ãã«ã¹ã¿ã ãã¦ãä¸è¬çãªDBãã¼ã¿ãä¸è¦§è¡¨ç¤ºãå®è£ ãããã¹ããå®æ½ãã¦ã¿ããã1ãã¼ã¸ãããã®è¡¨ç¤ºå¯è½ä»¶æ°ãæå®ã§ããããã«ãªã£ãã¨ããã§100,300,500件ã®è¡¨ç¤ºãããã¨çµæ§å¿çãé ããã¨ã«æ°ãã¤ããã ãµã¼ãã¼ã¹ããã¯ã¯CPU AtomD525ã»Memory 4GBã»SSDãªã®ã§ããã»ã©éãPCã§ããªããããã®ãããã§é ããªãã®ãã¡ãã£ã¨å¤ã ãªã¨èª¿ã¹ã¦ã¿ãã FuelPHP Profilerã®çµæ FuelPHPã«ä»å±ã®ProfilerãONã«ãã¦ã¿ã¦300件ã®ãªã¹ãã表示ãã¦ã¿ãã¨ãæéãããã£ã¦ããã¨ããã
軽éãªPHP Frameworkã®FuelPHP1.5.3ãã§ããã ãããã©ã¼ãã³ã¹ãã使ãããã¨è©¦è¡é¯èª¤ä¸ã Viewã«DBããselectããå¤æ°ã®çµæ(500件)ã渡ãã¨ãã®ããã©ã¼ãã³ã¹ã調æ»ãã¦ããã ORMã¨DBã®æ§è½å·® ããã¾ã§ã®ãã¹ãã§ã¯ãORMã®Model_Item::find() ãå©ç¨ãã¦ããããDB::select ãå©ç¨ããã¨ã©ããªãã ããã output_filteræã éåéãã0.707ç§ã output_filterç¡ã ãªãã¨ã0.176ç§ããã®é度ã¯é åã ãã£ã¨ã¾ã¨ã ã©ããModel::find()ã®æã¯ãSELECTçµæãå¦çããéã«ãQuery::hydrate ã§å¦çæéãããã£ã¦ãã模æ§ã [FuelPHP1.5.3ã§Viewã«æ¸¡ããã¼ã¿ãå¤ãå ´åã®ããã©ã¼ãã³ã¹][1]ã§ã®ãã£ã«ã¿æç¡ã¨åããã¦ã¾ã¨ãã¦ã¿ãã filteræã(ç§) f
JSã§Ratchetã¸ã®ã³ãã¯ã·ã§ã³ããªã¼ãã³ããæ new WebSocket("ws://example.com:1337"); ã®ããã«ãã¼ãçªå·ãæå®ãã¾ããããããæ¶ããããªã¼ã¨ã Ratchetããã¥ã¡ã³ã http://socketo.me/docs/deploy ã«ã¯HAProxyã®è¨è¼ãããã¾ãããNginxã®WebSocket Proxyã§ãã£ã¦ã¿ã¾ãããå°ã使ç¨ããNginxã¯ææ°ã®1.3.16ã§ãã 1. Apacheã®ãã¼ããå¤æ´ * Nginxã«ãã¼ã80ã使ç¨ããããã®ã§ãApacheã®ãã¼ããå¤æ´ãã¾ãã http://madroom-project.blogspot.jp/2013/04/ubuntuapache.html * ä½µãã¦ãApacheã¸ã®ã¢ã¯ã»ã¹ãNginxããã®ã¿ã«å¶éããã«ã¯ /etc/apache2/sites-available/de
2013/05/05 è¿½è¨ supervisor.confã®è¨å®ä¾ã«"environment"ã追å ãã¦ã"FUEL_ENV=production"ãè¨å®ããããã«ãã¾ããã -- Ratchetããã¥ã¡ã³ã http://socketo.me/docs/deploy ã«Supervisorã®è¨è¼ãããã¾ãã Supervisorã¯Python製ã®ããã»ã¹ç®¡çãã¼ã«ã§ããSupervisorãç¨ãããã¨ã§ãããã»ã¹ãæ°¸ç¶åããããã¾ãã å æ¥ä½æããRatchetããã±ã¼ã¸ããSupervisorã§æ°¸ç¶çã«èµ·åããã¦ã¿ã¾ãã https://github.com/mp-php/fuel-packages-ratchet 以ä¸ãæé ã§ãã 1. Supervisorã®ã¤ã³ã¹ãã¼ã« $ sudo apt-get install python-setuptools $ sudo easy_ins
2014/01/01 è¿½è¨ ãã¢ãµã¤ãã¯åæ¢ãã¾ããm(_ _)m -- FuelPHPã®Ratchetããã±ã¼ã¸ãä½ã®æ°ãªãã«ä½ã£ã¦ã¿ãããã§ããããã®å¾ããã£ããé¢ç½ãã¦ããã£ãããªã®ã§ãµã³ãã«ãå ¬éãã¦ã¿ã¾ããã(æ«ãã¯åããã¦ããã¨æãã¾ããã¡ã³ãã¨ãã§è½ã¡ã¦ããã´ã¡ã³ãªããã) URLã¯ä»¥ä¸ã«ãªãã¾ãã http://fuelratchet.madroom.org/ ãã¢ã®ã½ã¼ã¹ã¯ä»¥ä¸ã«ãªãã¾ãã(ãã¢ã§ã¯ã¡ããã£ã¨ã«ã¹ã¿ãã¤ãºãã¦ã¾ãã) https://github.com/mp-php/fuel-ratchet-samples FuelPHPã®Ratchetããã±ã¼ã¸ã¯ä»¥ä¸ã«ãªãã¾ãã https://github.com/mp-php/fuel-packages-ratchet Ratchetå ¬å¼ã®ãåç¨ç°å¢åãããã¥ã¡ã³ãã¯ä»¥ä¸ã§ãã http://socketo.me
â èª²é¡ fuel/app/config/development/db.php ã«æ¥ç¶å ã®è¨å®ããã¦ããã®ã«ã ãªããMysqlã«ã¤ãªãããªãã tmp/mysql.sockãè¦ã«è¡ãããã ã ç§ã®ç°å¢ã§ã¯/var/lib/mysql/mysql.sockã«ã½ã±ãããç½®ãã¦ããã socketã®åãå ãå¤æ´ããªããã°ãªããªãã â 対å¿æ¹æ³ socket='/var/lib/mysql/mysql.sock'ã æå®ããã°ãããã¨æã£ã¦ãã£ã¦ã¿ããããã¡ã ã£ãã 以ä¸ã®ããã«dsnå ã«è¨å®ãè¨è¿°ãããåããã vi fuel/app/config/development/db.php return array( 'default' => array( 'connection' => array( 'dsn'          => 'mysql:host=localhost;dbname=
4æ22æ¥è¿½è¨ãç´°ãã表ç¾ããã¼ã¿ã®è¿½è¨ããªã³ã¯ãä¿®æ£ãã¾ãããLaravel ã®ä½è ã«ãã Laravel 4 ã¨Symfony 2 ã®æ¯è¼ã¯ãã¡ãã®è¨äºãã覧ãã ããã 2013å¹´ã«ããã¦ãã£ã¨ã注ç®ãã¹ã PHP ãã¬ã¼ã ã¯ã¼ã¯ã¨ã㦠Laravel ãæããã å·çæç¹ã§ Laravel ã®ç¥èã¯ã»ã¨ãã©ãªãããæ°ããããã¸ã§ã¯ãã§ãããªãããè±èªåã«ããã¦ãã¾ãã¾ãªãã¥ã¼ããªã¢ã«ãæ¸ãããããç±çãªãã¡ã³ãç²å¾ããã¨è¦ããããã»ãã® PHP ãã¬ã¼ã ã¯ã¼ã¯ã®éçºããã¸ã§ã¯ããæ±ãã¦ããå°æ¥ã®èª²é¡ãèæ ®ããã¨ãLaravel ãå¦ã¶ä¾¡å¤ã¯ããã¨èããããã 4æ21æ¥ã®æç¹ã§ GitHub ã®ã¹ã¿ã¼ã®æ°ã¯3971ã§ããã2000年代å¾åããããã¸ã§ã¯ããåå¨ãã¦ãã CakePHP(3741) ããã³ Zend Framwork 2 (3905)ãè¶ ããPHP ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦
2013å¹´04æ13æ¥18:00 ã«ãã´ãªFuelPHP FuelPHPã§headerãéã ãã£ãã·ã¥ãããããªãWebãã¼ã¸ã¯ãHTTPã®ãããã« Pragma: no-cache çãå ããå¿ è¦ãããã¾ãã ãã£ãã·ã¥ã«ã¤ãã¦ã¯[Studying HTTP] HTTP Cachingã®ææ¸ãããããªã¨æãã¾ãã â»googleã§ãã£ãã·ã¥ã«ã¤ãã¦æ¤ç´¢ããã¨ããããåºã¦ãã¦ãã©ããæ£ããã®ãããããªããªã£ã¦ãã¾ããgoogleã®æ¤ç´¢ã¯ä¾¿å©ã§ããããæ£ããã¦ããä½ç³»çãªãææ¸ã«åºä¼ãã®ã¯é£ããã¨æãã¾ãã çã®PHPã®å ´åã¯ãheaderé¢æ°ã使ãã°OKã§ããã FuelPHPã®å ´åã¯ãResponseã¯ã©ã¹ã§headerã®ä¸èº«ãä½ã£ã¦ãsend_headers()ã§haederãéä¿¡ãã¾ãã FuelPHPã®ããã¥ã¢ã«ã¯Response - Classes - FuelPHP Docu
android (32) angularjs (16) apache (16) aptana (1) backbone.js (14) bazaar (1) bootstrap (4) cakephp (3) capistrano (3) chef (10) chrome (13) codeigniter (1) coffeescript (3) cordova (3) coveralls (1) css (2) docker (2) eclipse (6) espresso (1) facebook (6) flight (1) fluentd (2) fpac2011 (6) fuelphp (115) fuelphp2 (1) gae (2) garageband (1) gdata (3) gearman (2) git (16) github (7) gitlab (9) gru
fuelphp æ¥æ¬èªã¡ã¢@mkkn.doc fuelphpã®æ¥æ¬èªæ å ±ãããããã¨ãå 容ã®ä¿è¨¼ã¯ãããã¾ããã誤å/誤æ å ±ã®å ±åãå¾ ã¡ãã¦ããã¾ãã ã¡ãã¥ã¼ ã³ã³ãã³ãã¸ç§»å ãã¼ã å¼ãç¶ãDBã®æ´æ°/æ¿å ¥å¦çã«ã¤ãã¦ãååä»ããã¬ã¼ã¹ãã«ãã®å©ç¨ã«ã¤ãã¦ã解説ãã¦ããã¾ãã åè:Query Builder Select â Classes â FuelPHP Documentation updateæã«ããæ´æ° updateã«ããæ´æ°å¦çã¯,updateã¡ã½ããå©ç¨ãã¾ããæ´æ°è¡ã®æå®ã«ã¯selectåæ§,whereã¡ã½ããå©ç¨å¯è½ã§ãã $result = DB::update('users') ->value("name", "John Random") ->where('id', '=', '2') ->execute(); //è¤æ°åã®æ´æ°ã¯é åãç¨ãã $result
ä»åã¯Fulephpã®Uploadã¯ã©ã¹ã«ã¤ãã¦ã¾ã¨ãã¦ãã¾ããå¤å°ã®PHPã®ç¥èãç¥ã£ã¦ããã¨ããèªèã§è©³ããæ¸ããã¨æãã¾ãã æ¦è¦ FuelPHPã®Uploadã¯ã©ã¹ã¯ããã¡ã¤ã«ã®ã¢ãããã¼ããç°¡æçã«ãã¦ãããã¯ã©ã¹ã§ããããããªããå¤å°ã¯ã»ããããæè¦ãã¤ãã¿ã«ããã¨ãããããã¾ãã(å ¥åé¨åããã©ãã¯ããã¯ã¹ããã¦) åºæ¬ã½ã¼ã¹ â viewé¨(ããã¨PHPã¯ä½¿ç¨ããªãå½¢ã§æ¸ãã¦ã¾ã) <form action="" method="post" enctype="multipart/form-data"> <input type="file" name="upload_file"> <input type="submit" name="submit" value="éä¿¡"> </form> â sample.php class Controller_Sample extends C
As part of the first project Iâm taking on at Fundable, Iâve evaluated a wide range of PHP frameworks. From CakePHP to Zend, I completed the feature/checkbox table, reviewed code within each one, moved on to finalist selections, ran a couple sample projects, and finally made the pick. #1 Features and Support Included frameworks: CodeIgniter, Kohana, FuelPHP, Laravel, CakePHP, ZendFramework, Symfon
ä»æ¥ãå¯è½ã¡â¦ since 2011/8/22æ¨å¹´æ«ãããã«ãã¯ããã¦ã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦ã®FuelPHPãããã£ã³ãã¼ã³ã§é ãã¦ãæ¥ä¼ã¿ã¨ããç¨ã®ä¼ã¿ããªãã£ãããï¼ä¸å¿ï¼é·æä¼æãå©ç¨ãã¦ã¡ããã¡ããèªã¿é²ãã¦ããã ã¨ããããåããã¦ã¿ãããã¨éçºç°å¢ã®æ§ç¯ãå§ãããMAMPã¯ä½ã¨ãªã使ããããªãã ãã®è¨äºã¯MAMPã使ããªãç°å¢æ§ç¯ã®ã¡ã¢ã§ããã ãã®è¨äºã¯ä»¥ä¸ã®ç°å¢ãæ³å®ãã¦ããã OS X 10.8.x (Mountain Lion) Homebrewãã¤ã³ã¹ãã¼ã«ããã¦ãã Apache OS X 10.8 ã«ããã©ã«ãã§å ¥ã£ã¦ãApacheã使ãã ã¾ããè¨å®ãã¡ã¤ã«ã/etc/apache2/users/[user_name].conf ãä½æããã <Directory "/Users/[user_name]/Sites/"> AllowOverride All
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}