その名の通り、backupを取るための便利なgem https://github.com/meskyanichi/backup
- データのdump
- ローカルファイルやディレクトリだけでなく、MySQL、Postgres、MongoDB、Redis、RiakからDumpできる
- データの圧縮
その名の通り、backupを取るための便利なgem https://github.com/meskyanichi/backup
import org.apache.commons.math3.distribution.ChiSquaredDistribution; | |
import org.apache.commons.math3.stat.inference.ChiSquareTest; | |
import org.hamcrest.BaseMatcher; | |
import org.hamcrest.Description; | |
import java.util.Arrays; | |
import java.util.List; | |
/** | |
* カイ二乗検定を用いた検証を行う BaseMatcher 継承クラスです。 |
var app = angular.module('tLinky', ['ngSanitize']); | |
app.filter('tweetLinky',['$filter', '$sce', | |
function($filter, $sce) { | |
return function(text, target) { | |
if (!text) return text; | |
var replacedText = $filter('linky')(text, target); | |
var targetAttr = ""; | |
if (angular.isDefined(target)) { |
{ | |
"status": "success", | |
"search_nag": {}, | |
"code": 0, | |
"bookmark": "b28xMDB8MDQ0NWZiOTBjNzNiODlkOTQ1ZTk3ZjY0ZTBhYjU0YjM0ZDYyNDg3NjU3ZWQ3OGJmZjI4ZTliZGRmODBlMzJlNQ==", | |
"debug_data": { | |
"query_data": {} | |
}, | |
"message": "ok", | |
"data": [ |
//ステータスバー領域を含む画面の領域 | |
CGRect bounds = [UIScreen mainScreen].bounds; | |
ステータスバー領域を含まない画面の領域 | |
CGRect applicationFrame = [UIScreen mainScreen].applicationFrame; |
/* | |
* Copyright 2014 Mostafa Gazar | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
public class AccountAuthenticator extends AbstractAccountAuthenticator { | |
private final Context context; | |
@Inject @ClientId String clientId; | |
@Inject @ClientSecret String clientSecret; | |
@Inject ApiService apiService; | |
public AccountAuthenticator(Context context) { | |
super(context); |
require 'coffee-script' | |
require 'coffee-errors' | |
assert = require 'assert' | |
moment = require 'moment' | |
async = require 'async' | |
MongoClient = require('mongodb').MongoClient | |
describe 'MongoClient', -> |
package com.example.fragmentpageradapterdemo; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentActivity; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentPagerAdapter; | |
import android.support.v4.app.ListFragment; | |
import android.support.v4.view.ViewPager; | |
import android.util.Log; |