作成したバーコードをワープロソフトに取り込むことができます。専用のバーコード作成ソフトを使わなくても簡単に無料でバーコードを作成することができるのです。
作成したバーコードをワープロソフトに取り込むことができます。専用のバーコード作成ソフトを使わなくても簡単に無料でバーコードを作成することができるのです。
どこまで出来るか?!やれるところまでやってやるぜ!!と、威勢が良いのは若い間だけの話。オトナのオトコは、攻めるときはとことん攻めるが自らの限界もわきまえて賢く振る舞うのがスマートってものである。というわけで、今日はMySQLのいろいろな限界についてまとめてみる。皆さんも是非MySQLの限界を知り、MySQLをもっとスマートに使って頂きたい。 SQL文の最大長 MySQLサーバーが実行出来るSQL文の最大長は、max_allowed_packetシステム変数で表される。max_allowed_packetの最大値は1GBである。max_allowed_packetの値はセッションごとにも設定可能なので、デフォルトではそこそこの値(16MBなど)に設定しておいて、必要に応じて大きな対を使うと良いだろう。 データベースの個数 データベースオブジェクトの個数に制限はない。データベースオブジェクトは
リダイレクトとは少し違いますが・・・。 php_curlが使えるなら、こんな感じではどうでしょうか? 指定のURLにPOSTデータを送信して結果を受け取るというものですが。POSTでリダイレクトというのはまずいので、必要なときはこんな感じにしたりしてます。 <?php // POSTするデータ $post["a"] = "abc"; $post["b"] = "xyz"; $chost = curl_init(); curl_setopt($chost, CURLOPT_URL, "http://サーバ/hogehoge.php"); curl_setopt($chost, CURLOPT_POST, true); curl_setopt($chost, CURLOPT_POSTFIELDS, $post); curl_setopt($chost, CURLOPT_RETURNTRANSF
Protocol -------- Clients of memcached communicate with server through TCP connections. (A UDP interface is also available; details are below under "UDP protocol.") A given running memcached server listens on some (configurable) port; clients connect to that port, send commands to the server, read responses, and eventually close the connection. There is no need to send any command to end the sessi
★ この続きで履歴の方を書き換える方法はこちらに ★ Gitにはチェックアウト時、コミット時に適応できるフィルターをファイルの種類ごとに定義できる機能がある。 この機能をタブ・スペースや改行コードなど体裁を統一するために使ってみた。 まずは、こんなPerlスクリプトを用意して、 #!/usr/bin/perl use Text::Tabs; $tabstop = 4; while (<>) { $_ = expand($_); s/[ \r\n]+$//; print "$_\n"; } gitconfigに登録し、 [filter "normalize-text"] clean = /usr/local/bin/normalize-text.pl smudge = /usr/local/bin/normalize-text.pl .gitattributesから呼び出せば完了である。 *
最近朝方は冷え込んできました。 私も朝はミノムシのように毛布にくるまっております。 さて、昨日の記事で紹介したSoft Deletable Behaviorですが、[CakePHP] SoftDeletable Behavior で論理削除 – Sun Limited Mt.を参考にそのままやると、特にPostgreSQLの場合にいくつか問題があります。 TINYINTという型がPostgreSQLは対応していないです。 削除フラグなのでINT型にするというのも変なので、BOOL型に変更しようかと思います。 soft_deletable.phpを開き、 $attributes['field'] => 1 ↓ $attributes['field'] => true $purged = $Model->deleteAll(array($this->__settings[$Model->ali
今回は削除についてです。CakePHPの削除ですが、delメソッドは物理削除でデータが実際に消えてしまいます。論理削除のケースの方が多いのでこれでは困ります。簡単に論理削除を行う物が無いか探してみたところ、やっぱりありました。 Soft Deletable Behavior http://bakery.cakephp.org/articles/view/soft-delete-behavior ありがたいことです。早速使わせて貰うことに。 上記よりソースをDLしてbehaviorsディレクトリにコピーします。 論理削除したいモデルに、このbehaviorを使用するように設定。基本は論理削除とするので AppModel クラスで設定します。AppModel はデフォルトのままだったので、「/cake/libs/model/app_model.php」を「/app/models/」にコピー。コ
This behavior lets you implement soft delete for your records in your models by introducing a flag to an existing table which indicates that a row has been deleted, instead of deleting the record. Using this behavior you can implement soft deletion in your CakePHP models so no real data is lost when you issue a delete on a specific record. Instead, a field of your choosing is used to indicate that
Codes for the Representation of Names of Languages Codes arranged alphabetically by alpha-3/ISO 639-2 Code Note: ISO 639-2 is the alpha-3 code in Codes for the representation of names of languages-- Part 2. There are 21 languages that have alternative codes for bibliographic or terminology purposes. In those cases, each is listed separately and they are designated as "B" (bibliographic) or "T" (te
CakePHPは、PHP言語の高速開発用フレームワークです。日々、発展を遂げる各種フレームワークの動向を見極めつつ、日本発のCakePHP応援ブログとして、最新情報をお届けします。 CakePHP1.2のbakeで自動生成した画面は、画面に表示される文字列が__('文字列') で囲まれています。これは、簡単に多言語翻訳ができるように配慮されているからです。 ここを無理やり日本語に書き換えても日本語化はできますが、せっかくなので、最初から国際化をにらんで、poファイルを生成、編集して日本語化を進めてもよいのではないか、と思います。 CakePHP1.2はgettextを使用した翻訳と流れは同じです。 http://ja.wikipedia.org/wiki/Gettext (1)アプリで使用する文字リソース(メッセージ類)は、__('')で囲む こうしておくと、自動的に翻訳ファイルを作ってく
Posted by Peter Baldwin, Software Engineer It’s been a long time coming, but the official Google Reader app for Android is finally here. Let’s jump into the features, shall we? The app supports all the basics you’d expect like unread counts, friends, sharing, liking, and starring, but it also has a whole lot more, including: Multiple accounts Synced preferences Full subscription features (subscrib
CakePHP1.2から新たにBehavior(振る舞い)クラスが実装され、モデルに共通の処理を定義することが可能になりました。 今回はBehaviorを使ってモデルの各メソッドの結果を自動的にキャッシュするクラス(CacheBehavior)を検討してみました。 CakePHPでは標準でビューキャッシュをサポートしていますが、Cacheクラスを利用することで簡単にキャッシュ機能を組み込むことができます。 ソースコードは少し長いので、一番最後に記述することにします。 CacheBehaviorの目的 CakePHPでの開発では、 ・まず動作するアプリケーションを構築する ・パフォーマンス上ボトルネックになっている部分のチューニングを行う という手法が一般的だと思います。 そこで、CacheBehaviorはチューニング時に実装していくことを想定し、構築時のソースコードになるべく
This is a port of memcached to the win32 architecture by Kenneth Dalgleish, based on Kronuz's 1.2.1 port. This port is not supported by the official memcached team. Install The win32 version of memcached can be run both as a NT Service or from the command line. To install memcached as a service, follow the next steps: Unzip the binaries in your desired directory (eg. c:\memcached) Install th
MySQL HeatWave MySQL HeatWave is a fully managed database service for transactions, real- time analytics across data warehouses and data lakes, and machine learning services, without the complexity, latency, and cost of ETL duplication. It is available on OCI, AWS, and Azure. Learn More » MySQL Enterprise Edition The most comprehensive set of advanced features, management tools and technical suppo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く