Skip to content

Instantly share code, notes, and snippets.

View mizucoffee's full-sized avatar
🌊

GOTO Ritsuki mizucoffee

🌊
View GitHub Profile
@mizucoffee
mizucoffee / DataRead_Haiku.java
Last active August 29, 2015 14:17
プログラミング生放送 俳句コンテスト 外部ファイル読み込み ver.
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Random;
import java.io.File;
import java.io.FileReader;
import java.io.FileNotFoundException;
import java.io.IOException;
public class DataRead_Haiku {
static int n = 0;
@mizucoffee
mizucoffee / Short_Haiku.java
Last active August 29, 2015 14:17
プログラミング生放送 俳句コンテスト Short ver.
import java.util.Random;
public class Short_Haiku {
public static void main(String[] args) throws Exception {
String data = "プロ生ちゃん / プログラマーの/  癒しの子 ";
String[] strAry = data.split("/");
for (int i = 0; i < 7; i++){
System.out.print(strAry[2].substring(i,i+1));
System.out.print(strAry[1].substring(i,i+1));
@mizucoffee
mizucoffee / Array_Haiku.java
Last active August 29, 2015 14:17
プログラミング生放送 俳句コンテスト Array ver.
import java.util.Random;
public class Array_Haiku {
public static void main(String[] args) throws Exception {
int num = 6;//俳句の数
int ran = new Random().nextInt(num);//変数ranにnumの数の乱数を振る
String[] data = new String[num];//配列の定義
data[0] = "プログラマ/いのちけずって/今日も行く";//配列の中に、内容を入力。"/"で分ける
The MIT License (MIT)
Copyright (c) 2015 Ritsuki Goto
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:
@mizucoffee
mizucoffee / 可否.txt
Created May 19, 2015 09:39
Adobe CS6 MasterCollection スプラッシュ差し替え可否。および、その場所。
o Ad Acrobat Distiller /Applications/Adobe Acrobat X Pro/Acrobat Distiller.app/Contents/Resources/AD_SplashScreen_j.png
x Ap Adobe Acrobat Pro
x Ae Adobe After Effects CS6
x Au Adobe Audition CS6
- Br Adobe Bridge CS6
o Dw Adobe Dreamweaver CS6 /Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Resources/png/splashNormal.png
o En Adobe Encore CS6 /Applications/Adobe Encore CS6/Adobe Encore CS6.app/Contents/Resources/png/en_splash.png
- Em Adobe Extension Manager CS6
o Fb Adobe Flash Builder 4.6 /Applications/Adobe Flash Builder 4.6/assets/fb_splash_premium.png
o Fw Adobe Fireworks CS6 /Applications/Adobe Fireworks CS6/Adobe Fireworks CS6.app/Contents/Resources/IDPNG_Splash.png
@mizucoffee
mizucoffee / nicolog.py
Last active September 1, 2015 16:28
Agrarianのコメ記録
# coding:cp932
import os
import cookielib
import urllib
import urllib2
import socket
import struct
import re
import requests
@mizucoffee
mizucoffee / Data.csv
Created November 15, 2015 13:10
Test!!!
すぱこー Ver. 41 http://i0.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/11/151015.png
すぱこー Ver. 40 http://i2.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/11/151001.png
すぱこー Ver. 39 http://i0.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/10/150915.png
すぱこー Ver. 38 http://i1.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/10/150901.png
すぱこー Ver. 37 http://i1.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/08/150815.png
すぱこー Ver. 36 http://i1.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/07/150715.png
すぱこー Ver. 35 http://i2.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/06/150615.png
すぱこー Ver. 34 http://i0.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/06/150601.png
すぱこー Ver. 33 http://i1.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/05/150515.png
すぱこー Ver. 32 http://i1.wp.com/pronama.azurewebsites.net/wp-content/uploads/2015/05/150501.png
@mizucoffee
mizucoffee / Main.java
Last active April 12, 2017 09:56
ニコメロガー。ニコニコ生放送のコメントを全てSlackへ転送します。尚、セッションの仕組みが変わっているようです。これからはこちらを御覧ください→https://github.com/KawakawaRitsuki/NicomeLogger
/*
* 参考にさせていただいたサイト・ツール
*
* http://c-loft.com/blog/?p=696
* http://dic.nicovideo.jp/a/%E3%83%8B%E3%82%B3%E7%94%9F%E3%82%A2%E3%83%A9%E3%83%BC%E3%83%88(%E6%9C%AC%E5%AE%B6)%E3%81%AE%E4%BB%95%E6%A7%98
*
* WireShark
*
*/
@mizucoffee
mizucoffee / GoogleAPI_post.rb
Created April 1, 2016 14:24
GoogleAPIをRubyでPostで叩いてトークンとか取得する
require 'sinatra'
require 'sinatra/reloader'
require 'net/http'
require 'uri'
require 'json'
#この方法だと1人しか管理できない
client_id = 'XXX.googleusercontent.comみたいなclient_id'
client_secret = "client_secret"
@mizucoffee
mizucoffee / Github.md
Last active March 19, 2018 06:33
Githubについて

Github利用について

本テキストのターゲット

  • Githubを普段使っているけど、コミットメッセージ等あまり考えたことが無い方

TL;DL

Githubは、様々な機能があり使いこなせると非常に便利です。 このテキストではその機能のごく一部を紹介しています。 少しでも参考になれば幸いです。