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
Welcome to Doma 2¶ Doma 2 is a database access framework for Java 8+. Doma has various strengths: Verifies and generates source code at compile time using annotation processing. Provides type-safe Criteria API. Supports Kotlin. Uses SQL templates, called “two-way SQL”. Has no dependence on other libraries. This document consists of following sections: User Documentation About Doma Links Help impro
phi I'm a Game Programmer and Frontend Engineer passionate about programming education. Math / C / C++ / C# / JavaScript / HTML5 / CSS3 / Python 今まで markdown-js ってのを使っていたのですが, marked ってやつが table とか code block とかデフォルトで対応してて良い感じだったので 導入がてらまとめました. ついでに簡易エディタの作り方もざっくり書いたので最後まで見てもらえると幸いです. marked.js とは A full-featured markdown parser and compiler, written in JavaScript. Built for speed. markdown 用のパーサー
PDFBoxを使ってみたのですが、どうしても日本語フォントを使用しての PDF出力ができない。 JavaのPDFライブラリ Apache PDFBoxでHello World もう、諦めていたのですがひょっとして、まだ正式リリースされていない 2.0系を使用すれば表示できるのでは。と思い試してみます。 スナップショットの取得 PDFBoxのダウンロード https://pdfbox.apache.org/download.cgi Download a snapshot buildのリンクをたどります。 「fontbox」「pdfbox」それぞれの「2.0.0-SNAPSHOT」のリンクをたどります。 ・fontbox-2.0.0-20150803.050027-1654.jar ・pdfbox-2.0.0-20150803.050251-1602.jar をそれぞれダウンロードし、ビルドパ
ときおり、PDF文書から任意のページを切り出したいということがあります。PDF文書を扱うのはAcrobat(≠Acrobat Reader)を購入するのが一番でしょうし、フリーのツールも多々存在しますが、ここはJavaでツールを作成してみたいと思います。 まず、第一歩としてPDF文書をページ単位でJavaで表示するPDFのビューアーを作成し、次にページを指定して切り出す機能を付けるという段階で進めていこうと考えました。 JavaからPDFを扱うオープンソースライブラリとしては、昔からの定番のiTextと、ApacheのPDFBoxが著名でしょうか。ぐぐっていると次のまとめページがありました。このページは分かりやすいです。 今どきのJavaのPDFライブラリ まとめ (2014年版) | WEB ARCH LABO iTextは商用ライセンスとAffero GPLのデュアルライセンスです。A
OAuth 2.0 OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices. This specification and its extensions are being developed within the IETF OAuth Working Group. OAuth 2.1 is an in-progress effort to consolidate OAut
これまで、Webページに地図を表示するためのJavaScriptライブラリとしてOpenLayers 2を利用してきました。しかし、まもなくOpenLayers 3がリリースされる見込みです。そこで、OpenLayersの2と3、さらに別のオープンソース(BSDライセンス)のJavaScriptライブラリLeafletの比較調査をしました。 ※OpenLayers 3については、現在公開されている正式版とは仕様が異なる点がありますのでご注意下さい。 比較のための課題として、現在位置を中心にOpenStreetMapをズームレベル18で表示するWebページを、OpenLayers 2、OpenLayers 3、Leafletを用いて作成します。 まずは、OpenLayers 2から。(JavaScriptプログラムのみ示します) var map = new OpenLayers.Map('m
ごきげんよう。フーミンです。 「JavaScriptでアニメーション作るならTweenMaxが最強だよ」と先輩から教わり早2年。いまだ現役最強(僕の中で)JavaScriptアニメーションライブラリTweenMaxの良さを広めるために、入門編・応用編の全2回に分けてご紹介しようと思います。 TweenMaxとは TweenMaxとは、GreenSock社が開発した超高性能アニメーションプラットフォーム「GSAP」のひとつで、DOMアニメーションに特化したJavaScriptライブラリです。 requestAnimationFrameを使用しているため、jQueryのanimateメソッドを使うより、動作が高速かつ安定しています。 同じようなライブラリにmokichiくんが紹介してくれたVelocity.jsというのもあります。 TweenMaxと同様に動作が高速かつ安定しており、jQuer
概要 Ruby の CLI ツールの作成を支援する、 thor gem の基本について。 Thor 関連資料 thor GitHub thor RubyGems Thor Official Document CLI のクラス作成 Thor クラスを継承し、 public メソッドを定義すると 該当メソッドがコマンドになります。 require 'thor' class SampleCLI < Thor desc "command1 usage", "command1 desc" def command1(name) puts "command1 #{name}" end desc "command2 usage", "command2 desc" def command2(name) puts "command2 #{name}" end end SampleCLI.start(ARGV)
Authors: Bernd Eckenfels, Committer, and Gary Gregory, Vice President of Apache Commons In their talk "Marshalling Pickles – how deserializing objects will ruin your day" at AppSecCali2015 Gabriel Lawrence (@gebl) and Chris Frohoff (@frohoff) presented various security problems when applications accept serialized objects from untrusted source. A major finding describes a way to execute arbitrary J
環境 * MacBook Air MC506J/A * ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] MacBook Air にて RubyGems を使って JSON ライブラリをインストール。 $ sudo gem install json Successfully installed json-1.5.0 インストールされたライブラリはこれ ⇒ JSON implementation for Ruby Ruby 1.9系には標準添付ライブラリとしてこのJSONライブラリが付いてくるらしく、日本語に訳されたドキュメントがある。 Ruby 1.9.2 リファレンスマニュアル ⇒ library json で、どんなデータを渡せばいいのか使い方がよくわからなかったのでJSON文字列を生成するサンプル的なコードを書いてみた。 $
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く