Skip to content

Instantly share code, notes, and snippets.

View MLWALK3R's full-sized avatar
🤡

Mike MLWALK3R

🤡
View GitHub Profile
@MLWALK3R
MLWALK3R / forge_1.12.2.jar.conf
Last active January 5, 2019 01:09
forge.jar.conf
[config]
name = Mod: Forge 1.12.2
source = https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2806/forge-1.12.2-14.23.5.2806-universal.jar
configSource = https://gist.githubusercontent.com/MLWALK3R/0443fac078d2a20f266fe89c55812472/raw/2038770e273767f4c5b9bd0c41539cf7107fff36/forge.jar.conf
[start]
command = "{JAVA}" -server -XX:+AggressiveOpts {PARAMS} -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -Djline.terminal=jline.UnsupportedTerminal -jar "{JAR}" nogui
[params]
param1 = -javaagent:PMLCore/PMLPremain.jar=-MCSide:Server

Keybase proof

I hereby claim:

  • I am mlwalk3r on github.
  • I am walk3r (https://keybase.io/walk3r) on keybase.
  • I have a public key whose fingerprint is 713C 771D 5238 30AD 7E13 C900 F3D8 5452 08A3 D0BC

To claim this, I am signing this object:

@MLWALK3R
MLWALK3R / gist:3a5ac85fa5bb68ea2603
Created October 11, 2015 15:44
Wireshark Plink
plink.exe -ssh ubnt@172.16.0.1 "sudo tcpdump -ni eth2 -s 0 -w - not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -
#!/bin/bash
#
# Backup all databases to separate archives.
# 1. Each table is dumped into separate *.sql file.
# 2. Each view is dumped into separate file with DEFINER=CURRENT_USER.
# 3. All routines are dumped into routines-dbname.sql,
# 4. All files are added to archive dbname.7z, compressed with 7-zip, max compression.
#
# Usage: mysqlback.sh /output/directory
#
# Please confirm that you want to reset the MySQL passwords
CONFIRM="n"
echo -n "Please confirm MySQL password reset. Continue? (y/N): "
read -n 1 CONFIRM_INPUT
if [ -n "$CONFIRM_INPUT" ]; then
CONFIRM=$CONFIRM_INPUT
fi
echo
@MLWALK3R
MLWALK3R / gist:829887df41420930907d
Last active August 29, 2015 14:12
db1.pub.fr.bph.rocks route loss
mtr --no-dns --report-wide -T db1.pub.fr.bph.rocks
Start: Wed Dec 31 16:21:14 2014
HOST: prime Loss% Snt Last Avg Best Wrst StDev
1.|-- 172.16.0.1 40.0% 10 7008. 3838. 0.3 7014. 3494.9
2.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
3.|-- 89.200.131.196 0.0% 10 13.9 35.4 13.5 78.9 24.7
4.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
5.|-- 91.121.131.189 0.0% 10 17.7 32.1 17.7 59.4 14.6
6.|-- 91.121.131.198 50.0% 10 7034. 2241. 27.0 7034. 2947.8
7.|-- 91.121.128.127 0.0% 10 32.2 52.8 32.2 100.7 24.5
@MLWALK3R
MLWALK3R / netspeed.sh
Last active October 6, 2018 22:11 — forked from rsvp/netspeed.sh
#!/usr/bin/env bash
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-09
#
# _______________| netspeed : check download speed via command line.
#
# Usage: netspeed [tokyo, london, usw, use, east, westm, rbx, sbg, bhs URL]
# Default server is RBX FR.
# First try it out without any arguments.
#
@MLWALK3R
MLWALK3R / Squid Config 25-01-14 --15:00
Created December 22, 2014 05:24
Squid Config 25/01/14 --15:00
acl QUERY urlpath_regex -i cgi-bin \? \.php$ \.asp$ \.shtml$ \.cfm$ \.cfml$ \.phtml$ \.php3$ localhost
http_port 3128
acl all src all
acl lan src 172.16.0.0/16
http_access allow lan
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 81 3128 1025-65535
acl sslports port 443 563 81 2087 10000
acl purge method PURGE