Skip to content

Instantly share code, notes, and snippets.

/* ========================================================================= */
int ZEXPORT deflateInit_(strm, level, version, stream_size)
z_streamp strm;
int level;
const char *version;
int stream_size;
{
return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
Z_DEFAULT_STRATEGY, version, stream_size);
/* To do: ignore strm->next_in if we use it as window */
@melpon
melpon / build.sh
Last active August 29, 2015 14:22
mono 4.0.1 のビルド
# apt-get install git autoconf libtool automake
git clone https://github.com/mono/mono.git
cd mono
git checkout mono-4.0.1.44
patch configure.ac /path/to/patch/configure.ac.patch
./autogen.sh --prefix=/path/to/install --disable-nls
make get-monolite-latest
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe
make install
@melpon
melpon / Makefile.patch
Last active August 29, 2015 14:22
誤家庭用
2369,2371d2368
< for files in $(BUILD_SDK_DIR)/tapset/*.stp; do \
< $(INSTALL_DATA) $${files} $(DESTDIR)${prefix}/tapset; \
< done
2462,2465d2458
< if ENABLE_DOCS
< ${mkinstalldirs} $(DESTDIR)$(docdir)/html
< cp -RP $(BUILD_IMAGE_DIR)/docs $(DESTDIR)$(docdir)/html
< endif
python make.py > test.json
curl -v -H "Content-type: application/json" --data-binary "@test.json" http://melpon.org/wandbox/api/compile.json
#!python
"""Bootstrap distribute installation
If you want to use setuptools in your package's setup.py, just include this
file in the same directory with it, and add this to the top of your setup.py::
from distribute_setup import use_setuptools
use_setuptools()
If you want to require a specific version of setuptools, set a download

WandboxのDB分析

Wandboxの2015年のデータを分析してみた。

対象データはSQLiteに永続化されたコード、つまりpermlinkの対象になってるコードだけ。 コードの実行回数ではないので注意(実行する方も一応ログ取ってるけど分析がめんどい)。

対象期間は2015年1月1日〜2015年12月31日。

総保存回数

@melpon
melpon / wandbox-sponsors.md
Last active March 2, 2022 05:31
Wandboxのスポンサー募集(締め切りました)

スポンサーの募集は締め切りました。以後は GitHub Sponsors に移行する予定です。

どのような募集をしていたか知りたい場合は履歴を確認してください。

初めまして。
江戸サーチトマスと申します。
IT業界をメインにしたヘッドハンターをしております。
是非パートナー企業の人材紹介会社が扱っている案件についてお話させて頂きたくご連絡差し上げております。
アドテック・フィンテック・AI・ディープラーニングなどご興味ございますでしょうか。
一度詳細をお話させて頂ければと思います。まずはお電話からでも構いませんので、ぜひご検討ください。
ご返信お待ちしております。
melpon様
初めまして。突然のメール失礼いたします。
テクノブレーン株式会社の高尾 将吏と申します。
弊社は特定の技術領域に特化したスカウト・ヘッドハンティング会社です。
http://www.techno-brain.co.jp/mail/
このたび、弊社のクライアント企業からスカウト依頼を受けて動いており、C++をお使いのエンジニアの方をお探しする中で、
melpon様のHPや登壇経歴,Twitter等を拝見しご連絡をさせて頂きました。
from: b-engineer@dig-g.com
突然のご連絡、失礼致します。
株式会社Branding Engineerの今井と申します。
Githubの過去のリポジトリーを拝見させていただきました。
この度は株式会社Branding Engineerにて運営しております、
プログラミングスクール事業の件でご連絡させていただきました。