This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys | |
import csv | |
def check_only(filename, savename): | |
with open(filename, 'r') as f: | |
reader = csv.reader(f) | |
#変数 | |
first = next(reader) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: UTF-8 | |
__author__ = 'nonakanaoki' | |
# :00A012FF00020010004210002F00095410044800014810535700000300001100000203F34903F349X | |
s = '00000010003E00000F000A00000B5A101136106E3D00000300001300000303F32803F328X' | |
li = list(s) | |
data = '' | |
datalist = [] | |
hexnum = "" | |
print(len(li)) | |
for i in range(len(li)): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/12/05 03:35:32 [error] 25727#0: *10 open() "/home/naoya/Projects/Zanryu_Derby/static/css/reset.min.css" failed (13: Permission denied), client: 133.20.55.189, server: www.zanryu-derby.com, request: "GET /static/css/reset.min.css HTTP/1.1", host: "133.20.55.164" | |
2014/12/05 03:35:32 [error] 25727#0: *14 open() "/home/naoya/Projects/Zanryu_Derby/static/css/bootstrap.css" failed (13: Permission denied), client: 133.20.55.189, server: www.zanryu-derby.com, request: "GET /static/css/bootstrap.css HTTP/1.1", host: "133.20.55.164" | |
2014/12/05 03:35:32 [error] 25727#0: *15 open() "/home/naoya/Projects/Zanryu_Derby/static/css/main.css" failed (13: Permission denied), client: 133.20.55.189, server: www.zanryu-derby.com, request: "GET /static/css/main.css HTTP/1.1", host: "133.20.55.164" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name www.zanryu-derby.com; | |
access_log off; | |
location /static { | |
alias /home/naoya/Projects/Zanryu_Derby/static; | |
#root /static; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user naoya; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ex5; | |
import java.awt.Color; | |
import java.awt.Dimension; | |
import java.awt.Graphics; | |
import java.awt.Point; | |
import java.awt.event.ActionEvent; | |
import javax.swing.AbstractAction; | |
import javax.swing.JFrame; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ex5; | |
import java.util.Scanner; | |
public class CalcAreaOfCircle { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ex5; | |
public class Sort { | |
int[] temp = new int[] { 54, 2, 26, 10, 4, 8, 82, 15, 33, 20 }; | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ex1; | |
import java.util.Scanner; | |
public class InputTriangle { | |
public static void main(String[] args) { | |
// TODO 自動生成されたメソッド・スタブ | |
System.out.println("何段にしますか?"); |