Skip to content

Instantly share code, notes, and snippets.

nakagami /
Created Jul 2, 2019
mp4 to animation gif converter
#!/usr/bin/env python3
import sys
import imageio
Convert mp4 to (animation) gif.
pip install imageio, imageio-ffmpeg
View db2_on_cloud.rst
nakagami / python_and_db2.rst
Last active Jul 13, 2020
Python database driver and Db2
View python_and_db2.rst
nakagami / quickstartdjango.rst
Last active Apr 7, 2019
Quickstart with Django and pure python database drivers (2019-04-06)
View quickstartdjango.rst
View firebirdsql_sqlx_example.go
package main
import (
_ ""
View tokyoex9.rst
Elixir のプロジェクトに Pull Request を送った
tokyo.ex #9
nakagami /
Created Sep 24, 2018
PostgreSQL SCRAM-SHA-256 authentication
import hashlib
import hmac
import base64
import binascii
password = 'foobar'
client_nonce = '9IZ2O01zb9IgiIZ1WJ/zgpJB'
server = {
'r': '9IZ2O01zb9IgiIZ1WJ/zgpJBjx/oIRLs02gGSHcw1KEty3eY',
's': 'fs3IXBy7U7+IvVjZ',
nakagami / mssql_python.rst
Created Aug 4, 2018
Python and MS SQL Server, MS SQL Server and Python
nakagami /
Last active Apr 4, 2021
Japanese summarization module using LexRank algorithm.
#!/usr/bin/env python
# The MIT License (MIT)
# Copyright © 2015 Recruit Technologies Co.,Ltd.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
nakagami / word2vec_sample.rst
Last active Apr 9, 2018
python + word2vec 最初のサンプルコード
View word2vec_sample.rst

word2vec を使って類似語を探す


$ curl >