Skip to content

Instantly share code, notes, and snippets.

Kazuhiro Homma kazuph

Block or report user

Report or block kazuph

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
kazuph / esa2esa.rb
Last active Mar 23, 2017
View esa2esa.rb
#!/usr/bin/env ruby
# coding : utf-8
require 'esa'
require 'yaml'
class Importer
attr_accessor :client, :files
def initialize(client, dir_path)
@client = client
View puma
# puma - this script starts and stops the puma daemon
# chkconfig: - 85 15
# description: Description \
# goes here...
# processname: puma
# config: /etc/puma.conf
# pidfile: /home/stanislaw/apps/micro-apps/puma/
View .vimrc
"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
" Required:
set runtimepath^=/home/pi/.dein/repos/
" Required:
call dein#begin(expand('/home/pi/.dein'))
kazuph / github_issues_to_csv.rb
Last active Sep 9, 2015 — forked from tkarpinski/github_issues_to_csv.rb
Exports Github issues to CSV (API v3)
View github_issues_to_csv.rb
#!/usr/bin/env ruby
# coding : utf-8
require 'octokit'
require 'csv'
require 'date'
# Github credentials to access your private project
# Project you want to export issues from


View Alamofire.swift
// Alamofire.swift
// Copyright (c) 2014 Alamofire (
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
kazuph / AES.c
Last active Aug 29, 2015 — forked from bricef/AES.c
View AES.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
* MCrypt API available online:
#include <mcrypt.h>
kazuph / file0.txt
Last active Aug 29, 2015
Wordpressの初回設定をサクッと済ませるスクリプト ref:
View file0.txt
# pwd
# ls
kazuph / Hoge.h
Created Aug 16, 2014
AFNetworkingをViewControllerに書かないでModelに書きたいとき ref:
View Hoge.h
#import "AFHTTPSessionManager.h"
@interface Hoge : NSObject
+ (Hoge*)sharedClient;
- (void)hogeWithId:(NSString *)hogeId completion:(void (^)(NSDictionary *results, NSError *error))block;
kazuph / .bash_profile
Last active Feb 2, 2017
cronからbundle exec...はsu - <USER> -lc ...が一番便利 ref:
View .bash_profile
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
You can’t perform that action at this time.