1 pixel|サイバーエージェント公式クリエイターズブログ サイバーエージェントのクリエイターの取り組みを紹介するオフィシャルブログです。最新技術への挑戦やサービス誕生の裏話、勉強会やイベントのレポートなどCAクリエイターの情報が満載です。 Entries ... 続きを読む
Completely unfair comparison of Javascript syntax highlighters During the time before latest release of highlight.js 6.0 I decided — for the first time in more than 4 years — to actually look at other highlighting libraries. Sure I knew of ... 続きを読む
Introduction libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals. It is not unlike the famous AAlib library, with the following improvements: Unicode support 2048 avail... 続きを読む
RubyWebMock は Net::HTTP でのアクセスを URL 単位で乗っ取ってサーバアクセスをやめさせ、サーバの代わりにヘッダや本文を返します。FakeWebより機能が多そうなのでこっちにします。WebMock なら POST もできます。WebMock ?INSTALLスタブを作るモックを作る... 続きを読む
JavaScriptJavaScript Advent Calendar 2011 (フレームワークコース) の9日目です。せっかくの機会だったので、ものすごく気になってたけど、触る機会がなかった、Underscore.jsをいろいろと弄ってみました。配列関係の便利メソッドの集合ライブラリなイメージ... 続きを読む
RestKit is an Objective-C framework for iOS that aims to make interacting with RESTful web services simple, fast and fun. It combines a clean, simple HTTP request/response API with a powerful object mapping system that reduces the amount of c... 続きを読む
Twitter+OAuth Source and Example for iPhone Glommed together by Ben Gottlieb copyright 2009 Stand Alone, Inc - all rights reserved. License: BSD, If you use it, please include the following text somewhere in your application's user-facing tex... 続きを読む
2011年8月22日月曜日 UDIDが使えなくなりそうなので、UIIDを使えるようにしました つい先日TechCrunchがiOS5よりUDIDの使用が非推奨になると報道し、巷はiOSでのUDIDの使用についての話題で俄然盛り上がっています。セキュリティ的によろしくないから良い変更だ... 続きを読む
2011年2月8日火曜日 AndroidでLibraryを作る Android用のライブラリを作成する方法 手順をメモ。 プロジェクト作成 新規→Androidプロジェクトを選択 通常通りにプロジェクト名・ビルドターゲットの設定を行う。 Create Activityのチェックを外す。 プロジェク... 続きを読む
Sugar is a Javascript library for working with native objects. シンプルで直感的に扱える新しいJavaScriptライブラリが登場した。既存のJavaScriptフレームワークと衝突しないように開発されており、JavaScriptを使った開発効率を向上させるライブラリとし... 続きを読む
What This is a RubyGem for implementing both OAuth clients and servers in Ruby applications. See the OAuth specs Installing sudo gem install oauth You can also install it from the oauth rubyforge project. The source code is now hosted on the ... 続きを読む
! doctype html html head title Slim Core Example meta name="keywords" content="template language" body h1 Markup examples div id="content" class="example1" p Nest by indentation == yield - unless items.empty? table - for item in items do tr t... 続きを読む
What is Traceur?Traceur is a JavaScript.next-to-JavaScript-of-today compiler that allows you to use features from the future today. Traceur's goal is to inform the design of new JavaScript features which are only valuable if they allow you to... 続きを読む
rack-logo posted by (C)komagata komagataです。 仕事でも使う必要が出てきたのでRubyの勉強をしています。WebアプリケーションでRubyを使おうとしていきなり躓いたのがApache、WEBrick、Mongrel等、実行環境毎の設定やAPIの違いです。 Rubyを普段使っている人... 続きを読む
Rack provides an minimal interface between webservers supporting Ruby and Ruby frameworks. News August 21st, 2008Rack 0.4 has been released! May 31st, 2008Rack development moves to Git. May 24th, 2008There now is a Google Group on Rack Develo... 続きを読む
require 'rubygems' require 'sinatra' get '/hi' do "Hello World!" end Put this in your pipe $ gem install sinatra $ ruby hi.rb == Sinatra has taken the stage ... >> Listening on 0.0.0.0:4567 and smoke it 続きを読む
This project contains several of Google's core Java libraries that we use in our myriad Java projects. These libraries are still subject to change. API Documentation is here.A rough introduction PDF is here.It currently contains: com.google.c... 続きを読む
God forbid a JS utility suffixed with ‘another’ in the title. But there was no other option. Thus introducing $script.js: an asynchronous JavaScript loader and dependency manager with an astonishingly impressive lightweight footprint of onl... 続きを読む
Lightweight Objective-C Regular Expressions for Mac OS X using the ICU Library Introduction to RegexKitLite This document introduces RegexKitLite for Mac OS X. RegexKitLite enables easy access to regular expressions by providing a number of a... 続きを読む
複数のJSファイルの管理、CSSのサポートが異なるブラウザへの対応、ブラウザとバージョンの自動検出、スクリーンサイズの自動検出など、headで制御したい便利な機能がつまった超軽量(2.3KB)スクリプトを紹介します。 下記に、Head JSでできることを簡単に説明... 続きを読む