Skip to content

Instantly share code, notes, and snippets.

View nisshi-dev's full-sized avatar

Yoshikatsu Nishida nisshi-dev

View GitHub Profile
matope / NoSQLデータモデリング技法.markdown
Created April 16, 2012 03:35


原文:NoSQL Data Modeling Techniques « Highly Scalable Blog

I translated this article for study. contact matope[dot]ono[gmail] if any problem.


本稿をレビューして文法を清書してくれたDaniel Kirkdorfferに感謝したいと思う

aidiary /
Last active November 23, 2021 07:04
#coding: utf-8
import cPickle
import matplotlib.pyplot as plt
model = cPickle.load(open("model.pkl", "rb"))
# 1つめのConvolution層の重みを可視化
print model.conv1.W.shape
n1, n2, h, w = model.conv1.W.shape
fig = plt.figure()
claymcleod /
Last active December 15, 2022 21:40
Playstation 4 Controller Python
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# This file presents an interface for interacting with the Playstation 4 Controller
# in Python. Simply plug your PS4 controller into your computer using USB and run this
# script!
# NOTE: I assume in this script that the only joystick plugged in is the PS4 controller.
# if this is not the case, you will need to change the class accordingly.
markhowellsmead / email_not_specific_domain.txt
Last active November 9, 2023 04:21
Regex for valid email address excluding specific free domains, like Gmail, GMX and Yahoo. Extend the list of domains according to your own requirements.
hyamamoto / string.hashcode.js
Created September 30, 2016 07:19
JavaScript Implementation of String.hashCode() .
* Returns a hash code for a string.
* (Compatible to Java's String.hashCode())
* The hash code for a string object is computed as
* s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]
* using number arithmetic, where s[i] is the i th character
* of the given string, n is the length of the string,
* and ^ indicates exponentiation.
* (The hash value of the empty string is zero.)
stepney141 /
Last active April 4, 2023 01:45
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark