Skip to content

Instantly share code, notes, and snippets.

@shimomura1004
shimomura1004 / unreadcounter.js
Last active October 13, 2015 11:28
unread message counter for AsakusaSatellite (tested with chrome)
/*!
AsakusaSatellite Unread Counter
*/
function load_Tinycon(){
/*!
Tinycon - A small library for manipulating the Favicon
Tom Moor, http://tommoor.com
Copyright (c) 2012 Tom Moor
MIT Licensed
@shimomura1004
shimomura1004 / gist:4393448
Last active December 10, 2015 06:18
asakusa-satellite simple style
body {
background-image: url(bedge_grunge.png);
color: #333333; }
.header {
height: 70px;
margin: 15px;
margin-bottom: 40px;
border-bottom: 1px solid #cccccc; }
.header > a {
@nicolashery
nicolashery / environment-variables-jekyll-templates.md
Last active January 22, 2023 15:56
Make environment variables available in Jekyll Liquid templates

Environment variables in Jekyll templates

This is one way to pass some data (API tokens, etc.) to your Jekyll templates without putting it in your _config.yml file (which is likely to be committed in your GitHub repository).

Copy the environment_variables.rb plugin to your _plugins folder, and add any environment variable you wish to have available on the site.config object.

In a Liquid template, that information will be available through the site object. For example, _layouts/default.html could contain:

@seamountain
seamountain / Migrating_to_WebView_in_Android_4.4.md
Last active January 18, 2022 06:26
Migrating to WebView in Android 4.4 翻訳

以下Android公式ドキュメント Migrating to WebView in Android 4.4 の翻訳です。 間違いなどあればぜひご指摘ください。拙いですが誰かの役に立てば幸いです。

Migrating to WebView in Android 4.4

Android 4.4(API レベル 19)では、Chrominium ベースの新しい WebView が紹介されました。この変更で、WebView のパフォーマンス向上し、最新の Web ブラウザに追いつくために、HTML5、CSS3やJavaScript を標準サポートします。WebView を使っているアプリは、Android 4.4 以上からはこれらのアップデートの恩恵を受けることになります。

本ドキュメントは WebVeiew の変更点について説明します。なお、その変更は Android 4.4 以上、つまり targetSdkVersion を "19" 以上にした場合です。

Note: targetSdkVersion を "18" 以下にした場合、WebView は以下で述べるような挙動をすることを避けるために、"quirks モード" になります。これは、パフォーマンス向上と Web 標準に対応するためです。

移動しました

Embulk

Embulkってなに?ということから、Embulkのプラグインを開発するところまでをまとめたページです。

Embulkとは

@okunokentaro
okunokentaro / gist:72ed886825ffa891cc50
Last active August 31, 2015 12:23
ng-kyoto Angular Meetup #2資料まとめ