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
| import net.minecraft.block.Block; | |
| class Thing { | |
| Block thing; | |
| } | |
| interface Thing2 { | |
| void doStuff(Vector2i thing2, Thing thing) | |
| } |
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
| def propertyFile = file "src/main/resources/META-INF/some.properties" | |
| def props = new Properties() | |
| propertyFile.withReader { props.load(it) } | |
| props.setProperty("version", project.version) | |
| propertyFile.withWriter { props.store(it) } |
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
| sourceSets { | |
| main { | |
| resources { | |
| srcDirs += "src/main/java" | |
| exclude '**/*.java' | |
| } | |
| } | |
| } |
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
| import groovy.json.JsonSlurper | |
| import java.nio.file.Files | |
| //Project data | |
| String minecraftVersion = "1.8.3", | |
| dirLib = "lib", | |
| dirNatives = "natives/${minecraftVersion}" | |
| //Minecraft data |
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
| //Project data | |
| String minecraftVersion = "1.8.3", | |
| //Mapping data | |
| String mappingsCommit = "88962d643ca3912333ede2da1b25d9a1092d5781", | |
| //Versions | |
| String forgeVersion = "1.8-11.14.1.1334" | |
| String enigmaVersion = "0.10.4b" |
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
| $ bup on kurisu.rx14.co.uk index /data/shadowfacts_ghost/ | |
| Warning: python-xattr module is too old; install python-pyxattr instead. | |
| Indexing: 1, done (526 pathTraceback (most recent call last): | |
| File "/usr/lib/bup/cmd/bup-on", line 49, in <module> | |
| dmc = DemuxConn(p.stderr.fileno(), open(os.devnull, "w")) | |
| File "/usr/lib/bup/bup/helpers.py", line 519, in __init__ | |
| raise IOError('demux: unexpected EOF during initialization') | |
| IOError: demux: unexpected EOF during initialization | |
| $ bup on kurisu.rx14.co.uk save -n shadowfacts_ghost /data/shadowfacts_ghost/ | |
| Warning: python-xattr module is too old; install python-pyxattr instead. |
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
| require "http/server" | |
| HTTP::Server.new(8080) do | |
| HTTP::Response.new 403 | |
| end.listen |
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
| Program received signal SIGSEGV, Segmentation fault. | |
| 0x08067886 in *Pointer(UInt8)@Pointer(T)#[]<Pointer(UInt8), Int32>:UInt8 () | |
| (gdb) bt | |
| #0 0x08067886 in *Pointer(UInt8)@Pointer(T)#[]<Pointer(UInt8), Int32>:UInt8 () | |
| #1 0x080630ae in *String#unsafe_byte_at<String, Int32>:UInt8 () | |
| #2 0x080799c8 in *CharReader#byte_at<CharReader, Int32>:UInt32 () | |
| #3 0x080795eb in *CharReader#decode_current_char<CharReader>:Char () | |
| #4 0x0807959d in *CharReader#initialize<CharReader, String>:Char () | |
| #5 0x0807951e in *CharReader::new<String>:CharReader () | |
| #6 0x0806578e in *String#inspect<String, String::Builder>:String::Builder () |
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
| Aug 31 16:46:20 RX-SRV0 rx14[2472]: $ bup on kurisu.rx14.co.uk index /data/nginx/ | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: Traceback (most recent call last): | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: File "/usr/lib/bup/cmd/bup-on", line 49, in <module> | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: dmc = DemuxConn(p.stderr.fileno(), open(os.devnull, "w")) | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: File "/usr/lib/bup/bup/helpers.py", line 519, in __init__ | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: raise IOError('demux: unexpected EOF during initialization') | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: IOError: demux: unexpected EOF during initialization | |
| Aug 31 16:46:37 RX-SRV0 rx14[2472]: $ bup on kurisu.rx14.co.uk save -n nginx /data/nginx/ | |
| Aug 31 16:46:56 RX-SRV0 rx14[2472]: Traceback (most recent call last): | |
| Aug 31 16:46:56 RX-SRV0 rx14[2472]: File "/usr/lib/bup/cmd/bup-on", line 49, in <module> |
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
| CREATE TABLE "content" ( | |
| "sha1" blob(20) PRIMARY KEY NOT NULL, | |
| "title" text, | |
| "description" text, | |
| "type" varchar(20), | |
| "user_id" integer | |
| ); | |
| CREATE TABLE "users" ( | |
| "id" blob(16) PRIMARY KEY NOT NULL, |