Skip to content

Instantly share code, notes, and snippets.

View fkfk's full-sized avatar
🤔

TANAKA, Koutarou fkfk

🤔
View GitHub Profile
@fkfk
fkfk / docker-compose.yml
Last active March 9, 2018 05:04
ElectrumX for Mona
version: '2'
services:
monacoind:
image: fkfk/monacoin-nowallet:0.15.1
environment:
RPCUSER: user
RPCPASSWORD: <your_password>
RPCALLOWIP: "172.0.0.0/8"
volumes:
- monacoind_data:/data
@fkfk
fkfk / docker-compose.yml
Last active March 9, 2018 05:04
Electrumx Server for Koto
version: '2'
services:
kotod:
image: fkfk/koto
environment:
RPCUSER: user
RPCPASSWORD: <your_password>
RPCALLOWIP: "172.0.0.0/8"
volumes:
- kotod_data:/var/lib/koto/data
@fkfk
fkfk / PKGBUILD
Last active February 26, 2018 09:41
cpuminer-opt v3.8.3.3 PKGBUILD
pkgname=cpuminer-opt
pkgver=3.8.3.3
pkgrel=1
pkgdesc="Optimized multi algo CPU miner"
arch=('i686' 'x86_64')
url="https://github.com/JayDDee/cpuminer-opt"
depends=('curl' 'jansson')
license=('GPL')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/JayDDee/cpuminer-opt/archive/v${pkgver}.tar.gz")
md5sums=('d4b5852e5698ed73f827c2c3c83c27f6')
@fkfk
fkfk / ZE554KL_TwinAppsHack.ja.md
Created September 28, 2017 02:31
Zenfone4(ZE554KL) ツインアプリに任意のアプリを追加する

Zenfone4(ZE554KL) ツインアプリに任意のアプリを追加する

0. 情報元

[ZenFone] Add new apps to Twin Apps

1. 前準備

  • adbコマンドを使用できるようにする
@fkfk
fkfk / mkinitramfs.pl
Created July 13, 2011 05:37
Extact initramfs from zImage
#!/usr/bin/env perl
use strict;
use warnings;
use Compress::Zlib;
sub get_unpackdata{
my $infile = $_[0];
my $code;
open IN, " < $infile ";
binmode(IN);
@fkfk
fkfk / download.sh
Created July 11, 2011 06:25
Download arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 and decompress
#!/bin/sh
curl -s -L "http://www.codesourcery.com/sgpp/lite/arm/portal/package5353/public/arm-none-eabi/arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2" | bunzip2 -d --stdout | sudo tar -C /opt -xf -
@fkfk
fkfk / notify.rb
Created April 1, 2011 16:41 — forked from yohfee/notify.rb
#coding: utf-8
Earthquake.init do
config[:notify] = [/ruby/i, /#earthquake.gem/i]
output do |item|
next unless item["stream"]
if config[:notify].any?{|pattern| pattern =~ item["text"]}
notify item["text"], :title => item["user"]["screen_name"]
end