PHPã§ãã¡ã¤ã«ã¢ãããã¼ãã»ã»ã»ããã©ãããã§ããã ã¾ãã¦ãAmazonS3ã«ã¢ãããã¼ããããã©ã¼ãã³ã¹ã¾ãã¯ã³ã¹ãã®çºã«ãã¼ã«ã«ãã£ãã·ã¥ãæããã.. ãã¼ã«ã«ã«ä¿åãã¦ãããã¡ã¤ã«ãã¯ã©ã¦ãã«ç§»è¡ãã¾ãã¯å¥ã®ã¯ã©ã¦ããµã¼ãã¹ã«ç§»è¡.. ãããããã©ããã ãããªæã®æ½è±¡ã¬ã¤ã¤ã¼ Gaufrette - https://github.com/KnpLabs/Gaufrette ãã¼ã«ã«ãã¡ã¤ã«ã·ã¹ãã <?php use Gaufrette\Filesystem; use Gaufrette\Adapter\Local as LocalAdapter; $adapter = new LocalAdapter('/var/media'); $filesystem = new Filesystem($adapter); $content = $filesystem->read('ho
PHPã§ææ«æ¥ãåå¾ãã - Qiita [ãã¼ã¿] åã¯é ãæªãã®ã§ date é¢æ°ã¨ã strtotime é¢æ°ã¨ãã®å¼æ°ãè¦ããããªããããå æ¸ããã«ãªã£ãã¨ããã§è¦ã¤ããã®ã Carbon ã¨ããæ¥ä»æä½ã©ã¤ãã©ãªã§ãã briannesbitt/Carbon · GitHub ãã®ã©ã¤ãã©ãªãLaravel ã§ä½¿ããã¦ã¾ã㦠Model ã® updated_at ã created_at 㯠Carbon ã®ã¤ã³ã¹ã¿ã³ã¹ãå ¥ã£ã¦ã¾ãã便å©ãã¿ã㪠Laravel 使ãã 使ãæ¹ã¯ Gist ãåç §ãã¦ãã ããã åè Laravel4ãCarbonã®ç´¹ä»ãªã®ã ã
ã¤ã³ã¹ãã¼ã« ãcomposer.jsonãã«ãcodesleeve/staplerãã追å composer.json "require": { "laravel/framework": "4.0.*", "codesleeve/stapler": "dev-master" }, composer update providersã«ä¸è¨è¿½å app/config/app.php 'providers' => array( ã»ã»ã» 'Codesleeve\Stapler\StaplerServiceProvider', ), Model Postã¢ãã«ã«ä¸è¨ã追å models/Post.php <?php class Post extends Eloquent { use Codesleeve\Stapler\Stapler; ... public function __construc
02ï¼Processingã§ã»ã³ãµã¼ï¼Phidgetsç·¨ï¼ ããã°ã§ãããç´¹ä»ãã¦ããPhidgetsãProcessingã§Phidgetsã使ãã¾ããâªPhidgetsã®ãµã¤ãã®ãProgramming Resourcesãã«ã¯Processingç¨ã®ã©ã¤ãã©ãªã¯ç½®ãã¦ãã¾ããããJavaçããã®ã¾ã¾ä½¿ããããã§ãï¼å°å ¥æ¹æ³ã¯ãã®ãµã¤ãã§ç´¹ä»ããã¦ãã¾ããï¼
jquery.validation.jsã¨ãããã©ã¼ã ããªãã¼ã·ã§ã³ãã©ã°ã¤ã³ãå ¬éãã¦ãã¾ããã使ããå ´é¢ãå²ã¨éå®ããã¦ãã¾ããããªä½ãã ã£ãã®ã§ãããå¹ åºã使ããããã«exValidationã¨ããååã§æ°ããjQueryãã©ã°ã¤ã³ã¨ãã¦ä½ãç´ãã¾ãããä¼´ã£ã¦ä»æ§ã使ãæ¹ãç°ãªãé¨åãå¤ãã®ã§ãããã¥ã¡ã³ãã¨ãã¦æ¸ãã¦ããã¾ãããã ãååã®ããªãã¼ã·ã§ã³ã«ã¼ã«å¨ãã¯åãã¨ã³ã¸ã³ã使ã£ã¦ãã®ã§ãã»ã¼åãã§ããã¡ãªã¿ã«ãããé·ãã§ããã ã«ã¼ã«ãå²ãå½ã¦ãéã®classåãhogeããchkhogeã«ä»£ããã¾ãããã¢ãããã¼ããã¦ä½¿ãå ´åã¯æ³¨æãã¦ãã ããã ãµã³ãã«1: ã¨ã©ã¼ãå³ä¸ã«è¡¨ç¤º ãµã³ãã«2: ã¨ã©ã¼ãä¸ã«è¡¨ç¤º ãããã¯ã¹ ãã¦ã³ãã¼ã 使ãæ¹ 1. JSãã¡ã¤ã«ãèªã¿è¾¼ã 2. åºæ¬ããªãã¼ã·ã§ã³ã«ã¼ã« 3. select, checkboxãradioãè¤æ°é ç®ã®å ´å 4
Twitterã®æ¤ç´¢çµæããªã¢ã«ã¿ã¤ã 表示ããjQueryãã©ã°ã¤ã³ãmonitterããç´¹ä»ãã¾ããã¹ã¯ãªã¼ã³ã·ã§ããã¯ãAndroidãã®æ¤ç´¢çµæããªã¢ã«ã¿ã¤ã 表示ãããã®ã§ãã ãã®ãã©ã°ã¤ã³ã¯ããå¤ããã®ã§ãç¾å¨ã§ã¯å ¬å¼ã®æ¤ç´¢ã¦ã£ã¸ã§ãããããã¾ãããå ¬å¼ã®ãã®ã¯æ¥æ¬èªã®è¨å®ãé¢åãªã®ã¨ãã¶ã¤ã³ãéãããã®ã§ãæå¤ã«ãã¡ãã®æ¹ã使ããããããããã¾ããã ï¼ï¼æ©è½ Twitterã®æ¤ç´¢APIã¨jQueryãã©ã°ã¤ã³ãçµã¿åããã¦ã¦ã£ã¸ã§ãããã¦ã§ããµã¤ãã«è¡¨ç¤ºããã¦ã£ã¸ã§ããã«æ¤ç´¢çµæããªã¢ã«ã¿ã¤ã ã§è¡¨ç¤ºãã¾ãã ã¦ã£ã¸ã§ããã¯1ã¤ã®ãã¼ã¸ã«è¤æ°è¨ç½®ã§ãã¾ããè¨å®æ¹æ³ã«ã¤ãã¦ã¯ï¼é 以éã§è§£èª¬ãã¾ãã ï¼ï¼å ¬å¼ãµã¤ãã®ãã¢ å ¬å¼ãµã¤ãã§ãã¢ã確èªã§ããã®ã§ãæä½æ¹æ³ãç´¹ä»ãã¾ãã å ¬å¼ãµã¤ãã®ãmonitterãã«ã¢ã¯ã»ã¹ãã¾ãã ãã¼ã¸å·¦ä¸ã«ãããtweets containing
Zebra_Image, a lightweight image manipulation library written in PHP ç»åã®ç¸®å°ãããªãã³ã°ã«ä¾¿å©ãªPHPã¯ã©ã¹ã©ã¤ãã©ãªãZebra_Imageã 転ééãé度ã®è¦³ç¹ããPHPã®ç»åã縮å°ããããã¾ãã¯ãµã¤ãºããããã¦ãããã«ä¸¦ã¹ããªã©æ±ããããããéã«ããªãµã¤ãºãè¡ãã¾ãããããã£ãå¦çãç°¡åã«è¡ããããã«ãªãã¯ã©ã¹ã©ã¤ãã©ãªã®ãç´¹ä»ã§ãã å ã®ç»å èæ¯ãæå®ãã¦ãããï¼ï¼ï¼ï½ï¼ï¼ï¼ãã¯ã»ã«ãªã©æå®ãããµã¤ãºã«ã¾ãããã¡ã½ããã å ç»åã¯ä¸åãåãåããããã¨ãªã縮å°ãããæå®ã®ç»åãµã¤ãºã«ã§ãã¾ã æå®å¹ ãµã¤ãºã«åã«ç¸®å° ï¼ï¼ï¼ï½ï¼ï¼ï¼ãã¯ã»ã«ãªã©ãæå®ããå ´åãæå®ãã¯ã»ã«ãã£ã±ãã«åºããããã«ãµã¤ãºèª¿æ´ãã¦åãæãæ¹æ³ GDã§ï¼ããæ¸ãã¨çµæ§ããã©ãããã£ããããã®ã§ãããããã®ã§ç°¡åã«ãã£ã¡ããã¾ããã é¢é£
JSZipã¯Webãã©ã¦ã¶ä¸ãã¯ã©ã¤ã¢ã³ããµã¤ãã ãã§JavaScriptã使ã£ã¦Zipãã¡ã¤ã«ãçæããã½ããã¦ã§ã¢ã§ãã JavaScriptã§ã§ãããã¨ãã©ãã©ãå¢ãã¦ãã¾ãããããªä¸ã注ç®ãããã®ãJSZipã§ãããªãã¨JavaScriptã ãã§Zipãã¡ã¤ã«ãä½ã£ã¦ãã¾ãã¨ããã¨ãã§ããªãã½ããã¦ã§ã¢ã§ãã ãã¢ãã¼ã¸ã§ããã³ã¼ããè¦ã¦åããéããããã¹ããã¡ã¤ã«ã¨ç»åãZipå§ç¸®ãã¦ãã¾ãã å®éãã¦ã³ãã¼ããããZipãã¡ã¤ã«ã解åããã¨ç¢ºãã«ãã©ã«ãããã¡ã¤ã«ãå ¥ã£ã¦ãã¾ããããã¹ãã®å 容ãå¤ããã°ãã¦ã³ãã¼ãããããã¡ã¤ã«ã®ä¸èº«ãå¤ãã£ã¦ãã¾ããã JSZipãé¢ç½ãã®ã¯åçã«Zipãã¡ã¤ã«ãä½æã§ãããã¨ã§ã¯ãªãã§ãããããã¦ã¼ã¶ã«ã³ã³ãã³ãããã¦ã³ãã¼ãããããã¨ããæã«ãã®å ´ã®å 容ããã®ã¾ã¾å§ç¸®ãã¦éããããã«ãªãã¾ããã¢ã¤ãã£ã¢æ¬¡ç¬¬ã§è²ã ãªä½¿ãæ¹ãã§ããããªã½ãã
TwitterãFacebookã¸ã®ãã°ã¤ã³æ©è½ãããï¼åã§å®è£ ã§ããPHPã©ã¤ãã©ãªãHybridAuthã 2011å¹´08æ22æ¥- HybridAuth, Open Source Social-Signle-Sign-On Solution for authentication through Facebook, Twitter, Google, Yahoo, MySpace, LinkedIn, AOL, Vimeo, FourSquare, OpenID and other Identity providers TwitterãFacebookã¸ã®ãã°ã¤ã³æ©è½ãããï¼åã§å®è£ ã§ããPHPã©ã¤ãã©ãªãHybridAuthã Facebook, Twitter, Google, Yahoo, Windows Live, MySpace, LinkedIn, FourSquare, O
ãªããªãè¯ãæ°ã ã£ãã®ã§åå¿é²ã iPhoneãAndroidãiPadãªã©ã®äººæ° ã®ã¿ããããã¤ã¹ç¨ã«ä½ãããã®ã£ã© ãªã¼ç¨ã®JSã©ã¤ãã©ãªã»PhotoSwipeã 人æ°ã®ãã©ã°ã¤ã³ãjQueryMobileã§ã å©ç¨ãããã¨ãåºæ¥ã¾ãã ã¿ããããã¤ã¹å°ç¨ã¨ãã£ã¦ãç¬èªã®æä½ã§ãããããã³ãã¤ã³/ã¢ã¦ãçã«ããæ¡å¤§ãå転ãããªãã¯ã§é²ããªã©ã®æä½ãå¯è½ã§ãã PhotoSwipeã¯ã¿ããããã¤ã¹å°ç¨ã®JSã©ã¤ãã©ãªãiOS(iPhone/iPad)ã¯å¿è«ãAndroidãBlackBerryã«ã対å¿åºæ¥ãããã§ããã¾ããjQueryä¾ååãéä¾ååãç¨æããã¦ããã®ãèªç±ãããã£ã¦ããããªã¨ã [note] jQuery Mobileã¯æ¨æ¥ããµã³ãã«é å¸ããã®ã§å®ãããã°åããã¦ã©ããã[/note] PhotoSwipeãµã³ãã« with jQuery Mobile 以ä¸ãiPhon
å½ç£é«æ©è½ã¡ã¼ã«ã©ã¤ãã©ãªã®PHPé«æ©è½æ¥æ¬èªã¡ã¼ã«éä¿¡ã©ã¤ãã©ãªã»æååãããªã¼ - Qdmail - PHP::Mail Library , Quick and Detailed for MultibyteãCodeIgniter(以ä¸CI)ã§ä½¿ããããããã«ã©ã¤ãã©ãªåãã¦ã¿ããCIæ¢åã®ã®Emailã©ã¤ãã©ãªã¨ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯åããã¦ãã®ã§ã使ããããã®ã§ã¯ãªããã¨ããã¨ä¾ã«ãã£ã¦ã¡ã½ãããã§ã¼ã³ã§ããããã«ãã¦ã¾ãã 使ç¨ä¾(Controller) <?php class Home extends CI_Controller { public function __construct() { parent::__construct(); } public function index() { $this->load->library('mailer'); $ret = $thi
Openpear :: Open PEAR Repository Channel WEBãµã¼ãã¹ä½ããªãå¿ãã¦ã¯ãããªãããä¸ã¤ã®PEARãOpenpearãã®ä¾¿å©ã¢ã¸ã¥ã¼ã«éã æ¬å®¶ã®PEARããããããããªããï¼ã¨ããããã便å©ãªã©ã¤ãã©ãªãæã£ã¦ããOpenpearãããã使ããããªç©ãã¾ã¨ãã¦ã¿ã¾ããã 2011å¹´2æç¾æç¹ã§186ãã®ä¾¿å©ã¢ã¸ã¥ã¼ã«ãç»é²ããã¦ãã¾ãã ã¡ãã£ã¨å¤ããã®ãå«ã¾ãã¦ãããåããªããã®ãããããããã¾ããã便å©ãããªãã®ãã¨ããããç¾ åãã¦ã¿ã¾ãã Services_ShortURL_Googl goo.glã«URLç縮ããã©ã¤ãã©ãªãPEAR::Services_ShortURLã®ãµãããã±ã¼ã¸ã ããã§ãã Services_Foursquare Foursquareã®APIãå©ãã©ã¤ãã©ãª Services_SBM_Info ã¯ã¦ãæ°ãTwitte
WEBãµã¼ãã¹ã§ä½¿ããPEAR以å¤ã§æåãªPHPã¢ã¸ã¥ã¼ã«ç·ã¾ã¨ã ãWEBãµã¼ãã¹ãä½ããªãæä½éè¦ãã¦ããããPHPã®PEARã¢ã¸ã¥ã¼ã«ã¾ã¨ããã¨ããã¨ã³ããªã§å æ¥PEARã®ä¾¿å©ã©ã¤ãã©ãªã«ã¤ãã¦ã¾ã¨ããã®ã§ãããä»åã¯PEAR以å¤ã§ãæåãªã©ã¤ãã©ãªããç´¹ä»ã PEAR以å¤ã§æãã¦ããã¨ãããããã¾ããããã¨ããããæåã©ããããç§ã®ç¥ã£ã¦ããç©ãéå»ã«å½ããã°ã§ç´¹ä»ãããã®ãã¾ã¨ãã¦ã¿ã¾ãã ä»ã«ã便å©ãªç©ãå®çªã®ç©ãããã¾ãããã@phpspot_kj ã¾ã§Twitterãªããã§æãã¦ãã ããã ã°ã©ãæç» JpGraph ããã¨ããããã°ã©ããæç»ãã¦ãããæåãªã°ã©ãã©ã¤ãã©ãªã pChart ã°ã©ãã«ãã¶ã¤ã³æ§ãæ±ããå ´åã«ä½¿ããã¯ã¼ã«ãªã°ã©ãæç»ã©ã¤ãã©ãª PHP/SWF Charts PHPã§ã°ã©ããFlashã§æç»åºæ¥ãã©ã¤ãã©ãªãã°ã©ãã«åããåºãã¦ã¤ã³ã¿ã©ã¯ãã£ã
ãJSZipãã¯ãã©ã¦ã¶ä¸ã§ãã¡ã¤ã«ãå§ç¸®ã§ããJavaScriptã©ã¤ãã©ãªã§ãã ã¦ã¼ã¶ã¼ã«è¤æ°ã®ãã¡ã¤ã«ãæä¾ããæãç°¡åãªæ¹æ³ã¯ãå§ç¸®ãã¡ã¤ã«ã§ãããã JSZipã¯zipãã¡ã¤ã«ã®ä½æãã¯ã©ã¤ã¢ã³ãå´ã§ãã£ã¦ãã¾ããï¼ã¨ããã¯ã¼ã«ãªã©ã¤ãã©ãªã«ãªã£ã¦ãã¾ãã ãã©ã¦ã¶ã®å¶éããããããå®ç¨çã§ã¯ç¡ãããããã¾ãããé¢ç½ãã£ãã®ãç´¹ä»ã 使ãæ¹ ä»¥ä¸ã®ãããªã³ã¼ãã§åä½ããããã§ãã var zip = new JSZip(); zip.add("Hello.txt", "Hello World\n"); img = zip.folder("images"); img.add("smile.gif", imgData, {base64: true}); content = zip.generate(); location.href="data:application/zip;bas
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}