Skip to content

Instantly share code, notes, and snippets.

Bryan McLemore Kaelten

Block or report user

Report or block Kaelten

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am kaelten on github.
  • I am kaelten (https://keybase.io/kaelten) on keybase.
  • I have a public key ASClus0Hu6Sz1denvkfbcSg1cfI6ZdcPvfMLFXXTyJYXEAo

To claim this, I am signing this object:

@Kaelten
Kaelten / logging.rb
Created Jun 4, 2015
I got incredibly tired of seeing the spam of guard resource executions in chef converges, so I changed them to debug statements
View logging.rb
class Chef
class Log
def self.info(msg=nil, &block)
if msg && msg.include?('Guard resource') && msg.include?('ran successfully')
debug msg
else
super
end
end
View gist:4b482c74ed3faf253b5e
MultiMC version: 0.4.5
Minecraft folder is:
/Users/kaelten/Dropbox/MultiMC/Primer/minecraft
Java path is:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
Java Arguments:
[-Xdock:icon=icon.png, -Xdock:name="MultiMC: Primer", -Xms512m, -Xmx4096m, -Duser.language=en, -jar, /Applications/MultiMC.app/Contents/MacOS/jars/NewLaunch.jar]
View gist:c607b7b60b67e47f6143
This file has been truncated, but you can view the full file.
[22:48:28] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[22:48:28] [main/INFO] [FML/]: Forge Mod Loader version 7.10.113.1387 for Minecraft 1.7.10 loading
[22:48:28] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25
View Game Output
[22:12:11] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:12:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:12:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:12:11] [main/INFO] [FML]: Forge Mod Loader version 7.10.127.1393 for Minecraft 1.7.10 loading
[22:12:11] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25
[22:12:11] [main/WARN] [FML]: The coremod appeng.transformer.AppEngCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[22:12:11] [main/INFO] [FML]: [AppEng] Core Init
[22:12:11] [main/WARN] [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[22:12:11] [main/WARN] [FML]: The coremod codechic
View gist:cf987dc3c42cac7c4b83
[22:05:43] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:05:43] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:05:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:05:44] [main/INFO] [FML]: Forge Mod Loader version 7.10.127.1393 for Minecraft 1.7.10 loading
[22:05:44] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25
[22:05:44] [main/WARN] [FML]: The coremod appeng.transformer.AppEngCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[22:05:44] [main/INFO] [FML]: [AppEng] Core Init
[22:05:44] [main/WARN] [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[22:05:44] [main/WARN] [FML]: The coremod codechic
@Kaelten
Kaelten / synced.swift
Last active Aug 29, 2015
Simple Swift @synchronized Helper
View synced.swift
// A simple replacement for Obj-C's @synchronized keyword, currently seems to cause compiler error if lock is an object array.
func synced(lock: AnyObject, closure: () -> ()) {
objc_sync_enter(lock)
closure()
objc_sync_exit(lock)
}
@Kaelten
Kaelten / cgminer.rb
Created Jan 21, 2013
A homebrew recipie for cgminer
View cgminer.rb
require 'formula'
class Cgminer < Formula
homepage 'https://github.com/ckolivas/cgminer'
url 'https://github.com/ckolivas/cgminer/archive/v2.10.4.zip'
sha1 '026e03f35f23c26417d09a3288f7933969668001'
depends_on 'automake' => :build
depends_on 'curl' => :build
depends_on 'c-ares' => :build
View AppSpecificLoader.py
from functools import wraps
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.http import HttpResponse
from django.template.base import TemplateDoesNotExist
from django.template.context import RequestContext, Context
from django.template.loader import BaseLoader, find_template
from django.utils._os import safe_join
from django.utils.importlib import import_module
You can’t perform that action at this time.