Skip to content

Instantly share code, notes, and snippets.

View kotarot's full-sized avatar

Kotaro Terada kotarot

View GitHub Profile
@apiri
apiri / nifi-gitbox-migration.md
Last active March 23, 2021 14:00
Apache NiFi Gitbox Migration

(quick note: a markdown formatted version of this content is available at [3])

All,

There was a flurry of messages as we sought to get some quick details out about our migration to the ASF Gitbox system and I wanted to take this message to consolidate those items into a comprehensive and less hastily composed message.

There are a few different paths to consider and I will try to enumerate those with the associated steps, so please choose your own adventure. Please note that this change does affect ALL repositories in the NiFi community and all references to NiFi refer to our efforts as a whole.

You have one or more repositories checked out. These repositories are either from GitHub (in the case of NiFi, https://github.com/apache/nifi) or git-wip (in the case of NiFi, http://git-wip-us.apache.org/repos/asf/nifi.git). Each of the repositories will need to be handled based on your role in the community and desired functionality.

@matsuken92
matsuken92 / 01_calculate.py
Last active July 8, 2021 21:10
[Python] Autoencoder with chainer [Relu, 1000units, Dropout:activate]
# these code on this page are based on the following chainer's example. Thanks!
# https://github.com/pfnet/chainer/tree/master/examples/mnist/train_mnist.py
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from sklearn.datasets import fetch_mldata
from chainer import cuda, Variable, FunctionSet, optimizers
import chainer.functions as F
import sys, time, math
@molarmanful
molarmanful / index.html
Last active January 17, 2017 20:52
A really small Rubik's Cube timer. Demo: http://codepen.io/molarmanful/pen/eNgLNL
<h1 id="a">0.000</h1><p id="s"></p>

履歴書LaTeXクラスファイル 理系新卒採用向け?パッチ

新卒採用向けに、あまり PR に使えない枠を縮小・削除し、その分「学生時代 に打ち込んだこと」などの項目を広く取るように変更するパッチです。

顔写真も添付できるようになります (あまりよくない作法らしいですが)。

いちいち押印するのが面倒なので「印」の欄は削除しました (調べてみると市 販の履歴書にもそういうものがあるようです)。

@ginrou
ginrou / construct_lenna.py
Last active August 14, 2023 09:27
DCTでlennaを再構成する
#!/bin/env python
import numpy as np
import scipy.misc
from scipy.fftpack import dct, idct
import sys
H = 128
W = 128
lenna = scipy.misc.imresize(scipy.misc.lena(), (H, W)).astype(float)
@shunirr
shunirr / yuiyuinikki_kaomoji.csv
Created November 21, 2013 16:17
ゆいゆい日記内に出てくる顔文字の一覧です。左の数値は出現回数になっています。
1728 (*-v・)
373 (∩^ω^∩)
329 (○>ω<○)
322 (´ω`)
274 (-∀-)
240 (´`)
145 (´Д`)
145 (^ω^)
130 (*-∀-)
101 (´-ω-`)