Skip to content

Instantly share code, notes, and snippets.

🌴
On vacation

Hironao OTSUBO motemen

🌴
On vacation
Block or report user

Report or block motemen

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
@onishi
onishi / private.xml
Created Oct 9, 2014
Karabiner configuration for Slack
View private.xml
<?xml version="1.0"?>
<root>
<appdef>
<appname>SLACK</appname>
<equal>com.tinyspeck.slackmacgap</equal>
</appdef>
<item>
<name>For Slack CTRL+TAB=move unread channel</name>
<identifier>private.app_slack_move_channel_with_ctrl_tab</identifier>
<only>SLACK</only>
@jvns
jvns / interview-questions.md
Last active Oct 14, 2019
A list of questions you could ask while interviewing
View interview-questions.md

A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.

I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.

I'd love comments and suggestions about any of these.

I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.

I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".

@nobuoka
nobuoka / java-for-android-app.markdown
Last active Jun 19, 2019
Android アプリ開発勉強会のために書いた Java の入門文書
View java-for-android-app.markdown

Android アプリ開発のための Java 入門

MEMO

  • declaration は 「宣言」 と訳しているが、「定義」 の方が適しているような気がしなくもない。
  • 「インスタンス」 と 「オブジェクト」 という言葉を使うことがあるが、本文書中ではどちらも同じ意味で使用している。
  • String オブジェクト」 という表現は、「String クラスのインスタンス」 を意味している。 (Java に限らず一般的な表現だと思う。)

はじめに

@motemen
motemen / gist:5088348
Last active Dec 14, 2015
顔文字集
View gist:5088348
(;´Д`)
。゚(゚´ω`゚)゚。ピー
。゚( ゚^∀^゚)σ゚
\\\\└('ω')」////
( ╹ㅂ╹)
( ╹◡╹)
✌( 'ω' )
( ^o^)Г☎チンッ
⊂(^ω^)⊃
(´⊙ω⊙)
@vvakame
vvakame / Gruntfile.js
Created Feb 28, 2013
Slim3 + TypeScript なプロジェクトのGruntfile.jsとか run_server.sh も grunt start-server とかにするべきかなと思う
View Gruntfile.js
module.exports = function (grunt) {
grunt.initConfig({
typescript: {
client: { // --declarations --sourcemap --target ES5 --out client/scripts/main.js client/scripts/main.ts
src: ['src/main/typescript/Ignite.ts'],
dest: 'src/main/webapp/scripts/main.js',
options: {
target: 'es5',
base_path: 'src/main/typescript',
sourcemap: false,
View Deprecating_the_Observer_Pattern.md

!SLIDE

Deprecating the Observer Pattern

 

2012/10/21 ScalaBase in 名古屋

!SLIDE

@yoko
yoko / idea.js
Created Apr 24, 2012
アイデア思い付いたら書いてくところ
View idea.js
function foo(type) {
return type ?
function() {
return console.log(type);
} :
console.log(this.toString());
}
foo('foo')(); // コールバックで使う
foo.call('foo'); // 単独で使う
@mitukiii
mitukiii / bgm.md
Created Feb 14, 2012
最近の作業用 BGM 事情
View bgm.md

最近の作業用 BGM 事情

iPod に入ってる音楽飽きてきた感あってネットラジオから適当に流してること多い
そろそろ音源買い漁りたい

音源垂れ流しとか発掘するやつ

Tubalr

http://www.tubalr.com/

@theory
theory / gist:1542242
Created Dec 31, 2011
How to add a Transaction Guard to a DBIx::Connector Subclass
View gist:1542242
package DBIx::Connector::TxnGuard;
use strict;
use warnings;
use Carp;
sub new {
my ($class, $dbh) = @_;
$dbh->begin_work;
return bless { dbh => $dbh };
}
@hail2u
hail2u / hatom-in-microdata.html
Created Dec 5, 2011
hAtomをMicrodataで(修正した感じ
View hatom-in-microdata.html
<body itemscope itemtype="http://microformats.org/profile/hatom">
<article itemscope itemtype="http://microformats.org/profile/hatom#hentry">
<h2 itemprop="entry-title">
<a rel="bookmark"
href="http://hail2u.net/blog/webdesign/document-structure.html"
itemprop="url">
文書構造を見なおした(ている)
</a>
</h2>
<footer>
You can’t perform that action at this time.