Skip to content

Instantly share code, notes, and snippets.

View ara-ta3's full-sized avatar

Arata Tanaka ara-ta3

View GitHub Profile
anonymous
anonymous / Layout.scala
Created February 16, 2014 07:53
package main.scala.example.components
import main.scala.example._
import scalatags.all._
trait LayoutData extends Schema{
var name: String = ???
}
object Layout {
def create(): Vue[LayoutData] = VueLoader.createVue[LayoutData](
html(
@sakama
sakama / slack-to-bigquery.yml
Created August 20, 2015 13:42
embulk-slack-historyを使ってみる
in:
type: slack_history
token: xxxxxxx
out:
type: bigquery
service_account_email: xxxxx@developer.gserviceaccount.com
p12_keyfile_path: ./key.p12
project: mysamplebqproject
dataset: slack
auto_create_table: true
@kmizu
kmizu / recommendation.md
Created October 2, 2011 12:15
ウォッチすべきScalaエンジニア(海外/日本人)のTwitterアカウント

フォローしておいた方がいいようなScalaエンジニア(海外勢/日本人)のTwitterアカウント

概要

海外勢/日本人のScala(エンジニア/ユーザ)の中で、特にフォローしておくといい方のTwitterアカウントを集めてみました。作成途中なので、突っ込み歓迎。fork歓迎。

海外

  • @robey Twitterの中の人。ScalaによるメッセージキューKestrelを作ったのもこの人。
  • @n8han 今話題のhttpツールキットUnfilteredの作者。NYのScalaエンジニアの中でも有名人。他にも、conscriptを初めとして、多数のプログラムを開発している。詳細は彼のgithub アカウント 参照。
" こういうHTMLがあったときに
" <div id="hoge" class="fuga">
" ...
" </div>
"
" 実行するとこうなる
" <div id="hoge" class="fuga">
" ...
" <!-- /div#hoge.fuga --></div>
@tkmtmkt
tkmtmkt / build.sbt
Created August 4, 2012 04:54
標準のディレクトリ構成を変更するscala設定ファイル(Basic)
name := "My Project"
version := "0.1-SNAPSHOT"
organization := "home"
unmanagedBase <<= baseDirectory / "lib"
sourceDirectory in Test <<= baseDirectory / "test"
@kmizu
kmizu / gist:1876800
Last active December 22, 2019 00:05 — forked from gakuzzzz/gist:1865400
Scala環境構築

Scala 開発環境構築手順

前提条件

  • JDKがinstall済みであること
  • java コマンドに環境変数Pathが通っていること
@voluntas
voluntas / vagrant.rst
Last active September 21, 2020 22:11
Vagrant コトハジメ
@kazuho
kazuho / git-blame-pr.pl
Last active June 28, 2022 07:15
git-blame by PR #
#! /usr/bin/perl
#
# Written in 2017 by Kazuho Oku
#
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#
use strict;
use warnings;
@boazsender
boazsender / keyboard-event-trigger.js
Created October 17, 2011 03:25
Dispatch a keyboard
/*
Chrome does not let you modify the keyCode prop when you trigger it, so it defaults to 0.
You can use this code to trigger a keydown with a char code of 0 in chrome.
If you use initKeyEvent instead of initKeyboardEvent, it will work in FF
(the bellow example would trigger keydown with a char code of 65 in FF).
*/
document.addEventListener( 'keydown', function( event ){
console.log( event.keyCode )
@ibeex
ibeex / foo.log
Created August 4, 2012 13:46
Flask logging example
A warning occurred (42 apples)
An error occurred