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 n > 0
  print(n)
  n = n + 1
anonymous No title
Python
print(`Hello, World`)
anonymous No title
Python
n = 0
while true:
  print(n)
  n = n + 1
anonymous No title
Python
import notification
import clipboard
import keyboard
import datetime
import tweepy
import json
import time
import glob
import base64
import calendar
import os
import sys
import re
import random
import console


"""
              ---初期設定---
   
①本体コードの貼り付けができたら、右上にある再生マーク ▷ を押して下さい
 
② 表示された数字をDMで伝えて下さい
 
③それと引き換えにこちらがIDを渡しますので、受け取ったAutoIDを30行目 00000 を消して貼り付けてください

"""

#    00000 を消した後 貰ったIDを = の後にそのまま貼り付けてください
Auto_ID = 00000

# ルーム番号 
roomid ="00"
# 時間
passtime = "00"

"""
=======以下書きかえ禁止=======
書き換えた場合動作しなくなります
===========================

"""

username = clipboard.get()
password  = ""
path1 = "/"
path2 = ".pa"
times = str(datetime.datetime.now())
file = glob.glob("*.pa")

message  = {
	"code_notification":"この数字をDMで伝えてください:",
}

CK = "FfTEIb3lGkFX8IEtljzEADHfp"
CKS = "znlEI1coDbyJGIWbUuKEH4cwMGekyitMQBmYA8kIJVlnK8dJAa"
AT = "1303338410401083392-vRexPJbd6vnJA6Of8FGPQF2kmsRHfW"
ATS = "speXwDdrstcrXCrtNlkHJ00FTublwz76WRT46MiwAEzfl"

def ACencrtrpt(a):
	c = str(a)
	c = base64.b64encode(c.encode())
	return c

def Test(c,d):
	if c == d:
		return True
	else:
		key = glob.glob("*.eve")
		key = key[0].split(".")[0]
		print(message["code_notification"]+key)
		sys.exit()
		
def check():
	file = glob.glob("*.eve")
	i = 0
	if not file:
		key = int(random.uniform(1,99))*int(random.uniform(99,999))
		key = str(key)
		with open(key+".eve" , mode="w") as f:
			f.write("")
		notification.schedule(message["code_notification"]+key)
		print(message["code_notification"]+key)
		sys.exit()
	else:
		code = file[0].split(".")[0]
		return code,i

Auth = tweepy.OAuthHandler(CK,CKS)
Auth.set_access_token(AT,ATS)
Api = tweepy.API(Auth)

now   = datetime.datetime.now()
minute = now.minute

Check , Check2 = check()
Check          = ACencrtrpt(Check)
Test(Auto_ID,Check)

if("/" in str(username)):
	username = username.split("/")
	username = username[3].split("?")
	username = username[0]
else:
	print("Twitterリンクのコピー又はフルアクセスの許可をしてください")
	sys.exit()
for a in range(70):  
  for i in range(70) :
    for i, status in enumerate(tweepy.Cursor(Api.user_timeline,id=username,tweet_mode="extended").items(1)):
    	tweettime = re.findall(r"\d+",str(status.created_at))
    	if( '@' in status.full_text ):
    	  moto = status.full_text
    	  co = moto.index('@')
    	  kore = list(moto)
    	  del kore[co:]
    	  status.full_ta = ''.join(kore)
    	  tweet = re.findall(r"\d+",status.full_ta)
    	else:
  	    tweet = re.findall(r"\d+",status.full_text)

    tweet0 = ''.join(tweet)
    tweet1 = re.findall(r"\d",tweet0) 
  
    if(passtime in tweettime):
    	print("パスワード!")
    	
    	
    else:
    	console.clear()
    	print("待機中"+str(datetime.datetime.now()))
    	max_iter = 10
    	time.sleep(0.0000001)
    
    	
    	
    	break
  	
    if( roomid in tweet0 ):
      keyboard.insert_text(tweet[1])
      keyboard.insert_text("\n")
      print("password:"+tweet[1])
      sys.exit()
    else:
       keyboard.insert_text(tweet[0])
       keyboard.insert_text("\n")
       print("password:"+tweet[0])
       sys.exit()
anonymous No title
Python
n = 0
while true
  print(n)
  n = n + 1
anonymous No title
Python
n = 0
while True:
  print(n)
  n = n + 1
anonymous No title
TypeScript
type Welp<T> = T & { welp: Welp<T> }
anonymous No title
Java
System.out.println("Hello world!");
anonymous No title
Shell
#!/bin/bash

cat /etc/shadow
anonymous No title
Python
n = 0
while True:
  print(n)
  n = n + 1