Skip to content

Instantly share code, notes, and snippets.

View Lesmiscore's full-sized avatar
💭
🤔

Lesmiscore Lesmiscore

💭
🤔
  • なぞのばしょ
  • Mystery Zone, Pokémon
View GitHub Profile
@Lesmiscore
Lesmiscore / KanamozicHow.js
Created July 15, 2015 11:07
How to encode/decode on Kanamozic in Javascript
//encode
var text="(something here)";
var encoded = Kanamozic.encode(text, 0);
//decode
text="(something here)";
var decoded = Kanamozic.decode(text, 0);
@Lesmiscore
Lesmiscore / PMMP_Command_Template.php
Last active August 29, 2015 14:26
Templates for making a plugin for PocketMine-MP
<?php
/*This file is Public Domain. You can use it at anywhere!*/
namespace nao20010128nao;
use pocketmine\command\Command;
use pocketmine\command\CommandSender;
use pocketmine\command\ConsoleCommandSender;
use pocketmine\command\PluginIdentifiableCommand;
use pocketmine\Player;
use pocketmine\utils\TextFormat;
use pocketmine\plugin\PluginBase;
@Lesmiscore
Lesmiscore / AndroidPackage.java
Created August 16, 2015 10:31
Android APK Parser
import java.io.*;
import android.content.pm.*;
import java.util.*;
import java.lang.reflect.*;
import android.app.*;
import android.content.res.*;
import android.graphics.drawable.*;
public class AndroidPackage
@Lesmiscore
Lesmiscore / delete_xamarin_from_device.bat
Created April 1, 2016 14:00
Delete Xamarin runtime apps from your device.
adb kill-server
adb start-server
adb shell pm uninstall Mono.Android.Platform.ApiLevel_23
adb shell pm uninstall Mono.Android.DebugRuntime
@Lesmiscore
Lesmiscore / reply.txt
Last active May 4, 2016 05:54
Minecraftの内部音で引っかかった話
The music which is claimed as copyright violation is different from the music used in this video.
This is a music in Minecraft, and it is not "Aestas - Original Mix".
I didn't edit any content in this video including music.
So, this copyright violation notification is wrong.
@Lesmiscore
Lesmiscore / Description of Flags
Last active September 26, 2017 15:35
Minecraftの文字色とスタイル(Obfuscate以外)を再現 on Android
ENG
flag is byte array.
One byte represents all the colors and styles.
0b00000000
IUSBCCCC
"I" bit is italic. Set it 1 to make the char italic.
"U" bit is underline. Set it 1 to make the char underlined.
"S" bit is strikethrough. Set it 1 to make the char strikethroughed.
@Lesmiscore
Lesmiscore / TwoDScrollView.java
Last active May 31, 2016 11:16
2軸スクロール
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
""内の部分は原文にない注釈
訴状
平成27年6月4日
東京地方裁判所民事部御中
原告代理人弁護士唐澤貴洋
同       山岡裕明
当事者の表示 別紙目録記載のとおり
発信者情報開示請求事件
@Lesmiscore
Lesmiscore / build.gradle
Created October 18, 2016 10:03
実装関連のTodo削除
task("eliminateImplementTodo") {
def list=new ArrayList<File>();
println "Finding .java files..."
finder(list,new File("."),".java");
list=list.sort()
println "Found "+list.size()+" files."
list.each{File listingF->
println listingF
}
println "Eliminating TODO lines... (only implement todo)"
@Lesmiscore
Lesmiscore / file.rb
Created November 15, 2016 14:08
Lobi registration without reCAPTCHA
https://lobi.co/inapp/signup/password