Skip to content

Instantly share code, notes, and snippets.

sakebook sakebook

Block or report user

Report or block sakebook

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sakebook
sakebook / 0_reuse_code.js
Created Mar 22, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sakebook
sakebook / tile.xml
Last active Dec 29, 2015
画像を敷き詰めて背景に表示
View tile.xml
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/YOUR_IMAGE"
android:antialias="true"
android:dither="false"
android:filter="false"
android:gravity="fill"
android:tileMode="repeat" />
<!-- antialias アンチエリアスを有効または無効にします -->
<!-- dither ビットマップが画面と同じピクセル設定を持たない場合 ( 例: RGB 565 の画面で ARGB 8888 のビットマップ ) にビットマップのディザリングを有効または無効にします -->
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="YOUR_PACKAGE"
android:versionCode="1"
android:versionName="1.0.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
You can’t perform that action at this time.