仕事のメモ帳ブログ。いまのところActionScriptメイン。たまにCSSとかJavaScriptとか。 制作時の基本的な注意としては、FlashとPHPを同じディレクトリ内において、Flashでプレビューしても動きません。PHPが動くローカルサイトを構築してから、ブラウザでチェックする必要があります。 ボクはMacなのでMAMPというアプリケーションを使って環境構築をしています。 MAMPについての詳しい説明はこちら。 WindowsはXAMPというアプリケーションがあるそうです。 ここではPHPの細かい説明はとばします。今のスキルレベルでPHPを理解するのは難儀すぎます......来年やりたいなあ。 早速初歩的なサンプルを作ってみました。 サンプル1 これはPHPから受け取った変数をダイナミックテキストに表示しているだけです。 (変数の中身はテキストデータ) スクリプトはこ
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
Info: Open Flash Chart 2 is out. Version 1.x and these pages will never disappear and the charts will continue working forever, but further development on 1.x has stopped. Take a look at version 2 here Open Flash Chart 2. Hello, this is the Open Flash Chart project. Get graphs like this for free: How does it work? User browses to your web site. The browser downloads the web page which contains the
pChart 2.x is born, you can start moving your script to this new version. The new website is at www.pchart.net. pChart is a PHP class oriented framework designed to create aliased charts. Most of todays chart libraries have a cost, our project is intended to be free. Data can be retrieved from SQL queries, CSV files, or manually provided. This project is still under development and new features or
Questions or Comments: Write to vnc2swf-users@lists.sourceforge.net. (Here is the archive and how to subscribe) Recent changes Sample Movie Gnomine (250KBytes, with audio) (original version) Emacs (300KBytes) Mac OS X (5MBytes) Windows 2000 (2.2MBytes, with audio) SLIME on Linux (1.3MBytes, with audio) Others... Frequently Asked Questions What's the difference between Python version and C version?
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
データを更新した後などに「更新しました」などのメッセージを簡単に出せるのがコントローラのflash メソッド。 コントローラで、 $this->flash('更新しました', '/users'); などとすることにより、メッセージを簡単に出せる。 2つ目の引数は飛び先URL を指定できる。 ちなみにこの flash メソッドは下記のようになっています。 /cake/libs/controller/controller.php function flash($message, $url, $pause = 1) { $this->autoRender = false; $this->autoLayout = false; $this->set('url', $this->base . $url); $this->set('message', $message); $this->set('pa
CakePHP 4.5.5 The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.5. This is a maintenance release for the 4.4 branch that fixes several community reported issues. Bugfixes You can expect the following changes in 4.5.5. See the changelog for every commit. Fix problem formatting milliseconds using i18nFormat. Contributors to 4.5.5 Thank you to all the contributors t
Basic usage tutorial: http://bakery.cakephp.org/articles/view/building-your-first-twitter-mash-up Install instructions : - Place twitter_source.php in your app/models/datasources folder - Add the credidentials to database.php: Download code var $twitter = array( 'datasource' => 'twitter', 'username' => 'ics', 'password' => 'uncrackable', ); Calling it in
Welcome¶ CakePHP 5 is a web development framework running on PHP 8.2 (min. PHP 8.1). Read CakePHP at a Glance to get an introduction to the fundamentals of CakePHP. The CakePHP cookbook is an openly developed and community editable documentation project. Notice the pencil icon button fixated against the right wall; it will direct you to the GitHub online editor of the active page, allowing you to
We couldn't process your inquiry at this time. This Domain is no longer available. Please contact sales@buydomains.com or call (781) 373-6820 Get a price in less than 24 hours Use Facebook or Google to pre-fill your contact information Google Facebook Please enter your first name Please enter your last name Please enter a valid e-mail address {{showBadEmailMessage}} Please enter a valid phone numb
TRAMP (Transparent Remote Access, Multiple Protocols) is a package for editing remote files, similar to AngeFtp or efs. Whereas the others use FTP to connect to the remote host and to transfer the files, TRAMP uses a remote shell connection (rlogin, telnet, ssh). It can transfer the files using rcp or a similar program, or it can encode the file contents (using uuencode or base64) and transfer the
TRAMP 2.7.0 User Manual This file documents TRAMP 2.7.0, a remote file editing package for Emacs. TRAMP stands for “Transparent Remote (file) Access, Multiple Protocol”. This package provides an easy, convenient, and consistent interface to editing remote files transparently, just as if they are local files. This extends to editing, version control, dired, and more. You can find the latest version
The following documentation is not officially supported by DreamHost. However, if you find any instructions in this article do not function as intended, it's possible it may be out of date. When in doubt, please contact support for further assistance. Below are some applications users have written that use the DreamHost API. Desktop Apps http://www.webdigi.co.uk/blog/apps/dreamhost-controller-usin
Flashサイトを更新するためのXMLを吐き出すバックエンドシステムに、MTOSやWordpressをいままで使用してたのですが、今回、MTもWPも使えないサーバーにぶち当たりました。。 かろうじて、PHP5はまともに使えるようなので、sqliteで使えるCMSを探したけど、やっぱりMTやWPのような柔軟なものは見つからず。。 サーバーでcakephpが動いたので、cakephp + sqliteで簡単なものを作ってる見ることにしました。 var $default = array( 'driver' => 'sqlite', 'persistent' => false, 'host' => '127.0.0.1', 'login' => 'hogehoge', 'password' => '', 'database' => 'hogedb', ); host部分は、windowsローカルの
Today I was asked by one ouf our clients why we stubbornly insist on using Ruby on Rails when most of their clients (and their hosting services) support exclusively, or preferrably, PHP. Since I’ve been asked the same question several times before, I thought that it’d be a good idea to take a few moments & write down my thoughts about the subject. I am posting my response here thinking that there
Services Platform.sh for Symfony Best platform to deploy Symfony apps SymfonyInsight Automatic quality checks for your apps Symfony Certification Prove your knowledge and boost your career SensioLabs Professional services to help you with Symfony Blackfire Profile and monitor performance of your apps
Cakeをさっそく使ってみましょう。このチュートリアルを読んでいるのは、Cakeの動作に関してさらに学びたいと思っているからだと思います。私たちは、生産性を高め、コーディングがさらに楽しいものになることを目指しています。コードを調べているうちに、きっとあなたもそのことに気が付くでしょう。 このチュートリアルでは、シンプルなブログアプリケーションを作成します。Cakeを取得してインストールし、データベースの設定を行い、ブログの投稿記事の一覧表示(list)、追加(add)、編集(edit)、削除(delete)などのアプリケーションロジックを作成します。 必要なもの: 動作しているWebサーバ。Apacheを使っているという前提で書いてありますが、他の種類のサーバを使用する場合でも、ほぼ同じにいけるはずです。サーバの設定についても少し触れますが、たいていの人は、そのままの設定でCake
エンジニア説明Railsアプリを作る「はじめの一歩」としての足がかりになればと思いまとめました。手順に沿ってコピペしていくといつのまにかアプリケーションが完成するというサンプルです。第1回のmasuidriveさんベースにRails勉強会@東京第11回での高橋征義さんバージョンとInternet Week 2006でのかずひこさんバージョンをミックスしました。環境やインストール、趣旨や概要につきましては第1回をご覧ください。 ■第1回との相違点Internet Week 2006のT24 : はじめよう Ruby on Rails 〜フレームワークで作るWebアプリケーション〜をベースに内容を変更しました。基本的な流れは変わっていませんが、機能/モデルが変更されています。文字コードの設定を先に行うようにしました。モデルの定義を先に明示しました。モデルの作成にマイグレートを使用するようにしま
第5回 “最適な”全文検索システムの選択 水谷 裕生 株式会社Cuon 2009/3/27 Rubyを使った大規模エンタープライズ開発が始まっている。Ruby on Railsでの開発において、インフラやアプリケーションアーキテクチャをどのように構成すべきかを考える(編集部) システムを構築するうえで、アーキテクチャの選択は非常に難しい問題である。 プラットホームはWindowsにするのか、Linuxにするのか。Linuxであれば、CentOSなのか、それともUbuntuなのか。また、開発言語はRubyがいいのか、PHPがいいのか。そして最後には、それらをどう組み合わせていくのかなどなど。 どれが正解なのかは、実際に経験したり、運用したりしてみなくては分からないものだ。しかし、実際の現場では経験がなくても、いろいろと調査したり、実際に試したりしてみて判断をしなくてはいけない場面が存在する。
プログラムの実行はどのようにして行われるのか、Linuxカーネルのコードから探る (2017/7/20) C言語の「Hello World!」プログラムで使われる、「printf()」「main()」関数の中身を、デバッガによる解析と逆アセンブル、ソースコード読解などのさまざまな側面から探る連載。最終回は、Linuxカーネルの中では、プログラムの起動時にはどのような処理が行われているのかを探る エンジニアならC言語プログラムの終わりに呼び出されるexit()の中身分かってますよね? (2017/7/13) C言語の「Hello World!」プログラムで使われる、「printf()」「main()」関数の中身を、デバッガによる解析と逆アセンブル、ソースコード読解などのさまざまな側面から探る連載。今回は、プログラムの終わりに呼び出されるexit()の中身を探る VBAにおけるFileDial
久しぶりに PHP いじってたら Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)というエラーが出ました。 mysql.sock のパスが間違っているんですけど、いつも直し方を忘れるのでメモ。 まず、mysqladmin の version コマンドを打ちます。 $ mysqladmin -uroot -p version そうすると、 UNIX socket /opt/local/var/run/mysql5/mysqld.sockみたいな行があるので、これが正しいパスなんですね。 なので、php.ini の mysql.default_socket を書き換えてあげます。 mysql.default_socket = /opt/local/var/run/mysql5/mysql
Pythonを使って、しっぽりとレビューの自動生計ツール作成等を やっていたら楽しくなってきてしまいました。 じゃぁ、もう少し色々と知りたいのでdjangoでも触ってみようか っと思い、まずmod_pythonを入れてみた。 こっから取ってきて http://httpd.apache.org/modules/python-download.cgi そのままいけんだろ!っと ./configure make sudo make install して httpd.confに LoadModule python_module libexec/apache2/mod_python.so を追加。 まぁ、なにもないだろうなぁと思いつつ apachectl configtest httpd: Syntax error on line 116 of /private/etc/apache2/httpd.
'; doc += ''; doc += ''; doc += ''; winimg.document.writeln(doc); winimg.document.close(); } //]]> Leopardでmod_python PythonでTracを環境を作ってみたかったのだが、Tiger標準のApacheはバージョンが古いためmod_python使え無かった。 LeopardでApacheのバージョンも上がり、ようやくmod_pythonが使える環境になったので、mod_pythonが有効になっているか確認するために、まずは「Hello World」から始めて見ることにした。 mod_pythonのダウンロードとインストール # cd /usr/local/src/ # wget http://ftp.kddilabs.jp/infosystems/apache/http
soaplibにはCherryPyが組み込まれているので簡単にウェブサービスがつくれる。さらにrpy2を使えばRのウェブサービスがお手軽に構築できて便利。 インストールの手順はwikiを参照 以下のコードをsoapr.pyというファイル名で保存する。これは与えた数字の数だけRがrnormして返すという簡単なサービス。 from soaplib.wsgi_soap import SimpleWSGISoapApp from soaplib.service import soapmethod from soaplib.serializers.primitive import String, Integer, Array, Float import rpy2.robjects as robjects class RService(SimpleWSGISoapApp): @soapmethod(I
© Copyright 2008-2009, Laurent Gautier. Last updated on Jan 31, 2009. Created using Sphinx 0.5.1.
You might also be interested in my page on doing Rank Correlations with Python and/or R. This page demonstrates three different ways to calculate a linear regression from python: Pure Python - Gary Strangman's linregress function R from Python - R's lsfit function (Least Squares Fit) R from Python - R's lm function (Linear Model) Pure Python - Gary Strangman's linregress function In Python, Gary S
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く