Skip to content

Instantly share code, notes, and snippets.

@wesbos
wesbos / gulpfile.js
Last active October 21, 2019 19:38
FAST Browserify + Reactify + Babelify
// Update: Hey Folks - I've got a full Gulpfile with everything else over at https://github.com/wesbos/React-For-Beginners-Starter-Files
var source = require('vinyl-source-stream');
var gulp = require('gulp');
var gutil = require('gulp-util');
var browserify = require('browserify');
var reactify = require('reactify');
var babelify = require('babelify');
var watchify = require('watchify');
var notify = require('gulp-notify');
.
├── actions
├── stores
├── views
│   ├── Anonymous
│   │   ├── __tests__
│   │   ├── views
│   │   │   ├── Home
│   │   │   │   ├── __tests__
│   │   │   │   └── Handler.js
@fddcddhdd
fddcddhdd / poker.php
Last active December 20, 2015 14:49
第一回ギークハウスプログラムコンテスト【8/4開催】で作ったプログラムhttps://www.facebook.com/events/206583066132014/?hc_location=stream
<?php
// 問題:
// プログラム引数で与えられる5枚のカード情報から、その5枚を用いて出来る一番強いポーカーの役を判定して出力せよ(*1)(*2)。
// プログラム引数は以下のように与えられる。
// $ prog Ac Th Kd 3h As
// カード情報について(*3)(*4)(*5)
// 1文字目:数値 (A:エース 2〜9:数字 T:10 J:11 Q:12 K:13)
// 2文字目:スート(s:スペード h:ハート d:ダイヤ c:クローバー)
// ポーカー役の強さの順番と出力値、それに対応する入力例
@mollifier
mollifier / zshrc_useful.sh
Last active September 10, 2026 17:11
少し凝った zshrc
# 少し凝った zshrc
# License : MIT
# http://mollifier.mit-license.org/
########################################
# 環境変数
export LANG=ja_JP.UTF-8
# 色を使用出来るようにする
@afair
afair / gist:3803895
Last active August 7, 2023 07:43
PostgreSQL and Pgpool Architecture

Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer

Thanks for stopping by!

PostgreSQL and Pgpool Architecture