-
Overleafでプロジェクトを立ち上げる.
-
GitHubで(プライベート)リポジトリを作る
-
作ったリポジトリを以下のような構成にする.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@file:Suppress("unused") | |
package tech.shiftmc.townywars.api | |
import de.tr7zw.nbtapi.NBT | |
import net.kyori.adventure.text.Component | |
import org.bukkit.Location | |
import org.bukkit.Material | |
import org.bukkit.entity.Entity | |
import org.bukkit.entity.EntityType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(yude OR ゆで OR ゆでっち) -"ゆで鮭" -"なゆで" -"ゆで麺" -"ゆでうどん" -"ゆで太郎" -"ゆで汁" -"ゆゆゆで" -"ゆで卵" -"ゆで時間" -"茹でた孫" -"茹卵" filter:follows -"半熟" -"そばゆで" -from:yude_jp -to:yude_jp -from:yudejp -to:yudejp -from:SHIKANBLUSH -to:SHIKANBLUSH -from:yude_RT -to:yude_RT -from:yuderobot -to:yuderobot -from:yude_univ -to:yude_univ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "C/C++: gcc.exe build active file", | |
"command": "gcc.exe へのパス", | |
"args": [ | |
"-g", | |
"${file}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
/*** メッセージシステム受信用のInterface ***/ | |
interface IEventReceiverEx : IEventSystemHandler | |
{ | |
void OnXxxEvent(); //引数なしIF | |
void OnXxxIntParamEvent(int value); //int値を渡すIF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// adapted from https://github.com/JetBrains/kotlin/blob/0103c0d2fd8c9ae9e7f41898064407a6278c5831/j2k/tests/org/jetbrains/kotlin/j2k/AbstractJavaToKotlinConverterForWebDemoTest.kt | |
package me.eugeniomarletti | |
import com.intellij.codeInsight.ContainerProvider | |
import com.intellij.codeInsight.NullabilityAnnotationInfo | |
import com.intellij.codeInsight.NullableNotNullManager | |
import com.intellij.codeInsight.runner.JavaMainMethodProvider | |
import com.intellij.core.CoreApplicationEnvironment | |
import com.intellij.core.JavaCoreApplicationEnvironment |
Twitter のストリーミング API が滅亡した今、 tweetdeck をスクレイピング(?)するのが一番簡単に twitter の更新情報をリアルタイムに取得する方法だと思います。
ここではその方法を説明します。
puppeteer は極めて強力なソフトウェアで、本物の Chrome を使って簡単に Web サイトの操作を自動化したりスクレイピングしたりできます。
今回のような用途で特筆すべき点は、 puppeteer は Web アプリケーションの Ajax リクエストのレスポンスを横取りできる点です。以下に例を示します
Annoyingly, you can't click these links in this gist because github doesnt recognize them as actual valid links. You cant paste it into a browser address bar either, so create a bookmark with the link and then click that!
Opens Minecraft in Edu Mode. This is the real Education Edition!
Link: minecraft:?edu=1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor. | |
* | |
* @param playerInventory to turn into an array of strings. | |
* @return Array of strings: [ main content, armor content ] | |
* @throws IllegalStateException | |
*/ | |
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException { | |
//get the main content part, this doesn't return the armor | |
String content = toBase64(playerInventory); |