Skip to content

Instantly share code, notes, and snippets.

View nuzayats's full-sized avatar
🏠
Working from home

Kohei Nozaki nuzayats

🏠
Working from home
View GitHub Profile
@cero-t
cero-t / takoyaki.md
Last active September 18, 2018 09:14
たこ焼きの作り方。

たこ焼きの作り方。

材料

たこ焼き 100個あたり

材料 分量など
たこ焼き粉 500g。やまちゃんのたこ焼き粉がおすすめ。
たこ焼きソース 1/3本。やまちゃんのソースがおすすめ。
@jwgmeligmeyling
jwgmeligmeyling / DatabaseModule.java
Last active May 27, 2020 16:53
Test Guice projects using the JPAPersistModule with Jukito
import javax.persistence.EntityManager;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.google.inject.persist.PersistService;
import com.google.inject.persist.jpa.JpaPersistModule;
public class DatabaseModule extends AbstractModule {
@sebsto
sebsto / gist:19b99f1fa1f32cae5d00
Created August 8, 2014 15:53
Install Maven with Yum on Amazon Linux
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
@zhester
zhester / jedit_diff.md
Created September 10, 2013 19:45
Instructions for using jEdit as an external diff tool for Git.

Using jEdit as a Diff Tool for Git

Rationale

jEdit is my day-to-day editor. It works on every OS I use (primarily Windows at work and FreeBSD at home). With plugins, it provides every feature I need. It's open source [see note], easily extended, and it just works.

@ishikawa
ishikawa / gist:88599
Created April 1, 2009 07:49
Java Sample Code for Calculating HMAC-SHA1 Signatures
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.util.Formatter;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
/**