Skip to content

Instantly share code, notes, and snippets.

View paperbenni's full-sized avatar

paperbenni

View GitHub Profile
call plug#begin('~/.local/share/nvim/plugged')
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
@paperbenni
paperbenni / ModPackPE.js
Created March 5, 2018 20:30
This is a beta script of modpackpe
/*
This is my biggest Mod. Thanks for downloading!
Please dont steal my code!!!
functions:
function Level.getChestSlot(x, y, z, slot);
function Level.getChestSlotCount(x, y, z, slot);
function Level.getChestSlotData(x, y, z, slot);
@paperbenni
paperbenni / ngrok_url.sh
Created April 6, 2018 14:28 — forked from Dalimil/ngrok_url.sh
Get ngrok URL from command line
# ngrok should be running
# replace http with https at the end if needed
# based on: https://gist.github.com/rjz/af40158c529d7c407420fc0de490758b
echo $(curl -s localhost:4040/inspect/http | grep -oP 'window.common[^;]+' | sed 's/^[^\(]*("//' | sed 's/")\s*$//' | sed 's/\\"/"/g') | jq -r ".Session.Tunnels | values | map(.URL) | .[]" | grep "^tcp://"
#!/usr/bin/env bash
# Examples:
# ix hello.txt # paste file (name/ext will be set).
# echo Hello world. | ix # read from STDIN (won't set name/ext).
# ix -n 1 self_destruct.txt # paste will be deleted after one read.
# ix -i ID hello.txt # replace ID, if you have permission.
# ix -d ID
ix() {
2018-04-09T12:11:40.178503+00:00 app[web.1]: [12:11:40 INFO]: Pumpkin Growth Modifier: 100%
2018-04-09T12:11:40.178822+00:00 app[web.1]: [12:11:40 INFO]: Sapling Growth Modifier: 100%
2018-04-09T12:11:40.179216+00:00 app[web.1]: [12:11:40 INFO]: Wheat Growth Modifier: 100%
2018-04-09T12:11:40.179538+00:00 app[web.1]: [12:11:40 INFO]: NetherWart Growth Modifier: 100%
2018-04-09T12:11:40.179829+00:00 app[web.1]: [12:11:40 INFO]: Vine Growth Modifier: 100%
2018-04-09T12:11:40.180132+00:00 app[web.1]: [12:11:40 INFO]: Cocoa Growth Modifier: 100%
2018-04-09T12:11:40.180484+00:00 app[web.1]: [12:11:40 INFO]: Mob Spawn Range: 4
2018-04-09T12:11:40.180921+00:00 app[web.1]: [12:11:40 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
2018-04-09T12:11:40.181356+00:00 app[web.1]: [12:11:40 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
2018-04-09T12:11:40.181786+00:00 app[web.1]: [12:11:40 INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
#!/bin/bash
if [ -d "spigotjar" ]; then
git clone https://minegloryspigot:[email protected]/minegloryspigot/spigotjar.git
mv spigotjar/spigot.jar spigot/spigot.jar
fi
java -jar spigot.jar
[user]
email = [email protected]
name = BuildTools
[core]
editor = nvim
[credential]
helper = cache --timeout=36000
[push]
default = simple
@paperbenni
paperbenni / glibc.sh
Created May 15, 2018 15:39
install glibc on
apk --no-cache add ca-certificates wget
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.27-r0/glibc-2.27-r0.apk
apk add glibc-2.27-r0.apk
apk add glibc-bin-2.27-r0.apk glibc-i18n-2.27-r0.apk
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
var sum = "";
var suk = "";
var col = "white";
var sup = "";
var suf = "";
var check = "";
@paperbenni
paperbenni / config.yml
Created July 2, 2018 11:51
BungeeCord Config
ip_forward: true
network_compression_threshold: 256
stats: cb845839-3ba0-4a52-b9f2-171eec10794b
groups:
md_5:
- admin
Heinz007:
- admin
servers:
lobby: