Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ppworks's full-sized avatar
🏠
Working from home

Naoto Koshikawa ppworks

🏠
Working from home
View GitHub Profile
@ppworks
ppworks / ppworks-hatenablog-jp.css
Last active August 9, 2019 12:40
CSS for my blog
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400);
@import url(https://fonts.googleapis.com/css?family=Varela+Round);
/* <system section="theme" selected="alpha2"> */
@import url(https://ppworks.hatenablog.jp/css/theme/alpha2/alpha2.css);
@keyframes flash {
0% {
opacity: .4;
}
100% {
@ppworks
ppworks / position_paper.md
Created December 11, 2017 00:58
Rails勉強会@東京 第93回のポジションペーパー

ppworks

お仕事

esa社でesapplogを作ったり、他社のエンジニアのメンター業や、Railsアプリのコードレビュー業などをしております。

最近の課題

  • そろそろ個人的に新作のWEBサービスを作ろうと思っていますが、docker導入したいなと思って、そっちの環境づくりをしていたらなかなかrails newが出来ずに困ってます。
  • PHPのおれおれフレームワークが導入されている現場のソースコードをRailsに置き換えるか否かのジャッジを皆さんならどうするか知りたいです。
Gist Body
- list item1
- list item2
@ppworks
ppworks / .commit_template
Last active July 12, 2016 06:21 — forked from nownabe/.commit_template
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@ppworks
ppworks / bookmarklet
Last active April 27, 2016 05:03
差分に含まれるPRを取得する
javascript:var text='';[].forEach.call(document.querySelectorAll('.issue-link'),function(element){text+="* ["+element.text+" "+element.nextSibling.nextSibling.title.match(/\n(.+)/)[1]+"]"+"("+element.href+")\n";});prompt('コピペせよ', text);
@ppworks
ppworks / bookmarklet
Created April 19, 2016 07:30
expand outdated comments
javascript:[].forEach.call(document.querySelectorAll('.outdated-diff-comment-container'), function(element){element.className = 'open';});
javascript:(function(){document.querySelector('#message-input').value%20=%20function()%20{%20var%20min%20=%2010;var%20range%20=%2020;%20function%20randomLengthChars(char)%20{%20var%20string%20=%20'';%20for%20(var%20i=0;%20i%20<%20min%20+%20(1%20+%20parseInt(Math.random()%20*%20range));%20i++)%20{%20string%20+=%20char;%20}%20return%20string;%20}%20return%20randomLengthChars('A')%20+%20randomLengthChars('E')%20+%20randomLengthChars('I')%20+%20randomLengthChars('H');%20}();})();
-
github: ppworks
bitbucket: ppworks
slack: ppworks
esa: koshikawa_naoto
-
github: ppworks2
slack: ppworks2
@ppworks
ppworks / gomoku.rb
Last active February 24, 2016 10:34
#!/usr/bin/env ruby
class Gomoku
STONES = %w(1 0)
def initialize(row: 19, col: 19, connectivity: 5)
@row = row
@col = col
@connectivity = connectivity
@stones = STONES.dup
@ppworks
ppworks / gtk-firefox.sh
Last active February 2, 2016 07:26 — forked from joekiller/gtk-firefox.sh
INSTALL FIREFOX ON AMAZON LINUX X86_64 COMPILING GTK+
#!/bin/bash
# GTK+ and Firefox for Amazon Linux
# Written by Joseph Lawson 2012-06-03
# http://joekiller.com
# http://joekiller.com/2012/06/03/install-firefox-on-amazon-linux-x86_64-compiling-gtk/
# chmod 755 ./gtk-firefox.sh
# sudo ./gtk-firefox.sh