Skip to content

Instantly share code, notes, and snippets.

View shooontan's full-sized avatar

Shota Miyoshi shooontan

  • Tokyo
View GitHub Profile
@shooontan
shooontan / gist
Last active October 10, 2018 19:54
hello gist.
edited
@shooontan
shooontan / hello_world.py
Created October 12, 2018 07:47
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@shooontan
shooontan / hello_world.md
Last active October 12, 2018 07:55
Hello World Examples

Run ruby hello_world.rb or python hello_world.py to print Hello World

// 更新時間と作成時間のどちらでソートされるかを調べる
@shooontan
shooontan / edit-file.md
Last active October 24, 2018 14:34
git push hackathon

gist編集テスト

gist編集されてますように

@shooontan
shooontan / index.html
Created October 22, 2018 00:56
github 442 error
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'">
<meta content="origin" name="referrer">
<title>Oh no &middot; GitHub</title>
<style type="text/css" media="screen">
body {
background-color: #f1f1f1;