Skip to content

Instantly share code, notes, and snippets.

View sotarok's full-sized avatar
🍺
developing Crowi and beer

Sotaro Karasawa sotarok

🍺
developing Crowi and beer
View GitHub Profile
@sotarok
sotarok / gist:a2d02fb8c949ba3cbbdb848abf4e3cc2
Last active June 26, 2023 23:02
エンジェル投資に対する気持ち

エンジェル投資に対する気持ち

日本でも「エンジニアがちゃんとお金持ちになる」スタートアップが増えることを願っています。

ベイエリアでテック企業が大きく成功できるのは、投資家も元々エンジニアであったり、 スタートアップを成功させた経験のあるエンジニアが、次の世代のエンジニアに投資する、という好循環があることが、1つの要因だと思います。

一方、日本のスタートアップは、(失礼を承知であえて言えば) エンジニアリングのことをわからないVCや投資家が、 エンジニアリングのできない・エンジニアがいないスタートアップに投資していたり、 「EXITしたけどエンジニアが株を大して持っていなかった...」ということもあるかと思います。

;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;
; All relative paths in this configuration file are relative to PHP's install
; prefix (/home/sotarok/.phpenv/versions/5.4.0s). This prefix can be dynamicaly changed by using the
; '-p' argument from the command line.
; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
<?php
/** ClassLoader
*
* Based on SplClassLoader by PHP Standards Working Grounp
* <http://groups.google.com/group/php-standards/web/final-proposal>
*
* @author Sotaro Karasawa <sotaro.k@gmail.com>
* @date 2010-12-02 18:59:39
*/
<?php
/**
*
*/
include '__header.php';
?>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3");
@namespace url(http://www.w3.org/1999/xhtml);
.xdebug-var-dump {
background: #fef9fb !important;
color: #000 !important;
padding: 4px 8px !important;
margin: 5px 10px !important;
text-align: left !important;
font-family: Menlo, Monaco, "Consolas", "Lucida Console", "courier new" !important;
-moz-border-radius: 10px !important;
@sotarok
sotarok / TumblrDownload.php
Created September 9, 2009 17:14
Download image from Tumblr
<?php
/**
* Dowload image file from tumblr.
*
* @author sotarok
* @copyright 2009 sotarok
* @lisence The MIT License
*/
define("BASE_DIR", dirname(__FILE__) . "/");
@sotarok
sotarok / x.php
Created September 27, 2016 05:08
<?php
class Banner
{
private $x;
public $y;
public static function factory()
{
$self = new Banner();
@sotarok
sotarok / gist:33390
Created December 8, 2008 07:12
php simple chat
<?php
define("URL", "http://あなたの設置したPHPファイルのURL");
define("TIME", time());
define("__THIS_FILE__", file_get_contents(__FILE__));
define("__THIS_SCRIPT__", substr(__THIS_FILE__, 0, strpos(__THIS_FILE__, "__" . "halt_compiler();") + 19));
$logs = explode("\n", substr(__THIS_FILE__, strpos(__THIS_FILE__, "__" . "halt_compiler();") + 19));
if (strcasecmp($_SERVER['REQUEST_METHOD'], 'post') == 0) {
if (isset($_POST['text']) && !empty($_POST['text'])
&& isset($_POST['name']) && !empty($_POST['name'])) {
@sotarok
sotarok / vundle
Created January 31, 2013 10:05
vundle
set rtp+=~/.vim/vundle/
call vundle#rc()
Bundle 'buftabs'
"バッファタブにパスを省略してファイル名のみ表示する(buftabs.vim)
let g:buftabs_only_basename=1
"バッファタブをステータスライン内に表示する
let g:buftabs_in_statusline=1
if exists("w:buftabs_enabled")
@sotarok
sotarok / vendor-update.bash
Created August 28, 2012 02:17
update vendor mirror repository
#!/bin/bash
CURDIR=`pwd`
for dn in `find . -maxdepth 1 -type d`
do
[ "$dn" == "." ] && continue
echo $dn
cd $dn