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
Python
n = 0
while true
  print(n)
  n = n + 1
anonymous No title
C
#include〈stdio.h〉
 int main(void)
 {
   int n;
      while(true){
         printf(“%d¥n”,n);
n = n + 1;
      }
     return 0;
  }
anonymous No title
PlainText
Excel.LaunchAndOpen Path: $'''D:\\ss\\X.xlsx''' Visible: True ReadOnly: False LoadAddInsAndMacros: False Instance=> ExcelInstance
LOOP LoopIndex FROM 1 TO 3 STEP 1
    UIAutomation.Windows.GetUseTimeout Control: appmask['Window \'X - Excel\''] BringWindowToFront: True Timeout: 1 WindowInstance=> AutomationWindow
    MouseAndKeyboard.SendKeys TextToSend: $'''{Alt}()HZEFDGA1{Return}{Alt}({Down})FE%LoopIndex%A{Return}{Alt}()HZEFDG{Alt}(SR){Return}{Alt}()HCC''' DelayBetweenKeystrokes: 50 SendTextAsHardwareKeys: False
    System.RunApplication ApplicationPath: $'''winword''' CommandLineArguments: $''' /q /td:\\ss\\temp.dotx''' WindowStyle: System.ProcessWindowStyle.Normal ProcessId=> word
    UIAutomation.Windows.GetUseTimeout Control: appmask['Window \'文書 1 - Word\''] BringWindowToFront: True Timeout: 1 WindowInstance=> AutomationWindow
    MouseAndKeyboard.SendKeys TextToSend: $'''{Alt}()nzlk表{Tab}g{Escape}{Alt}()HVS{Return}{F12}D:\\ss\\%LoopIndex%A{Return}''' DelayBetweenKeystrokes: 50 SendTextAsHardwareKeys: False
    System.TerminateProcessById ProcessId: word
END
Excel.Close Instance: ExcelInstance
anonymous No title
Python
print('足し算は+引き算は-割り算は/掛け算は*')
print('自然数のみの計算です')
number1 = input('数字を入力:1')
means = input('なに算?:2')
number2 = input('数字を入力:3')
if means == '+':
    print(number1 + number2)
if means == '-':
    print(number1 - number2)
if means == '/':
    print(number1 / number2)
if means == '*':
    print(number1 * number2)
else:
    print('*エラー*入力を間違っています')
    print('半角になっていますか?打つところを間違ってませんか?')
input('答えが出ました。4')
anonymous No title
Python
test1.py
print('足し算は+引き算は-割り算は/掛け算は*')
print('自然数のみの計算です')
number1 = input('数字を入力:1')
means = input('なに算?:2')
number2 = input('数字を入力:3')
if means == '+':
    print(number1 + number2)
if means == '-':
    print(number1 - number2)
if means == '/':
    print(number1 / number2)
if means == '*':
    print(number1 * number2)
else:
    print('*エラー*入力を間違っています')
    print('半角になっていますか?打つところを間違ってませんか?')
input('答えが出ました。4')
anonymous No title
Python
print('足し算は+引き算は-割り算は/掛け算は*')
print('自然数のみの計算です')
number1 = input('数字を入力:')
means = input('なに算?:')
number2 = input('数字を入力:')
if means == '+':
    print(number1 + number2)
if means == '-':
    print(number1 - number2)
if means == '/':
    print(number1 / number2)
if means == '*':
    print(number1 * number2)
else:
    print('*エラー*入力を間違っています')
    print('半角になっていますか?打つところを間違ってませんか?')
input('答えが出ました。')
Show Standard Input:
1
2
3
4
anonymous No title
Python
print('足し算は+引き算は-割り算は/掛け算は*')
print('自然数のみの計算です')
number1 = input('数字を入力:')
means = input('なに算?:')
number2 = input('数字を入力:')
if means == '+':
    print(number1 + number2)
if means == '-':
    print(number1 - number2)
if means == '/':
    print(number1 / number2)
if means == '*':
    print(number1 * number2)
else:
    print('*エラー*入力を間違っています')
    print('半角になっていますか?打つところを間違ってませんか?')
input('答えが出ました。')
anonymous No title
Python
print('足し算は+引き算は-割り算は/掛け算は*')
print('自然数のみの計算です')
number1 = input('数字を入力:')
means = input('なに算?:')
number2 = input('数字を入力:')
if means == '+':
    print(int(number1) + int(number2))
elif means == '-':
    print(int(number1) - int(number2))
elif means == '/':
    print(int(number1) / int(number2))
elif means == '*':
    print(int(number1) * int(number2))
else:
    print('*エラー*入力を間違っています')
    print('半角になっていますか?打つところを間違ってませんか?')
input('答えが出ました。')
anonymous No title
Python
# Tweepy
# Copyright 2009-2021 Joshua Roesslein
# See LICENSE for details.

"""
Tweepy Twitter API library
"""
__version__ = '3.10.0'
__author__ = 'Joshua Roesslein'
__license__ = 'MIT'

from tweepy.api import API
from tweepy.auth import AppAuthHandler, OAuthHandler
from tweepy.cache import Cache, FileCache, MemoryCache
from tweepy.cursor import Cursor
from tweepy.error import RateLimitError, TweepError
from tweepy.models import DirectMessage, Friendship, ModelFactory, SavedSearch, SearchResults, Status, User
from tweepy.streaming import Stream

# Global, unauthenticated instance of API
api = API()

def debug(enable=True, level=1):
    from http.client import HTTPConnection
    HTTPConnection.debuglevel = level
anonymous No title
Python
# Tweepy
# Copyright 2010-2021 Joshua Roesslein
# See LICENSE for details.


def list_to_csv(item_list):
    if item_list:
        return ','.join(map(str, item_list))