Skip to content

Instantly share code, notes, and snippets.

donchan922 donchan922

Block or report user

Report or block donchan922

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yazumoto
yazumoto / unicode_decode.rb
Created Sep 3, 2015
Unicodeの文字(\u1234的なもの)を変換するRubyコード
View unicode_decode.rb
str = '\u534a\u89d2\u82f1\u6570\u5b57'
str.gsub(/\\u([\da-fA-F]{4})/) { [$1].pack('H*').unpack('n*').pack('U*') } # => 半角英数字
@MoChiwaki
MoChiwaki / MaruBatsu.java
Last active Aug 20, 2018
コンソール上で◯✕ゲーム
View MaruBatsu.java
package jp.co.KaorinProject;
import java.util.Scanner;
public class MaruBatsu {
public static void main(String[] args) {
System.out.println("◯✕ Game Start!");
String trun = "";
String[] field = { "", "", "", "", "", "", "", "", "" };
You can’t perform that action at this time.