Share Code Quickly

What is Harigami?

Harigami is a simple source code sharing service. You can share source code by an URL which is issued after submission.
You can also run your source code online such as Python, Ruby, JavaScript and so on.
For free.Use for code review.
Preferences
anonymous No title
PHP
<!DOCTYPE html>
<html>
<head>
<title>kadai_1.php</title>
</head>
<body>

<h1><?php $str_hello="HTML内で";

echo "Hello World";?></h1>
</form>
</body>
</html>
anonymous No title
PHP


<form action = "kadai_1.php" method = "POST" >
<input type="text" name="comment">
<input type="submit" value="送信">
</form>

<?php
echo "あああ";

$file_handle = fopen( "test.txt", "w");
fwrite( $file_handle, "テスト2");
fclose($file_handle);
if (isset($_POST["comment"])) {
    echo $_POST["comment"];
}
?>
anonymous No title
Python
print('hello world')
anonymous No title
VBA
'ブックモジュール
Option Explicit

Private Sub Workbook_Open()
    Application.OnKey "+^{c}", "inTotal"
    Application.OnKey "+^{+}", "plusTotal"
    Application.OnKey "+^{v}", "outTotal"
    Application.OnKey "+^{*}", "clearTotal"
End Sub

'標準モジュール
Option Explicit

Dim stackSum As Double

Sub inTotal()
    stackSum = WorksheetFunction.Sum(Selection)
    Application.StatusBar = "stackSum = " & Format(stackSum, "#,##0")
End Sub

Sub plusTotal()
    stackSum = stackSum + WorksheetFunction.Sum(Selection)
    Application.StatusBar = "stackSum = " & Format(stackSum, "#,##0")
End Sub


Sub outTotal()
    Selection.Value = stackSum
End Sub

Sub clearTotal()
    stackSum = 0
    Application.StatusBar = False
End Sub

anonymous No title
VBA
'ブックモジュール
Option Explicit

Private Sub Workbook_Open()
    Application.OnKey "+^{c}", "inTotal"
    Application.OnKey "+^{+}", "plusTotal"
    Application.OnKey "+^{v}", "outTotal"
    Application.OnKey "+^{*}", "clearTotal"
End Sub



'標準モジュール
Option Explicit

Dim stackSum As Long

Sub inTotal()
    stackSum = WorksheetFunction.Sum(Selection)
    Application.StatusBar = "stackSum = " & Format(stackSum, "#,##0")
End Sub

Sub plusTotal()
    stackSum = stackSum + WorksheetFunction.Sum(Selection)
    Application.StatusBar = "stackSum = " & Format(stackSum, "#,##0")
End Sub


Sub outTotal()
    Selection.Value = stackSum
End Sub

Sub clearTotal()
    stackSum = 0
    Application.StatusBar = False
End Sub

anonymous No title
HTML
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="robots" content="noindex,nofollow">
  
    <!-- ページタイトルを入力 -->
    <title>ウツシヨノホトリ</title>
  
  </head>
  
  <body>
    <!--""の間にお好みのカラータグを入力してください-->
    <body bgcolor="#a0d8ef" text="#2792c3" link="#165e83 " alink="#165e83" vlink="#165e83">
      
      <h1>この店舗について</h1>
      <p>
        <!-- 自己紹介文を書く -->
       個人の同人小説サークル。
       今日は死出/弔出のみの出品です。
       どうぞよしなに。
      </p>

      <h1>お支払い方法</h1>
    
        <p>
          <ul>
            <li>クレジットカード(VISA、MASTER、JCB、AMEX、DINERS)</li>
            <li>銀行振込(Paidy後払い決済)</li>
            <li>コンビニ決済(Paidy後払い決済)</li>
          </ul>
        ただし、ダウンロード頒布の場合のみ、JCB・AMEX・DINESのクレジットカードはご利用いただけません。
        詳しくは、<a href="https://pictspace-support.zendesk.com/hc/ja/articles/360002864296-%E6%B1%BA%E6%B8%88%E6%96%B9%E6%B3%95%E3%81%AF%E4%BD%95%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B">こちら。</a>
      </p>

      <h1>配送までの期間</h1>

      <p>
      <!--u~/uの間に発送までの日数を記入してください-->
      ご注文から<u>7日間以内</u>の発送とさせていただきます。
      あらかじめご了承ください。
      </p>
    
      <hr color="#007bbb" width="60%" size="1"> 

      <h1>特定商取引法に基づく表記</h1>
      <h2>事業者の名称・連絡先</h2>
      <p>
        <br><a href="mailto:kzmc1004@gmail.com">kzmc1004@gmail.com</a></br>
        <br>省略した記載については、電子メール等の請求により遅滞なく開示いたします。</br>
      </p>
      <h2>販売価格</h2>
      <p>
        <br>販売価格は、消費税を含む価格で表示されています。<br>
      </p> 
      
      <h2>返品などについての特約</h2>
      <p>
        <br>商品に欠陥があり、当ショップが認める場合を除き、返品には応じません。</br>
      </p>
    </font>
  </body>
</html>
anonymous No title
Python
import math
import time

from talon import canvas, ctrl, tap, ui
from talon.skia import Shader
from talon.track.filter import DwellFilter, LowPassFilter, MultiFilter, OneEuroFilter
from talon.types import Point2d
from talon_plugins.eye_mouse import tracker
from talon.track.tobii import EyeFrame

ENABLED = True

screen = ui.main_screen()
size_px = Point2d(screen.width, screen.height)


class LensMouse:
    def __init__(self):
        # tracker.register("gaze", self.on_gaze)

        self.xy_hist = [Point2d(0, 0)]
        self.origin = Point2d(0, 0)

        canvas.register("overlay", self.draw)
        self.enabled = True

    # Shows crazy circles
    def smooth_location(self):
        # Calculate smooth location of point
        x = self.origin.x
        y = self.origin.y
        n = 75
        if len(self.xy_hist) < n:
            n = len(self.xy_hist)
        total = 1
        minimum_group = 50
        for i in range(n):
            x2 = self.xy_hist[-1 - i].x
            y2 = self.xy_hist[-1 - i].y

            # If there are at least 5 points (so there's some smoothness)
            if i > minimum_group:
                # Don't use if points are really far away, so long moves are fast
                if abs(x2 - self.origin.x) > 60:
                    continue
                if abs(y2 - self.origin.y) > 60:
                    continue

            x += x2
            y += y2
            total += 1

        x /= total
        y /= total
        return [x, y]

    def draw(self, canvas):
        if self.origin is None:
            print("Is the tobii disconnected?")
            return

        pos = self.smooth_location()

        # Append the smoothed dot to history > to smooth it some more
        self.xy_hist.append(Point2d(pos[0], pos[1]))
        self.xy_hist.append(Point2d(pos[0], pos[1]))

        if pos is None:
            return

        paint = canvas.paint

        paint.stroke_width = 1
        paint.style = paint.Style.STROKE
        paint.color = "44444444"

        canvas.draw_circle(pos[0], pos[1], 150)

        paint.style = paint.Style.FILL
        paint.color = "99999944"
        canvas.draw_circle(pos[0], pos[1], 150)

    def on_gaze(self, frame):
        x = frame.gaze.x
        y = frame.gaze.y

        # Don't pass edges of screen
        if x < 0:
            x = 0
        if y < 0:
            y = 0

        if x == 0 or y == 0:
            return

        # Multiply by screen width
        x *= size_px.x
        y *= size_px.y

        self.origin = Point2d(x, y)
        self.xy_hist.append(self.origin)
        self.xy_hist = self.xy_hist[-200:]

if ENABLED:
    mouse = LensMouse()
    tracker.register('gaze', mouse.on_gaze)
anonymous No title
TypeScript
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
anonymous No title
Python
<!DOCTYPE html>
<html lang="ja">

<head>

  <meta charset="UTF-8">
  <title>練習2the hiatus</title>
<link rel="stylesheet" href="css/styles.css">

<link rel="stylesheet" href="./css/slick.css">
<link rel="stylesheet" href="./css/slick-theme.css">
<link href="https://fonts.googleapis.com/css?family=Amiri:700i|Noto+Sans+JP:500|Overpass+Mono:300,400|Overpass:300,400,700&amp;subset=japanese" rel="stylesheet">
<!-- /css -->
<!-- js -->
<script src="https://thehiatus.com/js/jquery-1.11.1.min.js"></script>
<script src="https://thehiatus.com/js/jquery.flexslider.js"></script>
<!-- <script src="https://thehiatus.com/js/default.js"></script>
<script src="https://thehiatus.com/js/slick.min.js"></script>
<script src="https://thehiatus.com/js/jquery.bxslider.js"></script>
<script src="./js/modal.js"></script>
<script src="https://thehiatus.com/js/ua.js"></script>
<script src="https://thehiatus.com/js/conf.js"></script>
<script src="https://thehiatus.com/js/aip.js"></script> -->
<script src="https://thehiatus.com/js/index.js"></script>

</head>
	<body id="body" class="firstview">
		<div id="wrapper" class="top">
			<header id="header">
				<div id="headerIn">
					<h1><a href="#"><img src="https://thehiatus.com/img/common/logo.png" width="180" alt="the HIATUS"></a></h1>
					<nav>
						<ul>
							<li><a href="https://thehiatus.com/">TOP</a></li>
							<li><a href="https://thehiatus.com/./news/">NEWS</a></li>
							<li><a href="https://thehiatus.com/./media/">MEDIA</a></li>
							<li><a href="https://thehiatus.com/./live/">LIVE</a></li>
							<li><a href="https://thehiatus.com/./biography/">BIOGRAPHY</a></li>
							<li><a href="https://thehiatus.com/./discography/">DISCOGRAPHY</a></li>
							<li><a href="https://thehiatus.com/./gallery/">VIDEO</a></li>
							<li class="last"><a href="https://www.official-store.jp/thehiatus/" target="_blank">STORE</a></li>
						</ul>
					</nav>
				</div>
			</header>
			<section id="feature" style="opacity: 1;">
				<!-- <div id="slider" class="slider">
					<ul class="slides slick-initialized slick-slider">
											<div class="slick-list draggable">
												<div class="slick-track" style="opacity: 1; width: 3920px;">
													<li class="slide001 slick-slide" data-slick-index="0" aria-hidden="true" style="width: 980px; position: relative; left: 0px; top: 0px; z-index: 998; opacity: 1; transition: opacity 3000ms ease 0s;">
														<a href="news/index.html">
															<div class="videologo">
															
																												
																<img src="https://thehiatus.com/img/top/slide_logo.svg">
															</div>
															<video id="player" autoplay="" loop="" muted="" playsinline="" width="100%">
																<source src="https://thehiatus.com/img/top/main.mp4">
															</video>
														</a>
													</li>
													<li class="slide002 slick-slide" data-slick-index="1" aria-hidden="true" style="width: 980px; position: relative; left: -980px; top: 0px; z-index: 998; opacity: 0; transition: opacity 3000ms ease 0s;">
														<a href="https://thehiatus.com/biography/index.html"></a>
													</li>
													<li class="slide004 slick-slide" data-slick-index="2" aria-hidden="true" style="width: 980px; position: relative; left: -1960px; top: 0px; z-index: 998; opacity: 0; transition: opacity 3000ms ease 0s;">
														<a href="https://sp.universal-music.co.jp/the-hiatus/10th/" target="_brank">
														</a>
													</li>
													<li class="slide003 slick-slide slick-current slick-active" data-slick-index="3" aria-hidden="false" style="width: 980px; position: relative; left: -2940px; top: 0px; z-index: 1000; opacity: 0; transition: opacity 3000ms ease 0s;">
														<a href="live/index.html">
														</a>
													</li>
												</div>
											</div>
											
											
											
					</ul>
				</div> -->
				<div class="contents">
								
					<p><img src="img/biography_bg.jpg" width="1128" alt="the HIATUS"></p>
				
				</div>
			</section>
					<!-- main -->
			<main class=" clearfix" style="opacity: 1;">
				<section class="newsInfo clearfix mb80" style="opacity: 1;">
					<div class="newsTop contsHead" id="newsBox">
						<div class="latestnews_inner">
							<h2 class="titles">LATEST NEWS</h2>
							<p class="links hover"><a href="https://thehiatus.com/news/">All</a></p>
							<img src="https://thehiatus.com/img/top/latest-news-img.jpg" width="304" alt="アーティスト写真">
						</div>
						<ul class="newsMain">
							<li class="hover">
								<p class="nbl"><span class="day">2021.04.22</span></p>
								<p class="nbr">
									<span class="ntext"><a href="https://thehiatus.com/news/">三吉ツカサ氏撮影 the HIATUS新作写真集発売決定!</a></span>
									<span class="ntextSub">カメラマン三吉ツカサ氏撮影による、2020年のthe HIATUSを収めた新作写真集の発売が決定!the HIATUS 新作写真集 上下巻セット「...</span>
								</p>
							</li>
							<li class="hover">
								<p class="nbl"><span class="day">2020.12.24</span></p>
								<p class="nbr">
									<span class="ntext"><a style="opacity:1;" href="./news/">「Jive Turkey vol.5」生配信ライブ アーカイブ期間延長のお知らせ</a></span>
									<span class="ntextSub">「Jive Turkey vol.5」12/23 (水) ブルーノート東京 2ndショウ生配信ライブにつきまして、一部のお客様に映像や音声が途切れると...</span>
								</p>
							</li>
							<li class="hover last">
								<p class="nbl"><span class="day">2020.12.21</span></p>
								<p class="nbr">
									<span class="ntext"><a href="https://thehiatus.com/news/">「COUNTDOWN JAPAN 20/21」中止のお知らせ</a></span>
									<span class="ntextSub">12/31に出演を予定しておりました「COUNTDOWN JAPAN 20/21」は、開催中止となりました。詳細はイベントオフィシャルサイトをご確...</span>
								</p>
							</li>
						</ul>
					</div>
					<div class="info contsHead">
						<div class="liveinfo_inner">
							<h2 class="titles">LIVE INFO</h2>
							<p class="links hover"><a href="./live/">All</a></p>
						</div>
						<ul class="liveInfo" id="liveBox">
							<li>
							<a href="https://thehiatus.com/live/?y=2021&amp;m=8">
								<p class="day01"><span class="month">08	</span>
									<span class="day">07</span>
								</p>
								<p class="day02">
									<span class="year">2021</span>
									<span class="week">SAT</span>
								</p>
								<p class="mainText">
									<i>ROCK IN JAPAN FESTIVAL 2021</i>
								</p>
								<p class="subText mb5">
									<span>2021/08/07(土) 国営ひたち海浜公園</span>
									<span>Open 8:00 / Start 12:00</span>
								</p>
							</a>
							</li>
						</ul>
					</div>
				</section>
				<section class="pv">
					<div class="pv_inner">
						<iframe width="595" height="325" src="https://www.youtube.com/embed/ELVIZiXwe98" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
							<iframe width="595" height="325" src="https://www.youtube.com/embed/ELVIZiXwe98" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
							</iframe>
							<div class="pv_description">
									<h2>LATEST VIDEOS</h2>
									<p>the HIATUS - Regrets(Music Video)</p>
									<div class="pv_a_inner">
											<a href="https://thehiatus.com/gallery/">
												All
											</a>
									</div>
							</div>
					</div>
			</section>
			<div class="banner_erea">
				<a href="https://sp.universal-music.co.jp/the-hiatus/10th/" target="_blank"><img src="https://thehiatus.com/img/top/top_banner.jpg" width="980" alt="">
				</a>
		</div>
		<section class="timeLine clearfix" style="opacity: 1;">
			<div class="fbTime">
									<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fthehiatus.jp&tabs=timeline&width=465&height=530&small_header=true&adapt_container_width=true&hide_cover=true&show_facepile=false&appId=567173303304701" width="465" height="530" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowtransparency="true" allow="encrypted-media">
									</iframe>
			</div>
			<div class="twTime">
				<a class="twitter-timeline" data-width="450" data-height="907" href="https://twitter.com/theHIATUS_offic?ref_src=twsrc%5Etfw">Tweets by theHIATUS_offic</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
			</div>
		</section>
					<div class="pagetop_inner">
						<a href="#"><img src="https://thehiatus.com/img/common/pagetop.png" width="11" alt="pagetop"></a>
					</div>
			</main>
			<!-- /main -->
			<footer id="footer">
				<div class="footer_inner">
						<a href="file:///C:/Users/3054m/Desktop/web%E7%B7%B4%E7%BF%92/%E7%B7%B4%E7%BF%922the%20hiatus/thehiatus/second.html" target="_blank"><img src="https://thehiatus.com/img/common/logo.png" width="180" alt="the HIATUS"></a>
						<ul class="footer_li">
								<li><a href="https://thehiatus.com/">TOP</a></li>
								<li><a href="https://thehiatus.com/news/">NEWS</a></li>
								<li><a href="https://thehiatus.com/media/">MEDIA</a></li>
								<li><a href="https://thehiatus.com/live/">LIVE</a></li>
								<li><a href="https://thehiatus.com/biography/">BIOGRAPHY</a></li>
								<li><a href="https://thehiatus.com/discography/">DISCOGRAPHY</a></li>
								<li><a href="https://thehiatus.com/gallery/">VIDEO</a></li>
								<li class="last"><a href="https://www.official-store.jp/thehiatus/" target="_blank">STORE</a></li>
						</ul>
				</div>
				<div class="footer_inner">
						<p>
							<small>Copyright © the HIATUS.</small>
						</p>
						<ul class="footer_icon">
								<li><a href="https://twitter.com/thehiatus_offic" target="_blank"><img src="https://thehiatus.com/img/common/footer_icon_twitter.png" width="18" alt="Twitter"></a></li>
								<li><a href="https://www.facebook.com/thehiatus.jp" target="_blank"><img src="https://thehiatus.com/img/common/footer_icon_insta.png" 
anonymous No title
Python
11. 〒105-0022 東京都港区海岸1丁目
12.3か月先のヴァイオリンのコンサートチケットを¥5000
で購入した。
商品に関するご質問は、お気軽に最寄りの支店・営業所
問合せください。
14. 次の休日は、友達とドライブに行く約束をしている。
15.表計算ソフトである Excelの基本操作を学習するには、『Excel
基礎』のテキストが分かりやすいと評判である。
16. ゴルフ場を選ぶ基準は、ホール数・距離(ヤード)・パーの数
などがあります。例えば、18H(=ホール)、6,577Y(ヤー
ド)、P(=パー)72のように表示されます。
17. 来週の日曜日から駅前のショップでバーゲンが開催され、全
品50%OFF(半額)のSALEということである。