Skip to content

Instantly share code, notes, and snippets.

View gfx's full-sized avatar

FUJI Goro gfx

View GitHub Profile
@gfx
gfx / sidekiq.log
Last active February 3, 2018 01:29
[BUG] pthread_mutex_destroy: Device or resource busy (EBUSY)
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
-- Control frame information -----------------------------------------------
-- C level backtrace information -------------------------------------------
/usr/local/rbenv/versions/2.4.2/bin/ruby(rb_vm_bugreport+0xcf4) [0x558eb7577584] vm_dump.c:684
/usr/local/rbenv/versions/2.4.2/bin/ruby(rb_bug+0xd0) [0x558eb756bcf0] error.c:491
/usr/local/rbenv/versions/2.4.2/bin/ruby(rb_bug_errno+0x3a) [0x558eb756be9a] error.c:520
/usr/local/rbenv/versions/2.4.2/bin/ruby(thread_start_func_2+0x98d) [0x558eb74a0e9d] thread_pthread.c:260
/usr/local/rbenv/versions/2.4.2/bin/ruby(thread_start_func_1+0xd0) [0x558eb74a0fd0] thread_pthread.c:887
/lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xca) [0x7f9c1bf536ba]
@gfx
gfx / bench.js
Last active October 15, 2017 09:55
"use strict";
const Benchmark = require('benchmark');
const suite = new Benchmark.Suite();
let i = 0;
let j = 0;
let k = 0;
let r0 = 0;
@gfx
gfx / .rubocop.yml
Last active April 23, 2019 04:26
Kibela Rubocop settings in 2019/04/23
require: rubocop-performance
inherit_from: .rubocop_todo.yml
# See also https://github.com/onk/onkcop/blob/master/config/rubocop.yml
AllCops:
TargetRubyVersion: 2.5
DisplayCopNames: true
Exclude:
- vendor/**/*
public class RxBackwardCompatibility {
public static <T> rx.Observable<T> toOne(final io.reactivex.Observable<T> observable) {
return rx.Observable.create(new rx.Observable.OnSubscribe<T>() {
@Override
public void call(final rx.Subscriber<? super T> subscriber) {
observable.subscribe(new io.reactivex.Observer<T>() {
@Override
public void onSubscribe(io.reactivex.disposables.Disposable d) {
// TODO
babel-node $(npm bin)/isparta cover --report text node_modules/mocha/bin/_mocha -- --opts spec/client/support/default.opts 'spec/client/**/*.spec.js'
@gfx
gfx / .rubocop.yml
Created August 15, 2016 08:55
As of 2016/08/15
# See also https://github.com/onk/onkcop/blob/master/config/rubocop.yml
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- vendor/**/*
- db/**/*
- bin/**
- node_modules/**/*

最初期 - 開発人数: 1人, リリース前

このフェーズはほぼすべてのことが唯一の開発メンバーのスキルとマインド次第で決まるので、チームとしてできることは極めて少ないです。また、この段階のプロジェクトはリリース前に捨てる可能性もあるので、導入コストの高い開発ツールはまだ必要ありません。

  • バージョン管理をしている
  • リポジトリへのアクセス権を広げた(上長やチームメイト、開発基盤的な組織に権限を渡しておく)
  • CIをセットアップし、最低限ビルドだけしている
  • コーディングスタイルガイドを用意した
  • (Androidの場合).idea/codeStyleSettings.xml を用意してスタイルガイドに沿ってフォーマットできるようにした
Package Description
Android SDK Build-tools, revision 24
This update will replace revision 24 rc4 with revision 24.
Archive Description
Archive for MacOS X
Size: 46.5 MiB
SHA1: 97fc4ed442f23989cc488d02c1d1de9bdde241de
diff --git a/var/folders/tw/sdhbgsb51lvb38tjhcd3_25w0000gn/T/cuMqek0FbI.java b/var/folders/tw/sdhbgsb51lvb38tjhcd3_25w0000gn/T/HSyD_0pwnD.java
index 14b0fbf..77aa035 100644
--- a/var/folders/tw/sdhbgsb51lvb38tjhcd3_25w0000gn/T/cuMqek0FbI.java
+++ b/var/folders/tw/sdhbgsb51lvb38tjhcd3_25w0000gn/T/HSyD_0pwnD.java
@@ -1,5 +1,6 @@
/*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (C) 2014 The Android Open Source Project
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.class final synthetic Lcom/github/gfx/android/j8/MainActivity$-void_onCreate_android_os_Bundle_savedInstanceState_LambdaImpl0;
.super Ljava/lang/Object;
.source "MainActivity.java"
# interfaces
.implements Ljava/util/function/Consumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;