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
2015-10-12 [GAS]はてなブックマーク REST APIを扱うライブラリ Google Apps Script 今回は、Google Apps Scriptで、はてなブックマーク REST APIを扱うライブラリを作成してみました。 当エントリでは、利用方法を簡単に説明したいと思います。 アプリケーション登録 まず、はてなアカウントを取得し、下記ページを参考に、アプリケーションを登録します。 Consumer key を取得して OAuth 開発をはじめよう - Hatena Developer Center アプリケーション登録後、consumer keyとconsumer secretを控えておいてください。 認証用ライブラリの有効化と実装 APIの認証が、OAuth1だったため、(現在ではOAuthConfigは利用できないので)Google製のライブラリであるapps-
全国のGoogle Apps Scriptファンの皆様こんにちは Apps Scriptガチ勢の大橋です。 今年でGoogle Apps Scriptアドベントカレンダーも3年目になりました。 年々人は減っている気がしますが、BigQueryとの連携など他のアドベントカレンダーに名前が出ることが増えてきて、嬉しい限りです。 さて、ちょいSlack BotをGASで作る機会があったのでSlack API周りをGASで扱うためのLibraryを作りました。 今回はこのLibraryとそれを使って作った会議予約Botのサンプルコードについて書いていきたいと思います。 なお知らない方も多いので書いておくと、GASのLibrary機能は丁寧に作ると補完が非常に効くようになり、開発効率が10倍以上変わります。 Libraryについて詳しくは以下の記事を見て下さい。 2012年Google Apps S
Cesium はApache 2.0ライセンスの下、オープンソースとして作成された3D地図作成ライブラリです。 ハードウェアアクセラレーショングラフィックスにWebGLを使用しており、クロスプラットフォーム、クロスブラウザで、動的なデータ可視化を行うのに利用することができます。 公式サイトのデモなどを見ると、その性能の高さを感じることができます。 (以下スクリーンショット、公式サイトより) ほんの少しだけ触ってみました。 サンプルコード ぐんまちゃんを群馬に貼り付けてみました。 //セシウムウィジェットを作成 var widget = new Cesium.CesiumWidget('cesiumContainer'); //イメージレイヤーを取得 var layers = widget.centralBody.getImageryLayers(); //イメージレイヤにぐんまちゃん画像を
Kindle Libraryの削除はすごく面倒! Kindle LibraryにはAmazon.comで購入した電子書籍以外にも、Send to KindleやInstapaperなどの外部サービスから送られたドキュメントも保存されるんですが、僕なんかはKindlefeedrを使って日に一回ニュースやブログ記事も自動配信しているので、放っておくと結構な量になります。 さらにKindleアプリも含めて複数のKindle端末を使っていると、”今日はこちらの端末で読もうか”なんて思った時にはクラウド側のライブラリからダウンロードすることになるんですが、定期配信しているドキュメントはタイトルも似ているので探すのが大変。 あまり貯めてしまうと、別の端末にダウンロードする際に見つけづらくなってしまうので、偶には整理しようと思いうんですが、Kindle Library/Personal Document
Package Repo Description Author Modified Forks Stargazers Watchers
とりあえず疲れた。リポジトリもめちゃくちゃだし。暴飲暴食もした。 timbre - JavaScript Library for Objective Sound Programming http://mohayonao.github.com/timbre/ 新しいデモもつくった http://mohayonao.github.com/timbre/examples/004_timbresynth.html ライブラリにはUIついていないけど、デモのときは分かりやすいのでわざわざ書いた。バッハとJavaScriptは相性が良いとおもう。JSだけに。 そういえば、前につくった これ もバッハだった。 関連エントリ サウンドプログラミング用のJavaScriptライブラリをつくっている
pythonでimport文で指定したクラスを動的生成したい posted by jun-g at Tue, 03 Apr 2007 02:16 JST ここんとこずーっと悩んでて解決方法がわからんのでブログで晒してみる。 pythonでMochiKit.DOMのcreateDOMみたいのがあったら便利かなと思って下記のようなクラスを書いた。 class Tag: """A base class of HTML tag.""" name = None inline = True container = False def __init__(self, *nodes, **attributes): self.nodes = nodes self.attributes = attributes def __str__(self): return self.serialize() def ser
How do we make dynamic web applications? In this tutorial, we show how to use Racket to achieve this goal. We explain how to start up a web server, how to generate dynamic web content, and how to interact with the user. Our working example will be a simple web journal—a “blog.” This tutorial is intended for students who have read enough of How to Design Programs to know how to use structures, high
While coming across the release notes of Javascript 1.7 & 1.8, I noticed Javascript has gained some really Pythonesque features. I'm not saying these features originated from Python, it just happens to be the language I'm most familiar with and the syntax seems strikingly similar to me. Generators Like Python, Javascript acquired the yield statement, turning a function into a generator. function f
MochiKit.Animator 0.9.2 Demos/Testbed MochiKit.Animator is an enhanced*, fully vectorized implementation of Bernard Sumption's animator.js. It eschews the use of classes and instead uses composition to build complex effects in one or two lines of code. The idea is to have everything work "right". This means not having to specify start values, maximum efficiency during playback, and clean, automati
Template-Driven Webapps in Javascript Mjt is a Javascript application framework that runs entirely in a web browser, based on a HTML templating engine. It was built for the Freebase service, but it can be used for many other web services. It is distributed as open source. If you can get your data from a JSON-aware web service, creating a Mjt application is the quickest way to get that data display
JavaScript is a general purpose programming language that was introduced as the page scripting language for Netscape Navigator. It is still widely believed to be a subset of Java, but it is not. It is a Scheme-like language with C-like syntax and soft objects. JavaScript was standardized in the ECMAScript Language Specification, Third Edition. JSON is a subset of the object literal notatio
Monitoring, Securing, Optimizing 3rd party scripts For developers looking for a solution to monitor, script, and optimize 3rd party scripts c/side is crawling many sites to get ahead of new attacks. c/side is the only fully autonomous detection tool for assessing 3rd party scripts. We do not rely purely on threat feed intel or easy to circumvent detections. We also use historical context and AI to
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く