Skip to content

Instantly share code, notes, and snippets.

@viasnake
viasnake / main.py
Created May 11, 2021 06:51
Python program to extract a specified number of digits from a specified number of digits.
"""
Input:
1234567891
5
3
Output:
567
"""
string = int(input())
@viasnake
viasnake / shop.yml
Last active March 18, 2021 10:50
SS Dynamic Shop
# SS Dynamic Shop (https://www.spigotmc.org/resources/65603/)
#
# All items are there except potions, tools, and armor.
# Just copying this shop.yml will not work. You need to set the value, median, stock and tradeType of the item as required.
#
# Created by snake
# Twitter - https://twitter.com/viasnake
# GitHub - https://github.com/viasnake
Block:
@viasnake
viasnake / ja_jp.yml
Created September 13, 2020 10:46
BetterEnd 日本語化ファイル
enable:
- "&fBetterEndは下記の方々の支援がなければ実現しなかったでしょう:"
- "&f開発者: dfsek, Baer"
- "&f建築: GucciPoochie, sgtmushroom39, Daverono, Merazmus"
disable:
- "&fBetterEndを使ってくれてありがとう!"
free-notification:
- "&bあなたは無料版のBetterEndを利用しています。プラグインを支援して、追加の機能を得るためにプレミアムバージョンの購入を検討してください!"
- "&b詳細はこちらを御覧ください: &nhttps://github.com/dfsek/BetterEnd-Public/wiki/Premium"
command-prefix: "&3[BetterEnd] "
@viasnake
viasnake / locale_ja_JP.properties
Created April 10, 2020 00:33
mcMMO 日本語化ファイル
JSON.Rank=\u30e9\u30f3\u30af
JSON.DescriptionHeader=\u8aac\u660e
JSON.JWrapper.Header=\u8a73\u7d30
JSON.Type.Passive=\u30d1\u30c3\u30b7\u30d6
JSON.Type.Active=\u30a2\u30af\u30c6\u30a3\u30d6
JSON.Type.SuperAbility=\u30b9\u30fc\u30d1\u30fc\u30a2\u30d3\u30ea\u30c6\u30a3
JSON.Locked=-=[\u30ed\u30c3\u30af]=-
JSON.LevelRequirement=\u5fc5\u8981\u30ec\u30d9\u30eb
JSON.JWrapper.Target.Type=\u30bf\u30fc\u30b2\u30c3\u30c8\u30bf\u30a4\u30d7:
JSON.JWrapper.Target.Block=\u30d6\u30ed\u30c3\u30af
@viasnake
viasnake / jp.json
Created April 10, 2020 00:29
ZeroNet 日本語化ファイル
{
"Congratulations, your port <b>{0}</b> is opened.<br>You are a full member of the ZeroNet network!": "おめでとうございます。ポート <b>{0}</b> が開きました。これでZeroNetネットワークのメンバーです。",
"Tor mode active, every connection using Onion route.": "Torモードがアクティブです、全ての接続はOnionルートを使用します。",
"Successfully started Tor onion hidden services.": "Tor onionサービスを正常に開始しました。",
"Unable to start hidden services, please check your config.": "非表示のサービスを開始できません。設定を確認してください。",
"For faster connections open <b>{0}</b> port on your router.": "接続を高速化するにはルーターのポート <b>{0}</b> を開けてください。",
"Your connection is restricted. Please, open <b>{0}</b> port on your router": "接続が制限されています。ルーターのポート <b>{0}</b> を開けてください。",
"or configure Tor to become a full member of the ZeroNet network.": "または、TorをZeroNetネットワークのメンバーになるように設定してください。",
"Select account you want to use in this site:": "このサイトで使用するアカウントを選択:",
@viasnake
viasnake / Japanese.lang
Created April 10, 2020 00:23
Clearlagg 日本語化ファイル
# version(1) - Translated by https://github.com/ethernetcat
# Welcome to Clearlag's language file! Here you can modify the various strings ClearLag uses to suit your language, or preference
# -- NOTE: This is the format: '<key>({replaceables}...):<message>'
# -- NOTE: The replaceables are replaced depending on order, not the actual key name. So you may customize the key names too!
# -- NOTE: The { ... } symbols represent a message block. This is applicable anywhere you want... Do not include any characters with {, or }
####----> Commands -->
command.error.wrongUsage({usage},{name})=&c間違った使用法: &8/&7lagg {name} {usage}
command.error.noPermission({name})=&8/&7lagg {name}&cを使用する権限がありません
command.error.onlyForPlayer()=&cこのコマンドはプレイヤーのみが使用できます!
@viasnake
viasnake / ja.yml
Created April 10, 2020 00:15
Minepacks 日本語化ファイル
# To simplify the customisation and the translation process please check out the editor: http://ptp.pcgamingfreaks.at
Language:
NotFromConsole: "&cコマンドはコンソールから使用できません。"
Ingame:
NoPermission: "&cそれを実行する権限がありません。"
WorldDisabled: "&cこのワールドでバックパックの使用は許可されていません。"
NaN: "[\"\",{\"text\":\"入力された値は数値ではありません。\",\"color\":\"red\"}]"
OwnBackpackClose: "バックパックを閉じました!"
OwnBackpackClose_SendMethod: "action_bar"
@viasnake
viasnake / ja.yml
Created April 10, 2020 00:07
CitizensCMD 日本語化ファイル
# Citizens CMD Plugin by Mateus Moreira
# @LichtHund
# Version ${project.version}
#
# Change as much as you need.
# Remove placeholders with caution!
# Some placeholders can be removed but might not work correctly
# Cooldown placeholder is safe to be deleted
messages:
start-up: