Skip to content

Instantly share code, notes, and snippets.

View mastercoms's full-sized avatar
❤️
loving every moment of this.

mcoms mastercoms

❤️
loving every moment of this.
View GitHub Profile
su -c 'dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
#!/bin/bash
# Constants
mozillaHome=${HOME}/.mozilla/
sqlite=sqlite3
# Check that the environment is ready to perform the optimisation
which ${sqlite} >/dev/null 2>&1
if [ $? -ne 0 ]
then
[SEVERE] Error occurred while pulsing world world
java.lang.ClassCastException: net.glowstone.block.entity.TEDropper cannot be cast to net.glowstone.block.entity.TEDispenser
at net.glowstone.block.state.GlowDispenser.getTileEntity(GlowDispenser.java:34)
at net.glowstone.block.state.GlowDispenser.getInventory(GlowDispenser.java:83)
at net.glowstone.block.state.GlowDispenser.update(GlowDispenser.java:88)
at net.glowstone.block.GlowBlockState.update(GlowBlockState.java:141)
at net.glowstone.block.blocktype.BlockDispenser.updatePhysics(BlockDispenser.java:77)
at net.glowstone.block.blocktype.BlockDispenser.onNearBlockChanged(BlockDispenser.java:51)
at net.glowstone.block.GlowBlock.applyPhysics(GlowBlock.java:552)
at net.glowstone.block.GlowBlock.setTypeIdAndData(GlowBlock.java:246)
"custom.styles"{colors{Focus="0 114 198 255"basefont="Helvetica" semibold="Helvetica" semilight="Helvetica" light="Helvetica"}styles{"CSteamRootDialog"{bgcolor=ClientBG render_bg{ 0="fill( x0, y0, x1, y1, ClientBG )" undefined 98="fill( x0, y0, x1, y0+40, FrameBorder)" 99="fill( x0, y0, x1, y0+39, Header_Dark )"}}"GameItem_Uninstalled"{render{0="image(x1-18,y1-26,x1,y1,graphics/metro/icons/grid_uninstalled)"}} "GameItem_Uninstalled GGPlaceholderBG"{alpha 89.25} "GameItem_Uninstalled GamesGridImage"{alpha 89.25}}}
public enum BlockFunctionType {
PLACE_SOUND(GlowSound.class),
PULSE(Integer.class);
private Class[] clazz;
BlockFunctionType(Class... clazz) {
this.clazz = clazz;
}
}
@mastercoms
mastercoms / autoexec.cfg
Last active September 25, 2016 15:51
mastercoms' config: put in tf/custom/mastercoms/cfg/autoexec.cfg
// mastercoms' config - 1.0.0 (September 25 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -novid -nojoy -noipx
// !!! use dx9! and read through the config! somethings might not work with your computer!
// fps limiting causes input lag
fps_max 0
// --- NETWORKING --- \\
@mastercoms
mastercoms / autoexec.cfg
Last active October 27, 2016 06:08
tf2cfg beta
// master comfig - 1.4.0 (October 14 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -high -novid -nojoy -noff -nohltv
// if you use a controller or joystick, remove -nojoy
// if you use haptic feedback, remove -noff
// if you use sourcetv, remove -nohltv
// if you update the config, add -autoconfig,
// launch tf2, and then remove it
@mastercoms
mastercoms / tf2cfg-net.cfg
Last active November 6, 2016 19:34
beta networking settings for tf2cfg
// --- NETWORKING --- \\
// for both of these commands, 66 is the default max rate, so you can't go higher
// cmdrate is the maximum packets per second the client can send to the server
// so like you tell the server i moved forward or i shot my rocket launcher, crouched, and jumped
cl_cmdrate 66
// updaterate is the maximum packets per second the server can send to the client
// so like the server tells you this pyro is running towards you and
// is using his primary fire on her flame thrower
cl_updaterate 66
@mastercoms
mastercoms / autoexec.cfg
Last active November 8, 2016 18:14
tf2cfg-1.6.0-beta
// master comfig - 1.6.0 ((November 8 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -high -novid -nojoy -noff -nohltv
// if you use a controller or joystick, remove -nojoy
// if you use haptic feedback, remove -noff
// if you use sourcetv, remove -nohltv
// if you update the config, add -autoconfig,
// launch tf2, then remove -autoconfig from your launch options
@mastercoms
mastercoms / autoexec.cfg
Last active November 14, 2016 03:00
tf2cfg-1.6.0-beta2
// master comfig - 1.6.0 ((November 13 2016)
// doesn't set things to their default values like in other fps configs
// so don't worry if an option is missing
// launch options: -high -novid -nojoy -noff -nohltv
// if you use a controller or joystick, remove -nojoy
// if you use haptic feedback, remove -noff
// if you use sourcetv, remove -nohltv
// if you update the config, add -autoconfig,
// launch tf2, then remove -autoconfig from your launch options