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
Mac OS X: If Terminal is loading slowly on your Mac (for me, slow loading in Terminal is more than five seconds), try clearing out the ASL logs. For reasons I do not understand, ASL logs make Terminal load really, really slowly. You can clear out the ASL logs by executing this command: sudo rm -f /private/var/log/asl/*.asl Before executing that command, though, make sure you don't need those logs.
はじめに 昨日、初めてBe VimmerというTwitterボットを開発しました。 このエントリではそのプログラムと制作過程を紹介しようと思います。 Be Vimmerとは? 定期的にVimコマンドとその説明をランダムにツイートするボットプログラムです。 日本語版、英語版、中国語版の3種類があります。 be_vimmer_jp be_vimmer_en be_vimmer_cn 情報源は各言語のVim Documentationから拝借しています。 例えば日本語版ではこちらのページです。 更新頻度は2012年4月15日の時点では2時間おきに3ツイートとなっています。 ただしこの頻度は今後様子を見ながら変えていくかもしれません。 プログラムの目的、および開発の動機 Vimのコマンドをたくさん覚えて立派なVimmerになりたい!と考えているプログラマがターゲットです。 自分から積極的に勉強しよ
pythonbrewをつくってみてはや1年と半年。思った以上のひとにWatchされ思った以上のひとに使われているみたいです。 Pythonのインストールが面倒くさいと思っている方や元々RVMやperlbrewを使っていた方々からの反応はわりと良かったように思います。 そんなpythonbrewですが、ずいぶん前から開発が滞っていて半ば放置気味になっています。 理由はいくつかありますが、ざっくり言うと開発に割く時間がなくなりました。 そんな中つい先日、pythonzという類似のプロジェクトが出来た模様です。 pythonbrewをForkしたものということで、一部機能は削いでいるようですが、PyPyのインストールをサポートしていたりpythonbrewにはない機能もあるようです。 今後はこちらがデファクトになっていくのではないかと期待を込めつつご紹介します。 pythonbrewの今後ですが
Bartender 5 Raising the bar...again Bartender is an award-winning app for macOS that for more than 10 years has superpowered your menu bar, giving you total control over your menu bar items, what's displayed, and when, with menu bar items only showing when you need them. Bartender improves your workflow with quick reveal, search, custom hotkeys and triggers, and lots more.
ちょっと大げさなタイトルですが、あくまで私個人の環境構築手順をまとめたものです。WindowsからMacに乗り換えたばかりで、どうやってPHPの開発環境を整えるか分からないPHPerに向けの「開発環境を整えるためのガイド」と考えてください。 既にMacでAMP環境を構築したことがあるPHPerにとっても有用な情報を含めたつもりです。その例としては、php-buildとphp-versionで複数PHPバージョン環境の構築の手順、複数PHPバージョンとApacheの連携方法などがあります。 MacをUnix的に使えるようにするため、CUIで設定する手順を含んでいますが、怖がらずにやってみてください。ターミナルはあなたに噛み付いたりしません :) CUIに慣れてない方は、「難しい」と感じるかもしれませんが、きっとのちのちの財産になるはずです! 2012年版では「PHPerがMacbookAir
以前書いた記事、「VimからPHPUnitを実行する環境を整える」では、Vimのquickrunを使用してPHPUnitを非同期で実行し、結果にグリーン、レッドの色をつける方法を紹介しました。 コマンドラインからPHPUnitを実行していた頃に比べ、ずいぶん開発効率はよくなりましたが、いくつか不満に思っていたことがあります。 テストの成功・失敗の結果を、Vimの下のほうにシンプルに表示したいテストが失敗したときは、どの行で失敗したかすぐに分かるようにしたい これらを解決するために、 quickrunのoutputterを書いてみました。 このoutputterを導入すると、PHPUnitの実行結果(OK,FAILURE)をコマンドラインに色付きで出力し、ロケーションリストからテストの失敗行にジャンプできるようになります。 動作確認環境 Vim 7.3quickrun 0.5.1PHPUni
I’m using flask, pystache and bootstrap in order to build a fast prototype. I’ve already written a little about this but the text was getting long in the tooth so I cut it off short of a complete description. I decided to break the work into a separate text… as it’s more manageable. Some of these instructions will vary if you are using virtualenv. - download bootstrap cd ${HOME} mkdir -p git cd ${
Pystache is a Python implementation of Mustache. Mustache is a framework-agnostic, logic-free templating system inspired by ctemplate and et. Like ctemplate, Mustache "emphasizes separating logic from presentation: it is impossible to embed application logic in this template language." The mustache(5) man page provides a good introduction to Mustache's syntax. For a more complete (and more current
ループの中でループを回す処理は読みにくい 例えば友達が5人いて、サンドイッチが3種類あって、2種類の飲み物を配る処理を作るとします。 こういう場合、for文を何段にもネストするプログラムを書かざるを得ないときがありますよね。 for friend in friends: for sandwich in sandwiches: for drink in drinks: do_something(friend, sandwich, drink) そもそも、こういうプログラムを書く前は、本当にそういう処理で正しいのか考えた方がいいですが、とにかくこんなコードは読みにくいです。 ループの中でループを回すプログラムを字下げして書くことが読みにくさに寄与していると思うのですが、pythonだと字下げは必須なので悩ましいものです。 itertools.productを使えば絶対に1段で書ける しかし、こ
jQuery File Upload Demo File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads. Pintura
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く