Skip to content

Instantly share code, notes, and snippets.

@Ryahn
Ryahn / keybase.md
Created March 28, 2015 19:52
keybase

Keybase proof

I hereby claim:

  • I am Ryahn on github.
  • I am ryahn (https://keybase.io/ryahn) on keybase.
  • I have a public key whose fingerprint is 52AD FE81 4DF8 86A7 DB0A EB19 D18D 996E 58B7 702C

To claim this, I am signing this object:

[15:20:38] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[15:20:38] [main/INFO] [FML/]: Forge Mod Loader version 12.17.0.1965 for Minecraft 1.9.4 loading
[15:20:38] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Linux:amd64:3.13.0-88-generic, installed at /usr/lib/jvm/java-8-oracle/jre
[15:20:38] [main/DEBUG] [FML/]: Java classpath at launch is forge-1.9.4-12.17.0.1965-universal.jar
[15:20:38] [main/DEBUG] [FML/]: Java library path at launch is /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[15:20:38] [main/DEBUG] [FML/]: Enabling runtime deobfuscation
[15:20:38] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin
[15:20:38] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers
[15:20:38] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin
[15:20:38] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin
array(17) { ["title"]=> string(10) "JourneyMap" ["game"]=> string(9) "Minecraft" ["category"]=> string(19) "Map and Information" ["url"]=> string(56) "http://mods.curse.com/mc-mods/minecraft/journeymap-32274" ["thumbnail"]=> string(88) "https://media-curse.cursecdn.com/attachments/123/67/d2cc1dbd0e1d45264042008209e3afe7.png" ["authors"]=> array(1) { [0]=> string(8) "techbrew" } ["downloads"]=> array(2) { ["monthly"]=> int(748200) ["total"]=> int(7044971) } ["favorites"]=> int(711) ["likes"]=> int(75) ["updated_at"]=> string(24) "2016-06-30T07:15:46+0000" ["created_at"]=> string(24) "2011-09-19T23:49:04+0000" ["project_url"]=> string(41) "http://www.curseforge.com/projects/32274/" ["release_type"]=> string(7) "Release" ["license"]=> string(19) "All Rights Reserved" ["download"]=> array(7) { ["id"]=> int(2311898) ["url"]=> string(59) "http://curse.com/mc-mods/minecraft/journeymap-32274/2311898" ["name"]=> string(23) "journeymap-1.10.2-5.2.4" ["type"]=> string(7) "release" ["version"]=> string(6) "1.10.2" ["down

Keybase proof

I hereby claim:

  • I am ryahn on github.
  • I am ryahn1 (https://keybase.io/ryahn1) on keybase.
  • I have a public key ASB-4scdpCGtxZh44bIqlBSpNpcX-V-dTg6UgUtNL6837Qo

To claim this, I am signing this object:

@Ryahn
Ryahn / mkt.sh
Last active May 23, 2019 05:33
Make torrent file based on size with accurate piece size
#!/bin/bash
#title :mkt
#description :This script will create a torrent file with the correct piece size in mind
#author :Ryahn
#date :20190523
#version :0.1.9
#usage :bash mkt | ./mkt | put in bin folder to use globally
#notes :Install mktorrent to use
#bash_version :4.4.12(1)-release
#license :MIT
#!/bin/bash
shopt -s extglob # Allow extended globbing
clean() {
echo $1 | sed 's/[^a-zA-Z0-9_-]/_/g'
}
file=$(clean "$1")
7z a -r -t7z -m0=lzma2 -mx=9 -aoa -mfb=64 -md=32m -ms=on -mmt2 $file.7z "$1"
{"status":"ok","meta":{"count":55,"page_total":1,"total":55,"limit":100,"page":1},"data":{"3762239280":{"description":"One of the draft designs for a relatively small, high-speed battleship that preceded the construction of the Scharnhorst-class ships. This ship was primarily distinguished by a more powerful main battery comprising 305 mm guns.","price_gold":12500,"ship_id_str":"PGSB508","has_demo_profile":false,"images":{"small":"https:\/\/glossary-wows-global.gcdn.co\/icons\/\/vehicle\/small\/PGSB508_c7864bdffcf071f467929b4a96615c4eca8a232c7ef96cb15d4d28a597cf7b90.png","large":"https:\/\/glossary-wows-global.gcdn.co\/icons\/\/vehicle\/large\/PGSB508_d2056d8d664334d0f16e7de4a8e9709b15360bbfc2b43711d0a1333900543dae.png","medium":"https:\/\/glossary-wows-global.gcdn.co\/icons\/\/vehicle\/medium\/PGSB508_74d4e40ad1044ec6f411881a3e7ee7db140b38bacd3752700af844e901fd05d9.png","contour":"https:\/\/glossary-wows-global.gcdn.co\/icons\/\/vehicle\/contour\/PGSB508_38129933d84ce1b71445ddf65b0f7b2b465c21ed4fcc72867a5fe6
{"status":"ok","meta":{"count":1,"hidden":null},"data":{"1000670561":[{"pvp":{"max_xp":1969,"damage_to_buildings":0,"main_battery":{"max_frags_battle":3,"frags":8,"hits":583,"shots":1488},"suppressions_count":0,"max_damage_scouting":17322,"art_agro":1276850,"ships_spotted":0,"second_battery":{"max_frags_battle":0,"frags":0,"hits":0,"shots":0},"xp":6873,"survived_battles":2,"dropped_capture_points":68,"max_damage_dealt_to_buildings":0,"torpedo_agro":675867,"draws":0,"battles_since_510":6,"planes_killed":0,"battles":6,"max_ships_spotted":0,"team_capture_points":360,"frags":9,"damage_scouting":29540,"max_total_agro":577900,"max_frags_battle":4,"capture_points":152,"ramming":{"max_frags_battle":0,"frags":0},"torpedoes":{"max_frags_battle":0,"frags":0,"hits":0,"shots":0},"aircraft":{"max_frags_battle":0,"frags":0},"survived_wins":2,"max_damage_dealt":60217,"wins":4,"losses":2,"damage_dealt":149552,"max_planes_killed":0,"max_suppressions_count":0,"team_dropped_capture_points":707,"battles_since_512":6},"last_battle
@Ryahn
Ryahn / export-named-sheet-as-csv.gs
Last active May 12, 2024 05:11 — forked from mrkrndvs/export-named-sheet-as-csv.gs
Google apps script to export an individual sheet as csv file
/*
* script to export data of the named sheet as an individual csv files
* sheet downloaded to Google Drive and then downloaded as a CSV file
* file named according to the name of the sheet
* original author: Michael Derazon (https://gist.github.com/mderazon/9655893)
*/
var delimiter = ';';
function onOpen() {
2020-08-10 20:13:35 WARN i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.IllegalArgumentException: No enum constant org.http4k.core.Method.CONNECT
at java.base/java.lang.Enum.valueOf(Enum.java:240)
at org.http4k.core.Method.valueOf(http.kt)
at org.http4k.server.Http4kChannelHandler.asRequest(Netty.kt:66)
at org.http4k.server.Http4kChannelHandler.channelRead0(Netty.kt:52)
at org.http4k.server.Http4kChannelHandler.channelRead0(Netty.kt:46)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)