Skip to content

Instantly share code, notes, and snippets.

View chrmoritz's full-sized avatar

Christian Moritz chrmoritz

  • Berlin, Germany
View GitHub Profile
@chrmoritz
chrmoritz / xulrunner.rb
Last active December 30, 2015 10:49
version with devel as stable for 10.9 and no patches
require 'formula'
# speed up head clone, see: https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial/Bundles
class HgBundleDownloadStrategy < CurlDownloadStrategy
def hgpath
MercurialDownloadStrategy.new(@name, @resource).hgpath
end
def fetch
@repo = @url.split('|').last
@chrmoritz
chrmoritz / README.md
Last active January 1, 2016 17:29
Homebrew formula for StarCheat, a Starbound player save editor and Python library
require "formula"
class Starstructor < Formula
homepage "https://github.com/Starstructor/starstructor-cpp"
url "https://github.com/Starstructor/starstructor-cpp.git"
version "0.1"
depends_on "qt5"
skip_clean "starstructor.app"
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/node-0.10.26.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/node-0.10.26.mavericks.bottle.tar.gz
==> Verifying node-0.10.26.mavericks.bottle.tar.gz checksum
==> Pouring node-0.10.26.mavericks.bottle.tar.gz
tar xf /Library/Caches/Homebrew/node-0.10.26.mavericks.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Finishing up
ln -s ../../Cellar/node/0.10.26/etc/bash_completion.d/npm npm
==> Pouring node-0.10.27.mavericks.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using:
brew link node
Possible conflicting files are:
require "formula"
# Note that x.even are stable releases, x.odd are devel releases
class Node < Formula
homepage "http://nodejs.org/"
url "http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz"
sha1 "ef08a75f6359a16e672cae684e0804ca7f4554b7"
bottle do
sha1 "0db92b18d10cb7505d7c885058e337aeb5e9741c" => :mavericks
@chrmoritz
chrmoritz / CubeBlocks.sbc
Created July 4, 2014 04:32
CubeBlocks.sbc modded to unlock atm hidden blocks
<?xml version="1.0"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CubeBlocks>
<!-- Region ARMOR -->
<Definition>
<Id>
<TypeId>CubeBlock</TypeId>
<SubtypeId>LargeBlockArmorBlock</SubtypeId>
</Id>
<DisplayName>DisplayName_Block_LightArmorBlock</DisplayName>
This file has been truncated, but you can view the full file.
> [email protected] import E:\git\Troxel
> coffee tools/Importer.coffee
8027 blueprints remaining: equipment\ring\uncommon_physical_03.blueprint
8026 blueprints remaining: equipment\ring\uncommon_physical_01.blueprint
8025 blueprints remaining: equipment\ring\uncommon_physical_02.blueprint
8024 blueprints remaining: equipment\ring\uncommon_magic_03.blueprint
8023 blueprints remaining: equipment\ring\uncommon_laser_03.blueprint
8022 blueprints remaining: equipment\ring\uncommon_laser_02.blueprint
@chrmoritz
chrmoritz / failed_blueprints.md
Last active August 29, 2015 14:16
Failed blueprints during Troxel import
  • gm_prop_dungeon_largeblocker.blueprint
@chrmoritz
chrmoritz / devtool_unpack_client.bat
Last active August 7, 2019 22:25
Trove extract client script (MIT licensed)
@echo off
if not exist "%~dp0\Trove.exe" (
echo. Error: Couldn't find Trove.exe
echo. Please but this .bat script inside your Trove folder and retry!
echo.&pause&goto:eof
)
echo. This script will extract all client files to the extracted folder.
echo. All current contents of the extracted folder will be overwritten.
echo. Please make backups of your modifications before continuing!