Skip to content

Instantly share code, notes, and snippets.

Avatar

Sho Shimauchi shiumachi

View GitHub Profile
View app.py
from pyramid.config import Configurator
def hello(request):
return dict(message="Hello, world!")
def main(global_conf, **settings):
config = Configurator(settings=settings)
config.include("pyramid_jinja2")
View update_cluster.py
#! /usr/bin/env python
import argparse
import sys
import time
import uuid
from urllib2 import HTTPError
from cloudera.director.common.client import ApiClient
from cloudera.director.v10 import (AuthenticationApi, ClustersApi, InstanceTemplatesApi)
@taichi
taichi / code_review_basics.md
Last active Jul 17, 2020
チームでコードを書き始めた後、「どうやらレビューってやつをした方が良いらしい」くらいの若手に向けた資料です。
View code_review_basics.md

コードレビューの基本


一番大事な事

ソースコードはプロジェクトの共同所有物である

  • 誰かだけが触れるコードを無くす
@voluntas
voluntas / shiguredo_product_ strategy.rst
Last active Aug 5, 2018
時雨堂を支える製品戦略
View shiguredo_product_ strategy.rst
@aarondav
aarondav / DirectOutputCommitter.scala
Last active Jan 12, 2020
DirectOutputCommitter.scala
View DirectOutputCommitter.scala
/*
* Copyright 2015 Databricks, Inc.
*
* 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
View xshiumachi
package main
import (
"log"
"net/http"
"time"
)
const (
TargetURL = `http://www.cloudera.co.jp/shiumachi`
@voluntas
voluntas / shiguredo_bot_system_gumistudy.rst
Last active Apr 30, 2017
時雨堂 BOT サーバー (gumiStudy #20)
View shiguredo_bot_system_gumistudy.rst
@shibukawa
shibukawa / go_memo.rst
Last active Jan 4, 2016
ʕ ◔ϖ◔ʔ Go~
View go_memo.rst

ʕ ◔ϖ◔ʔ Go~

Number with explicit type

// ʕ ◔ϖ◔ʔ Go~
// Pros: It can use in global
@diyan
diyan / python_stack.md
Last active Jun 30, 2019
Tools and libraries which I prefer to use in Python stack
View python_stack.md

Tools and libraries which I prefer to use in Python stack

Development Environment

  • Ubuntu Linux for both development and production
  • Git version control system
  • Jenkins CI build server (but recently I'm moving to git server-side hooks with ssh from git server to dev/stage/prod servers)
  • Redmine bug tracking system
  • JetBrains PyCharm IDE

Production Environment

@voluntas
voluntas / ansible_trot.rst
Last active Feb 24, 2016
Ansible トラノマキ
View ansible_trot.rst
You can’t perform that action at this time.