Skip to content

Instantly share code, notes, and snippets.

public class InvokeDynamicTest {
public static void main(String[] args) {
Runnable x = () -> {
};
}
}
@liuxinglanyue
liuxinglanyue / NASM.sublime-build
Last active August 29, 2015 14:21
在Mac上执行汇编程序,配置Sublime Text的编译环境
{
"cmd": ["nasm", "-f", "macho64", "${file}"],
"file_regex": "a(sm)?$",
"working_dir": "${file_path}",
"selector": "untitled.asm",
"variants":
[
{
@liuxinglanyue
liuxinglanyue / 0_reuse_code.js
Last active August 29, 2015 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console