Skip to content

Instantly share code, notes, and snippets.

View pta2002's full-sized avatar
💻
Aaaaaaaaaaa

Pedro Alves pta2002

💻
Aaaaaaaaaaa
View GitHub Profile
@betaboon
betaboon / refind-builder.py
Created July 8, 2018 22:59
refind-nixos-module
#! @python3@/bin/python3 -B
import argparse
import os
import os.path
import sys
import errno
import subprocess
import glob
import datetime
import shutil
@gbegerow
gbegerow / BookOfOP.json
Last active August 29, 2015 14:05
Book of OP
/give @a written_book 1 0 {pages:[
"{text:'',extra:[
{text:'Util\n', bold:true},
{text:'\n', bold:false},
{text:'Clear Weather\n',clickEvent:{action:run_command,value:'/weather clear'}},
{text:'Clear Entities\n',clickEvent:{action:run_command,value:'/tp @e[type=!Player,rm=0,r=100] ~ -2000 ~'}},
{text:'\n'},
{text:'Orange Line W-E 10\n',clickEvent:{action:run_command,value:'/fill ~1 ~-1 ~ ~10 ~-1 ~ minecraft:wool 1 replace minecraft:sandstone'}},
{text:'Orange Line N-S 10\n',clickEvent:{action:run_command,value:'/fill ~ ~-1 ~1 ~ ~-1 ~10 minecraft:wool 1 replace minecraft:sandstone'}},
{text:'Clear wool\n',clickEvent:{action:run_command,value:'/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:sandstone 1 replace minecraft:wool'}},