- Githubを普段使っているけど、コミットメッセージ等あまり考えたことが無い方
Githubは、様々な機能があり使いこなせると非常に便利です。 このテキストではその機能のごく一部を紹介しています。 少しでも参考になれば幸いです。
| 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; |
| 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)); |
| 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: |
| 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 |
| # coding:cp932 | |
| import os | |
| import cookielib | |
| import urllib | |
| import urllib2 | |
| import socket | |
| import struct | |
| import re | |
| import requests |
| すぱこー 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 |
| /* | |
| * 参考にさせていただいたサイト・ツール | |
| * | |
| * 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 | |
| * | |
| */ |
| require 'sinatra' | |
| require 'sinatra/reloader' | |
| require 'net/http' | |
| require 'uri' | |
| require 'json' | |
| #この方法だと1人しか管理できない | |
| client_id = 'XXX.googleusercontent.comみたいなclient_id' | |
| client_secret = "client_secret" |